/* ============================================
   GALACODE — Landing Page Styles
   Inspired by Optikka: dark bg, cream cards,
   orange/coral accents, editorial typography
   ============================================ */

:root {
    --bg: #141414;
    --bg-deep: #0e0e0e;
    --cream: #f0e8dc;
    --cream-light: #f5efe6;
    --accent: #d4542a;
    --accent-hover: #e86540;
    --text: #e8e0d4;
    --text-muted: #8a8278;
    --card-bg: #f0e8dc;
    --card-text: #1a1714;
    --card-muted: #6b635a;
    --border: rgba(240, 232, 220, 0.1);
    --radius: 24px;
    --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   BACKGROUND ORBS
   ============================================ */
.bg-gradient-orbs {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.orb-1 {
    width: 600px; height: 600px;
    background: var(--accent);
    top: -200px; right: -100px;
    animation: float-orb 20s ease-in-out infinite;
}
.orb-2 {
    width: 400px; height: 400px;
    background: #e8a060;
    bottom: -100px; left: -100px;
    animation: float-orb 25s ease-in-out infinite reverse;
}
.orb-3 {
    width: 300px; height: 300px;
    background: var(--accent);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: float-orb 30s ease-in-out infinite;
    opacity: 0.08;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -40px); }
    50% { transform: translate(-20px, 30px); }
    75% { transform: translate(40px, 20px); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.top-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    z-index: 100;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--cream);
}
.logo-accent { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--cream); }

.nav-cta {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-cta:hover { color: var(--accent-hover); }

/* ============================================
   SCROLL CONTAINER
   ============================================ */
.scroll-container {
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative;
    z-index: 1;
    scrollbar-width: none;
}
.scroll-container::-webkit-scrollbar { display: none; }

.slide {
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem 3rem;
    position: relative;
}

.slide-auto {
    height: auto;
    min-height: 100vh;
    padding-bottom: 4rem;
}

.content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.center-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.big-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 3rem;
    max-width: 800px;
}
.big-heading em {
    color: var(--accent);
    font-style: italic;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--card-text);
    margin-bottom: 0.5rem;
}
h3 em { color: var(--accent); font-style: italic; }

p { font-size: 0.95rem; line-height: 1.6; color: var(--card-muted); }

/* ============================================
   BUTTONS
   ============================================ */
.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.cta-group.centered { justify-content: center; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 84, 42, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--cream);
    background: rgba(240, 232, 220, 0.05);
}

.btn-outline {
    background: transparent;
    color: var(--card-text);
    border: 2px solid var(--card-text);
}
.btn-outline:hover {
    background: var(--card-text);
    color: var(--cream);
}

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--cream);
    margin-bottom: 1.5rem;
}
.hero-content h1 em {
    color: var(--accent);
    font-style: italic;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
}

/* Hero Card (Dashboard Mockup) */
.hero-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s ease;
}
.hero-card:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--accent);
    animation: scroll-slide 2s ease-in-out infinite;
}
@keyframes scroll-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ============================================
   DASHBOARD MOCKUP (Hero)
   ============================================ */
.mockup-dashboard {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0d8cc;
}

.mock-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1rem;
    background: #f8f4ee;
    border-bottom: 1px solid #e0d8cc;
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots span {
    width: 8px; height: 8px; border-radius: 50%;
    background: #d4c8b8;
}
.mock-dots span:first-child { background: var(--accent); opacity: 0.6; }
.mock-url {
    font-size: 0.65rem;
    color: var(--card-muted);
    background: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid #e0d8cc;
}

.mock-body {
    display: flex;
    min-height: 220px;
}

.mock-sidebar {
    width: 50px;
    background: #f8f4ee;
    border-right: 1px solid #e0d8cc;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}
.mock-nav-item {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: #e8e0d4;
    transition: background 0.3s;
}
.mock-nav-item.active { background: var(--accent); opacity: 0.7; }

.mock-main { flex: 1; padding: 1rem; }

.mock-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}
.mock-title-block {
    width: 100px; height: 14px;
    background: #e0d8cc;
    border-radius: 4px;
}
.mock-badge {
    font-size: 0.55rem;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
}

.mock-calendar { margin-bottom: 0.8rem; }
.mock-cal-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.mock-time {
    font-size: 0.55rem;
    color: var(--card-muted);
    width: 30px;
    text-align: right;
    font-weight: 500;
}
.mock-event {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    background: #f8f4ee;
    border-left: 3px solid var(--accent);
}
.mock-event.ev-2 { border-left-color: #4a9; }
.mock-event.ev-3 { border-left-color: #6a8dc8; }
.mock-event.ev-4 { border-left-color: #c8a86a; }
.mock-ev-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mock-event.ev-2 .mock-ev-dot { background: #4a9; }
.mock-event.ev-3 .mock-ev-dot { background: #6a8dc8; }
.mock-event.ev-4 .mock-ev-dot { background: #c8a86a; }
.mock-ev-text { width: 60%; height: 6px; background: #e0d8cc; border-radius: 3px; }

.mock-stats-row {
    display: flex;
    gap: 0.5rem;
}
.mock-stat-card {
    flex: 1;
    background: #f8f4ee;
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
}
.mock-stat-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--card-text);
}
.mock-stat-label {
    font-size: 0.5rem;
    color: var(--card-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.problem-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 2rem;
    color: var(--card-text);
    transition: transform 0.3s ease;
}
.problem-card:hover { transform: translateY(-4px); }

.problem-icon {
    color: var(--card-muted);
    margin-bottom: 1.5rem;
}

.problem-card h3 { margin-bottom: 0.8rem; }
.problem-card p { font-size: 0.9rem; }

.agitate-banner {
    background: rgba(212, 84, 42, 0.08);
    border: 1px solid rgba(212, 84, 42, 0.15);
    border-radius: var(--radius);
    padding: 2rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}
.agitate-banner p {
    color: var(--text);
    font-size: 1.05rem;
    text-align: center;
    line-height: 1.7;
}
.agitate-banner em {
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
}

/* ============================================
   FEATURES / SOLUTION GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.feature-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: var(--card-text);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); }

.feature-card.large {
    grid-row: span 2;
}

.feature-card.wide {
    grid-column: span 2;
}

.feature-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    min-height: 120px;
}

.feature-text h3 { margin-bottom: 0.5rem; }
.feature-text p { font-size: 0.85rem; }

/* ---- Mini Mockup: Agenda ---- */
.agenda-mock {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1rem;
    width: 100%;
    border: 1px solid #e0d8cc;
}
.mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--card-text);
}
.mini-nav-arrows {
    font-size: 0.7rem;
    color: var(--card-muted);
    letter-spacing: 4px;
}
.mini-calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    margin-bottom: 0.8rem;
    text-align: center;
}
.cal-day {
    font-size: 0.55rem;
    color: var(--card-muted);
    font-weight: 600;
    padding: 4px;
    text-transform: uppercase;
}
.cal-num {
    font-size: 0.65rem;
    padding: 6px 4px;
    border-radius: 6px;
    color: var(--card-text);
}
.cal-num.today {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}
.cal-num.has-event {
    position: relative;
}
.cal-num.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
}
.mini-event-list { display: flex; flex-direction: column; gap: 4px; }
.mini-event {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6rem;
    color: var(--card-muted);
    padding: 4px 6px;
    background: #f8f4ee;
    border-radius: 4px;
}
.mini-ev-bar {
    width: 3px; height: 14px;
    border-radius: 2px;
    background: #6a8dc8;
}
.mini-ev-bar.accent { background: var(--accent); }

/* ---- Mini Mockup: Patient Record ---- */
.record-mock {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    width: 100%;
    border: 1px solid #e0d8cc;
    text-align: center;
}
.record-avatar { margin-bottom: 0.5rem; }
.record-name {
    width: 70%; height: 10px;
    background: #e0d8cc;
    border-radius: 4px;
    margin: 0 auto 0.8rem;
}
.record-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.6rem;
    color: var(--card-muted);
}
.record-val {
    width: 50%; height: 6px;
    background: #e8e0d4;
    border-radius: 3px;
}
.record-val.short { width: 30%; }
.record-notes { margin-top: 0.8rem; }
.note-line {
    width: 100%; height: 4px;
    background: #f0e8dc;
    border-radius: 2px;
    margin-bottom: 4px;
}
.note-line.short { width: 60%; }

/* ---- Mini Mockup: Brand ---- */
.brand-mock {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    width: 100%;
    border: 1px solid #e0d8cc;
}
.brand-palette {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}
.color-swatch {
    width: 30px; height: 30px;
    border-radius: 8px;
}
.color-swatch.c1 { background: var(--accent); }
.color-swatch.c2 { background: #2a5a8c; }
.color-swatch.c3 { background: #1a1714; }

.brand-typo {
    margin-bottom: 1rem;
}
.typo-large {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--card-text);
    line-height: 1;
}
.typo-small {
    font-size: 0.6rem;
    color: var(--card-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}
.brand-layout {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}
.layout-box {
    width: 40px; height: 30px;
    background: #f0e8dc;
    border-radius: 4px;
}
.layout-lines { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ll {
    width: 100%; height: 4px;
    background: #e8e0d4;
    border-radius: 2px;
}
.ll.short { width: 60%; }

/* ---- Mini Mockup: Devices ---- */
.devices-mock {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
}
.device { border-radius: var(--radius-sm); overflow: hidden; border: 2px solid #d4c8b8; }
.device-screen { background: #fff; }
.device.laptop { width: 160px; }
.device.laptop .device-screen { padding: 0.5rem; }
.device.tablet { width: 90px; }
.device.tablet .device-screen { padding: 0.4rem; }
.device.phone { width: 50px; }
.device.phone .device-screen { padding: 0.3rem; }
.screen-bar {
    height: 4px;
    background: #e0d8cc;
    border-radius: 2px;
    margin-bottom: 6px;
}
.screen-content { display: flex; flex-direction: column; gap: 4px; }
.sc-block {
    width: 100%; height: 20px;
    background: #f0e8dc;
    border-radius: 4px;
}
.sc-block.sm { height: 12px; width: 60%; }

/* ============================================
   HOW IT WORKS (Steps)
   ============================================ */
.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.step-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 280px;
    flex: 1;
    transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); }

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.step-visual {
    margin-bottom: 1rem;
}
.step-visual svg { color: var(--card-muted); }

.step-card h3 { text-align: center; }
.step-card p { font-size: 0.85rem; text-align: center; }

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 4rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
    margin-top: 1rem;
}

.plan-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: left;
    color: var(--card-text);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}
.plan-card:hover { transform: translateY(-4px); }

.plan-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(212, 84, 42, 0.15);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--card-muted);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--card-text);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--card-muted);
    margin-left: 4px;
    font-family: 'Inter', sans-serif;
}

.plan-tag {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--card-text);
    line-height: 1.4;
}

.check-icon {
    color: var(--card-muted);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.check-icon.accent { color: var(--accent); }

.plan-addon {
    font-size: 0.8rem;
    color: var(--card-muted);
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    border: 1px dashed #d4c8b8;
    margin-bottom: 1.5rem;
}

.plan-card .btn { width: 100%; justify-content: center; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
    max-width: 700px;
    width: 100%;
    margin-top: 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--cream);
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s;
}
.faq-question:hover { color: var(--accent); }

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    color: var(--text-muted);
    padding-bottom: 1.2rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

/* ============================================
   CTA FINAL / CONTACT
   ============================================ */
.cta-final-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 4rem 3rem;
    max-width: 700px;
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}
.cta-final-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 400px; height: 400px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
}

.cta-final-inner { position: relative; z-index: 1; }
.cta-final-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--card-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.cta-final-inner h2 em { color: var(--accent); font-style: italic; }
.cta-final-inner p { margin-bottom: 1.5rem; }

.guarantee {
    font-size: 0.8rem;
    color: var(--card-muted);
    margin-top: 1.5rem;
    font-style: italic;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem 0;
}
.footer-logo {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.site-footer p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.anim-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-fade.show {
    opacity: 1;
    transform: translateY(0);
}

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

/* ============================================
   HAMBURGER MENU (hidden on desktop)
   ============================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    transition: color 0.3s;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, color 0.3s;
}
.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu-cta {
    color: var(--accent) !important;
    font-weight: 700 !important;
    margin-top: 1rem;
    padding: 0.6rem 2rem;
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 1rem !important;
    font-family: 'Inter', sans-serif !important;
}

/* ============================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-card {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-card:hover { transform: none; }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .feature-card.large { grid-row: span 1; }
    .feature-card.wide { grid-column: span 2; }

    .steps-row { gap: 0.5rem; }
    .step-card { padding: 1.5rem 1rem; }
}

/* ============================================
   RESPONSIVE — Mobile (max 768px)
   ============================================ */
@media (max-width: 768px) {
    /* --- Layout --- */
    .slide {
        padding: 5rem 1.25rem 2.5rem;
        min-height: 100vh;
        min-height: 100dvh; /* dynamic viewport for mobile browsers */
    }
    .slide-auto {
        padding-bottom: 3rem;
    }

    /* --- Nav --- */
    .top-nav {
        padding: 0.8rem 1.25rem;
    }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .menu-toggle { display: flex; }

    /* --- Typography --- */
    .section-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    .big-heading {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 2rem;
    }
    h3 { font-size: 1.15rem; }

    /* --- Hero --- */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .hero-sub {
        font-size: 0.95rem;
        max-width: 100%;
    }
    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-card {
        max-width: 100%;
        border-radius: 16px;
        padding: 1rem;
    }
    .scroll-hint { display: none; }

    /* --- Mockup adjustments --- */
    .mock-body { min-height: 180px; }
    .mock-sidebar { width: 40px; padding: 0.6rem 0.3rem; }
    .mock-nav-item { width: 24px; height: 24px; }
    .mock-main { padding: 0.7rem; }
    .mock-stat-num { font-size: 1rem; }

    /* --- Problem Section --- */
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .problem-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    .problem-icon { margin-bottom: 1rem; }
    .agitate-banner {
        padding: 1.25rem;
        border-radius: 16px;
    }
    .agitate-banner p { font-size: 0.95rem; }

    /* --- Features / Solution --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-card.large { grid-row: span 1; }
    .feature-card.wide { grid-column: span 1; }
    .feature-card {
        padding: 1.25rem;
        border-radius: 16px;
    }
    .feature-visual { min-height: 100px; }

    /* Devices mockup scale down */
    .device.laptop { width: 130px; }
    .device.tablet { width: 70px; }
    .device.phone { width: 40px; }
    .devices-mock { gap: 0.5rem; padding: 0.5rem; }

    /* --- Steps --- */
    .steps-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .step-connector { display: none; }
    .step-card {
        max-width: 100%;
        width: 100%;
        padding: 1.5rem;
        border-radius: 16px;
    }
    .step-number { font-size: 2rem; }

    /* --- Pricing --- */
    .pricing-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    .plan-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    .plan-price { font-size: 2.5rem; }
    .plan-features li { font-size: 0.85rem; }

    /* --- FAQ --- */
    .faq-question {
        font-size: 0.9rem;
        padding: 1rem 0;
    }
    .faq-answer p { font-size: 0.85rem; }

    /* --- CTA Final --- */
    .cta-final-card {
        padding: 2rem 1.25rem;
        border-radius: 16px;
        margin-bottom: 2rem;
    }
    .cta-final-inner h2 { font-size: 1.4rem; }

    /* --- Buttons --- */
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    .cta-group .btn {
        width: 100%;
        justify-content: center;
    }
    .btn { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
    .btn-lg { padding: 1rem 2rem; }

    /* --- Animations: reduce motion on mobile --- */
    .anim-fade { transform: translateY(20px); }
}

/* ============================================
   RESPONSIVE — Small phones (max 380px)
   ============================================ */
@media (max-width: 380px) {
    .slide { padding: 4.5rem 1rem 2rem; }

    .hero-content h1 { font-size: 1.6rem; }
    .big-heading { font-size: 1.35rem; }
    .hero-sub { font-size: 0.85rem; }

    .plan-price { font-size: 2.2rem; }
    .plan-card { padding: 1.5rem 1.25rem; }

    .problem-card { padding: 1.25rem; }
    .step-card { padding: 1.25rem; }

    .cta-final-card { padding: 1.5rem 1rem; }
    .cta-final-inner h2 { font-size: 1.2rem; }

    .mock-body { min-height: 150px; }
    .mock-calendar { display: none; }
    .mock-stats-row { margin-top: 0.5rem; }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) {
    .hero-card { transform: none !important; }
    .feature-card:hover,
    .problem-card:hover,
    .step-card:hover,
    .plan-card:hover { transform: none; }
}

/* Safe area for notched phones (iPhone) */
@supports (padding: env(safe-area-inset-bottom)) {
    .top-nav {
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }
    .slide {
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }
}
