/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

:root {
    --bg-primary:    #07090f;
    --bg-secondary:  #0c0f1d;
    --bg-card:       #0f1323;
    --bg-card-hover: #131829;
    --border:        rgba(255,255,255,0.06);
    --border-accent: rgba(0,120,255,0.25);
    --blue:          #1a6fff;
    --blue-light:    #4d9bff;
    --blue-glow:     rgba(26,111,255,0.18);
    --red:           #e63946;
    --white:         #f0f4ff;
    --muted:         #8892a4;
    --subtle:        #4a5568;
    --radius-sm:     8px;
    --radius-md:     14px;
    --radius-lg:     22px;
    --font:          'Inter', 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== GRADIENTS / ACCENTS ===== */
.highlight {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 0;
    background: rgba(7,9,15,0.75);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s;
}

.navbar.scrolled {
    background: rgba(7,9,15,0.96);
    border-bottom-color: var(--border-accent);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: -0.3px;
}

.nav-logo img {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    padding: 6px 7px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.nav-links .nav-cta {
    padding: 7px 12px;
    background: var(--blue);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.78rem;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    margin-left: 4px;
}

.nav-links .nav-cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    background: var(--blue);
}

@keyframes navCtaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26,111,255,0.35); }
    50%       { box-shadow: 0 0 0 6px rgba(26,111,255,0); }
}

.nav-links .nav-cta {
    animation: navCtaPulse 2.6s ease-in-out infinite;
}

.nav-toggle {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--muted);
    padding: 6px;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 80px;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,111,255,0.10) 0%, transparent 65%),
        var(--bg-primary);
    overflow: hidden;
}

/* subtle grid lines */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 0%, transparent 80%);
    pointer-events: none;
}

/* tricolore bottom bar */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0055d4 33.33%, #fff 33.33%, #fff 66.66%, #e63946 66.66%);
}

.hero-particles {
    position: absolute; inset: 0;
    overflow: hidden; pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px; height: 3px;
    background: rgba(77,155,255,0.5);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.5; }
    100% { transform: translateY(-8vh) scale(1); opacity: 0; }
}

.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

/* ===== HERO ENTRANCE ANIMATIONS ===== */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow,
.hero h1,
.hero-subtitle,
.hero-buttons,
.hero-stats {
    opacity: 0;
    animation: heroFadeUp 0.5s ease-out forwards;
}

.hero-eyebrow { animation-delay: 0s; }
.hero h1      { animation-delay: 0.06s; }
.hero-subtitle{ animation-delay: 0.12s; }
.hero-buttons { animation-delay: 0.18s; }
.hero-stats   { animation-delay: 0.24s; }

.hero-logo-small {
    width: 22px; height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes pulse-glow {
    0%,100% { box-shadow: 0 0 40px rgba(26,111,255,0.25); }
    50%      { box-shadow: 0 0 70px rgba(26,111,255,0.45), 0 0 120px rgba(26,111,255,0.12); }
}

/* eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26,111,255,0.12);
    border: 1px solid rgba(26,111,255,0.25);
    color: var(--blue-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 40px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.65;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: -0.2px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 125%;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 18px rgba(26,111,255,0.35);
}
.btn-primary:hover {
    background: #3380ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26,111,255,0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--white);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--blue-light);
    border: 1px solid var(--border-accent);
    width: 100%;
    justify-content: center;
}
.btn-outline:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    transform: translateY(-2px);
}

.btn-large { padding: 14px 36px; font-size: 0.98rem; border-radius: var(--radius-lg); }

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    gap: 0;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(15,19,35,0.7);
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 540px;
    margin: 0 auto;
}

.stat {
    flex: 1;
    padding: 18px 10px;
    text-align: center;
    position: relative;
}
.stat + .stat::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--border);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}
.stat-number i { color: var(--blue-light); font-size: 1.3rem; }

.stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SECTION BASE ===== */
section { padding: 96px 0; }

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
    line-height: 1.15;
}

.section-desc {
    color: var(--muted);
    font-size: 0.98rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.service-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.service-icon {
    width: 48px; height: 48px;
    background: rgba(26,111,255,0.1);
    border: 1px solid rgba(26,111,255,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--blue-light);
    flex-shrink: 0;
    transition: all 0.25s;
}

.service-card:hover .service-icon {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.service-arrow {
    margin-top: auto;
    color: var(--blue-light);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== PRICING SECTIONS ===== */
.pricing-section {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.pricing-section.alt-bg {
    background: var(--bg-secondary);
}

.section-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: rgba(26,111,255,0.1);
    border: 1px solid rgba(26,111,255,0.2);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--blue-light);
    margin-bottom: 18px;
}

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(26,111,255,0.35), transparent);
}

.pricing-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.pricing-card.popular {
    border-color: var(--blue);
    background: linear-gradient(160deg, rgba(26,111,255,0.08) 0%, var(--bg-card) 40%);
}

.pricing-card.popular::after {
    background: linear-gradient(90deg, #0055d4, #3380ff, var(--blue-light));
    height: 3px;
}

.pricing-card.popular:hover {
    border-color: var(--blue-light);
    box-shadow: 0 20px 60px rgba(26,111,255,0.18);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.06);
    color: var(--muted);
    border: 1px solid var(--border);
}

.pricing-card.popular .pricing-badge {
    background: rgba(26,111,255,0.15);
    color: var(--blue-light);
    border-color: rgba(26,111,255,0.3);
}

.pricing-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.pricing-price {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-price .price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1.5px;
    line-height: 1;
}

.pricing-price .currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--muted);
    align-self: flex-start;
    margin-top: 6px;
}

.pricing-price .period {
    font-size: 0.82rem;
    color: var(--muted);
    margin-left: 2px;
}

/* specs row in pricing */
.pricing-specs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.pricing-spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.77rem;
    font-weight: 600;
    color: var(--white);
}

.pricing-spec-tag i {
    color: var(--blue-light);
    font-size: 0.72rem;
}

.pricing-features {
    margin-bottom: 26px;
}

.pricing-features li {
    padding: 7px 0;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li i.fa-check {
    color: #22c55e;
    font-size: 0.75rem;
    flex-shrink: 0;
    background: rgba(34,197,94,0.12);
    width: 18px; height: 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-features li i.fa-times {
    color: var(--subtle);
    font-size: 0.75rem;
    flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    width: 18px; height: 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-features li.disabled { color: var(--subtle); }

.discord-order-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 13px 22px;
    background: rgba(88,101,242,0.07);
    border: 1px solid rgba(88,101,242,0.18);
    border-radius: var(--radius-md);
    color: #a8b4ff;
    font-size: 0.85rem;
    font-weight: 500;
}

.discord-order-note i { color: #7289da; font-size: 1rem; }

/* ===== FREE TEST ===== */
.free-test {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.free-test-inner {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

.free-test-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #00b4ff);
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(34,197,94,0.1);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.2);
    margin-bottom: 22px;
}

.free-test-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.7px;
}

.free-test-inner > p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 34px;
}

.free-choices {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.free-choice {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(26,111,255,0.08);
    border: 1px solid rgba(26,111,255,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 600;
    transition: all 0.2s;
}
.free-choice i { color: var(--blue-light); }
.free-choice:hover {
    background: rgba(26,111,255,0.16);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.free-test-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.spec {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.spec:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.spec i { font-size: 1.2rem; color: var(--blue-light); }
.spec span { font-size: 0.83rem; font-weight: 600; color: var(--white); }

.free-note {
    margin-top: 16px;
    font-size: 0.77rem;
    color: var(--subtle);
}

/* ===== WHY US ===== */
.why-us {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    transition: all 0.25s;
}

.why-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.why-card-icon {
    width: 44px; height: 44px;
    background: rgba(26,111,255,0.1);
    border: 1px solid rgba(26,111,255,0.18);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--blue-light);
    margin-bottom: 18px;
}

.why-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    padding: 72px 0 28px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.footer-brand img {
    width: 44px; height: 44px;
    border-radius: 50%;
    margin-bottom: 14px;
    object-fit: cover;
}

.footer-brand-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 260px;
}

.footer-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 9px 18px;
    background: rgba(114,137,218,0.12);
    border: 1px solid rgba(114,137,218,0.25);
    border-radius: var(--radius-md);
    color: #a8b4ff;
    font-size: 0.83rem;
    font-weight: 600;
    transition: all 0.2s;
}
.footer-discord-btn:hover {
    background: rgba(114,137,218,0.22);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.87rem;
    color: var(--muted);
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-col ul li i {
    margin-right: 8px;
    color: var(--blue-light);
    font-size: 0.85rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--subtle);
}

.footer-tricolore {
    display: flex;
    gap: 0;
    height: 14px;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.6;
}
.footer-tricolore span { display: block; width: 14px; height: 14px; }
.tc-blue  { background: #0055d4; }
.tc-white { background: #fff; }
.tc-red   { background: #e63946; }

/* ===== PAGE HEADER (reglement) ===== */
.page-header {
    padding: 120px 24px 56px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(26,111,255,0.08) 0%, transparent 70%),
        var(--bg-primary);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0055d4 33.33%, #fff 33.33%, #fff 66.66%, #e63946 66.66%);
    opacity: 0.5;
}

.page-header-icon {
    width: 56px; height: 56px;
    background: rgba(26,111,255,0.1);
    border: 1px solid rgba(26,111,255,0.2);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--blue-light);
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--muted);
    font-size: 0.97rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ===== TOC ===== */
.toc-section {
    padding: 40px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.toc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
}

.toc-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toc-card h3 i { color: var(--blue-light); }

.toc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.2s;
}
.toc-item:hover {
    color: var(--white);
    border-color: var(--border-accent);
    background: rgba(26,111,255,0.06);
}

.toc-num {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--blue-light);
    font-variant-numeric: tabular-nums;
}

/* ===== REGLEMENT CARDS ===== */
.reglement-section {
    padding: 60px 0 80px;
    background: var(--bg-primary);
}

.reglement-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    margin-bottom: 18px;
    position: relative;
    transition: all 0.25s;
}

.reglement-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.reglement-number {
    position: absolute;
    top: 24px; right: 28px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.reglement-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reglement-card h2 i {
    color: var(--blue-light);
    font-size: 1rem;
}

.reglement-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.reglement-list {
    list-style: none;
    margin: 12px 0;
}

.reglement-list li {
    padding: 9px 0;
    font-size: 0.88rem;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.55;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.reglement-list li:last-child { border-bottom: none; }

.reglement-list li i.fa-chevron-right {
    color: var(--blue-light);
    font-size: 0.65rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.reglement-list.danger li i.fa-times-circle {
    color: var(--red);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.reglement-warning {
    margin-top: 14px;
    padding: 12px 18px;
    background: rgba(230,57,70,0.07);
    border: 1px solid rgba(230,57,70,0.2);
    border-radius: var(--radius-sm);
    color: #ff7b84;
    font-size: 0.86rem;
    font-weight: 500;
}
.reglement-warning i { margin-right: 7px; }

.contact-info-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.contact-item {
    background: rgba(26,111,255,0.06);
    border: 1px solid rgba(26,111,255,0.15);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--blue-light);
}

.contact-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--white);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0;
}

.reglement-footer-note {
    text-align: center;
    padding: 18px;
    color: var(--subtle);
    font-size: 0.8rem;
    margin-top: 18px;
}
.reglement-footer-note i { margin-right: 6px; color: var(--blue-light); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 42px; height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--muted);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s;
    z-index: 200;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover {
    border-color: var(--blue);
    color: var(--blue-light);
}

/* ===== ACTIVE NAV LINK ===== */
.active-link { color: var(--blue-light) !important; }
.nav-link-gold { color: #ffb400 !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid      { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid       { grid-template-columns: repeat(2, 1fr); }
    .why-grid           { grid-template-columns: repeat(2, 1fr); }
    .footer-top         { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .toc-grid           { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { transform: none; }
}

@media (max-width: 1180px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(7,9,15,0.98);
        flex-direction: column;
        padding: 20px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(24px);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 10px 14px; font-size: 0.92rem; }
    .nav-toggle { display: flex; }

    .hero-stats { max-width: 100%; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .free-test-inner { padding: 36px 24px; }
    .free-test-specs { grid-template-columns: repeat(2, 1fr); }
    .contact-info-box { grid-template-columns: 1fr; }
    .toc-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .free-test-specs { grid-template-columns: 1fr; }
    .free-choices { flex-direction: column; align-items: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .toc-grid { grid-template-columns: 1fr; }
    .pricing-specs { flex-wrap: wrap; }
}

/* ===== PARTENAIRES ===== */
.partners-section {
    padding: 96px 0;
    background: var(--bg-secondary);
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.partner-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--blue-glow);
}

.partner-logo-wrap {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--border-accent);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.partner-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
}

.btn-partner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #5865F2, #7289da);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    align-self: flex-start;
    margin-top: 4px;
}

.btn-partner:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .partners-grid { grid-template-columns: 1fr; }
    .partner-card { flex-direction: column; align-items: center; text-align: center; }
    .partner-info { align-items: center; }
    .btn-partner { align-self: center; }
}
