/* ============================================
   CYAIA — Cyprus AI Association
   Design System & Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Primary palette — deep navy + electric teal + warm gold */
    --navy:        #0a1628;
    --navy-light:  #12213d;
    --navy-mid:    #1a2f54;
    --accent:      #00b4d8;
    --accent-dark: #0096b7;
    --accent-glow: rgba(0, 180, 216, 0.15);
    --gold:        #f0a500;
    --gold-light:  #ffc846;
    --gold-dim:    rgba(240, 165, 0, 0.12);

    /* Neutrals */
    --white:       #ffffff;
    --off-white:   #f4f6f9;
    --gray-100:    #e8ecf1;
    --gray-200:    #d0d6e0;
    --gray-300:    #a0aec0;
    --gray-400:    #718096;
    --gray-500:    #4a5568;
    --gray-600:    #2d3748;
    --dark:        #0f1923;

    /* Semantic */
    --success:     #10b981;
    --warning:     #f59e0b;
    --error:       #ef4444;
    --info:        var(--accent);

    /* Typography */
    --font-body:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:   'Space Mono', 'SF Mono', monospace;
    --font-serif:  'Instrument Serif', Georgia, serif;

    /* Spacing scale */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --sp-32: 8rem;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(10,22,40,0.08);
    --shadow-md:  0 4px 12px rgba(10,22,40,0.1);
    --shadow-lg:  0 12px 40px rgba(10,22,40,0.15);
    --shadow-xl:  0 24px 60px rgba(10,22,40,0.2);
    --shadow-glow: 0 0 30px var(--accent-glow);

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 2rem);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gray-600);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color var(--duration-fast); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

.skip-link {
    position: fixed; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: var(--white); padding: var(--sp-3) var(--sp-6);
    border-radius: var(--radius-sm); z-index: 10000; font-weight: 600;
}
.skip-link:focus { top: var(--sp-4); color: var(--white); }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; }

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
    display: inline-block;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.7em 1.6em;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,180,216,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-dark:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 700;
}
.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(240,165,0,0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--gray-200);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-sm { padding: 0.5em 1.2em; font-size: 0.8rem; }
.btn-lg { padding: 0.9em 2.2em; font-size: 1rem; }

.btn-member-login {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 700;
    padding: 0.55em 1.4em;
    font-size: 0.85rem;
}
.btn-member-login:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(240,165,0,0.35);
    transform: translateY(-1px);
}

/* --- Announcement Bar --- */
.announcement-bar {
    background: var(--navy);
    color: var(--white);
    font-size: 0.85rem;
    padding: var(--sp-2) 0;
    text-align: center;
    position: relative;
    z-index: 1001;
}
.announcement-bar .container { display: flex; justify-content: center; align-items: center; gap: var(--sp-4); }
.announcement-bar a { color: var(--gold); font-weight: 600; }
.announcement-bar a:hover { color: var(--gold-light); }
.announcement-close {
    background: none; border: none; color: var(--gray-300);
    cursor: pointer; font-size: 1.2rem; line-height: 1; padding: var(--sp-1);
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-100);
    height: var(--header-height);
    transition: box-shadow var(--duration-base);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--navy);
    text-decoration: none;
    flex-shrink: 0;
}
.logo:hover { color: var(--navy); }
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-text strong {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.logo-text small {
    font-size: 0.65rem;
    color: var(--gray-400);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.nav-link {
    display: block;
    padding: var(--sp-2) var(--sp-4);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-500);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast);
}
.nav-link:hover, .nav-link.active {
    color: var(--navy);
    background: var(--off-white);
}

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: var(--sp-2);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-base) var(--ease-out);
    pointer-events: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.dropdown li a {
    display: block;
    padding: var(--sp-2) var(--sp-4);
    font-size: 0.85rem;
    color: var(--gray-500);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast);
}
.dropdown li a:hover {
    background: var(--accent-glow);
    color: var(--accent-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 2px;
    background: var(--off-white);
    border-radius: var(--radius-full);
    padding: 2px;
}
.lang-btn {
    display: block;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--gray-400);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-fast);
    letter-spacing: 0.04em;
}
.lang-btn:hover {
    color: var(--navy);
}
.lang-btn.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
}

/* Animated grid background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0,180,216,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,180,216,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Gradient orbs */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0,180,216,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: var(--sp-32) 0 var(--sp-20);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: rgba(0,180,216,0.1);
    border: 1px solid rgba(0,180,216,0.25);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--sp-8);
    animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--sp-6);
    animation: fadeInUp 0.6s var(--ease-out) 0.15s both;
}
.hero h1 .serif-italic { color: var(--accent); }

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--gray-300);
    margin-bottom: var(--sp-10);
    max-width: 560px;
    animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.hero-actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s var(--ease-out) 0.45s both;
}

.hero-stats {
    display: flex;
    gap: var(--sp-12);
    margin-top: var(--sp-16);
    padding-top: var(--sp-8);
    border-top: 1px solid rgba(255,255,255,0.08);
    animation: fadeInUp 0.6s var(--ease-out) 0.6s both;
}

.hero-stat {
    text-align: left;
}
.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-mono);
    line-height: 1;
}
.hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: var(--sp-1);
}

/* Floating visual element on right */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 420px;
    z-index: 1;
    opacity: 0.4;
}

.hero-visual .node-ring {
    position: absolute;
    border: 1px solid rgba(0,180,216,0.2);
    border-radius: 50%;
    animation: pulseRing 4s ease-in-out infinite;
}
.hero-visual .node-ring:nth-child(1) { inset: 0; animation-delay: 0s; }
.hero-visual .node-ring:nth-child(2) { inset: 40px; animation-delay: 0.8s; }
.hero-visual .node-ring:nth-child(3) { inset: 80px; animation-delay: 1.6s; }
.hero-visual .node-ring:nth-child(4) { inset: 120px; animation-delay: 2.4s; }

.hero-visual .node-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: float 6s ease-in-out infinite;
}
.hero-visual .node-dot:nth-child(5) { top: 10%; left: 50%; animation-delay: 0s; }
.hero-visual .node-dot:nth-child(6) { top: 40%; right: 5%; animation-delay: 1s; }
.hero-visual .node-dot:nth-child(7) { bottom: 15%; left: 20%; animation-delay: 2s; }
.hero-visual .node-dot:nth-child(8) { top: 60%; left: 10%; animation-delay: 3s; }

@keyframes pulseRing {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTIONS — Common
   ============================================ */
.section {
    padding: var(--sp-24) 0;
}
.section-dark {
    background: var(--navy);
    color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-light {
    background: var(--off-white);
}

.section-header {
    max-width: 600px;
    margin-bottom: var(--sp-12);
}
.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section-header p {
    margin-top: var(--sp-4);
    color: var(--gray-400);
    font-size: 1.05rem;
}

/* ============================================
   PILLARS / FEATURES GRID
   ============================================ */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
}

.pillar-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-slow) var(--ease-out);
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-5);
    color: var(--accent);
    font-size: 1.4rem;
}

.pillar-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--sp-3);
}

.pillar-card p {
    color: var(--gray-400);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-list {
    display: grid;
    gap: var(--sp-6);
}

.event-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: var(--sp-6);
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    transition: all var(--duration-base) var(--ease-out);
}
.event-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-glow);
}

.event-date-block {
    text-align: center;
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: var(--sp-3) var(--sp-2);
}
.event-date-block .month {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 700;
}
.event-date-block .day {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}

.event-info h3 {
    font-size: 1.1rem;
    margin-bottom: var(--sp-1);
}
.event-meta {
    font-size: 0.85rem;
    color: var(--gray-400);
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
}
.event-meta span {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.event-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--radius-full);
    background: var(--accent-glow);
    color: var(--accent-dark);
}
.event-badge.webinar { background: rgba(16,185,129,0.1); color: #059669; }
.event-badge.workshop { background: var(--gold-dim); color: #b87a00; }

/* ============================================
   NEWS CARDS
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
}

.news-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.news-card-body {
    padding: var(--sp-6);
}

.news-card-category {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--sp-3);
}

.news-card h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: var(--sp-3);
}
.news-card h3 a { color: var(--navy); }
.news-card h3 a:hover { color: var(--accent); }

.news-card-excerpt {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.55;
    margin-bottom: var(--sp-4);
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--gray-300);
}

/* ============================================
   MEMBERSHIP TIERS
   ============================================ */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
    align-items: start;
}

.tier-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    position: relative;
    text-align: center;
    transition: all var(--duration-base) var(--ease-out);
}
.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tier-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}
.tier-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--sp-1) var(--sp-4);
    border-radius: var(--radius-full);
}

.tier-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: var(--sp-4);
}

.tier-price {
    margin-bottom: var(--sp-6);
}
.tier-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
}
.tier-price .period {
    font-size: 0.88rem;
    color: var(--gray-400);
}

.tier-features {
    text-align: left;
    margin-bottom: var(--sp-8);
}
.tier-features li {
    padding: var(--sp-2) 0;
    font-size: 0.9rem;
    color: var(--gray-500);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
}
.tier-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================================
   BOARD MEMBERS
   ============================================ */
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
}

.board-card {
    text-align: center;
    padding: var(--sp-8) var(--sp-6);
    border-radius: var(--radius-lg);
    transition: all var(--duration-base) var(--ease-out);
}
.board-card:hover {
    background: var(--off-white);
}

.board-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto var(--sp-5);
    background: linear-gradient(135deg, var(--accent-glow) 0%, var(--gold-dim) 100%);
    border: 3px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    overflow: hidden;
}
.board-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-card h3 {
    font-size: 1.05rem;
    margin-bottom: var(--sp-1);
}
.board-card .board-title {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: var(--sp-1);
}
.board-card .board-org {
    font-size: 0.82rem;
    color: var(--gray-400);
}

/* ============================================
   RESOURCES
   ============================================ */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--sp-6);
}

.resource-card {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-5);
    padding: var(--sp-6);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--duration-base) var(--ease-out);
}
.resource-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-glow);
}

.resource-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--off-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.resource-info h3 {
    font-size: 1rem;
    margin-bottom: var(--sp-2);
}
.resource-info p {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: var(--sp-3);
}
.resource-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* ============================================
   JOBS
   ============================================ */
.job-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--sp-4);
    align-items: center;
    padding: var(--sp-6);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--duration-base) var(--ease-out);
}
.job-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-glow);
}

.job-info h3 { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.job-company { font-weight: 600; color: var(--gray-500); font-size: 0.9rem; }
.job-meta {
    display: flex;
    gap: var(--sp-4);
    margin-top: var(--sp-2);
    font-size: 0.82rem;
    color: var(--gray-400);
}
.job-type-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--off-white);
    color: var(--gray-500);
}

/* ============================================
   CTA / NEWSLETTER SECTION
   ============================================ */
.cta-section {
    padding: var(--sp-20) 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0,180,216,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(240,165,0,0.06) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}
.cta-content h2 { color: var(--white); margin-bottom: var(--sp-4); }
.cta-content p { color: var(--gray-300); margin-bottom: var(--sp-8); font-size: 1.05rem; }
.cta-actions { display: flex; justify-content: center; gap: var(--sp-4); flex-wrap: wrap; }

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--sp-5);
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--sp-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-600);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
    outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-textarea { min-height: 120px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
}

/* Newsletter form in footer */
.newsletter-form {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-4);
}
.newsletter-form input {
    flex: 1;
    padding: var(--sp-3) var(--sp-4);
    font-family: var(--font-body);
    font-size: 0.85rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    outline: none;
    background: var(--white);
    color: var(--gray-600);
}
.newsletter-form input:focus {
    border-color: var(--accent);
}

/* Login form */
.auth-container {
    max-width: 440px;
    margin: var(--sp-16) auto;
    padding: var(--sp-10);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.auth-container h1 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: var(--sp-2);
}
.auth-subtitle {
    text-align: center;
    color: var(--gray-400);
    margin-bottom: var(--sp-8);
    font-size: 0.95rem;
}

/* Alert messages */
.alert {
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: var(--sp-6);
}
.alert-success { background: rgba(16,185,129,0.08); color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.alert-error { background: rgba(239,68,68,0.08); color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }
.alert-info { background: var(--accent-glow); color: var(--accent-dark); border: 1px solid rgba(0,180,216,0.2); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: var(--sp-20) 0 var(--sp-12);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0,180,216,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,180,216,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: var(--sp-4); }
.page-hero p { color: var(--gray-300); max-width: 600px; font-size: 1.1rem; }
.page-hero .breadcrumb {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: var(--sp-6);
}
.page-hero .breadcrumb a { color: var(--accent); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy);
    color: var(--gray-300);
    padding-top: var(--sp-16);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--sp-10);
    padding-bottom: var(--sp-12);
}

.footer-brand .logo { margin-bottom: var(--sp-5); }
.footer-brand .logo-text strong { color: var(--white); }

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--gray-400);
    margin-bottom: var(--sp-6);
}

.footer-social {
    display: flex;
    gap: var(--sp-3);
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    color: var(--gray-400);
    transition: all var(--duration-fast);
}
.social-link:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: var(--sp-5);
    letter-spacing: 0.02em;
}
.footer-links ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: color var(--duration-fast);
}
.footer-links a:hover { color: var(--accent); }

.footer-note {
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: var(--sp-3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-6) 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
    color: var(--gray-400);
}
.footer-legal {
    display: flex;
    gap: var(--sp-6);
}
.footer-legal a { color: var(--gray-400); }
.footer-legal a:hover { color: var(--accent); }

/* ============================================
   CONTENT SECTIONS (about page, etc.)
   ============================================ */
.content-section {
    padding: var(--sp-16) 0;
}
.content-section + .content-section {
    border-top: 1px solid var(--gray-100);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
}

.content-text h2 { margin-bottom: var(--sp-5); }
.content-text p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: var(--sp-4);
    line-height: 1.7;
}

.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-glow) 0%, var(--gold-dim) 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--sp-10);
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--gold));
}
.timeline-item {
    position: relative;
    padding-bottom: var(--sp-8);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--sp-10) - 4px);
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--white);
}
.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--sp-2);
}
.timeline-item h3 {
    font-size: 1rem;
    margin-bottom: var(--sp-2);
}
.timeline-item p {
    font-size: 0.88rem;
    color: var(--gray-400);
}

/* Partners / logos */
.partners-bar {
    padding: var(--sp-12) 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.partners-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-300);
    margin-bottom: var(--sp-8);
}
.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-12);
    flex-wrap: wrap;
    opacity: 0.4;
}
.partners-logos img, .partners-logos .partner-placeholder {
    height: 32px;
    width: auto;
}
.partner-placeholder {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 0.05em;
}

/* ============================================
   DASHBOARD (logged in)
   ============================================ */
.dashboard-header {
    background: var(--off-white);
    padding: var(--sp-8) 0;
    border-bottom: 1px solid var(--gray-100);
}
.dashboard-welcome h1 {
    font-size: 1.75rem;
    margin-bottom: var(--sp-2);
}
.dashboard-welcome p {
    color: var(--gray-400);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--sp-8);
    padding: var(--sp-8) 0;
}

.dashboard-sidebar {
    border-right: 1px solid var(--gray-100);
    padding-right: var(--sp-8);
}
.sidebar-nav a {
    display: block;
    padding: var(--sp-3) var(--sp-4);
    font-size: 0.9rem;
    color: var(--gray-500);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-1);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: var(--accent-glow);
    color: var(--accent-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-visual { display: none; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .tiers-grid { grid-template-columns: repeat(2, 1fr); }
    .board-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; }

    .main-nav { 
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: var(--sp-6);
        overflow-y: auto;
        z-index: 999;
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-link { padding: var(--sp-4); font-size: 1rem; }
    
    .dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: var(--sp-4);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; }
    
    .mobile-toggle { display: flex; }

    .hero { min-height: 70vh; }
    .hero-content { padding: var(--sp-20) 0; }
    .hero-stats { gap: var(--sp-8); }
    .hero-stat .stat-number { font-size: 1.5rem; }

    .pillars-grid,
    .news-grid,
    .tiers-grid,
    .board-grid { grid-template-columns: 1fr; }

    .content-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .event-card { grid-template-columns: 70px 1fr; }
    .event-card .btn { display: none; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
    .footer-bottom { flex-direction: column; gap: var(--sp-4); text-align: center; }

    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-sidebar { border-right: none; border-bottom: 1px solid var(--gray-100); padding-right: 0; padding-bottom: var(--sp-6); }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: var(--sp-5); }
    .newsletter-form { flex-direction: column; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.mt-4 { margin-top: var(--sp-4); }
.mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-8 { margin-bottom: var(--sp-8); }
.hidden { display: none; }

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 2px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 2px;
}
.lang-btn {
    display: block;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gray-400);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-fast);
    letter-spacing: 0.04em;
}
.lang-btn:hover {
    color: var(--navy);
}
.lang-btn.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

/* Fade-in-up animation for scroll reveals */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
