*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    scrollbar-width: none;
    padding: 0;
}



:root {
    --blue: #3f51b5;
    --blue-light: #5c6bc0;
    --accent: #7c8ff5;
    --bg: #f5f6fa;
    --white: #ffffff;
    --text: #1a1d2e;
    --muted: #6b7280;
    --border: rgba(132, 140, 161, 0.28);
    --blue-border: rgba(63, 81, 181, 0.15);
    --blue-bg: rgba(63, 81, 181, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
}

footer {
    margin-top: 0px;
}

/* HERO */
.hero {
    padding-top: 55px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 40px 48px 40px;
    max-width: 680px;
    margin: 0 auto;
}

.screenshot-container {
    max-width: 62vw;
    margin: 0 auto;

}
.screenshot-safari {
    border-radius: 8px !important;
    overflow: hidden;
}
.section-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-title .hl {
    color: var(--blue);
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    color: var(--muted);
    line-height: 1.75;
    max-width: 440px;
    margin: 0 auto 30px;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 1rem;
    color: var(--muted);
}

.platform-pill .p-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    color: var(--text);
    padding: 0 12px;
}

.platform-pill .p-item svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

.platform-pill .p-item:first-child {
    padding-left: 0;
}

.platform-pill .p-item:last-child {
    padding-right: 0;
}

.platform-pill .divider {
    width: 1px;
    height: 14px;
    background: var(--border);
}

/* CARDS */
.section-wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 48px;
}

.cards-section {
    padding-bottom: 72px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
}

.card:nth-child(1) {
    animation-delay: 0.08s;
}

.card:nth-child(2) {
    animation-delay: 0.18s;
}

.card:nth-child(3) {
    animation-delay: 0.28s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(63, 81, 181, 0.1);
    border-color: rgba(63, 81, 181, 0.22);
}

.card.featured {
    border-color: rgba(63, 81, 181, 0.22);
    background: linear-gradient(155deg, rgba(63, 81, 181, 0.035) 0%, white 55%);
}

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--blue-bg);
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--blue-border);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--blue-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--blue);
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.card-os {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.card-version {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 18px;
}

.card-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    flex: 1;
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--muted);
}

.spec-row svg {
    width: 14px;
    height: 14px;
    color: var(--blue);
    flex-shrink: 0;
}

.card-formats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ftag {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-bg);
    border: 1px solid var(--blue-border);
    padding: 3px 9px;
    border-radius: 6px;
}

.dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 11px 20px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.dl-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 4px 14px rgba(63, 81, 181, 0.28);
}

.dl-primary:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(63, 81, 181, 0.38);
}

.dl-secondary {
    background: var(--blue-bg);
    color: var(--blue);
    border: 1px solid var(--blue-border);
}

.dl-secondary:hover {
    background: rgba(63, 81, 181, 0.11);
    transform: translateY(-1px);
}

.dl-btn svg {
    width: 14px;
    height: 14px;
}

/* OTHER FORMATS */
.other-section {
    padding-bottom: 56px;
}

.sub-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.formats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fmt-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 9px;
    background: white;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.fmt-btn:hover {
    border-color: var(--blue-border);
    color: var(--blue);
    background: rgba(63, 81, 181, 0.03);
}

.fmt-btn svg {
    width: 12px;
    height: 12px;
    opacity: 0.4;
}

/* REQUIREMENTS */
.req-section {
    padding-bottom: 80px;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.req-cell {
    padding: 22px 24px;
    border-right: 1px solid var(--border);
}

.req-cell:last-child {
    border-right: none;
}

.req-os {
    font-family: 'Sora', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 9px;
}

.req-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.75;
}

/* ── CTA ── */
.footer-cta {
    background: var(--blue);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: -50px;
}

/* ── CTA Section améliorée ── */
.footer-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 120, 255, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(79, 100, 220, 0.3) 0%, transparent 55%),
        radial-gradient(ellipse at 60% 80%, rgba(50, 70, 200, 0.25) 0%, transparent 50%),
        #3f51b5;
}

/* Grille géométrique en overlay */
.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Points décoratifs coins */
.footer-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 12px 12px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, black 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, black 100%);
}

/* S'assurer que le contenu passe au-dessus des overlays */
.footer-cta>* {
    position: relative;
    z-index: 1;
}

.footer-cta h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
    position: relative;
    letter-spacing: -0.02em;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    margin-bottom: 26px;
    position: relative;
    font-weight: 300;
}

.footer-cta .cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.footer-cta .hero-form {
    display: flex;
    gap: 10px;
    margin: 0px;
    max-width: 600px;
}

.footer-cta .hero-form input {
    flex: 1;
    padding: 13px 18px;
    border: 1.5px solid rgba(63, 81, 181, 0.18);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    background: white;
    color: var(--text);
    outline: none;
    width: 250px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.footer-cta .hero-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
}

.footer-cta .hero-form input::placeholder {
    color: #b0b5c9;
}


.footer-cta .btn-cta {
    background: white;
    color: var(--blue);
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px 26px;
    border-radius: 9px;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-cta .btn-cta:hover {
    background: #f0f2ff;
    transform: translateY(-1px);
}

.footer-cta .btn-ghost-white {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 13px 26px;
    border-radius: 9px;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-cta .btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* EYEBROW PILL */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-bg);
    border: 1px solid var(--blue-border);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 0 14px;
    border-radius: 99px;
    margin-bottom: 20px;
    height: 30px;
}

/* STATUS BADGES */
.status-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.status-available {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.status-soon {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.card.card-soon {
    opacity: 0.82;
}

.dl-btn.dl-disabled {
    background: #f1f3f9;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}


.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* CTA dot overlay */
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 12px 12px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, black 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, black 100%);
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    animation: fadeUp 0.55s ease forwards;
}

/* FONT SIZE FIXES */
.spec-row {
    font-size: 14px;
}

.card-version {
    font-size: 13px;
}

.req-text {
    font-size: 14px;
}

.dl-btn {
    font-size: 14.5px;
}

.ftag {
    font-size: 12px;
}

.sub-label {
    font-size: 11.5px;
}

.fmt-btn {
    font-size: 13.5px;
}

/* CARDS TOP PADDING */
.cards-section {
    padding-top: 52px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .section-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .req-cell {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .req-cell:last-child {
        border-bottom: none;
    }

    .cta-section {
        padding: 56px 20px;
    }
}