/* ===== VARIABLES CSS ===== */
:root {
    /* Palette étudiante — audacieuse */
    --bg: #0b1020; /* very dark navy */
    --panel: #0f1724; /* slightly lighter */
    --muted: #9aa7bf;
    --accent-a: #7c3aed; /* purple */
    --accent-b: #06b6d4; /* cyan */
    --accent-c: #ffb86b; /* warm yellow */
    --glass: rgba(255,255,255,0.06);
    --glass-2: rgba(255,255,255,0.04);
    --white: #f8fafc;
    --shadow-glow: 0 10px 30px rgba(124,58,237,0.12);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Typography */
    --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, 'Courier New', monospace;
    --h1-font-size: 3.6rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.5rem;
    --h4-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Spacing */
    --header-height: 4.5rem;
    --section-padding: 5rem 0;
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 30px 80px -20px rgba(2,6,23,0.7);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* Container */
    --container-width: 1180px;
}

/* Responsive Typography */
@media screen and (max-width: 968px) {
    :root {
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.875rem;
        --h3-font-size: 1.25rem;
        --section-padding: 4rem 0;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --h1-font-size: 1.875rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.125rem;
        --section-padding: 3rem 0;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--normal-font-size);
    font-weight: 400;
    color: var(--white);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
}

h1 { font-size: var(--h1-font-size); }
h2 { font-size: var(--h2-font-size); }
h3 { font-size: var(--h3-font-size); }
h4 { font-size: var(--h4-font-size); }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

strong {
    font-weight: var(--font-semibold);
    color: var(--secondary-color);
}

/* ===== REUSABLE CLASSES ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Layout helpers */
.wrap { padding-left: 1rem; padding-right: 1rem; }

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section__subtitle {
    display: inline-block;
    font-size: var(--small-font-size);
    font-weight: var(--font-semibold);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.section__title {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section__description {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms;
    text-align: center;
}

.button--primary {
    background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.button--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.button--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.button--light {
    background-color: rgba(255,255,255,0.04);
    color: var(--primary-color);
}

.button--light:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.button--full {
    width: 100%;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255,255,255,0.03);
    color: var(--muted);
    border-radius: var(--border-radius);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
}

.badge i {
    color: var(--success-color);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    z-index: 1100;
    transform: translateZ(0);
}

.header.scroll-header {
    box-shadow: var(--shadow);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.nav__logo i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav__list {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.nav__link {
    font-weight: 600;
    color: var(--muted);
    position: relative;
    padding: 0.45rem 0.25rem;
    transition: color 180ms;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 12px;
    width: 0;
    height: 3px;
    border-radius: 6px;
    background: linear-gradient(90deg,var(--accent-a),var(--accent-b));
    transition: width 260ms cubic-bezier(.2,.9,.2,1);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: calc(100% - 24px);
}

.nav__link--cta {
    padding: 0.45rem 1rem;
    background: linear-gradient(90deg,var(--accent-b),var(--accent-a));
    color: var(--panel);
    border-radius: 999px;
}

.nav__link--cta:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.nav__link--cta::after {
    display: none;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Mobile Navigation */
@media screen and (max-width: 968px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--panel);
        box-shadow: 0 30px 80px rgba(2,6,23,0.7);
        padding: 4rem 2rem;
        transition: var(--transition);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .nav__toggle,
    .nav__close {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: calc(5rem + 2rem);
    background: radial-gradient(800px 400px at 10% 10%, rgba(124,58,237,0.08), transparent 8%), radial-gradient(600px 300px at 90% 80%, rgba(6,182,212,0.06), transparent 12%), linear-gradient(180deg,var(--bg), #071026 70%);
    min-height: 82vh;
    display: flex;
    align-items: center;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 3.5rem;
    align-items: center;
    align-items: start;
}

.hero__subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg,var(--accent-a),var(--accent-b));
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(124,58,237,0.08);
    color: var(--panel);
}

.hero__title {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 4.6vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--white), rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: tiltIn 700ms cubic-bezier(.22,.9,.32,1);
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero__stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero__stat-text {
    font-size: var(--small-font-size);
    color: var(--text-light);
    font-weight: var(--font-medium);
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.hero__illustration {
    width: 100%;
    max-width: 480px;
    height: 360px;
    border-radius: 16px;
    display: block;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 20px 60px rgba(2,6,23,0.6);
    transform: rotate(-2deg) translateY(-6px);
    transition: transform 420ms cubic-bezier(.2,.9,.2,1);
}

.hero__illustration:hover { transform: rotate(0deg) translateY(-12px); }

.hero__illustration svg {
    width: 90%;
    height: auto;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tiltIn {
    from { transform: translateY(8px) rotateX(8deg); opacity: 0; }
    to { transform: translateY(0) rotateX(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Hero */
@media screen and (max-width: 968px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero__stats {
        gap: 2rem;
    }
    
    .hero__stat-number {
        font-size: 2rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__illustration {
        width: 280px;
        height: 280px;
    }
    
    .hero__illustration i {
        font-size: 8rem;
    }
}

@media screen and (max-width: 576px) {
    .hero__stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero__illustration {
        width: 220px;
        height: 220px;
    }
    
    .hero__illustration i {
        font-size: 6rem;
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    background: transparent;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.service__card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 1.6rem;
    transition: transform 320ms cubic-bezier(.2,.9,.2,1), box-shadow 320ms;
}

.service__card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px rgba(2,6,23,0.6);
}

.service__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg,var(--accent-a),var(--accent-b));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service__icon i {
    font-size: 2rem;
    color: var(--white);
}

.service__title {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: var(--small-font-size);
}

.service__features i {
    color: var(--success-color);
    font-size: 1rem;
}

.services__cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e0e7ff 100%);
    border-radius: var(--border-radius-lg);
}

.services__cta p {
    font-size: 1.25rem;
    font-weight: var(--font-semibold);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Responsive Services */
@media screen and (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: linear-gradient(180deg, rgba(124,58,237,0.01), transparent 20%);
}

.about__text p {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about__expertise {
    margin: 3rem 0;
    padding: 2.5rem;
    background-color: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.about__expertise h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about__expertise h3 i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.tech__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech__category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.tech__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--light-bg);
    color: var(--text-color);
    border-radius: var(--border-radius);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    transition: var(--transition);
}

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

.about__why {
    margin: 3rem 0;
}

.about__why h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about__why h3 i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why__item {
    padding: 2rem;
    background-color: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.why__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-b), var(--accent-a));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.why__icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.why__item h4 {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.why__item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: var(--small-font-size);
}

.about__method {
    margin: 3rem 0;
}

.about__method h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about__method h3 i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.method__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.method__step {
    position: relative;
    padding: 2rem;
    background-color: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.method__step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method__number {
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    box-shadow: var(--shadow-md);
}

.method__step h4 {
    margin-bottom: 0.75rem;
    padding-top: 1rem;
    color: var(--secondary-color);
}

.method__step p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: var(--small-font-size);
}

/* Responsive About */
@media screen and (max-width: 768px) {
    .tech__grid,
    .why__grid,
    .method__steps {
        grid-template-columns: 1fr;
    }
}

/* ===== FAQ SECTION ===== */
.faq {
    background-color: transparent;
}

.faq__content {
    max-width: 900px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 0.75rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 220ms, box-shadow 220ms;
}

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

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: var(--font-semibold);
    color: var(--secondary-color);
    text-align: left;
    transition: var(--transition);
}

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

.faq__question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq__item.active .faq__question i {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
    max-height: 1000px;
}

.faq__answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Responsive FAQ */
@media screen and (max-width: 576px) {
    .faq__question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq__answer p {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: linear-gradient(180deg, rgba(6,182,212,0.02), rgba(124,58,237,0.02));
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__card {
    padding: 1.5rem;
    background-color: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact__card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact__card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact__card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact__card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: var(--small-font-size);
}

.contact__card a {
    color: var(--primary-color);
    font-weight: var(--font-medium);
}

.contact__social h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--secondary-color);
}

.social__links {
    display: flex;
    gap: 1rem;
}

.social__links a {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.social__links a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact__guarantees {
    padding: 1.5rem;
    background-color: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact__guarantees h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact__guarantees h3 i {
    color: var(--primary-color);
}

.contact__guarantees ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact__guarantees li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: var(--small-font-size);
}

.contact__guarantees i {
    color: var(--success-color);
}

.contact__form-wrapper {
    padding: 1.6rem;
    background-color: rgba(255,255,255,0.03);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(2,6,23,0.55);
}

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

.form__group {
    display: flex;
    flex-direction: column;
}

.form__group--full {
    grid-column: 1 / -1;
}

.form__group label {
    margin-bottom: 0.5rem;
    font-weight: var(--font-medium);
    color: var(--secondary-color);
    font-size: var(--small-font-size);
}

.required {
    color: var(--error-color);
}

.form__group input,
.form__group select,
.form__group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.97rem;
    color: var(--white);
    background: transparent;
    transition: box-shadow 200ms, border-color 200ms;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: rgba(124,58,237,0.9);
    box-shadow: 0 6px 30px rgba(124,58,237,0.12);
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox__label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox__label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox__label span {
    font-size: var(--small-font-size);
    color: var(--text-light);
}

.form__message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-medium);
    text-align: center;
    display: none;
}

.form__message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form__message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.contact__note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
}

.contact__note i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.contact__note p {
    color: var(--text-color);
    font-size: var(--small-font-size);
    margin-bottom: 0;
}

/* Responsive Contact */
@media screen and (max-width: 968px) {
    .contact__content {
        grid-template-columns: 1fr;
    }
    
    .contact__form {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(90deg, rgba(124,58,237,0.12), rgba(6,182,212,0.06));
    padding: 3.5rem 0;
}

.cta__content {
    text-align: center;
    color: var(--white);
}

.cta__content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta__content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, rgba(2,6,23,0.96), rgba(2,6,23,0.98));
    color: var(--muted);
    padding: 3.5rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer__title i {
    color: var(--primary-light);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: var(--transition);
}

.footer__social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer__subtitle {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links li {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-font-size);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer__links i {
    color: var(--primary-light);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-font-size);
    margin-bottom: 0;
}

.footer__legal {
    display: flex;
    gap: 1rem;
    font-size: var(--small-font-size);
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__legal a:hover {
    color: var(--white);
}

.footer__legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Footer */
@media screen and (max-width: 968px) {
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .footer__content {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    background: linear-gradient(90deg,var(--accent-b),var(--accent-a));
    color: var(--panel);
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(2,6,23,0.6);
    opacity: 0;
    visibility: hidden;
    transition: transform 220ms, opacity 220ms;
    z-index: 999;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

.scroll-top.show-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(-6px);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-light { color: var(--text-light); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-dark);
}

/* ===== SELECTION ===== */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== LOADING ANIMATION ===== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}