:root {
    /* Elite Midnight and Platinum Gold Palette */
    --midnight: #020405;
    --navy-deep: #05080A;
    --gold: #D4AF37; /* Metallic Gold */
    --gold-muted: rgba(212, 175, 55, 0.7);
    --gold-bright: #F4CF63;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --surface: rgba(17, 24, 39, 0.6);
    --border: rgba(255, 255, 255, 0.08);
    
    /* Layout */
    --container-max-width: 1300px;
    --header-height: 90px;
    
    /* Typography Scale */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 2rem;
    --fs-4xl: 3rem;
    --fs-5xl: 5rem;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--midnight);
}

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

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography & Visuals */
.text-gold {
    color: var(--gold);
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--midnight);
}

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

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

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

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

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Header & Nav */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(2, 4, 5, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 2px;
}

.logo-text span {
    font-weight: 400;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links li a:hover {
    opacity: 1;
    color: var(--gold);
}

.nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--midnight);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.3s ease-out;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Institutional Base */
section {
    padding: 180px 0;
}

.section-title {
    font-size: var(--fs-4xl);
    margin-bottom: 2rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
}

.section-header {
    margin-bottom: 10rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    background: radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.hero-content {
    max-width: 850px;
    z-index: 10;
}

.hero h1 {
    font-size: var(--fs-5xl);
    margin-bottom: 2rem;
    line-height: 1.05;
}

.hero p {
    font-size: var(--fs-xl);
    max-width: 650px;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    line-height: 1.5;
}

.secondary-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--midnight) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 800px;
    height: 800px;
    z-index: 1;
    pointer-events: none;
}

.glow-sphere {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

/* Fade Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

.service-card {
    background: var(--surface);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 2rem;
    color: var(--gold);
}

.service-icon i {
    width: 3rem;
    height: 3rem;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
}

/* Platforms */
.platforms {
    background: var(--midnight);
    text-align: center;
}

.platforms-header {
    margin-bottom: 4rem;
}

.platforms-header h2 {
    font-size: 2.5rem;
}

.platform-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: center;
}

.platform-item {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
    padding: 1rem;
    border: 1px solid var(--border);
    width: 100%;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.platform-item:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* About */
.about {
    background: var(--navy-deep);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-list li i {
    color: var(--gold);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* CTA */
.cta {
    background: var(--midnight);
}

.cta-card {
    background: linear-gradient(to right, #111827, #05080A);
    border: 1px solid var(--gold);
    padding: 5rem;
    text-align: center;
    border-radius: 12px;
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--navy-deep);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Tech Section */
.tech {
    background: var(--midnight);
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tech-card i {
    color: var(--gold-muted);
    width: 2rem;
    height: 2rem;
    margin-bottom: 1.5rem;
}

.tech-card h4 {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--gold);
}

.tech-card p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    max-width: 250px;
}

/* About Lead */
.about-lead {
    font-size: var(--fs-xl);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Global Footprint Section */
.global {
    background: linear-gradient(180deg, var(--midnight) 0%, var(--navy-deep) 100%);
    text-align: center;
}

.global-map-visual {
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 6rem auto;
    position: relative;
    background: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.15;
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(10deg);
    display: flex;
    justify-content: center;
    align-items: center;
    mask-image: radial-gradient(circle, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 50%, transparent 100%);
}

.global-map-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.global-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: var(--fs-4xl);
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: var(--fs-xs);
}

/* The Workstation Section */
.workstation {
    background: var(--midnight);
}

.ws-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.ws-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border: 1px solid var(--border);
}

.ws-preview img {
    width: 100%;
    display: block;
}

.ws-text h2 {
    margin-bottom: 2rem;
}

.ws-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a.active {
    color: var(--gold);
    opacity: 1;
}

.nav-links li a:focus {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-method i {
    color: var(--gold);
    width: 2.5rem;
    height: 2.5rem;
}

.contact-method h5 {
    font-size: var(--fs-lg);
    margin-bottom: 0.2rem;
}

.elite-form {
    background: var(--surface);
    padding: 4rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: var(--gold-muted);
}

.elite-form input, .elite-form select, .elite-form textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.elite-form input:focus, .elite-form select:focus, .elite-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.w-full { width: 100%; }

.form-success-msg {
    text-align: center;
    padding: 4rem 2rem;
    animation: fadeIn 0.5s ease-out;
}

.form-success-msg h3 {
    font-size: var(--fs-2xl);
    margin-bottom: 1rem;
}

.form-success-msg p {
    color: var(--text-secondary);
}

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

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
    .secondary-hero { height: 50vh; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    .cta-card { padding: 3rem 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
