/* =========================================
   Triplora — Landing
   Charte : Indigo #4F46E5, Corail #FF6B6B, Jaune #FFD166
   Polices : Inter (corps) + Poppins (titres)
   ========================================= */

:root {
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #818CF8;
    --primary-soft: #EEF2FF;

    --coral: #FF6B6B;
    --coral-dark: #E85A5A;
    --coral-soft: #FFE5E5;

    --yellow: #FFD166;
    --yellow-soft: #FFF5D6;

    --bg: #F9FAFB;
    --surface: #FFFFFF;
    --surface-alt: #F3F4F6;
    --border: #E5E7EB;

    --text: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.10);
    --shadow-primary: 0 8px 24px rgba(79, 70, 229, 0.25);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;
}

/* === RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grad-text {
    background: linear-gradient(135deg, var(--primary), var(--coral));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === HEADER === */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(249, 250, 251, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--text);
}
.nav {
    display: flex;
    gap: 32px;
}
.nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
}
.nav a:hover { color: var(--primary); opacity: 1; }
.btn-cta-header {
    background: var(--primary);
    color: white !important;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-primary);
    transition: transform 0.15s;
}
.btn-cta-header:hover { transform: translateY(-1px); opacity: 1 !important; }

/* === HERO === */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.shape-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: -100px; left: -100px;
    opacity: 0.15;
}
.shape-2 {
    width: 400px; height: 400px;
    background: var(--coral);
    top: 20%; right: -100px;
    opacity: 0.18;
}
.shape-3 {
    width: 300px; height: 300px;
    background: var(--yellow);
    bottom: -100px; left: 30%;
    opacity: 0.2;
}

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

.badge-soon {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text);
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 16px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.35);
    opacity: 1 !important;
}
.btn-primary:active { transform: translateY(0); }

.btn-light {
    background: white;
    color: var(--primary) !important;
    box-shadow: var(--shadow-md);
}
.btn-light:hover {
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    color: var(--text);
    padding: 16px 24px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.15s;
}
.btn-ghost:hover { color: var(--primary); opacity: 1; }

.hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.stat strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--coral));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat span {
    font-size: 13px;
    color: var(--text-muted);
}

/* === Phone mockup === */
.hero-visual {
    display: flex;
    justify-content: center;
}
.phone-mockup {
    width: 320px;
    height: 640px;
    background: #1F2937;
    border-radius: 48px;
    padding: 14px;
    box-shadow:
        0 30px 80px rgba(79, 70, 229, 0.25),
        0 12px 24px rgba(0, 0, 0, 0.15);
    position: relative;
}
.phone-mockup::before {
    /* Notch */
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 26px;
    background: #1F2937;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}
.phone-screen {
    background: var(--bg);
    border-radius: 36px;
    height: 100%;
    overflow: hidden;
    padding: 50px 18px 18px;
    position: relative;
}
.mock-status {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: 2px;
}
.mock-greeting {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.mock-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.mock-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-primary);
}
.mock-banner-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
}
.mock-banner-text {
    font-size: 11px;
    opacity: 0.9;
    margin-top: 2px;
}
.mock-banner-emoji {
    font-size: 32px;
    margin-left: auto;
}
.mock-trip {
    background: white;
    border-radius: var(--radius-lg);
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.mock-trip-thumb {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-soft), var(--coral-soft));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.mock-thumb-2 {
    background: linear-gradient(135deg, var(--coral-soft), var(--yellow-soft));
}
.mock-trip-content { flex: 1; }
.mock-trip-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
}
.mock-trip-meta {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}
.mock-trip-dates {
    font-size: 10px;
    color: var(--primary);
    margin-top: 3px;
    font-weight: 600;
}

/* === SECTIONS === */
.section {
    padding: 100px 0;
}
.section-how {
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.section-head h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 12px;
    line-height: 1.15;
}
.section-head p {
    font-size: 17px;
    color: var(--text-muted);
}

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all 0.25s;
    border: 1px solid var(--border);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.icon-indigo { background: var(--primary-soft); }
.icon-coral { background: var(--coral-soft); }
.icon-yellow { background: var(--yellow-soft); }
.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* === STEPS === */
.steps {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.step {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 32px;
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--coral));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-primary);
}
.step h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step p {
    font-size: 14px;
    color: var(--text-muted);
}
.step-arrow {
    font-size: 28px;
    color: var(--primary);
    font-weight: 300;
}

/* === DOWNLOAD === */
.download-card {
    background: linear-gradient(135deg, var(--primary), var(--coral));
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    color: white;
    text-align: center;
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.3);
    position: relative;
    overflow: hidden;
}
.download-card::before,
.download-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}
.download-card::before {
    width: 300px; height: 300px;
    top: -100px; right: -50px;
}
.download-card::after {
    width: 200px; height: 200px;
    bottom: -50px; left: -50px;
}
.download-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    z-index: 1;
}
.badge-on-grad {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    backdrop-filter: blur(10px);
}
.download-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 16px 0 12px;
    color: white;
    letter-spacing: -0.8px;
}
.download-card > .download-content > p {
    font-size: 17px;
    margin-bottom: 32px;
    opacity: 0.95;
}
.waitlist-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto 12px;
    flex-wrap: wrap;
}
.waitlist-input {
    flex: 1;
    min-width: 220px;
    padding: 16px 20px;
    border-radius: var(--radius-pill);
    border: none;
    background: rgba(255,255,255,0.95);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    outline: none;
    transition: all 0.2s;
}
.waitlist-input::placeholder { color: var(--text-muted); }
.waitlist-input:focus {
    background: white;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}
.waitlist-note {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 32px;
}
.stores {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.store-disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.store-emoji { font-size: 24px; }
.store-badge small {
    display: block;
    font-size: 10px;
    opacity: 0.85;
}
.store-badge strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

/* === FAQ === */
.faq {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.2s;
}
.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
}
.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.2s;
    line-height: 1;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-muted);
}

/* === FOOTER === */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 0 24px;
    margin-top: 40px;
}
.footer .logo-text { color: white; }
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 12px;
    font-size: 14px;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    color: white;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.15s;
}
.footer-col a:hover { color: white; opacity: 1; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .nav { display: none; }

    .hero {
        padding: 60px 0 80px;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }

    .section {
        padding: 70px 0;
    }

    .steps {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(90deg);
    }

    .download-card {
        padding: 50px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-stats { gap: 24px; }
    .stat strong { font-size: 22px; }
    .feature-card { padding: 22px; }
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
    .footer-cols { grid-template-columns: 1fr; }
    .header-inner { padding: 12px 20px; }
    .btn-cta-header { padding: 8px 14px; font-size: 13px; }
}

/* === Animations légères === */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.phone-mockup {
    animation: float 6s ease-in-out infinite;
}

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