:root {
    --bg: #fdf6ee;
    --bg2: #f5ead8;
    --surface: #fff8f0;
    --text: #2a1f14;
    --text2: #7a6555;
    /* --accent: #e8622a;
    --accent2: #f0a96e; */

    --accent: #EA445A;
    --accent2: #F296A1;

    --dot: rgba(42,31,20,0.07);
    --card-bg: rgba(255,248,240,0.8);
    --card-border: rgba(232,98,42,0.15);
    --nav-bg: rgba(253,246,238,0.85);
    --shadow: rgba(42,31,20,0.12);
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #1a1008;
      --bg2: #231608;
      --surface: #2a1d0f;
      --text: #f5e8d8;
      --text2: #a8917a;
      /* --accent: #f07040;
      --accent2: #c05a28; */

      --accent: #EA445A;
    --accent2: #9E2D3D;

      --dot: rgba(245,232,216,0.05);
      --card-bg: rgba(42,29,15,0.9);
      --card-border: rgba(240,112,64,0.18);
      --nav-bg: rgba(26,16,8,0.9);
      --shadow: rgba(0,0,0,0.4);
    }
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
  }

  /* Dot grid background */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, var(--dot) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 5vw;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--card-border);
    transition: background 0.3s;
  }

  .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo-dot {
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2.4s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
  }

  .nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text2);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--accent); }

  .nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
  }

  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232,98,42,0.35) !important;
    color: #fff !important;
  }

  /* ── HERO ── */
  .hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5vw 80px;
    gap: 0;
  }

  .hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    /* text-transform: uppercase; */
    color: var(--accent);
    margin-bottom: 20px;
    margin-top: 10px;
    opacity: 0;
    animation: fadeUp 0.7s 0.1s forwards;
  }

  .hero h1 {
    font-family: 'DM SANS', serif;
    font-size: clamp(3.2rem, 9vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeUp 0.7s 0.2s forwards;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--accent);
    font-family: "Playfair Display";
  }

  .hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    color: var(--text2);
    max-width: 520px;
    line-height: 1.65;
    margin: 22px auto 0;
    opacity: 0;
    animation: fadeUp 0.7s 0.35s forwards;
  }

  /* ── PHONE MOCKUP ── */
  .phone-wrap {
    position: relative;
    margin: 16px auto 0;
    width: 260px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
  }

  .phone {
    width: 260px;
    height: 520px;
    background: var(--surface);
    border-radius: 40px;
    border: 2px solid var(--card-border);
    box-shadow: 0 32px 80px var(--shadow), 0 8px 24px rgba(232,98,42,0.12);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Phone notch */
  .phone::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: var(--bg);
    border-radius: 20px;
    z-index: 10;
  }

  .phone-screen {
    width: 100%;
    height: 100%;
    padding: 56px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: linear-gradient(160deg, var(--bg2) 0%, var(--bg) 100%);
  }

  .phone-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text2);
    align-self: flex-start;
  }

  /* Before / After photo placeholders */
  .photo-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .photo-card {
    border-radius: 16px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
  }

  .photo-card.original {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text2);
    width: 100px;
    height: 100px;
  }

  .photo-card.miniature {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    color: rgba(255,255,255,0.9);
  }

  .photo-card svg {
    width: 28px;
    height: 28px;
    opacity: 0.6;
  }

  .photo-card.miniature svg { opacity: 0.9; }

  /* Bokeh blobs */
  .bokeh {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
  }

  .bokeh-1 {
    width: 300px; height: 300px;
    background: rgba(232,98,42,0.15);
    top: -60px; right: -80px;
    animation: drift1 8s ease-in-out infinite;
  }

  .bokeh-2 {
    width: 200px; height: 200px;
    background: rgba(240,169,110,0.12);
    bottom: 100px; left: -60px;
    animation: drift2 10s ease-in-out infinite;
  }

  @keyframes drift1 {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(30px, 20px); }
  }

  @keyframes drift2 {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(-20px, -30px); }
  }

  /* Arrow badge */
  .phone-arrow {
    position: absolute;
    right: -56px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text2);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    rotate: 180deg;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* ── CTA BUTTON ── */
  .cta-wrap {
    margin-top: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.7s 0.7s forwards;
  }

  .btn-appstore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text);
    color: var(--bg);
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 30px var(--shadow);
  }

  .btn-appstore:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px var(--shadow);
  }

  .btn-appstore svg { flex-shrink: 0; }

  .btn-sub {
    font-size: 0.78rem;
    color: var(--text2);
  }

  /* ── HOW IT WORKS ── */
  .section {
    position: relative;
    z-index: 1;
    padding: 100px 5vw;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 56px;
    max-width: 480px;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
  }

  .step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 32px 28px;
    position: relative;
    backdrop-filter: blur(8px);
    transition: transform 0.25s, box-shadow 0.25s;
  }

  .step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--shadow);
  }

  .step-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.18;
    line-height: 1;
    margin-bottom: 12px;
  }

  .step h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
  }

  .step p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text2);
    line-height: 1.65;
  }

  /* ── FEATURES ── */
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .feature {
    padding: 28px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    transition: transform 0.25s;
  }

  .feature:hover { transform: translateY(-4px); }

  .feature-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.3rem;
  }

  .feature h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
  }

  .feature p {
    font-size: 0.82rem;
    color: var(--text2);
    line-height: 1.6;
    font-weight: 300;
  }

  /* ── FINAL CTA STRIP ── */
  .cta-strip {
    position: relative;
    z-index: 1;
    margin: 0 5vw 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    border-radius: 32px;
    padding: 64px 48px;
    text-align: center;
    overflow: hidden;
  }

  .cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
  }

  .cta-strip h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
  }

  .cta-strip p {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    position: relative;
  }

  .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--accent);
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  }

  .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.28);
  }

  /* ── FOOTER ── */
  footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--card-border);
    padding: 32px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
  }

  .footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
  }

  .footer-links a {
    font-size: 0.82rem;
    color: var(--text2);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--accent); }

  .footer-copy {
    font-size: 0.78rem;
    color: var(--text2);
    width: 100%;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── SCROLL ANIMATIONS ── */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 640px) {
    .nav-links { display: none; }
    .phone-arrow { display: none; }
    .cta-strip { padding: 44px 24px; margin: 0 16px 60px; }
    footer { flex-direction: column; align-items: flex-start; }
  }