/* ========================================
   Tactido Landing Page
   Security-first, privacy-focused
   Apple-style minimal dark theme
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
               'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #050c0b;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(74,155,127,0.13) 0%, rgba(10,52,49,0.22) 45%, transparent 70%),
    linear-gradient(180deg, #0d2927 0%, #060e0d 18%, #050c0b 100%);
  background-attachment: fixed;
  color: #f5f5f7;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Fixed background causes full repaint on every scroll frame on mobile */
@media (max-width: 734px) {
  body {
    background-attachment: scroll;
  }
}

/* --- Typography --- */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  color: #86868b;
  font-weight: 400;
}

a {
  color: #2997ff;
  text-decoration: none;
}

a:hover {
  color: #6cb6ff;
}

/* --- Layout --- */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 120px 0;
}

@media (max-width: 734px) {
  section {
    padding: 80px 0;
  }
}

/* --- Divider --- */
.divider {
  height: 1px;
  background: #0f2422;
  max-width: 980px;
  margin: 0 auto;
}

/* ========================================
   Header
   ======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: rgba(4, 11, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
}

.header-content {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 600;
  color: #f5f5f7;
  text-decoration: none;
}

.header-logo-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.header-nav a {
  font-size: 0.875rem;
  color: #86868b;
  margin-left: 24px;
}

.header-nav a:hover {
  color: #f5f5f7;
}

.lang-switch {
  border: 1px solid #424245;
  padding: 4px 12px;
  border-radius: 4px;
}

.lang-switch:hover {
  border-color: #86868b;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Gold accent matched to phone frame --- */
.text-gold {
  color: #c5a96a;
  text-shadow: 0 0 14px rgba(197, 169, 106, 0.3), 0 0 4px rgba(210, 190, 140, 0.15);
}

/* --- De-emphasized punctuation --- */
.text-dim {
  color: #1e3d3a;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 0;
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 65% 45%, #0d2c29 0%, #050c0b 100%);
}

/* --- Single ambient glow behind phone area --- */
.hero-bg-glow {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(74,155,127,0.10) 0%, rgba(10,52,49,0.06) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

/* --- Hero content: asymmetric two-column --- */
.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* --- Left: text column (narrower, ~38%) --- */
.hero-text {
  flex: 0 1 540px;
  padding-bottom: 80px;
}

.hero-nowrap {
  white-space: nowrap;
}

/* --- Brand anchor --- */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease-out 0.05s forwards;
}

.hero-brand-icon {
  width: 56px;
  height: 56px;
}

.hero-brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #a1a1a6;
  letter-spacing: 0.02em;
}

/* --- Headline --- */
.hero h1 {
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  margin-bottom: 28px;
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #e8e8ed;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out 0.15s forwards;
}

/* --- Sub text --- */
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.5;
  color: #a1a1a6;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 10px;
  letter-spacing: 0.025em;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease-out 0.3s forwards;
}

.hero-sub strong {
  font-weight: 700;
  color: #f5f5f7;
  font-size: 1.25rem;
}

.hero-sub:first-of-type {
  margin-bottom: 18px;
}

.hero-sub:last-of-type {
  margin-bottom: 36px;
}

/* --- CTA --- */
.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease-out 0.45s forwards;
}

.store-badge {
  height: 42px;
  width: auto;
  transition: opacity 0.2s;
}

.store-badge-google {
  height: 63px;
  margin: -10px 0;
}

.store-badge:hover {
  opacity: 0.7;
}

/* --- Store card: badge + QR stacked --- */
.cta-store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr-img {
  width: 116px;
  height: 116px;
  border-radius: 13px;
  background: #fff;
  padding: 5px;
  display: block;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-img:hover {
  transform: scale(1.06);
  box-shadow:
    0 8px 28px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.12);
}

.qr-label {
  font-size: 0.625rem;
  color: #6e6e73;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 734px) {
  .cta-qr {
    display: none;
  }
}

/* =============================================
   DO NOT MODIFY — Hero phone positioning (approved 2026-03-05)
   Image is 1215×1215 square with phone on the right ~55%.
   Tuning guide: memory/hero-phone-tuning.md
   ============================================= */
.hero-phone {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: none;
  margin-right: -300px;   /* allows phone to overflow right edge */
  margin-left: -200px;    /* pulls container closer to text */
  opacity: 0;
  animation: fadeSlideUp 1s ease-out 0.3s forwards;
}

.hero-phone picture {
  display: block;
  position: relative;
  z-index: 2;
  background: none;
}

.hero-phone-img {
  width: 700px;                              /* base square size */
  height: auto;
  display: block;
  transform: scale(1.44) translateX(-28%);   /* scale=size, translateX=distance from text */
  transform-origin: right center;            /* scale grows leftward toward text */
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.45));
}
/* END DO NOT MODIFY — Hero phone */

/* Radial halo behind phone */
.hero-phone-halo {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(ellipse at 50% 45%, rgba(74,155,127,0.12) 0%, rgba(10,52,49,0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
}

/* Bottom fade: removed */
.hero-phone::after {
  display: none;
}

/* ========================================
   Hero Responsive
   ======================================== */
@media (min-width: 1400px) {
  .hero-phone-img {
    width: 480px;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    padding: 0 40px;
    gap: 24px;
  }
  .hero-phone-img {
    width: 440px;
  }
  .hero-phone-halo {
    width: 450px;
    height: 450px;
  }
}

/* ========================================
   Hero: Tablet / iPad (portrait + landscape)
   Fixes phone overlapping text on ~735–1199px viewports (incl. iPad landscape).
   Desktop (≥1200px) and mobile (<735px) untouched.
   ======================================== */
/* Width-based tablet fallback (for browsers that don't support pointer query) */
@media (min-width: 735px) and (max-width: 1399px) {
  .hero-content {
    padding: 0 40px;
    gap: 24px;
  }
  .hero-text {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 734px) {
  .hero {
    padding: 100px 0 0;
    min-height: auto;
    background: radial-gradient(ellipse 90% 40% at 50% 60%, #0d2c29 0%, #050c0b 100%);
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 0 24px;
    gap: 48px;
  }
  .hero-text {
    flex: none;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-brand {
    margin-bottom: 28px;
  }
  .hero-sub {
    max-width: 340px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
  .cta-buttons {
    justify-content: center;
    align-items: center;
  }
  .store-badge {
    height: 40px;
  }
  .store-badge-google {
    height: 60px;
    margin: -10px 0;
  }
  .hero-phone {
    align-self: center;
    margin-top: -24px;
  }
  .hero-phone-img {
    width: min(420px, 92vw);
    transform: none;
    transform-origin: center center;
  }
  .hero-phone-halo {
    width: 380px;
    height: 380px;
  }
  .hero-bg-glow {
    top: 50%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-brand,
  .hero h1,
  .hero-sub,
  .cta-buttons,
  .hero-phone {
    opacity: 1;
    animation: none;
  }
}

/* ========================================
   Trust Section
   ======================================== */
.trust {
  text-align: center;
  background: rgba(6,14,13,0.7);
  padding: 40px 0;
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 1.125rem;
  color: #f5f5f7;
  font-weight: 500;
}

@media (max-width: 734px) {
  .trust-grid {
    flex-direction: column;
    gap: 24px;
  }
}

/* ========================================
   Product Sections
   ======================================== */
.product-section {
  text-align: center;
}

.product-section h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 16px;
  color: #f5f5f7;
}

.product-section p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.product-section p + p {
  margin-top: 12px;
}

.product-image {
  margin-top: 48px;
}

.product-image img {
  max-width: 375px;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 734px) {
  .product-image img {
    max-width: 280px;
  }
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
  max-width: 600px;
  margin: 32px auto 0;
  text-align: left;
}

.faq-item {
  margin-bottom: 32px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item h3 {
  font-size: 1.125rem;
  color: #f5f5f7;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 1rem;
}

/* ========================================
   Power User Section
   ======================================== */
.power-user {
  text-align: center;
  background: rgba(6,14,13,0.7);
}

.power-user-label {
  font-size: 0.875rem;
  color: #6e6e73;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.power-user h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #f5f5f7;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.power-user p {
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   Privacy Section
   ======================================== */
.privacy-section {
  text-align: center;
}

.privacy-section h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 24px;
  color: #f5f5f7;
}

.privacy-section p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 16px auto;
}

.privacy-section p:last-of-type {
  margin-bottom: 0;
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy {
  text-align: center;
}

.philosophy h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 48px;
  color: #f5f5f7;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-item h3 {
  font-size: 1.125rem;
  color: #f5f5f7;
  margin-bottom: 8px;
}

.philosophy-item p {
  font-size: 0.9375rem;
}

/* ========================================
   Lifestyle / Editorial Split Section
   ======================================== */
.lifestyle-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.lifestyle-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.lifestyle-text {
  flex: 0 0 72%;
  max-width: 740px;
  padding: 72px 64px 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lifestyle-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #f5f5f7;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.lifestyle-text p {
  font-size: 1.0625rem;
  max-width: 460px;
  line-height: 1.65;
}

.lifestyle-text p + p {
  margin-top: 14px;
}

.lifestyle-image-col {
  flex: 0 0 28%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 40px 32px 0;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.lifestyle-card {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  overflow: hidden;
}

.lifestyle-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Activity Logging — layout mirrors timeline section */
.activity-section {
  padding: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(13,44,41,0.25) 0%, transparent 70%);
}

.activity-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 80px;
}

.activity-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #f5f5f7;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.activity-columns {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

/* Two overlapping phones container — cropped 35% from bottom with fade */
.activity-devices {
  flex: 0 0 auto;
  position: relative;
  width: 420px;
  height: 400px;       /* crops bottom ~35% of the phones */
  overflow: hidden;
}

/* Gradient fade at the bottom edge */
.activity-devices::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(5,12,11,1) 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.activity-device {
  position: absolute;
}

.activity-device img {
  display: block;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

/* Back — monthly calendar (perspective, 1755×1755 square) */
.activity-device--back {
  right: -95px;
  top: 10px;
  z-index: 1;
}
.activity-device--back img {
  width: 568px;
  height: auto;
}

/* Front — activity list (portrait 1530×3036) */
.activity-device--front {
  left: 0;
  top: 0;
  z-index: 2;
}
.activity-device--front img {
  height: 580px;
  width: auto;
  border-radius: 22px;
}

.activity-text {
  flex: 1 1 auto;
  padding-top: 4px;
}

.activity-text p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #a1a1a6;
  margin-bottom: 14px;
}

.activity-photo {
  flex: 0 0 auto;
}

.activity-photo img {
  height: 380px;
  width: 380px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  display: block;
}

/* ========================================
   DO NOT MODIFY — Timeline section (approved 2026-03-05)
   Layout: heading above, 3 columns below (device | text | photo)
   Device and photo both 447px height for alignment.
   ======================================== */
.timeline-section {
  padding: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(13,44,41,0.25) 0%, transparent 70%);
}

.timeline-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 80px;
}

.timeline-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #f5f5f7;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.timeline-columns {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.timeline-device {
  flex: 0 0 auto;
}

.timeline-device img {
  height: 447px;       /* must match .timeline-photo img height */
  width: auto;
  display: block;
  border-radius: 22px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

.timeline-text {
  flex: 1 1 auto;
  padding-top: 4px;
}

.timeline-text p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #a1a1a6;
  margin-bottom: 14px;
}

.timeline-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f5f5f7;
  margin: 24px 0 10px;
}

.timeline-photo {
  flex: 0 0 auto;
}

.timeline-photo img {
  height: 447px;       /* must match .timeline-device img height */
  width: 447px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  display: block;
}

@media (max-width: 734px) {
  .timeline-columns {
    flex-direction: column;
    gap: 32px;
  }
  .timeline-device {
    display: block;
    width: 65%;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
  }
  .timeline-device::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(5,12,11,1) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
  }
  .timeline-device img {
    width: 100%;
    height: auto;
  }
  .timeline-photo img {
    height: auto;
    width: 100%;
  }
}
/* END DO NOT MODIFY — Timeline section */

/* ========================================
   Workspace section (3 columns: device | text | photo)
   ======================================== */
.workspace-section {
  padding: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(13,44,41,0.25) 0%, transparent 70%);
}

.workspace-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 80px;
}

.workspace-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #f5f5f7;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.workspace-columns {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

/* Phone container — cropped top/bottom with edge fade */
.workspace-device {
  flex: 0 0 auto;
  position: relative;
  width: 340px;
  height: 500px;
  overflow: hidden;
}

/* Fade top edge */
.workspace-device::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(5,12,11,1) 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

/* Fade bottom edge */
.workspace-device::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to top, rgba(5,12,11,1) 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.workspace-device img {
  width: 340px;
  height: auto;
  display: block;
  margin-top: -30%;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

.workspace-text {
  flex: 1 1 auto;
  padding-top: 4px;
}

.workspace-text p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #a1a1a6;
  margin-bottom: 14px;
}

.workspace-photo {
  flex: 0 0 auto;
}

.workspace-photo img {
  height: 447px;
  width: 447px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  display: block;
}

@media (max-width: 734px) {
  .workspace-columns {
    flex-direction: column;
    gap: 32px;
  }
  .workspace-device {
    display: block;
    width: 65%;
    height: 300px;
    overflow: hidden;
    margin: 0 auto;
  }
  .workspace-device img {
    width: 100%;
    height: auto;
    margin-top: 0;
  }
  .workspace-photo img {
    height: auto;
    width: 100%;
  }
}

/* ========================================
   Calendar section (3 columns: photo | text | device)
   ======================================== */
.calendar-section {
  padding: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(13,44,41,0.25) 0%, transparent 70%);
}

.calendar-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 80px;
}

.calendar-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #f5f5f7;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.calendar-columns {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.calendar-photo {
  flex: 0 0 auto;
}

.calendar-photo img {
  height: 447px;
  width: 447px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  display: block;
}

.calendar-text {
  flex: 1 1 auto;
  padding-top: 4px;
}

.calendar-text p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #a1a1a6;
  margin-bottom: 14px;
}

/* Phone container — cropped 20% bottom with edge fade */
.calendar-device {
  flex: 0 0 auto;
  position: relative;
  width: 300px;
  height: 470px;
  overflow: hidden;
}

/* Fade bottom edge */
.calendar-device::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(5,12,11,1) 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.calendar-device img {
  width: 300px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

@media (max-width: 734px) {
  .calendar-columns {
    flex-direction: column;
    gap: 32px;
  }
  .calendar-device {
    display: block;
    width: 65%;
    height: 300px;
    overflow: hidden;
    margin: 0 auto;
  }
  .calendar-device img {
    width: 100%;
    height: auto;
  }
  .calendar-photo img {
    height: auto;
    width: 100%;
  }
}

/* ========================================
   Who is Tactido for section (3 columns: device | text | device)
   ======================================== */
.whofor-section {
  padding: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 50%, rgba(13,44,41,0.25) 0%, transparent 70%);
}

.whofor-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 80px;
}

.whofor-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #f5f5f7;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.whofor-columns {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

/* Two overlapping phones — cropped bottom with fade */
.whofor-devices {
  flex: 0 0 auto;
  position: relative;
  width: 420px;
  height: 430px;
  overflow: hidden;
}

.whofor-devices::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(5,12,11,1) 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.whofor-device {
  position: absolute;
}

.whofor-device img {
  display: block;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

/* Back — history timeline (wider) */
.whofor-device--back {
  right: 0;
  top: 0;
  z-index: 1;
}
.whofor-device--back img {
  height: 520px;
  width: auto;
  border-radius: 22px;
}

/* Front — tasks (overlapping from right) */
.whofor-device--front {
  left: 0;
  top: 10px;
  z-index: 2;
}
.whofor-device--front img {
  height: 520px;
  width: auto;
  border-radius: 22px;
}

.whofor-text {
  flex: 1 1 auto;
  padding-top: 4px;
  text-align: left;
}

.whofor-text p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #a1a1a6;
  margin-bottom: 14px;
}

@media (max-width: 734px) {
  .whofor-columns {
    flex-direction: column;
    gap: 32px;
  }
  .whofor-devices {
    display: block;
    position: relative;
    width: 65%;
    height: 320px;
    margin: 0 auto;
    overflow: hidden;
  }
  .whofor-devices::after {
    height: 80px;
  }
  .whofor-device--back {
    display: none;
  }
  .whofor-device--front {
    position: relative;
    left: auto;
    top: auto;
  }
  .whofor-device--front img {
    height: auto;
    width: 100%;
    border-radius: 16px;
  }
}

/* ========================================
   What is Tactido section (3 columns: device | text | photo)
   ======================================== */
.whatis-section {
  padding: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(13,44,41,0.25) 0%, transparent 70%);
}

.whatis-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 80px;
}

.whatis-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #f5f5f7;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.whatis-columns {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.whatis-device {
  flex: 0 0 auto;
}

.whatis-device img {
  height: 492px;
  width: auto;
  display: block;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

.whatis-text {
  flex: 1 1 auto;
  padding-top: 4px;
}

.whatis-text p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #a1a1a6;
  margin-bottom: 14px;
}

.whatis-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f5f5f7;
  margin: 24px 0 10px;
}

.whatis-photo {
  flex: 0 0 auto;
}

.whatis-photo img {
  height: 447px;
  width: 447px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  display: block;
}

@media (max-width: 734px) {
  .whatis-columns {
    flex-direction: column;
    gap: 32px;
  }
  .whatis-device {
    display: block;
    width: 65%;
    margin: 0 auto;
  }
  .whatis-device img {
    width: 100%;
    height: auto;
  }
  .whatis-photo img {
    height: auto;
    width: 100%;
  }
}

@media (max-width: 734px) {
  .lifestyle-inner {
    flex-direction: column;
    min-height: auto;
  }
  .lifestyle-text {
    flex: none;
    max-width: 100%;
    padding: 56px 24px 32px;
  }
  .lifestyle-image-col {
    padding: 0 24px 56px;
    width: 100%;
  }
  .lifestyle-img {
    height: 240px;
  }
  .lifestyle-image-col--device {
    display: none;
  }
  .activity-columns {
    flex-direction: column;
    gap: 32px;
  }
  .activity-devices {
    display: block;
    position: relative;
    width: 65%;
    height: 320px;
    margin: 0 auto;
    overflow: hidden;
  }
  .activity-devices::after {
    height: 80px;
  }
  .activity-device--back {
    display: none;
  }
  .activity-device--front {
    position: relative;
    left: auto;
    top: auto;
  }
  .activity-device--front img {
    height: auto;
    width: 100%;
    border-radius: 16px;
  }
  .activity-photo img {
    height: auto;
    width: 100%;
  }
}

/* ========================================
   Footer
   ======================================== */
footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid #0f2422;
}

.footer-links {
  margin-bottom: 24px;
}

.footer-links a {
  color: #86868b;
  font-size: 0.875rem;
  margin: 0 16px;
}

.footer-links a:hover {
  color: #f5f5f7;
}

.copyright {
  font-size: 0.8125rem;
  color: #6e6e73;
}

.noindex-name::before {
  content: attr(data-n);
}

/* ========================================
   AEO: Semantic list resets
   ======================================== */
.trust-grid,
.feature-list,
.for-list {
  list-style: none;
}

/* ========================================
   AEO: Philosophy definition list
   ======================================== */
.philosophy-item dt {
  font-size: 1.125rem;
  color: #f5f5f7;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.philosophy-item dd {
  font-size: 0.9375rem;
  color: #86868b;
  font-weight: 400;
}

/* ========================================
   AEO: Feature & audience lists
   ======================================== */
.feature-list,
.for-list {
  margin-top: 20px;
}

.feature-list li,
.for-list li {
  font-size: 1.0625rem;
  color: #86868b;
  line-height: 1.65;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.feature-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: #4a9b7f;
}

.for-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: #c5a96a;
}

/* ========================================
   AEO: Lifestyle text subheadings
   ======================================== */
.lifestyle-text h3 {
  font-size: 1.25rem;
  color: #f5f5f7;
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* ========================================
   Comparison Table
   ======================================== */
.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 32px;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #0f2422;
  font-size: 0.9375rem;
  color: #86868b;
}

.comparison-table thead th {
  color: #f5f5f7;
  font-weight: 600;
  border-bottom: 1px solid #1e3d3a;
}

.comparison-table tbody td:first-child {
  color: #a1a1a6;
  font-weight: 500;
}

.comparison-table .highlight-tactido {
  color: #4a9b7f;
  font-weight: 600;
}

.comparison-details {
  max-width: 600px;
  margin: 40px auto 0;
  text-align: left;
}

.comparison-details h3 {
  font-size: 1.0625rem;
  color: #f5f5f7;
  margin-top: 28px;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.comparison-details h3:first-child {
  margin-top: 0;
}

.comparison-details p {
  font-size: 0.9375rem;
  color: #86868b;
  line-height: 1.6;
}

.comparison-details p:last-child {
  margin-top: 32px;
  text-align: center;
  font-style: italic;
  color: #a1a1a6;
}

@media (max-width: 734px) {
  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: 0.8125rem;
  }
}

/* ========================================
   How It Works — Steps
   ======================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #4a9b7f;
  color: #4a9b7f;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.125rem;
  color: #f5f5f7;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9375rem;
  color: #86868b;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 734px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ========================================
   Social Proof
   ======================================== */
.social-proof {
  text-align: center;
  padding: 40px 0;
}

.proof-claim {
  font-size: 1.25rem;
  color: #f5f5f7;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -0.02em;
}

.proof-label {
  font-size: 0.8125rem;
  color: #86868b;
}

@media (max-width: 734px) {
  .proof-stats {
    gap: 40px;
  }
}

/* ========================================
   Bottom CTA
   ======================================== */
.cta-bottom {
  text-align: center;
}

.cta-bottom h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: #f5f5f7;
  margin-bottom: 12px;
}

.cta-bottom p {
  font-size: 1.125rem;
  max-width: 400px;
  margin: 0 auto 32px;
}

.cta-bottom .cta-buttons {
  justify-content: center;
  opacity: 1;
  animation: none;
}

/* ========================================
   Sticky Mobile CTA
   ======================================== */
.sticky-cta {
  display: none;
}

@media (max-width: 734px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: rgba(4, 11, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 99;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .sticky-cta .store-badge {
    height: 32px;
  }

  .sticky-cta .store-badge-google {
    height: 48px;
    margin: -8px 0;
  }

  footer {
    padding-bottom: 80px;
  }
}

/* ========================================
   FAQ Accordion (details/summary)
   ======================================== */
details.faq-item {
  margin-bottom: 0;
  border-bottom: 1px solid #0f2422;
}

details.faq-item:last-child {
  border-bottom: none;
}

details.faq-item summary {
  font-size: 1.125rem;
  color: #f5f5f7;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: #4a9b7f;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
}

details[open].faq-item summary::after {
  content: '\2212';
}

details.faq-item > div {
  padding: 0 0 20px;
}

/* ========================================
   Scroll to Top
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(4, 11, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #86868b;
  font-size: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 98;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  color: #f5f5f7;
  border-color: rgba(255,255,255,0.18);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 734px) {
  .scroll-top {
    bottom: 72px;
    right: 20px;
    width: 36px;
    height: 36px;
  }

  .scroll-top svg {
    width: 16px;
    height: 16px;
  }
}
