/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

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

:root {
    /* Colors from NetAlerts app */
    --primary: #5C8DF6;
    --secondary: #63DDA2;
    --accent: #FF7E73;
    --warning: #FFB85F;
    --text: #1A1F36;
    --text-muted: #7B8AB1;
    --background: #FFFFFF;
    --surface: #F2F6FF;
    --border: rgba(92, 141, 246, 0.16);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(92, 141, 246, 0.08);
    --shadow-md: 0 8px 24px rgba(92, 141, 246, 0.12);
    --shadow-lg: 0 16px 48px rgba(92, 141, 246, 0.16);

    /* Transitions - Uniquement transform et opacity pour performance GPU */
    --transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* GPU acceleration pour fixed header */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.navbar .logo {
    gap: 4px;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo-text--gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: #FF7E73;
    border-radius: 50%;
    display: inline-block;
    margin-left: 4px;
    margin-top: 4px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a.btn-primary {
    color: #FFFFFF;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    transform: scaleX(1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile menu active state */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

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

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(92, 141, 246, 0.3);
}

.btn-primary:hover {
    background: #4A7BE5;
    box-shadow: 0 6px 24px rgba(92, 141, 246, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

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

.hero {
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-lg);
    background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(92, 141, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: rgba(99, 221, 162, 0.12);
    border: 1px solid rgba(99, 221, 162, 0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-cta .store-button {
    background: white;
    color: var(--text);
    border: 1px solid rgba(17, 37, 85, 0.08);
    box-shadow: 0 10px 30px rgba(17, 37, 85, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-cta .store-button:hover {
    background: #f4f6ff;
    transform: translateY(-2px);
}

.store-button--light svg {
    flex-shrink: 0;
}

.store-button--light svg path[stroke="white"] {
    stroke: rgba(17, 37, 85, 0.12);
}

.store-button--light svg path[fill="white"] {
    fill: #f4f6ff;
}

.page-header .store-button--light svg path[stroke="white"] {
    stroke: rgba(17, 37, 85, 0.12);
}

.page-header .store-button--light svg path[fill="white"] {
    fill: #f4f6ff;
}

/* Hero Visual - Phone Mockup */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone mockup image (WebP avec frame intégré) */
.phone-mockup-image {
    max-width: 100%;
    height: auto;
    width: 400px;
    object-fit: contain;
    transform: translateZ(0);
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: #1E1E1E;
    border-radius: 48px;
    padding: 14px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 32px;
    background: #1E1E1E;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-frame::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    z-index: 11;
}

.phone-notch {
    display: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #F8FAFE;
    border-radius: 38px;
    overflow: hidden;
    padding: 48px 14px 20px;
    box-shadow: inset 0 0 0 1px rgba(92, 141, 246, 0.06);
}

.app-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.preview-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding-right: 2px;
}

.preview-list::-webkit-scrollbar {
    width: 4px;
}

.preview-list::-webkit-scrollbar-thumb {
    background: rgba(92, 141, 246, 0.25);
    border-radius: 999px;
}

.preview-card {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 8px;
    display: flex;
    gap: 8px;
    align-items: stretch;
    border: 1px solid rgba(92, 141, 246, 0.1);
    box-shadow: 0 2px 8px rgba(92, 141, 246, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(92, 141, 246, 0.08);
}

.preview-card--danger {
    border-color: rgba(255, 126, 115, 0.2);
}

.preview-card--warning {
    border-color: rgba(255, 184, 95, 0.2);
}

.preview-card--info {
    border-color: rgba(92, 141, 246, 0.2);
}

.preview-card-inner {
    display: none;
}

.preview-card-image {
    width: 56px;
    min-height: 66px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(92, 141, 246, 0.1);
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(92, 141, 246, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
}

.preview-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.preview-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.preview-category-chip {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(92, 141, 246, 0.08);
    border: 1px solid rgba(92, 141, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.preview-category-chip svg {
    width: 14px;
    height: 14px;
}

.preview-date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 600;
    background: rgba(92, 141, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(92, 141, 246, 0.2);
}

.preview-brand {
    font-size: 0.62rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.preview-product {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.25;
}

.preview-motif {
    border-radius: 8px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 126, 115, 0.25);
    background: rgba(255, 126, 115, 0.08);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.preview-motif-header {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--accent);
}

.preview-motif-header svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.preview-motif-text {
    margin: 0;
    font-size: 0.64rem;
    line-height: 1.25;
    color: var(--accent);
}

.preview-card--warning .preview-motif {
    border-color: rgba(255, 184, 95, 0.35);
    background: rgba(255, 184, 95, 0.12);
}

.preview-card--warning .preview-motif-header,
.preview-card--warning .preview-motif-text {
    color: #C2751F;
}

.preview-card--info .preview-motif {
    border-color: rgba(92, 141, 246, 0.35);
    background: rgba(92, 141, 246, 0.1);
}

.preview-card--info .preview-motif-header,
.preview-card--info .preview-motif-text {
    color: #305FCC;
}

/* Floating Icons */

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.icon-bubble {
    position: absolute;
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 40%;
    right: -10%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: -5%;
    animation-delay: 2s;
}

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

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

.features {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: var(--surface);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.step {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    position: relative;
    text-align: center;
}

.step::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -32px;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto var(--spacing-md);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

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

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: var(--spacing-3xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.stat-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

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

.stat-icon {
    margin-bottom: var(--spacing-md);
}

.stat-icon-emoji {
    font-size: 3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-big-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-top: var(--spacing-sm);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: var(--spacing-xs);
    font-weight: 600;
    text-transform: lowercase;
}

.stat-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: var(--spacing-md);
}

.stats-conclusion {
    text-align: center;
    margin-top: var(--spacing-2xl);
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 650px;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */

.download-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, #4A7BE5 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.download-description {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: var(--spacing-xl);
}

.download-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.store-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.store-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.store-icon--apple {
    /* Logo noir pour section download */
    filter: brightness(0) saturate(100%);
    opacity: 0.9;
}

.store-icon--apple-light {
    /* Logo blanc pour section hero */
    filter: brightness(0) invert(1);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.trust-badges {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.95rem;
    opacity: 0.9;
}

.qr-placeholder {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.qr-label {
    margin-top: var(--spacing-md);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

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

.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer .logo {
    margin-bottom: var(--spacing-md);
}

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

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: var(--spacing-sm);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
}

.footer-legal-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.footer-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: var(--spacing-sm);
}

.footer-store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    width: 100%;
}

.footer-store-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer-store-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
    order: 2;
    margin-left: auto;
}

.footer-store-icon--apple {
    filter: brightness(0) invert(1);
}

.footer-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    order: 1;
}

.footer-store-subtitle {
    font-size: 0.7rem;
    opacity: 0.7;
    line-height: 1.2;
}

.footer-store-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2px;
}

/* ========================================
   PAGE HEADER (for recalls page)
   ======================================== */

.page-header {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-xl);
    background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(92, 141, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
    color: var(--text);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.page-header-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.page-header .store-button {
    background: white;
    color: var(--text);
    border: 1px solid rgba(17, 37, 85, 0.08);
    box-shadow: 0 8px 20px rgba(17, 37, 85, 0.12);
}

.page-header .store-button:hover {
    background: #f4f6ff;
}

/* ========================================
   RECALLS SECTION
   ======================================== */

.recalls-section {
    padding: var(--spacing-xl) 0 var(--spacing-3xl);
    background: var(--background);
}

.recalls-preview-section {
    padding: var(--spacing-3xl) 0;
    background: var(--surface);
}

.recalls-view-all {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.recalls-filters {
    margin: 0 auto var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    text-align: center;
}

.filter-search {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.filter-search svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.filter-search input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--text);
    transition: var(--transition);
    background: white;
}

.filter-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(92, 141, 246, 0.1);
}

.filter-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: white;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.recalls-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) 0;
    gap: var(--spacing-md);
}

.recalls-loading.hidden {
    display: none;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--surface);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.recalls-loading p {
    color: var(--text-muted);
    font-size: 1rem;
}

.recalls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.recalls-grid.hidden {
    display: none;
}

.recall-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.recall-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.recall-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.recall-badge.danger {
    background: rgba(255, 126, 115, 0.12);
    color: var(--accent);
}

.recall-badge.warning {
    background: rgba(255, 184, 95, 0.12);
    color: var(--warning);
}

.recall-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.recall-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text);
    line-height: 1.4;
}

.recall-brand {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.recall-category {
    display: inline-block;
    padding: 4px 10px;
    background: var(--surface);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.recall-risk {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: rgba(255, 126, 115, 0.06);
    border-radius: var(--radius-sm);
    margin-top: var(--spacing-sm);
}

.recall-risk svg {
    flex-shrink: 0;
    color: var(--accent);
}

.recall-risk-text {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.4;
}

.recalls-load-more {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.recalls-load-more.hidden {
    display: none;
}

.recalls-empty {
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.recalls-empty svg {
    margin: 0 auto var(--spacing-md);
    opacity: 0.3;
}

.recalls-empty h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text);
}

.recalls-empty p {
    font-size: 1rem;
    color: var(--text-muted);
}

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

.faq-section {
    padding: var(--spacing-3xl) 0;
    background: var(--surface);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-question span {
    flex: 1;
    padding-right: var(--spacing-md);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer p:last-child {
    padding-bottom: var(--spacing-lg);
}

.faq-answer ul {
    padding: 0 var(--spacing-lg) var(--spacing-lg) calc(var(--spacing-lg) + 1.5rem);
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer li {
    margin-bottom: var(--spacing-sm);
    color: var(--text);
}

.faq-answer li strong {
    color: var(--text);
    font-weight: 600;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 800px;
}

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

/* Tablet (max-width: 968px) */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        margin-top: 2rem;
        position: relative;
    }

    .phone-mockup-image {
        width: 320px;
    }

    .phone-frame {
        width: 320px;
        height: 640px;
    }

    /* Ajuster les icônes flottantes pour tablette */
    .icon-bubble {
        width: 52px;
        height: 52px;
    }

    .icon-bubble svg {
        width: 20px;
        height: 20px;
    }

    .icon-1 {
        top: 8%;
        left: 0%;
    }

    .icon-2 {
        top: 38%;
        right: 0%;
    }

    .icon-3 {
        bottom: 18%;
        left: 5%;
    }

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

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

    .step::after {
        display: none;
    }

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

    .stat-big-number {
        font-size: 2rem;
    }

    .stat-description {
        font-size: 0.9rem;
    }

    .stats-conclusion {
        margin-top: 3rem;
        font-size: 1rem;
        padding: 0 1.5rem;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-text {
        grid-row: 1;
    }

    .download-visual {
        grid-row: 2;
        margin-top: 2rem;
    }

    .download-buttons {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.5rem;
    }
}

/* Mobile (max-width: 640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(92, 141, 246, 0.16);
        gap: 1.5rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-content {
        padding: 1rem 0;
    }

    .logo img {
        height: 32px !important;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .hero {
        padding: calc(80px + 3rem) 0 3rem;
    }

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

    .hero-badge {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
        order: 3;
        margin-top: 1.5rem;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        order: 0;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-left: auto;
        margin-right: auto;
        order: 1;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        order: 2;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .page-header {
        padding: calc(70px + 1.5rem) 0 1.5rem;
    }

    .page-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 1rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

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

    .filter-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .step {
        padding: 2rem;
    }

    .step-number {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-description {
        font-size: 0.9rem;
    }

    .download-content {
        display: flex;
        flex-direction: column;
    }

    .download-visual {
        order: 2;
        margin-top: 3rem;
    }

    .download-text {
        order: 1;
    }

    .download-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .download-description {
        font-size: 0.95rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .download-button {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .qr-placeholder {
        max-width: 280px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-section {
        text-align: center;
    }

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

    .phone-mockup-image {
        width: 280px;
        max-height: 560px;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
    }

    .icon-bubble {
        width: 44px;
        height: 44px;
    }

    .icon-bubble svg {
        width: 18px;
        height: 18px;
    }

    /* Repositionner les icônes pour rester dans l'écran en mobile */
    .icon-1 {
        top: 5%;
        left: 5%;
    }

    .icon-2 {
        top: 35%;
        right: 5%;
    }

    .icon-3 {
        bottom: 15%;
        left: 10%;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
    }

    .faq-question span {
        padding-right: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.5rem;
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .faq-answer ul {
        padding: 0 1.5rem 1.5rem calc(1.5rem + 1.25rem);
        font-size: 0.85rem;
    }

    .faq-answer li {
        margin-bottom: 0.5rem;
    }

    .faq-icon {
        width: 18px;
        height: 18px;
    }
}

/* Very small mobile (max-width: 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .phone-mockup-image {
        width: 240px;
        max-height: 480px;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    /* Ajuster les icônes pour très petits écrans */
    .icon-bubble {
        width: 36px;
        height: 36px;
    }

    .icon-bubble svg {
        width: 16px;
        height: 16px;
    }

    .icon-1 {
        top: 3%;
        left: 8%;
    }

    .icon-2 {
        top: 32%;
        right: 8%;
    }

    .icon-3 {
        bottom: 12%;
        left: 12%;
    }

    .feature-card {
        padding: 1rem;
    }

    .step {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .faq-question {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    .faq-answer p, .faq-answer ul {
        font-size: 0.8rem;
    }

    .qr-placeholder {
        max-width: 240px;
        padding: 1rem;
    }

    .qr-placeholder svg {
        width: 160px;
        height: 160px;
    }

    .download-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   TEASING STYLES
   ======================================== */

.hero-teasing {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.teasing-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 420px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(92, 141, 246, 0.1);
}

/* Light variant for hero section */
.teasing-card--light {
    background: white;
}

.teasing-icon-wrapper--light {
    background: rgba(92, 141, 246, 0.1);
    animation: spin 8s linear infinite;
}

.teasing-progress--light {
    background: rgba(92, 141, 246, 0.1);
    border-radius: 0;
}

.teasing-card-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: white;
    border-radius: calc(var(--radius-lg) - 3px);
}

.teasing-icon-wrapper {
    width: 44px;
    height: 44px;
    background: rgba(92, 141, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.teasing-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.teasing-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    opacity: 0.8;
}

.teasing-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.teasing-stores {
    display: flex;
    gap: 8px;
}

.teasing-store-icon {
    width: 36px;
    height: 36px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.teasing-store-icon:hover {
    transform: scale(1.1);
    background: rgba(92, 141, 246, 0.1);
}

.teasing-store-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.teasing-apple-icon {
    filter: brightness(0) saturate(100%) opacity(0.7);
}

.teasing-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 420px;
}

/* Beta Link */
.beta-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.beta-link:hover {
    color: #4A7BE5;
    text-decoration: underline;
}

/* Dark variant for download section */
.teasing-card--dark {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 480px;
}

.teasing-card--dark::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
}

.teasing-card--dark .teasing-card-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.teasing-icon-wrapper--dark {
    background: rgba(255, 255, 255, 0.15);
    animation: spin 8s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.teasing-label--dark {
    color: rgba(255, 255, 255, 0.7);
}

.teasing-title--dark {
    color: white;
    font-size: 1.2rem;
}

.teasing-store-icon--dark {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.teasing-store-icon--dark:hover {
    background: rgba(255, 255, 255, 0.25);
}

.teasing-apple-icon--dark {
    filter: brightness(0) invert(1);
}

.teasing-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.teasing-progress-bar {
    height: 100%;
    width: 75%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.download-teasing {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.footer-teasing {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 1rem;
}

/* Responsive teasing */
@media (max-width: 968px) {
    .teasing-card-content {
        flex-wrap: wrap;
    }

    .teasing-stores {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
}

@media (max-width: 640px) {
    .hero-teasing {
        align-items: center;
        text-align: center;
    }

    .teasing-card {
        max-width: 100%;
    }

    .teasing-card-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .teasing-info {
        align-items: center;
    }

    .teasing-stores {
        justify-content: center;
    }

    .teasing-title {
        font-size: 1rem;
    }

    .teasing-text {
        font-size: 0.9rem;
        text-align: center;
    }

    .download-teasing {
        align-items: center;
    }

    .teasing-card--dark .teasing-card-content {
        flex-direction: column;
    }

    .teasing-title--dark {
        font-size: 1.05rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
