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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: #ffffff;
    overflow-x: hidden;
}

.header {
    background: rgba(247, 250, 252, 0.7);
    padding: 1.25rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1a202c;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

.nav-col-left {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
}

.nav-dropdown-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-dropdown-toggle span {
    width: 25px;
    height: 3px;
    background: #1a202c;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-dropdown-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-dropdown-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-dropdown-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-col-right {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.nav-left {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    flex: 1;
    flex-wrap: nowrap;
}

.nav-left li {
    flex-shrink: 0;
}

.nav-left a {
    white-space: nowrap;
}

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
    border-radius: 8px;
}

.nav-right {
    display: flex;
    gap: 1rem;
    list-style: none;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
}

.mobile-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    padding: 80px 0 2rem;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-section {
    margin-bottom: 1rem;
}

.mobile-nav .nav-section-account {
    display: none;
}

.mobile-nav .nav-section-title {
    padding: 1rem 2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #e2e8f0;
}

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

.mobile-nav a {
    display: block;
    padding: 1.25rem 2rem;
    color: #1a202c;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-nav a:hover {
    background: #f7fafc;
    color: #033744;
    padding-left: 2.5rem;
}

.mobile-nav .btn-auth {
    margin: 1rem 2rem;
    text-align: center;
    display: block;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
}

.mobile-nav .btn-login {
    color: #4a5568;
    border: 2px solid #e2e8f0;
    margin-bottom: 0.75rem;
}

.mobile-nav .btn-login:hover {
    background: #f7fafc;
    border-color: #033744;
    color: #033744;
    padding-left: 1.5rem;
}

.mobile-nav .btn-signup {
    background: #033744;
    color: white;
    border: 2px solid #033744;
}

.mobile-nav .btn-signup:hover {
    background: #011418;
    padding-left: 1.5rem;
}

.nav-left a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-left a:hover {
    color: #033744;
}

.btn-auth {
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    color: #4a5568;
    background: transparent;
}

.btn-login:hover {
    color: #033744;
}

.btn-signup {
    color: white;
    background: #033744;
}

.btn-signup:hover {
    background: #011418;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(3, 55, 68, 0.25);
}

/* ─── SCROLL OFFSET for fixed header ─── */
section[id] {
    scroll-margin-top: 80px;
}

/* ─── HERO ─── */
.hero {
    background: linear-gradient(135deg, #033744 0%, #011418 100%);
    padding: 140px 2rem 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 90px;
    background: #f7fafc;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #EEF2FF;
    border: 1px solid #C7D3FD;
    color: #033744;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #ffffff;
    color: #033744;
}

.btn-primary:hover {
    background: #EEF2FF;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.12);
}

/* ─── SECTIONS ─── */
.section {
    padding: 100px 2rem;
}

.section-alt {
    background: #f7fafc;
}

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

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.75px;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.65;
}

/* ─── COMPARISON ─── */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-col {
    padding: 2.5rem 2rem;
    border-radius: 12px;
}

.comparison-col.before {
    background: #FFF4F4;
    border: 1px solid #FFD6D6;
}

.comparison-col.after {
    background: #EEF2FF;
    border: 1px solid #C7D3FD;
}

.comparison-col h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.comparison-col.before h3 { color: #C0392B; }
.comparison-col.after h3 { color: #033744; }

.comparison-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.comparison-col li {
    font-size: 0.9375rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.comparison-col.before li { color: #7A3030; }
.comparison-col.after li { color: #1a202c; }

.comparison-col.before li::before { content: "✗"; color: #E74C3C; font-weight: 700; flex-shrink: 0; }
.comparison-col.after li::before { content: "✓"; color: #033744; font-weight: 700; flex-shrink: 0; }

/* ─── FEATURES ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.25rem 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #033744;
    box-shadow: 0 12px 25px rgba(3, 55, 68, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
    font-weight: 600;
}

.feature-card p {
    color: #4a5568;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ─── PROFILES ─── */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.profile-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: left;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(3,55,68,0.04);
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: #033744;
    box-shadow: 0 12px 28px rgba(3, 55, 68, 0.12);
}

.profile-icon {
    font-size: 2rem;
    display: block;
    background: #f0f7f8;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.profile-card h3 {
    color: #011418;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0;
}

.profile-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ─── STEPS ─── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    position: relative;
    background: white;
    padding: 2.5rem 2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s;
}

.step:hover {
    border-color: #033744;
}

.step-number {
    position: absolute;
    top: -18px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: #033744;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(3, 55, 68, 0.25);
}

.step h3 {
    margin-top: 1rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.step p {
    color: #4a5568;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ─── PLANS ─── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.plan-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-card:hover {
    border-color: #033744;
    box-shadow: 0 8px 20px rgba(3, 55, 68, 0.1);
    transform: translateY(-4px);
}

.plan-card.featured {
    background: linear-gradient(160deg, #033744, #011418);
    border-color: #033744;
    position: relative;
}

.plan-card.plus {
    background: white;
    border-color: #033744;
    position: relative;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700;
    color: #1a1a1a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-badge.essentiel-badge {
    background: #f0f7f8;
    color: #033744;
    border: 1px solid #d9ecef;
}

.sub-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.5rem;
    padding-left: 0;
    width: 100%;
}

.sub-list li {
    font-size: 0.825rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-card.featured .sub-list li { color: rgba(255,255,255,0.6); }

.sub-list li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #033744;
    flex-shrink: 0;
}

.plan-card.featured .sub-list li::before { background: #FFD700; }

.plan-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #1a202c;
}

.plan-card.featured .plan-name { color: white; }

.plan-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: #011418;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.plan-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
}

.plan-card.featured .plan-price { color: white; }
.plan-card.featured .plan-price span { color: rgba(255,255,255,0.65); }

.plan-tagline {
    font-size: 0.9375rem;
    font-style: italic;
    color: #033744;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.plan-card.featured .plan-tagline { color: #9fd8e0; }

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
    flex: 1;
}

.plan-features li {
    font-size: 0.9375rem;
    color: #4a5568;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.6rem;
}

.plan-card.featured .plan-features li { color: rgba(255,255,255,0.9); }

.plan-features li::before {
    content: "✓";
    color: #033744;
    font-weight: 700;
    flex-shrink: 0;
}

.plan-card.featured .plan-features li::before { color: #FFD700; }

.plan-features .sub-item {
    padding-left: 1.7rem;
    font-size: 0.85rem;
    color: #94a3b8;
    display: block;
}

.plan-card.featured .plan-features .sub-item { color: rgba(255,255,255,0.55); }

.plan-note-block {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.plan-card.featured .plan-note-block { color: rgba(255,255,255,0.55); }

.pricing-disclaimer {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
    background: #f0f7f8;
    border: 1px solid #d9ecef;
    border-radius: 14px;
    padding: 1.5rem 2rem;
}

.pricing-disclaimer p {
    font-size: 1rem;
    color: #033744;
    font-weight: 600;
    line-height: 1.6;
}

.plan-btn {
    display: block;
    text-align: center;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s;
}

.plan-btn-outline {
    border: 2px solid #033744;
    color: #033744;
}

.plan-btn-outline:hover {
    background: #033744;
    color: white;
}

.plan-btn-white {
    background: white;
    color: #033744;
}

.plan-btn-white:hover {
    background: #EEF2FF;
    transform: translateY(-1px);
}

/* ─── CTA SECTION ─── */
.cta-section {
    padding: 100px 2rem;
    background: linear-gradient(to bottom, #033744 0%, #011418 100%);
    text-align: center;
    border-top: none;
}

.cta-section h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.8);
}

/* ─── FOOTER ─── */
.footer {
    background: #011418;
    color: #ffffff;
    padding: 3.5rem 2rem 2rem;
    text-align: center;
    border-top: none;
    position: relative;
}


}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0 2rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer p {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

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

.hero-content > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.hero-badge { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.1s; }
.hero p { animation-delay: 0.2s; }
.cta-buttons { animation-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
.btn-mobile-only { display: none; }

@media (max-width: 768px) {
    .btn-mobile-only { display: inline-flex; }
    .header { padding: 1rem 1.5rem; }
    .nav-container { gap: 1rem; }
    .nav-col-left, .nav-col-right { display: none; }
    .mobile-menu-toggle { display: flex; }
    .mobile-nav .nav-section-account { display: block; }

    .hero { padding: 120px 1.5rem 160px; }
    .hero h1 { font-size: 2.25rem; line-height: 1.2; }
    .hero p { font-size: 1.0625rem; }
    .hero-content { position: relative; z-index: 1; }

    .section { padding: 60px 1.5rem; }
    .section-title { font-size: 2rem; line-height: 1.2; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2.5rem; }

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

    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-card { padding: 2rem 1.5rem; }

    .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .profile-card { padding: 1.5rem 1rem; }
    .profile-card h3 { font-size: 1rem; }
    .profile-card p { font-size: 0.8125rem; }

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

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

    .cta-section { padding: 60px 1.5rem; }
    .cta-section h2 { font-size: 2rem; line-height: 1.2; }
    .cta-section p { font-size: 1rem; }

    .btn { width: 100%; max-width: 300px; }
    .hero-content { text-align: center; }
    .cta-buttons { flex-direction: column; align-items: center; width: 100%; }
    .cta-buttons .btn { display: block; width: 90%; max-width: 400px; margin: 0 auto; text-align: center; box-sizing: border-box; white-space: nowrap; }

}

@media (max-width: 770px) {
    .footer-links { flex-direction: column; align-items: center;}
    .footer-links a { padding: 0; display: block; text-align: center; margin-bottom: 50px;}
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.875rem; }
    .section-title { font-size: 1.75rem; }
    .profiles-grid { grid-template-columns: 1fr; }
    .feature-icon, .profile-icon { font-size: 2rem; }
    .mobile-nav { width: 100%; right: -100%; }
}