/* Reset & Base Styles */
:root {
    /* Investor-Grade Palette: Clean & Professional */
    --bg-main: #0A0A0A;
    /* Deep Black */
    --bg-surface: #1A1A1A;
    /* Elevated Surface */
    --text-color: #E0E0E0;
    /* Soft White */
    --text-muted: #888888;
    /* Neutral Gray */

    /* Single Brand Accent */
    --accent-neon: #2CFF05;
    /* Proactive Neon Green - Primary Accent */

    /* Neutral Palette */
    --neutral-100: #FFFFFF;
    --neutral-200: #E0E0E0;
    --neutral-300: #B0B0B0;
    --neutral-400: #888888;
    --neutral-500: #606060;
    --neutral-600: #404040;
    --neutral-700: #2A2A2A;
    --neutral-800: #1A1A1A;
    --neutral-900: #0A0A0A;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);

    /* Technical Palette */
    --color-electric: #1E90FF;
    --color-royal: #A020F0;
    --color-silver: #C0C0C0;

    /* Fused Background Gradient (Techno-Futuristic) */
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(30, 144, 255, 0.15) 0%, transparent 50%),
        radial-gradient(at 100% 0%, rgba(160, 32, 240, 0.15) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(192, 192, 192, 0.1) 0%, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);

    /* Typography */
    --font-heading: 'Anton', impact, sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
    /* Senior Accessibility Min */
}

/* Glass Panel - Simplified Solid */
.glass-panel {
    background: var(--neutral-800);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.glass-panel::before {
    display: none;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.bento-card {
    background: var(--neutral-800);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    transition: var(--transition);
}

.bento-card:hover {
    border-color: var(--accent-neon);
    box-shadow: 0 8px 24px rgba(44, 255, 5, 0.15);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neutral-100);
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Fixed Background Layer - Mesh Gradient */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: #0A0A0A;
    /* Base deep tone */
}

.fixed-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    opacity: 0.7;
    mix-blend-mode: plus-lighter;
    /* Sophisticated fusion */
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    /* Liquid Chrome Effect */
}

/* Neon Glass-Embossed Glossy Text */
.text-neon-gloss {
    color: var(--accent-neon);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4),
        /* Upper Glass Highlight */
        0 -1px 0 rgba(0, 0, 0, 0.3),
        /* Lower Emboss Shadow */
        0 0 15px rgba(44, 255, 5, 0.6);
    /* Neon Glow */
    font-family: var(--font-heading);
    /* Ensure clean heading font */
    letter-spacing: 1px;
}

/* Flat Neon Blue Text (No Emboss) */
.text-neon-blue {
    color: var(--accent-neon-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
    font-family: var(--font-body);
    /* Or heading depending on context, using body for subtext flow */
    font-weight: 600;
}

/* Override font for huge titles if needed */
h1.text-neon-blue,
h2.text-neon-blue {
    font-family: var(--font-heading);
}

/* Clean Neon Green (No Blur/Glassmorphism) */
.text-neon-green {
    color: var(--accent-neon);
    text-shadow: 0 0 10px rgba(44, 255, 5, 0.6);
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-weight: 400;
    /* Slightly heavier for contrast */
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-brand);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
    filter: brightness(1.1);
}

/* Navbar Fix */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    /* Ensure visible above everything */
    pointer-events: auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #0F172A;
    /* Dark Text */
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    /* Stronger glass for nav */
    padding: 0.7rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.nav-links a {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-primary);
    text-shadow: 0 0 15px var(--accent-primary);
}

/* Hero Section - Investor Grade */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem 0;
    background: transparent;
    /* Fused background fusion */
    position: relative;
}

.hero-bg {
    display: none;
}

.hero-gradient-overlay {
    display: none;
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.hero-text {
    padding: 3rem 0;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-image-big {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.brand-container {
    margin-bottom: 2rem;
}

.brand-main {
    font-size: 9rem;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    background: #C0C0C0;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-sub {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: #888888;
    letter-spacing: 3px;
}

.hero-subtitle {
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(16, 16, 16, 0.8);
    border-left: 4px solid var(--accent-neon);
    font-size: 1.25rem;
    line-height: 1.8;
    color: #E0E0E0;
    font-family: var(--font-body);
    font-weight: 400;
    max-width: 600px;
}

.hero-subtitle strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* Animations - Disabled for Investor-Grade Clarity */
.fade-in-up {
    opacity: 1;
    transform: none;
    animation: none;
}

.delay-1,
.delay-2 {
    animation: none;
}

/* Tech Moat Section */
.tech-moat-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.5));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.tech-visual {
    position: relative;
}

.xray-target {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.tech-specs .spec-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.spec-card:hover {
    background: rgba(46, 91, 255, 0.05);
    border-color: var(--accent-color);
    transform: translateX(10px);
}

.spec-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* No-UI Section */
.no-ui-section {
    padding: 6rem 0;
    position: relative;
    background: transparent;
}

.no-ui-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

.img-glow {
    filter: drop-shadow(0 0 30px rgba(46, 91, 255, 0.2));
    border-radius: 20px;
}

/* Vision / Chart Section */
.vision-section {
    padding: 6rem 0;
    background: transparent;
}

.chart-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-row {
    margin-bottom: 2rem;
}

.chart-label {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.chart-label.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(46, 91, 255, 0.5);
}

.chart-bar-bg {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
}

.chart-bar {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    transition: width 1.5s ease-out;
}

.healthspan-bar {
    background: #64748B;
}

.decline-bar {
    background: linear-gradient(to right, #64748B, transparent);
    opacity: 0.3;
}

.now-bar {
    background: var(--gradient-brand);
    box-shadow: 0 0 20px rgba(46, 91, 255, 0.5);
}

/* Uses Section */
.uses-section h2 {
    margin-bottom: 3rem;
    text-align: center;
}

.uses-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.use-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.use-caption {
    background: linear-gradient(to top, rgba(11, 11, 11, 0.95), transparent);
    color: var(--white);
    padding: 2rem;
}

.use-caption h3 {
    color: var(--white);
    text-shadow: none;
}

.use-caption p {
    color: var(--text-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-brand);
    transition: var(--transition);
    z-index: -1;
    opacity: 0.2;
}

.btn-primary:hover {
    color: var(--bg-main);
    background: var(--accent-primary);
    box-shadow: 0 0 30px rgba(46, 91, 255, 0.6);
    border-color: var(--accent-secondary);
}

/* Bento Grid System - Revised for Equality */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Equal columns */
    grid-template-rows: auto;
    gap: 1.5rem;
    max-width: 1000px;
    /* Aligned with processor image width */
    margin: 2rem auto;
}

.bento-card {
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Top align */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Reset specific spans */
.card-brain,
.card-body,
.card-hub {
    grid-column: span 1;
    grid-row: auto;
    background: var(--glass-bg);
    /* Uniform look */
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px -10px rgba(46, 91, 255, 0.3);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    z-index: 2;
    color: var(--white);
}

/* Kinetic Architecture Grid */
.kinetic-architecture {
    padding: 8rem 0;
    background: transparent;
    /* Allow global fusion to show through */
}

.tech-loop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.loop-card {
    background: rgba(10, 10, 10, 0.8);
    /* Semi-transparent for fusion */
    border: 1px solid var(--border-color);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    /* Premium glass effect for techno-futuristic vibe */
}

.loop-card:hover {
    border-color: var(--color-royal);
    box-shadow: 0 10px 40px rgba(160, 32, 240, 0.15);
}

.loop-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loop-icon svg {
    width: 32px;
    height: 32px;
}

.loop-card .loop-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-silver);
}

.loop-card .tech-specs {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.loop-card:nth-child(1) .loop-icon svg {
    color: var(--color-electric);
}

.loop-card:nth-child(2) .loop-icon svg {
    color: var(--color-royal);
}

.loop-card:nth-child(3) .loop-icon svg {
    color: var(--color-silver);
}

.loop-card::after {
    content: 'TECHNICAL SPECIFICATION';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    opacity: 0.3;
}

/* Footer Adjustments */
.uae-seal {
    width: 180px;
    /* Increased size */
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-big {
        max-width: 100%;
    }
}

/* Titanium Badge */
.titanium-badge {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-block;
}

.uses-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
    margin-top: 3rem;
}

.uses-list li::before {
    color: #D946EF;
}

/* Cyber Footer */
.cyber-footer {
    background: #050505;
    padding: 5rem 0 2rem;
    position: relative;
    border-top: none;
}

.footer-line-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-brand);
    box-shadow: 0 0 20px var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sovereign-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 91, 255, 0.1);
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-top: 1.5rem;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(46, 91, 255, 0.5);
}

.uae-seal-container {
    margin-bottom: 2rem;
}

.uae-seal {
    width: 120px;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 0 15px rgba(234, 179, 8, 0.3));
    /* Gold/Blue glow */
}

.seal-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    max-width: 400px;
    margin: 0 auto;
}

/* ========================================
   MOBILE RESPONSIVENESS - Enhanced for Investor-Grade Design
   ======================================== */

/* Tablet and Below (992px) */
@media (max-width: 992px) {
    .split-hero {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero {
        padding: 4rem 0 3rem 0;
        min-height: auto;
    }

    .hero-text {
        padding: 2rem 0;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .container {
        padding: 0 2rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    /* Hero Section */
    .hero {
        padding: 3rem 0 2rem 0;
    }

    .brand-main {
        font-size: 5rem !important;
        line-height: 1;
        letter-spacing: -2px;
    }

    .brand-sub {
        font-size: 1.5rem;
        letter-spacing: 2px;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 1.5rem;
        margin-top: 2rem;
        max-width: 100%;
        line-height: 1.6;
    }

    .btn-primary {
        width: 100%;
        margin-top: 2rem;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .single-line-header {
        font-size: 1.75rem;
        white-space: normal;
        line-height: 1.2;
    }

    /* Bento Grid */
    .bento-grid {
        gap: 1rem;
        margin-top: 2rem;
    }

    .bento-card {
        padding: 1.5rem;
    }

    .bento-card h3 {
        font-size: 1.25rem;
    }

    /* Layout Reversals for Mobile */
    .mobile-reverse,
    .flip-mobile,
    .no-ui-section .split-layout {
        display: flex;
        flex-direction: column-reverse;
    }

    /* About Section */
    .about-brand {
        font-size: 4rem !important;
    }

    .glass-panel {
        padding: 2rem !important;
    }

    /* Footer */
    .cyber-footer .container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center !important;
        min-width: 100%;
    }

    .uae-seal {
        width: 150px !important;
    }

    .titanium-badge {
        font-size: 0.75rem !important;
    }

    /* Container Padding */
    .container {
        padding: 0 1.5rem;
        max-width: 100% !important;
    }

    /* Spacing Adjustments */
    .split-hero {
        gap: 2rem;
    }

    .tech-loop-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .loop-card {
        padding: 2rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .brand-main {
        font-size: 3.5rem !important;
    }

    .brand-sub {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .single-line-header {
        font-size: 1.5rem;
    }

    .about-brand {
        font-size: 3rem !important;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Animations for No-UI Popups */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(44, 255, 5, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(44, 255, 5, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(44, 255, 5, 0);
    }
}

@keyframes wave-scan {
    0% {
        opacity: 0.5;
        height: 5px;
    }

    50% {
        opacity: 1;
        height: 15px;
    }

    100% {
        opacity: 0.5;
        height: 5px;
    }
}

@keyframes slide-in-glass {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}