/* ============================================================
   H.E. Mohamed Hassan Alsuwaidi — Global Investment Command Center
   Design System: Institutional Finance + UAE Luxury + Arabic Geometry
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    /* Core Palette */
    --primary-dark: #0a0e17;
    --secondary-dark: #0f1520;
    --tertiary-dark: #141c2b;
    --card-bg: rgba(18, 26, 42, 0.85);
    --card-border: rgba(193, 167, 115, 0.12);
    
    /* Gold System */
    --gold-primary: #c1a773;
    --gold-light: #d4be8e;
    --gold-bright: #e8d5a8;
    --gold-glow: rgba(193, 167, 115, 0.25);
    --gold-subtle: rgba(193, 167, 115, 0.08);
    
    /* Accent Colors */
    --accent-blue: #3a7bd5;
    --accent-teal: #2ec4b6;
    --accent-emerald: #2d8a6e;
    --accent-silver: #a8b2c1;
    
    /* Text */
    --text-primary: #f0ece4;
    --text-secondary: #a8b2c1;
    --text-muted: #6b7a8d;
    --text-gold: #c1a773;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Spacing */
    --nav-height: 72px;
    --section-pad: clamp(80px, 10vw, 140px);
    --container-max: 1320px;
    
    /* Effects */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(14, 20, 34, 0.75);
    --glass-blur: blur(20px);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--transition-smooth);
}

/* ── Geometric Background Pattern ────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(58, 123, 213, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(193, 167, 115, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Animated geometric grid overlay */
.geo-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: 
        linear-gradient(var(--gold-primary) 1px, transparent 1px),
        linear-gradient(90deg, var(--gold-primary) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    transition: all 0.4s var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(10, 14, 23, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-brand-icon::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 1px solid var(--gold-primary);
    transform: rotate(45deg);
}

.nav-brand-text {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gold-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-brand-text span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-top: 2px;
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-radius: 4px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: all 0.3s var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--gold-primary);
    transition: all 0.3s var(--transition-smooth);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4.5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4.5px);
}

/* ── Page Transition Overlay ──────────────────────────────── */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--transition-smooth);
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

.page-transition .loader {
    width: 40px;
    height: 40px;
    border: 2px solid var(--card-border);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ── Container ────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* ── Section Utilities ────────────────────────────────────── */
.section {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold-primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-title .gold {
    color: var(--gold-primary);
}

.section-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 680px;
}

/* ── Hero Sections ────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(10, 14, 23, 0.92) 0%, rgba(10, 14, 23, 0.7) 40%, rgba(10, 14, 23, 0.5) 100%),
        linear-gradient(to top, rgba(10, 14, 23, 1) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 60px 0;
}

.hero .section-label {
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .gold {
    color: var(--gold-primary);
}

.hero-desc {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 580px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--primary-dark);
}

.btn-icon {
    font-size: 1rem;
    transition: transform 0.3s var(--transition-smooth);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: clamp(28px, 3vw, 40px);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
}

.card:hover {
    border-color: rgba(193, 167, 115, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--gold-subtle);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--gold-primary);
    font-size: 1.3rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── Stats / Metrics ──────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2px;
}

.stat-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: clamp(24px, 3vw, 36px);
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
}

.stat-item:hover {
    border-color: var(--gold-primary);
    background: rgba(193, 167, 115, 0.05);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.stat-sublabel {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── Timeline ─────────────────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold-primary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    padding-left: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 8px;
    width: 9px;
    height: 9px;
    background: var(--gold-primary);
    transform: rotate(45deg);
    box-shadow: 0 0 12px var(--gold-glow);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── Image Containers (NO FACE CROPPING) ─────────────────── */
.img-container {
    position: relative;
    overflow: hidden;
    background: var(--tertiary-dark);
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.img-container.cover img {
    object-fit: cover;
    object-position: center 20%;
}

.img-container.portrait {
    aspect-ratio: 3/4;
}

.img-container.landscape {
    aspect-ratio: 16/9;
}

.img-container.square {
    aspect-ratio: 1;
}

/* ── Grid Layouts ─────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.5vw, 24px);
}

/* ── Dividers ─────────────────────────────────────────────── */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
    margin: 40px 0;
}

.divider-gold {
    width: 60px;
    height: 2px;
    background: var(--gold-primary);
    margin-bottom: 24px;
}

/* ── Scroll Reveal Animations ─────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s var(--transition-smooth);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.4s; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: var(--secondary-dark);
    border-top: 1px solid var(--card-border);
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 380px;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.footer-brand-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.3s var(--transition-smooth);
}

.footer-column ul li a:hover {
    color: var(--gold-light);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-smooth);
}

.footer-social a:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-subtle);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--gold-primary);
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* ── Infographic / Data Visualization Elements ───────────── */
.metric-bar {
    height: 4px;
    background: var(--tertiary-dark);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 12px;
}

.metric-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--accent-teal));
    border-radius: 2px;
    width: 0;
    transition: width 1.5s var(--transition-smooth);
}

.metric-bar-fill.animated {
    width: var(--bar-width, 75%);
}

/* Sector Icons */
.sector-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold-subtle), rgba(58, 123, 213, 0.08));
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    position: relative;
}

.sector-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(193, 167, 115, 0.08);
}

/* ── Page-Specific: Inner Page Hero (shorter) ────────────── */
.hero-inner {
    min-height: 65vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--nav-height) + 40px) 0 80px;
}

.hero-inner .hero-bg::after {
    background: 
        linear-gradient(135deg, rgba(10, 14, 23, 0.9) 0%, rgba(10, 14, 23, 0.6) 100%),
        linear-gradient(to top, rgba(10, 14, 23, 1) 0%, transparent 50%);
}

/* ── Glassmorphism Panels ─────────────────────────────────── */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    padding: clamp(24px, 3vw, 40px);
}

/* ── Data Flow Animation ──────────────────────────────────── */
@keyframes dataFlow {
    0% { transform: translateY(100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes floatGeo {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(-10px); }
}

/* ── Password Page Specific ───────────────────────────────── */
.password-page {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow: hidden;
}

.password-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.password-bg .geo-line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, var(--gold-primary), transparent);
    width: 1px;
    height: 100%;
    opacity: 0.06;
    animation: dataFlow 12s linear infinite;
}

.password-bg .geo-diamond {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(193, 167, 115, 0.04);
    transform: rotate(45deg);
    animation: floatGeo 15s ease-in-out infinite;
}

.password-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 440px;
    padding: 0 24px;
}

.password-brand {
    margin-bottom: 48px;
}

.password-brand .brand-diamond {
    width: 60px;
    height: 60px;
    border: 1.5px solid var(--gold-primary);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatGeo 8s ease-in-out infinite;
}

.password-brand .brand-diamond::before {
    content: '';
    width: 28px;
    height: 28px;
    border: 1px solid var(--gold-primary);
    transform: rotate(45deg);
}

.password-brand h1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.password-brand p {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.password-form {
    margin-bottom: 32px;
}

.password-input-wrap {
    position: relative;
    margin-bottom: 20px;
}

.password-input-wrap input {
    width: 100%;
    padding: 16px 52px 16px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 4px;
    text-align: center;
    outline: none;
    transition: all 0.3s var(--transition-smooth);
}

.password-input-wrap input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px var(--gold-glow);
}

.password-input-wrap input.error {
    border-color: #e74c3c;
    animation: shake 0.5s ease-in-out;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.2);
}

.password-input-wrap .lock-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
}

.password-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--primary-dark);
    border: none;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
}

.password-submit:hover {
    box-shadow: 0 8px 30px var(--gold-glow);
    transform: translateY(-2px);
}

.password-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-8px); }
    80% { transform: translateX(8px); }
}

/* Password success animation */
.password-page.success {
    animation: fadeOutOverlay 1s ease-in-out forwards;
}

@keyframes fadeOutOverlay {
    0% { opacity: 1; }
    50% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; }
}

/* ── Contact Form ─────────────────────────────────────────── */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.3s var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold-primary);
}

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

/* ── Quote Block ──────────────────────────────────────────── */
.quote-block {
    border-left: 3px solid var(--gold-primary);
    padding: 28px 32px;
    background: var(--gold-subtle);
    margin: 40px 0;
}

.quote-block p {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold-light);
    line-height: 1.7;
}

.quote-block cite {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: normal;
    letter-spacing: 1px;
}

/* ── Tab System ───────────────────────────────────────────── */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s var(--transition-smooth);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--primary-dark);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

/* ── Org Chart / Network Map ──────────────────────────────── */
.org-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 24px;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
}

.org-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 1px;
    height: 20px;
    background: var(--gold-primary);
    opacity: 0.3;
}

.org-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.org-card-logo {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.org-card-role {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.4s var(--transition-smooth);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 14px 16px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 85vh;
    }

    .hero-inner {
        min-height: 50vh;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ── Utility Classes ──────────────────────────────────────── */
.text-gold { color: var(--gold-primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.pt-section { padding-top: var(--section-pad); }
.gap-24 { gap: 24px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
