/* ============================================
   DANZ — Design System & Styles
   ============================================ */

:root {
    /* Colors */
    --color-primary: #ea3b3c;
    --color-primary-dark: #c92e2f;
    --color-primary-light: #ff6b6c;
    
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-bg-dark: #0f0f0f;
    --color-bg-warm: #faf8f5;
    
    --color-text: #1a1a1a;
    --color-text-secondary: #6b7280;
    --color-text-light: #9ca3af;
    --color-text-inverse: #ffffff;
    
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Fluid sizes (auto-scale 320px → 1280px) */
    --fluid-hero: clamp(2rem, 5vw + 1rem, 3.75rem);
    --fluid-h1: clamp(1.875rem, 4vw + 0.5rem, 3rem);
    --fluid-h2: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
    --fluid-h3: clamp(1.125rem, 1vw + 0.75rem, 1.5rem);
    --fluid-lead: clamp(1rem, 0.8vw + 0.75rem, 1.25rem);
    --fluid-body: clamp(0.95rem, 0.3vw + 0.875rem, 1.0625rem);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 10px 40px -10px rgba(234, 59, 60, 0.4);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Layout */
    --container-max: 1200px;
    --navbar-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Typography utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b6c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 48px -10px rgba(234, 59, 60, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(234, 59, 60, 0.04);
}

.btn-white {
    background: var(--color-bg);
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-full {
    width: 100%;
}

/* Section styles */
.section-tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--fluid-h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.section-subtitle {
    font-size: var(--fluid-lead);
    color: var(--color-text-secondary);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    z-index: 1100;
    transition: width 0.1s ease-out;
    pointer-events: none;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    border-bottom-color: var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 800;
    font-size: var(--text-xl);
}

.logo-img {
    display: block;
    height: 48px;
    width: auto;
    border-radius: 10px;
    object-fit: contain;
}

.logo-img--footer {
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
}

.logo-text {
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-base);
}

.nav-cta {
    margin-left: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Language selector (dropdown) */
.lang-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    padding: var(--space-2) calc(var(--space-6) + 4px) var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.lang-select:hover {
    border-color: var(--color-primary);
}

.lang-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(234, 59, 60, 0.1);
}

.lang-select-wrap::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-text-secondary);
    border-bottom: 2px solid var(--color-text-secondary);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* Active page link */
.nav-links a.is-active {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-links a.is-active::after {
    width: 100%;
}

/* ============================================
   PAGE HEADER (subpages)
   ============================================ */
.page-header {
    padding: calc(var(--navbar-height) + var(--space-20)) 0 var(--space-16);
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border-light);
}

.page-header h1 {
    font-size: var(--fluid-hero);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-5);
    text-wrap: balance;
}

.page-header .lead {
    font-size: var(--fluid-lead);
    color: var(--color-text-secondary);
    max-width: 64ch;
    margin: 0 auto var(--space-6);
    line-height: 1.6;
    text-wrap: pretty;
}

.page-content {
    padding: var(--space-20) 0;
}

.prose h2 {
    font-size: var(--fluid-h2);
    font-weight: 800;
    margin-top: var(--space-12);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.prose h3 {
    font-size: var(--fluid-h3);
    font-weight: 700;
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
    text-wrap: balance;
}

.prose p {
    font-size: var(--fluid-body);
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    text-wrap: pretty;
    max-width: 70ch;
}

.prose ul {
    padding-left: var(--space-6);
    list-style: disc;
    margin-bottom: var(--space-4);
}

.prose ul li {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-2);
}

.prose strong {
    color: var(--color-text);
    font-weight: 700;
}

.prose a {
    color: var(--color-primary);
    text-decoration: underline;
}

.prose-container {
    max-width: 760px;
    margin: 0 auto;
}

/* ============================================
   COMPARATIF TABLE
   ============================================ */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-8) 0;
    font-size: var(--text-sm);
}

.compare-table th,
.compare-table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.compare-table th {
    font-weight: 700;
    color: var(--color-text);
    background: var(--color-bg-alt);
}

.compare-table th.featured {
    background: rgba(234, 59, 60, 0.08);
    color: var(--color-primary);
}

.compare-table td.check { color: #16a34a; font-weight: 700; }
.compare-table td.cross { color: #dc2626; font-weight: 700; }
.compare-table td.featured { background: rgba(234, 59, 60, 0.04); }

/* ============================================
   STEPS
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

.step-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    position: relative;
    text-align: left;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.step-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.step-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

/* ============================================
   CASE STUDY
   ============================================ */
.case-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    transition: all var(--transition-base);
}

.case-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-border-light);
}

.case-school {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-text);
}

.case-meta {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin: var(--space-5) 0;
}

.case-stat {
    text-align: center;
    padding: var(--space-4);
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
}

.case-stat-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.case-stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .case-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-row label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
}

.form-row input,
.form-row textarea,
.form-row select {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(234, 59, 60, 0.1);
}

.contact-info {
    background: var(--color-bg-alt);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
}

.contact-info h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.contact-info p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.contact-info a:not(.btn) {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-info a.btn-primary {
    color: var(--color-text-inverse);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* ============================================
   STYLE PAGES (dance style specific)
   ============================================ */
.style-hero {
    padding: calc(var(--navbar-height) + var(--space-16)) 0 var(--space-12);
    background: linear-gradient(135deg, var(--color-primary) 0%, #c92e2f 100%);
    color: white;
    text-align: center;
}

.style-hero h1 {
    font-size: var(--fluid-hero);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-5);
    text-wrap: balance;
}

.style-hero .lead {
    font-size: var(--fluid-lead);
    opacity: 0.95;
    max-width: 64ch;
    margin: 0 auto var(--space-6);
    text-wrap: pretty;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(234, 59, 60, 0.08);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: var(--fluid-hero);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
    text-wrap: balance;
}

.hero-subtitle {
    font-size: var(--fluid-lead);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    text-wrap: pretty;
    max-width: 56ch;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.trust-avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b6c 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: 700;
    border: 3px solid white;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.avatar:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.avatar:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-trust p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* Hero visual - Phone mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
}

.phone-frame {
    background: var(--color-bg-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.1);
}

.phone-screen {
    background: var(--color-bg);
    border-radius: 32px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-border-light);
}

.app-logo {
    font-weight: 800;
    font-size: var(--text-lg);
    color: var(--color-primary);
}

.app-menu {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
}

.app-content {
    flex: 1;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.app-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    border: 1px solid var(--color-border-light);
}

.app-card-title {
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
}

.app-card-meta {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2);
}

.app-card-tags {
    display: flex;
    gap: var(--space-2);
}

.tag {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    background: #e0f2fe;
    color: #0369a1;
}

.tag-full {
    background: #fee2e2;
    color: #dc2626;
}

.tag-open {
    background: #dcfce7;
    color: #16a34a;
}

.app-nav {
    display: flex;
    justify-content: space-around;
    padding: var(--space-3) var(--space-4);
    border-top: 1px solid var(--color-border-light);
}

.nav-item {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.nav-item.active {
    color: var(--color-primary);
    font-weight: 700;
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-3) var(--space-4);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: float 3s ease-in-out infinite;
}

.card-left {
    left: -60px;
    top: 100px;
    animation-delay: 0s;
}

.card-right {
    right: -50px;
    bottom: 120px;
    animation-delay: 1.5s;
}

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

.floating-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-lg);
    background: rgba(234, 59, 60, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
}

.floating-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text);
}

.floating-text {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

/* Background blobs */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(234, 59, 60, 0.2) 0%, rgba(255, 107, 108, 0.1) 100%);
    top: -200px;
    right: -200px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    bottom: -100px;
    left: -100px;
}

/* ============================================
   SOCIAL PROOF / STATS
   ============================================ */
.social-proof {
    padding: var(--space-20) 0;
    background: var(--color-bg-warm);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    text-align: center;
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: var(--space-24) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(234, 59, 60, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.feature-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
    text-wrap: pretty;
}

/* ============================================
   ADVANCED MODULES
   ============================================ */
.advanced-modules {
    padding: var(--space-24) 0;
    background: var(--color-bg-warm);
    border-top: 1px solid var(--color-border-light);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.module-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.module-card .module-icon {
    margin-left: auto;
    margin-right: auto;
}

.module-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.module-card:hover::before {
    opacity: 1;
}

.module-icon {
    width: 56px;
    height: 56px;
    background: rgba(234, 59, 60, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.module-icon svg {
    width: 28px;
    height: 28px;
}

.module-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.module-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
    text-wrap: pretty;
}

.module-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    background: rgba(234, 59, 60, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ============================================
   DEMO
   ============================================ */
.demo {
    padding: var(--space-24) 0;
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.demo .section-tag {
    color: var(--color-primary-light);
}

.demo .section-title {
    color: white;
}

.demo .section-subtitle {
    color: var(--color-text-light);
}

.demo-list {
    margin: var(--space-8) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.demo-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: #d1d5db;
}

.demo-list li svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Demo screens */
.demo-visual {
    display: flex;
    justify-content: center;
}

.demo-screens {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
}

.screen {
    position: absolute;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.screen-1 {
    width: 280px;
    top: 0;
    left: 0;
    z-index: 2;
}

.screen-2 {
    width: 260px;
    top: 60px;
    right: 0;
    z-index: 1;
}

.screen-header {
    background: var(--color-bg-alt);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-bottom: 1px solid var(--color-border-light);
}

.screen-dots {
    display: flex;
    gap: 4px;
}

.screen-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
}

.screen-dots span:nth-child(2) {
    background: #f59e0b;
}

.screen-dots span:nth-child(3) {
    background: #22c55e;
}

.screen-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.screen-body {
    padding: var(--space-4);
}

.screen-row {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.screen-day {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--color-primary);
    min-width: 32px;
}

.screen-events {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.screen-event {
    font-size: var(--text-xs);
    background: var(--color-bg-alt);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    color: var(--color-text);
}

.screen-profile {
    text-align: center;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.screen-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b6c 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto var(--space-2);
}

.screen-name {
    font-weight: 600;
    font-size: var(--text-sm);
}

.screen-status {
    font-size: var(--text-xs);
    color: #16a34a;
    font-weight: 600;
}

.screen-info {
    padding-top: var(--space-3);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    font-size: var(--text-xs);
}

.info-row span {
    color: var(--color-text-secondary);
}

.info-row strong {
    color: var(--color-text);
}

/* ============================================
   STORY
   ============================================ */
.story {
    padding: var(--space-24) 0;
    background: var(--color-bg-warm);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.story-visual {
    display: flex;
    justify-content: center;
}

.story-image-wrapper {
    position: relative;
}

.story-image {
    width: 320px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b6c 100%);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.story-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    font-weight: 800;
    box-shadow: var(--shadow-lg);
}

.story-quote {
    position: absolute;
    bottom: -140px;
    right: -40px;
    background: white;
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 220px;
}

.story-quote svg {
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.story-quote p {
    font-size: var(--text-sm);
    font-style: italic;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-3);
}

.story-quote-author {
    display: flex;
    flex-direction: column;
    padding-top: var(--space-2);
    border-top: 1px solid var(--color-border-light);
}

.story-quote-author strong {
    font-size: var(--text-sm);
    color: var(--color-text);
    font-weight: 700;
}

.story-quote-author span {
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

.story-content p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.story-content p strong {
    color: var(--color-text);
}

.story-values {
    display: flex;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.value-text {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--space-24) 0;
    background: var(--color-bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.testimonial-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.testimonial-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: var(--text-lg);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: var(--fluid-body);
    color: var(--color-text);
    line-height: 1.7;
    flex: 1;
    text-wrap: pretty;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border-light);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b6c 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--color-text);
}

.testimonial-role {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: var(--space-24) 0;
}

.pricing-grid {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    max-width: 440px;
    width: 100%;
    position: relative;
}

.pricing-featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-primary);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border-light);
}

.pricing-header h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.pricing-price {
    margin-bottom: var(--space-2);
}

.price {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.period {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.pricing-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.pricing-features {
    margin-bottom: var(--space-8);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.pricing-features li svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.pricing-bonus {
    color: var(--color-text) !important;
    font-weight: 600;
}

.pricing-bonus svg {
    color: #16a34a !important;
}

.pricing-note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-top: var(--space-4);
}

.pricing-guarantee {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-4) auto 0;
    padding: var(--space-2) var(--space-4);
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    width: fit-content;
}

.pricing-card {
    text-align: center;
}

.pricing-features {
    text-align: left;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--space-24) 0;
    background: var(--color-bg-alt);
}

.faq-list {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: left;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

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

.faq-icon {
    transition: transform var(--transition-base);
    flex-shrink: 0;
    color: var(--color-text-secondary);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

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

.faq-answer p {
    padding: 0 var(--space-6) var(--space-6);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
    padding: var(--space-24) 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, #c92e2f 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-16) var(--space-12);
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: var(--fluid-h2);
    font-weight: 800;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.cta-box > p {
    font-size: var(--fluid-lead);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty;
}

.cta-note {
    font-size: var(--text-sm);
    opacity: 0.7;
    margin-top: var(--space-4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand > p {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    max-width: 300px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-contact a {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--color-primary-light);
}

.footer-links h4 {
    color: white;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

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

/* Tablet landscape & small desktop */
@media (max-width: 1024px) {
    :root {
        --navbar-height: 64px;
    }

    .hero-grid,
    .demo-grid,
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    /* Centrage du contenu quand le visuel passe au-dessus */
    .hero-content,
    .demo-content,
    .story-content {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-content .badge,
    .hero-content .hero-buttons,
    .hero-content .hero-trust {
        justify-content: center;
    }

    .hero-content .hero-trust {
        flex-wrap: wrap;
    }

    .hero-content .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .demo-content .section-tag,
    .story-content .section-tag {
        display: inline-block;
    }

    .demo-list {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .story-content p {
        max-width: 56ch;
        margin-left: auto;
        margin-right: auto;
    }

    .story-values {
        justify-content: center;
    }

    .hero-visual { order: -1; }
    .demo-visual { order: -1; }
    .story-visual { order: -1; }

    .phone-mockup {
        transform: scale(0.9);
        margin: 0 auto;
    }

    .features-grid,
    .modules-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-4);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: var(--space-8);
    }

    .nav-links { gap: var(--space-5); }
    .nav-links a { font-size: var(--text-sm); }

    .page-header h1,
    .style-hero h1 { font-size: var(--text-4xl); }

    .hero-title { font-size: var(--text-4xl); }
    .section-title { font-size: var(--text-3xl); }
}

/* Tablet portrait & large mobile */
@media (max-width: 768px) {
    :root {
        --navbar-height: 60px;
    }

    /* Container & section padding */
    .container { padding: 0 var(--space-4); }
    .features,
    .advanced-modules,
    .demo,
    .story,
    .pricing,
    .faq,
    .cta-final,
    .testimonials,
    .social-proof,
    .page-content {
        padding: var(--space-16) 0;
    }

    /* Navbar */
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        order: 3;
        margin-left: var(--space-2);
    }

    .nav-actions {
        order: 2;
        margin-left: auto;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: white;
        padding: var(--space-5) var(--space-4);
        box-shadow: var(--shadow-lg);
        gap: 0;
        border-top: 1px solid var(--color-border-light);
    }

    .nav-links.active li {
        width: 100%;
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav-links.active li:last-child {
        border-bottom: none;
    }

    .nav-links.active a {
        display: block;
        padding: var(--space-4) 0;
        font-size: var(--text-base);
        min-height: 44px; /* tap target */
    }

    .nav-actions { gap: var(--space-2); }
    .lang-select {
        padding: var(--space-2) calc(var(--space-5) + 4px) var(--space-2) var(--space-2);
        font-size: var(--text-xs);
    }
    .lang-select-wrap::after { right: 8px; }

    .logo-img { height: 40px; }

    /* Page header */
    .page-header {
        padding: calc(var(--navbar-height) + var(--space-12)) 0 var(--space-10);
    }

    .page-header h1,
    .style-hero h1 {
        font-size: var(--text-3xl);
    }

    .page-header .lead,
    .style-hero .lead {
        font-size: var(--text-base);
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: calc(var(--navbar-height) + var(--space-8));
        padding-bottom: var(--space-16);
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-3);
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--space-3);
        align-items: center;
        text-align: center;
    }

    .hero-trust p {
        max-width: 100%;
    }

    .phone-mockup {
        transform: scale(0.85);
        max-width: 280px;
    }

    .floating-card {
        display: none;
    }

    /* Section titles */
    .section-title {
        font-size: var(--text-2xl);
    }

    .section-subtitle {
        font-size: var(--text-base);
    }

    .section-header {
        margin-bottom: var(--space-10);
    }

    /* Grids */
    .features-grid,
    .modules-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5);
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

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

    /* Story */
    .story-image {
        width: 100%;
        max-width: 320px;
        height: 360px;
    }

    .story-quote {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin: var(--space-5) auto 0;
        max-width: 90%;
    }

    .story-values {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }

    /* Demo */
    .demo-screens {
        transform: none;
        height: auto;
        max-width: 100%;
    }

    .screen-1, .screen-2 {
        position: relative;
        width: 100%;
        max-width: 320px;
        margin: 0 auto var(--space-4);
        top: auto;
        left: auto;
        right: auto;
    }

    /* Pricing */
    .pricing-card {
        padding: var(--space-6);
        max-width: 100%;
    }

    .price {
        font-size: var(--text-4xl);
    }

    /* FAQ */
    .faq-question {
        padding: var(--space-4);
        font-size: var(--text-sm);
        min-height: 56px;
    }

    .faq-answer p {
        padding: 0 var(--space-4) var(--space-4);
    }

    /* CTA */
    .cta-box {
        padding: var(--space-10) var(--space-5);
    }

    .cta-box h2 {
        font-size: var(--text-2xl);
    }

    .cta-box > p {
        font-size: var(--text-base);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand > p {
        max-width: 100%;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }

    /* Tables: horizontal scroll on mobile */
    .compare-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .compare-table th,
    .compare-table td {
        padding: var(--space-3);
    }

    /* Case studies */
    .case-card {
        padding: var(--space-6);
    }

    .case-stats {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    /* Buttons: ensure tap target */
    .btn {
        min-height: 44px;
    }

    .btn-sm {
        min-height: 38px;
    }

    /* Forms */
    .form-row input,
    .form-row textarea,
    .form-row select {
        font-size: 16px; /* prevent iOS zoom on focus */
        min-height: 44px;
    }

    /* Hero badge */
    .badge {
        font-size: var(--text-xs);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    :root {
        --navbar-height: 56px;
    }

    .container { padding: 0 var(--space-3); }

    /* Sections */
    .features,
    .advanced-modules,
    .demo,
    .story,
    .pricing,
    .faq,
    .cta-final,
    .testimonials,
    .social-proof,
    .page-content {
        padding: var(--space-12) 0;
    }

    /* Logo: smaller on tiny screens */
    .logo-img { height: 36px; }

    /* Lang selector: just flag */
    .lang-select {
        padding: var(--space-2) calc(var(--space-4) + 4px) var(--space-2) var(--space-2);
        font-size: var(--text-xs);
        max-width: 70px;
    }

    /* Hero */
    .hero-title {
        font-size: var(--text-2xl);
        line-height: 1.2;
    }

    .page-header h1,
    .style-hero h1 {
        font-size: var(--text-2xl);
    }

    /* Trust avatars: smaller */
    .avatar {
        width: 32px;
        height: 32px;
        font-size: var(--text-xs);
    }

    /* Phone mockup: even smaller */
    .phone-mockup {
        transform: scale(0.75);
        max-width: 240px;
    }

    /* Stats: 1 column */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    /* Section header */
    .section-title {
        font-size: var(--text-xl);
    }

    /* Pricing */
    .pricing-card {
        padding: var(--space-5) var(--space-4);
    }

    .price {
        font-size: var(--text-3xl);
    }

    .pricing-features li {
        font-size: var(--text-xs);
    }

    /* Cards padding */
    .feature-card,
    .module-card,
    .testimonial-card {
        padding: var(--space-5);
    }

    /* Story image smaller */
    .story-image {
        height: 300px;
    }

    .story-avatar-large {
        width: 96px;
        height: 96px;
        font-size: var(--text-2xl);
    }

    /* CTA */
    .cta-box {
        padding: var(--space-8) var(--space-4);
    }

    .cta-box h2 {
        font-size: var(--text-xl);
    }

    /* FAQ */
    .faq-question span {
        font-size: var(--text-sm);
        line-height: 1.4;
    }

    /* Step cards */
    .step-card {
        padding: var(--space-5);
    }
}

/* Hover only on devices that support it (avoid sticky hover on mobile) */
@media (hover: none) {
    .feature-card:hover,
    .module-card:hover,
    .testimonial-card:hover,
    .case-card:hover,
    .pricing-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .btn-primary:hover {
        transform: none;
    }
}

/* Landscape phones: tighten vertical spacing */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--navbar-height) + var(--space-8)) 0 var(--space-10);
    }

    .hero-grid {
        gap: var(--space-6);
    }
}
