/* ==========================================================================
   DESIGN SYSTEM — JDC Numérique des Prépas de Mathilde
   Landing page · "Papier Premium" · Conversion-focused
   ========================================================================== */

:root {
    /* Brand — Rose signature Mathilde */
    --primary: #2E2A27;
    --primary-light: #6D645E;
    --accent: #F4A5B8;
    --accent-hover: #e8899f;
    --accent-light: #FDF2F4;
    --accent-dark: #d4849a;

    /* Domaines de compétences */
    --mint: #7DD3B3;
    --sky: #7AB8E0;
    --lemon: #F5E07A;
    --coral: #E57373;
    --lavender: #C4A8E0;
    --peach: #F5B895;

    /* Neutrals — Papier Premium */
    --white: #FFFFFF;
    --cream: #FAFAF8;
    --gray-50: #F5F3F0;
    --gray-100: #EDE9E5;
    --gray-200: #E8E4E0;
    --gray-300: #D4CFC9;
    --gray-400: #B5AEA6;
    --gray-500: #9E9690;
    --gray-600: #6D645E;
    --gray-700: #4A4540;
    --gray-800: #2E2A27;
    --gray-900: #1A1816;

    /* Fonts */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-gap: 120px;
    --container-width: 1200px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows — Paper style */
    --shadow-xs: 0 1px 2px rgba(46,42,39,0.04);
    --shadow-sm: 0 2px 8px rgba(46,42,39,0.06);
    --shadow-md: 0 4px 16px rgba(46,42,39,0.08);
    --shadow-lg: 0 12px 40px rgba(46,42,39,0.10);
    --shadow-xl: 0 24px 60px rgba(46,42,39,0.14);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--gray-800);
    line-height: 1.2;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 640px;
    line-height: 1.7;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-display);
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(244, 165, 184, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 165, 184, 0.45);
}

.btn-primary:hover::before { opacity: 1; }

.btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.btn-primary.btn-lg {
    padding: 18px 40px;
    font-size: 17px;
    border-radius: var(--radius-xl);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s var(--ease);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--gray-200);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--gray-800);
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: var(--radius-sm);
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
}

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

.nav-cta {
    padding: 10px 22px !important;
    background: var(--accent) !important;
    color: var(--white) !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    transition: all 0.3s var(--ease) !important;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244,165,184,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s var(--ease) both;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s var(--ease) 0.1s both;
}

.hero-title .title-accent {
    background: linear-gradient(135deg, var(--accent), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
    animation: fadeInUp 0.6s var(--ease) 0.2s both;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s var(--ease) 0.3s both;
}

.hero-proof-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-proof-item strong {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
}

.hero-proof-item span {
    font-size: 13px;
    color: var(--gray-500);
}

.hero-proof-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-200);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s var(--ease) 0.4s both;
}

.hero-cta-subtext {
    font-size: 14px;
    color: var(--gray-500);
    animation: fadeInUp 0.6s var(--ease) 0.5s both;
}

.hero-cta-subtext strong {
    color: var(--accent-dark);
}

/* Hero right — Double Device Mockup */
.hero-visual {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
}

.hero-devices {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    /* Basé sur le ratio tablette (2412x1084 ≈ 2.22:1) + espace pour le mobile qui dépasse */
    aspect-ratio: 16/10;
}

/* Glow ambient derrière les devices */
.hero-devices::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(244,165,184,0.18) 0%, rgba(196,168,224,0.10) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

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

/* Device frame shared styles */
.device-frame {
    background: #1a1816;
    overflow: hidden;
    position: relative;
}

.device-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    z-index: 2;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

/* Tablet device — image ratio 1920:1200 (paysage, photo réelle) */
.device-tablet {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    aspect-ratio: 1920 / 1200;
    z-index: 1;
    animation: tabletSlideIn 0.8s var(--ease) 0.4s both;
}

@keyframes tabletSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.device-tablet .device-frame {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    padding: 12px;
    box-shadow:
        0 24px 60px rgba(26,24,22,0.25),
        0 8px 20px rgba(26,24,22,0.15),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.device-tablet .device-screen {
    border-radius: 8px;
}

.device-tablet .device-notch {
    top: 4px;
    width: 16%;
    height: 3px;
}

/* Mobile device — image ratio 1084:2412 (portrait) */
.device-mobile {
    position: absolute;
    bottom: -60%;
    right: -12%;
    width: 54%;
    aspect-ratio: 1084 / 2412;
    z-index: 2;
    animation: mobileSlideIn 0.8s var(--ease) 0.7s both;
}

@keyframes mobileSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.device-mobile .device-frame {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 8px 6px;
    box-shadow:
        0 30px 70px rgba(26,24,22,0.30),
        0 10px 24px rgba(26,24,22,0.20),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.device-mobile .device-screen {
    border-radius: 14px;
}

.device-mobile .device-notch {
    top: 3px;
    width: 28%;
    height: 2px;
}

/* Generic mockup placeholder (used in devices + feature sections) */
.mockup-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px;
    text-align: center;
    color: var(--gray-400);
}

.mockup-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

.mockup-placeholder span {
    font-size: 14px;
    font-weight: 500;
}

/* Floating badges around mockup */
.hero-float-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    box-shadow:
        0 4px 16px rgba(46,42,39,0.10),
        0 1px 4px rgba(46,42,39,0.06);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 5;
    border: 1px solid rgba(232,228,224,0.6);
}

.hero-float-badge.badge-top {
    top: 5%;
    left: -5%;
    animation: badgeFloat 6s ease-in-out infinite, badgePopIn 0.5s var(--ease-spring) 1.1s both;
}

.hero-float-badge.badge-middle {
    top: 5%;
    right: 0;
    animation: badgeFloat 6s ease-in-out 2s infinite, badgePopIn 0.5s var(--ease-spring) 1.3s both;
}

.hero-float-badge.badge-bottom {
    bottom: 20%;
    left: -5%;
    animation: badgeFloat 6s ease-in-out 4s infinite, badgePopIn 0.5s var(--ease-spring) 1.5s both;
}

@keyframes badgePopIn {
    from {
        opacity: 0;
        transform: scale(0.6) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ==========================================================================
   SECTION GENERICS
   ========================================================================== */

section {
    padding: var(--section-gap) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ==========================================================================
   PAIN POINTS SECTION
   ========================================================================== */

.pain-section {
    background: var(--white);
}

.pain-intro {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.pain-intro p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 12px;
}

.pain-intro .pain-emphasis {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.pain-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease);
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pain-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    background: var(--accent-light);
}

.pain-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.pain-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.pain-transition {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--gray-800);
}

.pain-transition span {
    color: var(--accent);
}

/* ==========================================================================
   POSITIONING SECTION
   ========================================================================== */

.positioning-section {
    background: var(--cream);
}

.positioning-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.positioning-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.gauge-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-100);
}

.gauge-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.gauge-bar {
    height: 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--mint));
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 1.5s var(--ease-spring);
}

.gauge-fill.animated {
    width: 100%;
}

.positioning-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pos-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.3s var(--ease);
}

.pos-badge:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.pos-badge .badge-icon {
    font-size: 16px;
}

/* Photo + Citation Mathilde */
.positioning-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.mathilde-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 4px solid var(--accent-light);
    box-shadow: var(--shadow-lg);
}

.mathilde-photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.mathilde-quote {
    font-size: 18px;
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 400px;
}

.mathilde-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.mathilde-role {
    font-size: 13px;
    color: var(--gray-500);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-section {
    background: var(--white);
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-text h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
}

.feature-text p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-600);
}

.feature-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Domain color badges */
.domain-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
}

.domain-badge.langage { background: rgba(196,168,224,0.15); color: #8B6BAE; }
.domain-badge.physique { background: rgba(245,184,149,0.15); color: #C88A5E; }
.domain-badge.artistique { background: rgba(122,184,224,0.15); color: #5A8EAE; }
.domain-badge.structurer { background: rgba(125,211,179,0.15); color: #4E9E7D; }
.domain-badge.explorer { background: rgba(245,224,122,0.15); color: #A89640; }

/* Feature mockup */
.feature-mockup {
    background: var(--cream);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   SECURITY SECTION
   ========================================================================== */

.security-section {
    background: var(--gray-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.security-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(244,165,184,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(122,184,224,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.security-section .section-badge {
    background: rgba(244,165,184,0.15);
    color: var(--accent);
}

.security-section .section-title {
    color: var(--white);
}

.security-section .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.security-checks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-check {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s var(--ease);
}

.security-check:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(4px);
}

.security-check-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(125,211,179,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.security-check h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.security-check p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.security-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.security-shield {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.shield-icon {
    font-size: 120px;
    filter: drop-shadow(0 8px 32px rgba(125,211,179,0.3));
}

.security-quote {
    text-align: center;
    max-width: 360px;
}

.security-quote p {
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin-bottom: 8px;
}

.security-quote span {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

.rgpd-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(122,184,224,0.15);
    border: 1px solid rgba(122,184,224,0.2);
    border-radius: var(--radius-full);
    color: var(--sky);
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================================================
   OFFLINE SECTION
   ========================================================================== */

.offline-section {
    background: var(--cream);
}

.offline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.offline-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.offline-feature {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all 0.3s var(--ease);
}

.offline-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.offline-feature-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.offline-feature h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.offline-feature p {
    font-size: 13px;
    color: var(--gray-500);
}

.offline-quote {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.offline-quote p {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    font-style: italic;
}

/* Offline visual */
.offline-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.offline-illustration {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    padding: 40px;
}

.offline-illustration .wifi-icon {
    font-size: 80px;
    opacity: 0.3;
}

.offline-illustration .check-icon {
    font-size: 48px;
}

.offline-illustration span {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
}

/* ==========================================================================
   CENTRALIZATION SECTION
   ========================================================================== */

.central-section {
    background: var(--white);
}

.central-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.central-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.central-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--cream);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.3s var(--ease);
}

.central-tag:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent-dark);
}

/* ==========================================================================
   EXPORT SECTION
   ========================================================================== */

.export-section {
    background: var(--cream);
}

.export-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.export-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.export-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.export-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.export-step span {
    font-size: 15px;
    color: var(--gray-700);
}

.export-humor {
    margin-top: 24px;
    font-size: 15px;
    color: var(--gray-500);
    font-style: italic;
}

/* ==========================================================================
   SOCIAL PROOF SECTION
   ========================================================================== */

.proof-section {
    background: var(--white);
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.proof-stat {
    text-align: center;
}

.proof-stat-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.proof-stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.proof-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.proof-carousel {
    display: flex;
    gap: 24px;
    transition: transform 0.5s var(--ease);
}

.proof-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-100);
    min-width: calc(33.333% - 16px);
}

.proof-card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
    color: var(--lemon);
    font-size: 16px;
}

.proof-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.proof-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.proof-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.proof-card-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-800);
}

.proof-card-role {
    font-size: 13px;
    color: var(--gray-500);
}

.proof-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s var(--ease);
    color: var(--gray-700);
    font-size: 18px;
}

.proof-carousel-btn:hover {
    background: var(--accent-light);
    border-color: var(--accent);
}

.proof-carousel-btn.prev { left: 0; }
.proof-carousel-btn.next { right: 0; }

.proof-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.proof-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: all 0.3s var(--ease);
    cursor: pointer;
}

.proof-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */

.pricing-section {
    background: var(--cream);
    position: relative;
}

.pricing-card {
    max-width: 540px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--lavender));
}

.pricing-founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-old-price {
    font-size: 20px;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1;
}

.pricing-price .period {
    font-size: 18px;
    color: var(--gray-500);
}

.pricing-monthly {
    font-size: 16px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 24px;
}

.pricing-comparisons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.pricing-comparison {
    font-size: 15px;
    color: var(--gray-500);
}

.pricing-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: color 0.3s;
    font-family: var(--font-body);
}

.faq-item.active .faq-question {
    color: var(--accent-dark);
}

.faq-question:hover {
    color: var(--accent-hover);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease);
    color: var(--gray-400);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta-section {
    background: linear-gradient(135deg, var(--gray-900), #1a1816);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(244,165,184,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.final-cta-section .section-title {
    color: var(--white);
    margin-bottom: 12px;
}

.final-cta-highlight {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 24px;
}

.final-cta-highlight span {
    text-decoration: line-through;
    color: rgba(255,255,255,0.4);
}

.final-cta-highlight strong {
    color: var(--accent);
}

.final-cta-section .section-subtitle {
    color: rgba(255,255,255,0.6);
    margin: 0 auto 40px;
}

/* Klaviyo form */
.klaviyo-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 16px;
}

.klaviyo-form input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-body);
    transition: all 0.3s var(--ease);
}

.klaviyo-form input::placeholder {
    color: rgba(255,255,255,0.35);
}

.klaviyo-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.12);
}

.klaviyo-form .btn-primary {
    flex-shrink: 0;
}

.klaviyo-success {
    display: none;
    text-align: center;
    padding: 20px;
}

.klaviyo-success.show {
    display: block;
}

.klaviyo-success p {
    font-size: 18px;
    font-weight: 600;
    color: var(--mint);
    margin-bottom: 8px;
}

.klaviyo-success span {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.form-note {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* Hero form variant (light) */
.hero .klaviyo-form input {
    border-color: var(--gray-200);
    background: var(--white);
    color: var(--gray-800);
}

.hero .klaviyo-form input::placeholder {
    color: var(--gray-400);
}

.hero .klaviyo-form input:focus {
    border-color: var(--accent);
}

.hero .form-note {
    color: var(--gray-500);
}

.hero .klaviyo-success p {
    color: var(--mint);
}

.hero .klaviyo-success span {
    color: var(--gray-500);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.5);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 13px;
}

/* ==========================================================================
   STICKY CTA (Mobile)
   ========================================================================== */

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px;
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
    display: none;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    :root { --section-gap: 80px; }

    .hero-content,
    .positioning-content,
    .security-content,
    .offline-content,
    .central-content,
    .export-content,
    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-block.reverse {
        direction: ltr;
    }

    .hero-visual { order: -1; }
    .hero-devices { max-width: 480px; margin: 0 auto; }

    .proof-card {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    :root { --section-gap: 64px; }

    .nav-links { display: none; }
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250,250,248,0.98);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }
    .nav-links.mobile-open a {
        font-size: 20px;
        font-weight: 500;
    }
    .nav-mobile-toggle { display: flex; z-index: 1001; }

    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-visual { height: auto; }
    .hero-devices { max-width: 380px; }
    .device-mobile { width: 42%; bottom: -35%; right: -8%; }
    .hero-proof { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero-proof-divider { width: 40px; height: 1px; }

    .hero-cta-group { flex-direction: column; }
    .btn-primary.btn-lg { width: 100%; justify-content: center; }

    .pain-grid { grid-template-columns: 1fr 1fr; }

    .positioning-right { order: -1; }

    .proof-card {
        flex: 0 0 calc(100% - 16px);
        min-width: calc(100% - 16px);
    }
    .proof-carousel-btn { display: none; }
    .proof-carousel-container { padding: 0; }

    .pricing-card { padding: 32px 24px; }

    .klaviyo-form { flex-direction: column; }

    .proof-stats { flex-direction: column; gap: 24px; }

    .offline-features { grid-template-columns: 1fr; }

    .sticky-cta { display: block; }

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

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .section-title { font-size: 26px; }

    .pain-grid { grid-template-columns: 1fr; }

    .hero-title { font-size: 28px; }

    .pricing-price .amount { font-size: 44px; }

    .hero-float-badge { display: none; }
}
