/* ============================================
   COLLECTIF TECH FRANCE-QUÉBEC
   Premium Landing Page Styles
   ============================================ */

/* ============================================
   1. CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Colors */
    --blue-dark: #0a1628;
    --blue-tech: #1e3a5f;
    --blue-mid: #2d4a6f;
    --blue-accent: #3b82f6;
    --blue-light: #60a5fa;
    --red-french: #ef4444;
    --red-dark: #dc2626;
    --white: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--blue-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), var(--gray-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

.fade-in-delay-5 {
    transition-delay: 0.5s;
}

/* ============================================
   4. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-french) 0%, var(--red-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-300);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-french);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(239, 68, 68, 0.1), transparent),
        linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-tech) 100%);
}

/* Animated connection lines */
.hero-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.4;
}

.hero-lines::before,
.hero-lines::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 200%;
    background: linear-gradient(180deg, transparent, var(--blue-accent), transparent);
    animation: lineMove 8s linear infinite;
}

.hero-lines::before {
    left: 20%;
    animation-delay: 0s;
}

.hero-lines::after {
    left: 80%;
    animation-delay: 4s;
}

@keyframes lineMove {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0%);
    }
}

/* Network dots */
.network-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(59, 130, 246, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: dotPulse 4s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1180px;
    padding: 0 24px;
}

.hero-title-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 56px);
    margin-bottom: 24px;
    text-align: left;
}

.hero-lockup-logo {
    width: clamp(150px, 18vw, 240px);
    height: auto;
    display: block;
    flex: 0 0 auto;
    filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.24));
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .accent {
    background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--gray-400);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ============================================
   7. VIDEO SECTION
   ============================================ */
.video-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--blue-tech) 0%, var(--blue-dark) 100%);
}

.video-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    border-radius: 16px;
    overflow: hidden;
    background: var(--blue-mid);
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--glass-border);
}

.video-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent, rgba(239, 68, 68, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(10, 22, 40, 0.9)),
        url('assets/ca-members.jpg') center/cover;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(239, 68, 68, 0.6);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-french), var(--red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.4);
    transition: all var(--transition-normal);
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
    margin-left: 4px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    object-fit: cover;
}

.video-container video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.8));
}

.video-caption {
    text-align: center;
    margin-top: 24px;
    color: var(--gray-400);
    font-size: 0.9375rem;
}

/* ============================================
   8. MISSION SECTION
   ============================================ */
.mission-section {
    padding: var(--section-padding);
    background: var(--blue-dark);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.mission-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-accent), var(--red-french));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mission-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-strong);
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.mission-icon svg {
    width: 48px;
    height: 48px;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.1));
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.mission-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.mission-card p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   9. AMBITIONS SECTION
   ============================================ */
.ambitions-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-tech) 100%);
}

.ambitions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.ambition-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.ambition-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.ambition-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(239, 68, 68, 0.08));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-light);
    transition: all var(--transition-normal);
}

.ambition-icon svg {
    width: 36px;
    height: 36px;
}

.ambition-item:hover .ambition-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--white);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(239, 68, 68, 0.15));
    border-color: var(--blue-accent);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.25);
}

.ambition-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.5;
}

/* ============================================
   10. BOARD SECTION (Conseil d'administration)
   ============================================ */
.board-section {
    padding: var(--section-padding);
    background: var(--blue-tech);
    position: relative;
    overflow: hidden;
}

.board-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent, var(--blue-dark));
    pointer-events: none;
}

.board-members-container {
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.board-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.board-row:last-child {
    margin-bottom: 0;
}

.board-row-3 .board-member {
    flex: 0 1 calc(33.333% - 14px);
    max-width: 280px;
}

.board-row-4 .board-member {
    flex: 0 1 calc(25% - 15px);
    max-width: 235px;
}

.board-member {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.board-member:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.board-member-media {
    aspect-ratio: 1 / 1;
    width: 100%;
    margin-bottom: 16px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(10, 22, 40, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.board-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.board-member-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(96, 165, 250, 0.28), rgba(30, 58, 95, 0.72));
}

.board-member-media-placeholder span {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.08em;
}

.board-member h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.board-member .role {
    font-size: 0.8125rem;
    color: var(--gray-400);
    line-height: 1.4;
    margin-bottom: 6px;
}

.board-member .org {
    font-size: 0.8125rem;
    color: var(--blue-light);
    font-weight: 500;
}

.board-member .badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--red-french), var(--red-dark));
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.board-member .linkedin-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    opacity: 0;
    transition: all var(--transition-normal);
}

.board-member:hover .linkedin-icon {
    opacity: 1;
    color: #0077b5;
}

a.board-member {
    position: relative;
    text-decoration: none;
    display: block;
}

/* ============================================
   11. MEMBERS CAROUSEL
   ============================================ */
.members-section {
    padding: var(--section-padding);
    background: var(--blue-dark);
    overflow: hidden;
}

.partners-logos {
    margin: 40px 0 20px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.partners-card {
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(30, 72, 118, 0.28), rgba(14, 34, 62, 0.42));
    border: 1px solid rgba(140, 190, 255, 0.24);
    box-shadow: 0 22px 48px rgba(3, 8, 18, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.partners-label {
    font-weight: 600;
    color: var(--gray-200);
    font-size: 1rem;
    margin-bottom: 14px;
    text-align: left;
}

.partners-card img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-wrapper {
    margin: 60px 0;
    position: relative;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--blue-dark), transparent);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--blue-dark), transparent);
}

.carousel-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-embed .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px auto 36px;
    gap: 16px;
}

.embed-card {
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(24, 40, 64, 0.9), rgba(10, 20, 40, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(4, 12, 28, 0.55), 0 4px 16px rgba(0, 0, 0, 0.35);
    width: min(100%, 1200px);
    margin: 0 auto;
}

.carousel-embed iframe {
    width: 100%;
    height: clamp(520px, 66vh, 640px);
    border-radius: 16px;
    border: 0;
}

.carousel-item {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 24px;
    transition: all var(--transition-normal);
}

.carousel-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%) brightness(2);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.carousel-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.carousel-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.embed-title {
    text-align: center;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 600;
    color: var(--gray-200);
    margin: 0;
}

.carousel-cta a {
    color: var(--blue-accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.carousel-cta a:hover {
    color: var(--blue-light);
}

/* ============================================
   12. FINAL CTA SECTION
   ============================================ */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--blue-tech) 0%, var(--blue-dark) 50%, var(--blue-tech) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--white), var(--gray-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ============================================
   13. FOOTER
   ============================================ */
.footer {
    background: var(--blue-dark);
    border-top: 1px solid var(--glass-border);
    padding: 46px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 40px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.footer-nav a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--gray-400);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--glass-border);
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-tagline {
    color: var(--gray-400);
    font-style: italic;
}

.footer-legal-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-links a {
    color: var(--gray-200);
    font-size: 0.76rem;
    text-decoration: none;
    border: 1px solid rgba(148, 171, 202, 0.35);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 999px;
    transition: all var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--white);
    border-color: rgba(96, 165, 250, 0.8);
    background: rgba(59, 130, 246, 0.14);
}

/* ============================================
   14. REGISTRATION MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(10, 22, 40, 0.98));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--glass-bg);
    color: var(--gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--white), var(--gray-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-300);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-accent);
    background: rgba(59, 130, 246, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--red-french);
    background: rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.char-counter {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: right;
}

.form-error {
    font-size: 0.8125rem;
    color: var(--red-french);
    min-height: 1.2em;
}

/* Logo Upload */
.logo-upload {
    cursor: pointer;
}

.logo-preview {
    width: 100%;
    height: 140px;
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-400);
    transition: all var(--transition-fast);
    overflow: hidden;
    position: relative;
}

.logo-preview:hover {
    border-color: var(--blue-accent);
    background: rgba(59, 130, 246, 0.05);
}

.logo-preview.has-image {
    border-style: solid;
    border-color: var(--blue-accent);
}

.logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-preview span {
    font-size: 0.875rem;
}

.logo-preview .upload-hint {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.logo-preview.dragover {
    border-color: var(--blue-light);
    background: rgba(59, 130, 246, 0.1);
}

/* Submit Button States */
.btn-full {
    width: 100%;
    padding: 16px;
    margin-top: 8px;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Success State */
.modal-success {
    text-align: center;
    padding: 20px 0;
}

.modal-success .success-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.modal-success h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.modal-success p {
    color: var(--gray-400);
    margin-bottom: 32px;
}

/* ============================================
   15. RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ambitions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .board-row {
        flex-wrap: wrap;
    }

    .board-row-3 .board-member,
    .board-row-4 .board-member {
        flex: 0 1 calc(50% - 10px);
        max-width: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        gap: 12px;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 16px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-title-lockup {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-lockup-logo {
        width: min(48vw, 220px);
    }

    .btn {
        width: 100%;
    }

    .ambitions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .board-row-3 .board-member,
    .board-row-4 .board-member {
        flex: 0 1 100%;
        max-width: none;
    }

    .footer-nav {
        gap: 16px;
    }

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

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .carousel-item {
        width: 120px;
        height: 60px;
    }
}
