:root {
    /* ArkAI Design System V5.1 - Authority & Control */
    --bg-dark: #030712;
    --ark-blue: #2563eb;
    --ark-glow: rgba(37, 99, 235, 0.15);
    
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --orange-500: #f97316;
    
    --font-display: 'Inter', sans-serif; /* Using Inter since it matches the broad authoritative look */
    --font-heading: 'Rajdhani', sans-serif;
}

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

body {
    background: radial-gradient(circle at 50% 0%, #0f172a 0%, #020617 100%);
    background-attachment: fixed;
    color: var(--slate-300);
    font-family: var(--font-display);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Vignette / Background Glow */
.page-wrapper {
    min-height: 100vh;
    background: radial-gradient(circle at center, transparent 0%, rgba(37, 99, 235, 0.05) 100%);
    position: relative;
}

.glow-border {
    position: fixed;
    inset: 0;
    box-shadow: inset 0 0 150px rgba(37, 99, 235, 0.12);
    pointer-events: none;
    z-index: 999;
}

/* Navigation - 100px balanced header */
.nav-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1000;
    gap: 20px; /* Safety gap between brand and actions */
}

/* Logo & Brand */
.ark-brand {
    display: flex;
    align-items: center;
    gap: 12px; /* Balanced breathing room */
    text-decoration: none;
}

.ark-icon-box {
    width: 36px;
    height: 36px;
    background: var(--ark-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.ark-logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Navigation Groups */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-shrink: 0;
}

.nav-link {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 13px; /* Slightly refined for technical elegance */
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.btn-pill {
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

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

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--slate-300);
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

/* Hero Section - Authority through control */
.hero {
    padding: 60px 0 100px; /* Reduced top padding for immediate impact */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-status {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.h1-mega {
    font-size: 96px;
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 32px;
    max-width: 1000px;
    letter-spacing: -0.04em;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--slate-400);
    max-width: 800px;
    margin-bottom: 64px;
    line-height: 1.4;
}

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

.btn-large {
    height: 60px;
    padding: 0 40px;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

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

/* Section Spacing */
.section {
    padding: 120px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

/* OS Grid - matching the centered importance */
.os-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.os-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px;
    border-radius: 32px;
    text-align: left;
    transition: all 0.4s;
    text-decoration: none;
    display: block;
}

.os-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-8px);
}

.os-name {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.os-name span {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.noise {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
}

/* Footer */
.footer {
    padding: 80px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: var(--slate-400);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--amber-500);
}

/* Utilities */
.display-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .display-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Link Visibility Fix */
.text-link {
    color: #60a5fa !important;  /* Bright Blue for visibility on dark bg */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.text-link:hover {
    color: #93c5fd !important; /* Lighter blue on hover */
    transform: translateX(4px); /* Subtle movement */
}

/* Ensure all links inside OS cards are visible */
.os-card a:not(.btn-pill) {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

.os-card a:not(.btn-pill):hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* =========================================
   MOBILE RESPONSIVENESS & SEO OPTIMIZATIONS
   ========================================= */

@media (max-width: 1024px) {
    .h1-mega {
        font-size: 64px !important;
    }
    
    .nav-container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    
    /* Navigation */
    .nav-container {
        height: auto;
        padding: 24px;
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-actions {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }
    
    /* Hero */
    .hero {
        padding: 40px 20px 60px;
    }
    
    .h1-mega {
        font-size: 42px !important; /* Much smaller for mobile */
        margin-bottom: 24px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .btn-large {
        width: 100%;
    }
    
    /* Grids */
    .os-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 24px;
    }
    
    /* Sections */
    .section {
        padding: 60px 20px;
    }
    
    .os-card {
        padding: 32px;
    }
    
    /* Stats/Trust Stacking */
    .hero div[style*="flex"] {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px !important;
    }
}
