:root {
    /* === BRAND COLORS (60:30:10 Rule) === */
    --navy:          #001F3F;   /* Primary: 60% - Sovereign Navy */
    --silver:        #8E9294;   /* Secondary: 30% - Titanium Silver */
    --cyan:          #00E5FF;   /* Accent: 10% - Core Cyan */
    
    /* === BASE PALETTE === */
    --bg-deep:       #020408;
    --text-primary:   #FFFFFF;
    --text-secondary: #B0B3B8;
    --text-muted:     #6D727A;
    
    /* === GRADIENTS === */
    --grad-hero:     linear-gradient(135deg, var(--navy) 0%, #000 100%);
    --grad-cyan:     linear-gradient(135deg, var(--cyan) 0%, #00B2CC 100%);
    --grad-text:     linear-gradient(135deg, #FFF 0%, var(--silver) 100%);
    
    /* === EFFECTS === */
    --glass-border:  rgba(0, 229, 255, 0.2);
    --glass-bg:      rgba(0, 25, 50, 0.4);
    --ease:          all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --container-width: 1200px;
}

/* ─── Base ─────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Blobs - Subtle & Elegant */
.blob {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 31, 63, 0.2) 0%, transparent 70%);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -2;
    pointer-events: none;
    animation: move 30s infinite alternate ease-in-out;
}

.blob-1 { top: -200px; right: -200px; background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%); }
.blob-2 { bottom: -200px; left: -200px; animation-duration: 40s; }

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.1); }
}

/* Hexagon Pattern */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45v-30L30 0z' fill-opacity='0.02' fill='%2300E5FF' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

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

section {
    padding: clamp(6rem, 12vh, 12rem) 0;
    position: relative;
}

/* ─── Typography ─────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

h1 { font-size: clamp(3.5rem, 10vw, 6.5rem); margin-bottom: 2rem; }
h2 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.5rem; }

.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.accent-text { 
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}
.mono { 
    font-family: 'Roboto Mono', monospace; 
    font-weight: 500;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    color: var(--cyan);
}

/* Increased Section Headers */
h4.mono {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}




/* ─── Components ─────────────────────────────────── */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3.5rem;
    transition: var(--ease);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
}

.glass-card:hover {
    border-color: var(--cyan);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 229, 255, 0.15);
}

.card-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    height: 3rem;
}

.card-icon-img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3));
}

.card-featured {
    border-color: var(--cyan);
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.concept-visual-wrapper {
    margin: -3.5rem -3.5rem 2rem -3.5rem;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.concept-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--ease);
}

.glass-card:hover .concept-img {
    opacity: 1;
    transform: scale(1.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 3.5rem;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--ease);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    position: relative;
}

.btn-primary {
    background: var(--grad-cyan);
    color: var(--navy);
    border: none;
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 229, 255, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.05);
}

.btn-outline:hover {
    border-color: var(--cyan);
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2), inset 0 0 15px rgba(0, 229, 255, 0.1);
}

/* ─── Specific Sections ─────────────────────────── */
nav {
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 4, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--ease);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.2rem; /* Tighter logo feel */
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: var(--ease);
}

.logo span { 
    color: var(--cyan); 
    text-shadow: 
        0 0 10px rgba(0, 229, 255, 0.9),
        0 0 20px rgba(0, 229, 255, 0.5),
        0 0 30px rgba(0, 229, 255, 0.3);
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    animation: neon-pulse 2s infinite alternate ease-in-out;
}

@keyframes neon-pulse {
    0% { filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.4)); }
    100% { filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.8)); }
}

.logo:hover {
    transform: scale(1.02);
}



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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--ease);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: var(--ease);
    box-shadow: 0 0 10px var(--cyan);
}

.nav-links a:hover { 
    color: #fff; 
}

.nav-links a:hover::after {
    width: 100%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content { max-width: 900px; }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-ui {
    width: 110%;
    max-width: none;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--glass-border);
}

@keyframes float {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(1deg); }
    100% { transform: translateY(0) rotate(0); }
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 4.5rem;
    max-width: 700px;
    line-height: 1.8;
}

.stat-pill {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.8rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.stat-pill .dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

/* Architecture Image Wrapper */
.arch-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9);
    background: #000;
}

.arch-wrapper img {
    width: 100%;
    display: block;
    transition: var(--ease);
}

.arch-wrapper:hover img {
    transform: scale(1.05);
}

/* Sections Backgrounds */
#platform, #solutions {
    background: linear-gradient(to bottom, rgba(0, 31, 63, 0.3), transparent);
}

/* Footer */
footer {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #010204;
    text-align: center;
}

.footer-logo { margin-bottom: 2rem; }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.05em; }

/* ─── Animations ─────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content { margin: 0 auto; }
    .hero p { margin: 0 auto 4rem; }
    .floating-ui { width: 100%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 3.5rem; }
}


/* Architecture Visual Component */
.arch-visual-container {
    padding: 2rem;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.layer-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 450px;
}

.layer-item {
    width: 100%;
    padding: 1.8rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: var(--ease);
    cursor: default;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.layer-item::before {
    content: attr(data-label);
    position: absolute;
    top: 6px;
    left: 12px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.55rem; /* Even more subtle */
    color: var(--cyan);
    opacity: 0.4; /* Subtle technical marker */
    letter-spacing: 0.15em;
    text-transform: uppercase;
    pointer-events: none;
}


.layer-content {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--silver);
    transition: var(--ease);
}

.layer-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    position: relative;
}

.layer-connector::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--cyan);
}

/* Layer Specific Highlights */
.p-layer { border-color: rgba(0, 229, 255, 0.4); }
.o-layer { border-color: rgba(142, 146, 148, 0.4); }
.i-layer { border-color: rgba(0, 229, 255, 0.4); }
.d-layer { border-color: rgba(142, 146, 148, 0.4); }
.nf-layer { border-color: rgba(0, 229, 255, 0.4); }

.layer-item:hover {
    transform: translateZ(30px) translateY(-5px);
    border-color: var(--cyan);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.2);
}

.layer-item:hover .layer-content {
    color: #fff;
    text-shadow: 0 0 10px var(--cyan);
}

/* Base Responsive Fixes */
@media (max-width: 768px) {
    .arch-visual-container { padding: 1rem; }
    .layer-item { padding: 1.2rem; }
    .layer-content { font-size: 0.9rem; }
}
