/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0d0d0d;
  --white: #ffffff;
  --beige-100: #faf7f4;
  --beige-200: #f2ece4;
  --beige-300: #e5ddd3;
  --beige-400: #d4c9bc;
  --beige-500: #b8a898;
  --text-primary: #0d0d0d;
  --text-secondary: #4a4540;
  --text-muted: #8a7f78;
  --accent: #c8a882;
  --accent-dark: #a88a65;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 12px rgba(13,13,13,0.06);
  --shadow-md: 0 8px 32px rgba(13,13,13,0.10);
  --shadow-lg: 0 20px 60px rgba(13,13,13,0.14);
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s ease;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
p { color: var(--text-secondary); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--beige-400);
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--accent-dark); }
.section-sub { font-size: 18px; max-width: 520px; color: var(--text-secondary); margin-bottom: 48px; line-height: 1.7; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--text-primary); }
.btn-ghost:hover { background: var(--beige-100); }
.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 16px;
  left: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200,185,170,0.4);
  border-radius: 999px;
  padding: 10px 12px 10px 16px;
  box-shadow: 0 4px 24px rgba(13,13,13,0.08);
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo-by {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Desktop: links fill the middle */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  margin: 0 auto;
  padding: 0 16px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-links a:hover { background: var(--beige-100); color: var(--text-primary); }

.nav-cta {
  border-radius: 999px !important;
  padding: 11px 22px !important;
  font-size: 14px !important;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(13,13,13,0.07);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0d0d0d;
  border-radius: 2px;
  pointer-events: none;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav-mobile {
  pointer-events: auto;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  margin-top: 8px;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(200,185,170,0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(13,13,13,0.12);
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 12px;
  display: block;
}
.nav-mobile a:hover { background: var(--beige-100); }
.nav-mobile .btn {
  margin-top: 4px;
  justify-content: center;
  width: 100%;
  border-radius: 12px !important;
}

/* ── MOBILE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { left: 12px; right: 12px; top: 10px; }
  /* Show hamburger, hide desktop nav items */
  .nav-hamburger { display: flex; }
  .nav-links     { display: none; }
  .nav-cta       { display: none; }
  /* Tighten pill */
  .nav-pill { padding: 7px 8px 7px 12px; }
  .nav-logo-by { display: none; }
}
@media (max-width: 480px) {
  .nav { width: calc(100% - 16px); top: 8px; }
  .nav-pill { padding: 6px 7px 6px 10px; }
  .nav-logo-img { width: 34px; height: 34px; border-radius: 9px; }
  .nav-logo-name { font-size: 14px; }
}


/* ===== OLD LOGO BLOB — footer only ===== */
.nav-logo-blob {
  width: 28px; height: 28px;
  background: radial-gradient(circle at 40% 40%, #d4c9bc, #b8a898);
  border-radius: 50% 40% 60% 45% / 55% 45% 55% 40%;
  animation: blobMorph 6s ease-in-out infinite;
}
.nav-logo-blob.small { width: 22px; height: 22px; }


/* ===== BLOB ANIMATIONS ===== */
@keyframes blobMorph {
  0%,100% { border-radius: 50% 40% 60% 45% / 55% 45% 55% 40%; transform: scale(1) rotate(0deg); }
  33%     { border-radius: 60% 50% 40% 55% / 40% 60% 45% 55%; transform: scale(1.05) rotate(5deg); }
  66%     { border-radius: 45% 55% 50% 45% / 60% 40% 60% 45%; transform: scale(0.96) rotate(-3deg); }
}
@keyframes blobMorph2 {
  0%,100% { border-radius: 60% 40% 55% 45% / 45% 60% 40% 55%; transform: scale(1) rotate(0deg); }
  50%     { border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%; transform: scale(1.08) rotate(-8deg); }
}
@keyframes blobFloat {
  0%,100% { transform: translateY(0px) scale(1); }
  50%     { transform: translateY(-18px) scale(1.04); }
}
@keyframes blobFloat2 {
  0%,100% { transform: translateY(0px) scale(1); }
  50%     { transform: translateY(14px) scale(0.97); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%     { transform: scale(1.15); opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes blinkCursor {
  0%,100% { opacity: 1; }
  50%     { opacity: 0; }
}
@keyframes voicePulse {
  0%,100% { transform: scale(1); opacity: 0.3; }
  50%     { transform: scale(1.3); opacity: 0; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 140px 24px 80px;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
}

.hero-blob-wrap {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}
.blob-1 { width: 320px; height: 320px; background: #e5ddd3; top: 0; left: 0; animation: blobFloat 8s ease-in-out infinite; animation-delay: 0s; }
.blob-2 { width: 220px; height: 220px; background: #d4c9bc; top: 20%; left: 30%; animation: blobFloat2 10s ease-in-out infinite; animation-delay: -2s; }
.blob-3 { width: 280px; height: 280px; background: #f2ece4; top: 50%; left: 10%; animation: blobFloat 12s ease-in-out infinite; animation-delay: -4s; }
.blob-4 { width: 180px; height: 180px; background: #b8a898; top: 30%; left: 55%; animation: blobFloat2 9s ease-in-out infinite; animation-delay: -1s; }
.blob-5 { width: 240px; height: 240px; background: #e8e0d8; top: 60%; left: 40%; animation: blobFloat 11s ease-in-out infinite; animation-delay: -6s; }
.blob-6 { width: 160px; height: 160px; background: #cec4ba; top: 10%; left: 60%; animation: blobFloat2 7s ease-in-out infinite; animation-delay: -3s; }

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--beige-100);
  border: 1px solid var(--beige-300);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: #a8c498;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.hero-title em { font-style: italic; color: var(--accent-dark); }
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
  color: var(--text-secondary);
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-avatars {
  display: flex;
}
.proof-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
}
.proof-avatar:first-child { margin-left: 0; }
.hero-social-proof p {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ===== PHONE MOCKUPS — REAL SCREENSHOTS ===== */
.hero-phones {
  position: relative;
  z-index: 1;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.9s ease 0.25s both;
}

/* Ambient glow blobs behind the phones */
.phone-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.phone-glow-left {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #d4c9bc 0%, transparent 70%);
  top: 20%; left: 5%;
  animation: blobFloat 9s ease-in-out infinite;
  opacity: 0.7;
}
.phone-glow-right {
  width: 240px; height: 240px;
  background: radial-gradient(circle, #b8a898 0%, transparent 70%);
  bottom: 10%; right: 5%;
  animation: blobFloat2 11s ease-in-out infinite;
  opacity: 0.55;
}

.phone-frame {
  position: absolute;
  border-radius: 48px;
  overflow: hidden;
  background: var(--black);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Front — largest, center stage, gentle float */
.phone-frame-front {
  width: 270px;
  height: 560px;
  z-index: 3;
  transform: rotate(-2deg);
  box-shadow:
    0 40px 100px rgba(13,13,13,0.30),
    0 12px 32px rgba(13,13,13,0.16),
    0 0 0 1px rgba(255,255,255,0.08);
  animation: phoneFloat 6s ease-in-out infinite;
}

/* Back right — rotated out, medium */
.phone-frame-back {
  width: 240px;
  height: 500px;
  z-index: 2;
  transform: rotate(7deg) translateX(160px) translateY(28px);
  box-shadow:
    0 28px 70px rgba(13,13,13,0.22),
    0 8px 24px rgba(13,13,13,0.12);
  opacity: 0.92;
  animation: phoneFloat2 7s ease-in-out infinite;
  animation-delay: -2s;
}

/* Far left — most tilted, smallest, peeking */
.phone-frame-far {
  width: 210px;
  height: 440px;
  z-index: 1;
  transform: rotate(-12deg) translateX(-170px) translateY(50px);
  box-shadow:
    0 20px 56px rgba(13,13,13,0.18),
    0 6px 18px rgba(13,13,13,0.10);
  opacity: 0.78;
  animation: phoneFloat 8s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotate(-2deg) translateY(0px); }
  50%       { transform: rotate(-2deg) translateY(-14px); }
}
@keyframes phoneFloat2 {
  0%, 100% { transform: rotate(7deg) translateX(160px) translateY(28px); }
  50%       { transform: rotate(7deg) translateX(160px) translateY(14px); }
}



/* ===== APP SCREENS SHOWCASE — ALTERNATING LAYOUT ===== */
.screens-section {
  padding: 100px 0;
  background: var(--white);
}
.screens-section .section-sub { margin-bottom: 72px; }

.screen-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
  padding-bottom: 100px;
  border-bottom: 1px solid var(--beige-200);
}
.screen-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.screen-row-flip .screen-row-phone { order: 2; }
.screen-row-flip .screen-row-text  { order: 1; }

.screen-row-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.screen-row-frame {
  width: 260px;
  height: 544px;
  border-radius: 44px;
  overflow: hidden;
  background: var(--black);
  box-shadow:
    0 40px 100px rgba(13,13,13,0.22),
    0 10px 30px rgba(13,13,13,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.screen-row-frame::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  z-index: 2;
}
.screen-row-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.screen-row:hover .screen-row-frame {
  transform: translateY(-8px) rotate(1deg);
  box-shadow:
    0 56px 120px rgba(13,13,13,0.28),
    0 16px 40px rgba(13,13,13,0.14);
}

.screen-row-text { max-width: 460px; }
.screen-row-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.screen-row-text h3 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.screen-row-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.screen-row-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.screen-row-bullets li {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.screen-row-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

/* ===== SEARCH ANIMATION ===== */
.search-anim-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.search-anim-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--beige-300);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.search-anim-bar svg { color: var(--text-muted); flex-shrink: 0; }
.search-typing-text { flex: 1; }
.search-anim-results { display: flex; flex-direction: column; gap: 8px; }
.search-anim-item {
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: searchItemSlide 0.4s ease var(--d, 0s) both;
}
@keyframes searchItemSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ===== MARQUEE ===== */
.marquee-wrap {
  background: var(--black);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 13px;
  font-weight: 500;
  padding: 0 16px;
  letter-spacing: 0.05em;
}
.marquee-sep { color: var(--beige-400) !important; padding: 0 4px !important; }

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 100px 0;
  background: var(--beige-100);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px 40px;
  border: 1px solid var(--beige-200);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-card.pillar-dark { background: var(--black); border-color: var(--black); }
.pillar-card.pillar-dark h3 { color: var(--white); }
.pillar-card.pillar-dark p { color: #8a8078; }
.pillar-card.pillar-dark lottie-player { filter: invert(1) brightness(1.8); }
.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 160px;
  margin-bottom: 24px;
  overflow: hidden;
}
.pillar-icon lottie-player {
  display: block;
  width: 160px !important;
  height: 160px !important;
  flex-shrink: 0;
}
.pillar-card h3 { font-size: 22px; margin-bottom: 12px; }
.pillar-card p { font-size: 15px; line-height: 1.7; }

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feat-card {
  background: var(--beige-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--beige-200);
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-column: span 4;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-large { grid-column: span 8; flex-direction: row; align-items: center; }
.feat-large.feat-right { }
.feat-accent { background: var(--black); border-color: var(--black); }
.feat-accent .feat-tag { background: #2a2a2a; color: var(--beige-300); }
.feat-accent h3, .feat-accent p { color: var(--beige-100); }

.feat-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-large .feat-visual { width: 280px; height: 200px; }
.feat-card:not(.feat-large) .feat-visual { height: 140px; width: 100%; }

.feat-tag {
  display: inline-block;
  background: var(--beige-200);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.feat-text h3 { font-size: 22px; margin-bottom: 10px; }
.feat-text p { font-size: 15px; line-height: 1.7; }

/* ===== FEATURE VISUALS ===== */
/* Voice */
.voice-visual { position: relative; }
.voice-rings { position: relative; width: 88px; height: 88px; flex-shrink: 0; }
.vring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--beige-300);
  animation: voicePulse 2s ease-in-out infinite;
}
.vring-1 { width: 88px; height: 88px; animation-delay: 0s; }
.vring-2 { width: 66px; height: 66px; animation-delay: 0.4s; }
.vring-3 { width: 44px; height: 44px; background: var(--beige-200); border: none; }
.voice-mic { font-size: 22px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 1; }
.voice-transcript {
  flex: 1;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.transcript-line {
  height: 10px;
  background: var(--beige-300);
  border-radius: var(--radius-pill);
  animation: pulse 2.5s ease-in-out infinite;
}
.transcript-line.short { width: 60%; animation-delay: 0.5s; }

/* Summary */
.summary-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  width: 180px;
  border: 1px solid var(--beige-300);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sline { height: 8px; background: var(--beige-200); border-radius: 4px; }
.sline.short { width: 50%; }
.sline.accent { background: var(--accent); width: 70%; }
.summary-arrow {
  font-size: 20px;
  text-align: center;
  color: var(--beige-400);
  line-height: 1;
}
.summary-result { padding-top: 4px; }

/* Code */
.code-block {
  background: #1a1a1a;
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  font-size: 12px;
  font-family: 'Courier New', monospace;
}
.code-header {
  background: #252525;
  padding: 8px 14px;
  display: flex;
  align-items: center;
}
.code-lang { color: #8a8a8a; font-size: 11px; font-weight: 600; }
.code-body { padding: 12px 14px; line-height: 1.8; }
.code-line { white-space: nowrap; }
.code-line.indent { padding-left: 16px; }
.kw { color: #c678dd; }
.var { color: #e06c75; }
.fn  { color: #61afef; }
.punc { color: #abb2bf; }
.str  { color: #98c379; }
.cmt  { color: #5c6370; }

/* Mood */
.mood-visual { flex-direction: column; gap: 16px; }
.mood-row { display: flex; gap: 10px; }
.mood-emoji {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: var(--beige-200);
  transition: transform var(--transition);
}
.mood-emoji.active {
  transform: scale(1.15);
  background: var(--white);
  box-shadow: 0 0 0 2px var(--beige-400), var(--shadow-sm);
}
.mood-label { font-size: 12px; color: var(--beige-400); font-weight: 500; }

/* Search */
.search-visual { flex-direction: column; gap: 10px; width: 100%; }
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  border: 1px solid var(--beige-300);
  font-size: 13px;
  font-weight: 500;
}
.search-text { color: var(--text-secondary); }
.search-cursor { animation: blinkCursor 1s infinite; color: var(--text-muted); }
.search-results { display: flex; flex-direction: column; gap: 8px; }
.search-result-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  border: 1px solid var(--beige-200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sr-text { font-size: 11px; color: var(--text-secondary); }

/* Calendar */
.cal-visual { width: 100%; justify-content: center; }
.mini-cal {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 240px;
  border: 1px solid var(--beige-200);
  box-shadow: var(--shadow-sm);
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 10px;
}
.cal-day-label { font-size: 9px; font-weight: 700; color: var(--text-muted); text-align: center; padding: 2px 0; }
.cal-day {
  font-size: 10px;
  text-align: center;
  padding: 4px 2px;
  border-radius: 6px;
  color: var(--text-secondary);
  position: relative;
}
.cal-day.today { background: #f7e7e3; color: #a87f73; font-weight: 700; }
.cal-day.dot::after {
  content: ''; display: block;
  width: 4px; height: 4px;
  background: var(--black);
  border-radius: 50%;
  margin: 1px auto 0;
}
.cal-day.emoji { font-size: 0; position: relative; }
.cal-day.emoji span { font-size: 14px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.cal-legend { font-size: 9px; color: var(--text-muted); text-align: center; }

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--black);
  color: var(--white);
}
.how-it-works .section-label { color: var(--beige-500); }
.how-it-works .section-label::before { background: #333; }
.how-it-works .section-title { color: var(--white); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
}
.step {
  flex: 1;
  padding: 0 32px;
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--beige-500);
  margin-bottom: 20px;
}
.step h3 { font-size: 20px; color: var(--white); margin-bottom: 12px; }
.step p { font-size: 15px; color: #8a8078; line-height: 1.7; }
.step-divider {
  width: 1px;
  min-height: 140px;
  background: #2a2a2a;
  flex-shrink: 0;
  margin-top: 32px;
}

/* ===== INSIGHTS SECTION ===== */
.insights-section {
  padding: 100px 0;
  background: var(--beige-100);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.insight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--beige-200);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.insight-label {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--beige-100);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* Quote */
.quote-card .insight-icon { margin-bottom: 16px; display: block; }
.quote-card blockquote { font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.5; color: var(--text-primary); margin-bottom: 12px; font-style: italic; }
.quote-card cite { font-size: 13px; color: var(--text-muted); font-style: normal; font-weight: 500; }

/* Weather */
.weather-top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.weather-icon { font-size: 48px; }
.weather-temp { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--text-primary); line-height: 1; }
.weather-cond { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.weather-days { display: flex; gap: 8px; }
.wday {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--beige-100); border-radius: var(--radius-md); padding: 10px 6px;
  font-size: 12px; color: var(--text-secondary);
}
.wday.active { background: var(--beige-200); font-weight: 600; }
.wday span:nth-child(2) { font-size: 20px; }

/* Tip */
.tip-category {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 12px;
}
.tip-card h4 { font-size: 20px; margin-bottom: 10px; }
.tip-card p { font-size: 15px; line-height: 1.7; }

/* On This Day */
.otd-badge {
  display: inline-block;
  background: #f0fdf4; color: #166534;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.otd-memory {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 600;
  line-height: 1.5; font-style: italic;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.otd-date { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ===== TAGS SECTION ===== */
.tags-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--beige-200);
}
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.tag-pill {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  background: var(--bg);
  color: var(--txt);
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.tag-pill:hover { transform: scale(1.05); box-shadow: var(--shadow-sm); }

/* ===== PRIVACY SECTION ===== */
.privacy-section {
  padding: 100px 0;
  background: var(--beige-100);
}
.privacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.privacy-text .section-title { margin-bottom: 20px; }
.privacy-text p { font-size: 16px; line-height: 1.8; margin-bottom: 32px; }
.privacy-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.privacy-list li { font-size: 15px; font-weight: 500; color: var(--text-secondary); }
.privacy-visual { display: flex; justify-content: center; }
.lock-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  width: 100%;
  max-width: 360px;
}
.lock-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.lock-card h4 { font-size: 18px; margin-bottom: 32px; color: var(--beige-200); font-weight: 700; line-height: 1.4; }
.lock-stats { display: flex; gap: 0; border-top: 1px solid #2a2a2a; padding-top: 28px; }
.lock-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.lock-stat + .lock-stat { border-left: 1px solid #2a2a2a; }
.ls-num { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--white); }
.lock-stat span:last-child { font-size: 11px; color: var(--beige-500); font-weight: 500; text-align: center; }

/* ===== DOWNLOAD CTA ===== */
.download-section {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}
.download-inner {
  background: var(--beige-100);
  border-radius: 40px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--beige-200);
}
.download-blob-wrap {
  position: absolute;
  top: -50%; left: -10%;
  width: 120%; height: 200%;
  pointer-events: none;
}
.download-content { position: relative; z-index: 1; }
.download-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.download-content p { font-size: 17px; color: var(--text-secondary); margin-bottom: 40px; }
.download-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.download-note { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1a1a1a;
}
.footer-brand .nav-logo-name { color: var(--white); }
.footer-brand .nav-logo-by { color: #666; }
.footer-brand p { font-size: 14px; color: #666; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #555; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: #888; text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--beige-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #444;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== SCROLL REVEAL ===== */
/* Base hidden state — override per direction */
.reveal {
  opacity: 0;
  transition:
    opacity  0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Direction variants */
.reveal-up    { transform: translateY(48px); }
.reveal-left  { transform: translateX(-64px) translateY(10px); }
.reveal-right { transform: translateX(64px)  translateY(10px); }

/* Visible — all directions land at origin */
.reveal.visible {
  opacity: 1;
  transform: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
    min-height: unset;
    padding-bottom: 60px;
  }
  .hero-blob-wrap { right: -30%; top: 5%; opacity: 0.6; }
  .hero-phones { height: 500px; }
  .phone-frame-front { width: 220px; height: 460px; }
  .phone-frame-back { width: 200px; height: 416px; transform: rotate(7deg) translateX(130px) translateY(24px); }
  .phone-frame-far { width: 175px; height: 365px; transform: rotate(-12deg) translateX(-140px) translateY(45px); }
  .pillars-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .feat-large { flex-direction: column; grid-column: span 12; }
  .feat-large .feat-visual { width: 100%; }
  .feat-card { grid-column: span 6; }
  .steps { flex-direction: column; gap: 0; }
  .step { padding: 32px 0; }
  .step:first-child { padding-top: 0; }
  .step-divider { width: 40px; height: 1px; min-height: unset; margin: 0; }
  .insights-grid { grid-template-columns: 1fr; }
  .privacy-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  /* Screen rows collapse to single column */
  .screen-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
  }
  .screen-row-flip .screen-row-phone { order: 1; }
  .screen-row-flip .screen-row-text  { order: 2; }
  .screen-row-text { max-width: 100%; }
}

@media (max-width: 768px) {

  /* Hero — clip phone overflow and shift left slightly */
  .hero { padding: 100px 20px 60px; gap: 32px; overflow: hidden; }
  .hero-phones {
    height: 400px;
    margin-left: -20px;   /* pull phones a bit left so front phone is visually centered */
    margin-right: -20px;
  }
  .hero-blob-wrap { display: none; } /* hide blobs on mobile — they bleed out */
  /* Only show front phone on mobile — hide back & far */
  .phone-frame-front { width: 185px; height: 386px; transform: rotate(-2deg) translateX(-20px); }
  .phone-frame-back { display: none; }
  .phone-frame-far { display: none; }

  /* Sections */
  .philosophy { padding: 64px 0; }
  .features { padding: 64px 0; }
  .how-it-works { padding: 64px 0; }
  .insights-section { padding: 64px 0; }
  .tags-section { padding: 56px 0; }
  .privacy-section { padding: 64px 0; }
  .download-section { padding: 64px 0; }
  .screens-section { padding: 64px 0; }

  /* Features */
  .feat-card { grid-column: span 12; }
  .features-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }

  /* Download */
  .download-inner { padding: 48px 24px; border-radius: 24px; }
  .download-btns { flex-direction: column; align-items: center; }
  .download-btns .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Footer */
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Insights */
  .insights-grid { grid-template-columns: 1fr; }

  /* Tags */
  .tags-grid { gap: 8px; }
  .tag-pill { padding: 10px 20px; font-size: 14px; }

  .screens-track { padding: 16px 24px 32px; gap: 16px; }
  .screen-frame { width: 160px; height: 340px; }

  /* Screen rows */
  .screen-row { gap: 32px; margin-bottom: 48px; padding-bottom: 48px; }
  .screen-row-frame { width: 220px; height: 460px; }
}

@media (max-width: 480px) {
  .hero { padding: 88px 16px 48px; overflow: hidden; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; justify-content: center; width: 100%; }
  .hero-phones {
    height: 340px;
    margin-left: -16px;
    margin-right: -16px;
  }
  .phone-frame-front { width: 155px; height: 322px; transform: rotate(-2deg) translateX(-10px); }
  .phone-frame-back { display: none; }

  .section-title { font-size: 30px !important; }
  .section-sub { font-size: 15px; margin-bottom: 32px; }

  /* Download */
  .download-inner { padding: 40px 16px; border-radius: 20px; }
  .download-title { font-size: 28px !important; }
  .download-btns .btn { font-size: 14px; padding: 14px 20px; }

  /* Footer */
  .footer-links { grid-template-columns: 1fr; }
  .footer { padding: 48px 0 24px; }

  /* Lock */
  .lock-stats { flex-direction: column; gap: 20px; }
  .lock-stat + .lock-stat { border-left: none; border-top: 1px solid #2a2a2a; padding-top: 20px; }

  /* Screen row phone frame */
  .screen-row-frame { width: 190px; height: 398px; border-radius: 36px; }

  /* Pillar cards */
  .pillar-card { padding: 28px 20px 32px; }

  /* Feature cards */
  .feat-card { padding: 24px 20px; }
  .feat-large { padding: 24px 20px; }

  /* Container padding */
  .container { padding: 0 16px; }

  /* Privacy */
  .lock-card { padding: 28px 20px; }

  /* Insight card */
  .insight-card { padding: 24px 20px; }
}
