/* Global Variables & Theme */
:root {
    --bg-color: #000000;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-hover-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-accent: #00f3ff; /* Electric Blue */
    --secondary-accent: #bc13fe; /* Neon Purple */
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --section-spacing: 120px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Particle Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.2; /* Increased visibility from 0.4 */
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-accent), #ffffff, var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Navbar (Dynamic Island Style) */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;  /* Increased width */
    min-width: 600px;
    max-width: 1200px;
    padding: 15px 40px; /* Slightly larger padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    
    /* Strong Glass Effect */
    background: rgba(10, 10, 15, 0.3); /* Much more transparent */
    backdrop-filter: blur(30px) saturate(180%); /* Strong blur + vibrance */
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    
    /* Pill Shape */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12); /* Sharper border */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); /* Deeper shadow for lift */
    
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar:hover {
    background: rgba(10, 10, 15, 0.5);
    border-color: var(--primary-accent); /* Glow border on hover */
    box-shadow: 0 20px 60px rgba(0, 243, 255, 0.15);
    transform: translateX(-50%) scale(1.01);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #fff;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    color: var(--text-muted);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    padding-top: 80px; /* Offset for navbar */
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem); /* Responsive font size */
    margin-bottom: 30px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 50px;
}

/* Button */
.btn {
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--primary-accent);
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-accent);
    z-index: -1;
    transition: width 0.4s ease;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

.btn-secondary {
    border-color: var(--secondary-accent);
}
.btn-secondary::before {
    background: var(--secondary-accent);
}
.btn-secondary:hover {
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.4);
}

/* Sections */
section {
    padding: var(--section-spacing) 5%;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 80px;
    text-align: center;
}

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

/* Zig-Zag / Split Layout */
.split-layout {
    display: flex; /* flex layout */
    align-items: center;
    gap: 60px;
    margin-bottom: 100px; /* Space between rows */
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    height: 400px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
}

.split-image:hover {
    transform: scale(1.02);
}

/* Stats Counter */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    margin-top: 50px;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--primary-accent);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Cards (Standard) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 16px;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-15px);
    background: var(--card-hover-bg);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.card-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.1);
    color: var(--primary-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Footer */
footer {
    padding: 80px 5% 40px;
    background: #02020a;
    border-top: 1px solid var(--card-border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    text-align: left;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-col ul li a:hover {
    color: var(--primary-accent);
}

/* Mobile */
@media (max-width: 900px) {
    .split-layout, .split-layout.reverse {
        flex-direction: column;
    }
    .hero h1 { font-size: 3.5rem; }
    .nav-links { display: none; } /* TODO: Add mobile menu toggle */
}

/* --- NEW SECTIONS STYLES --- */

/* Comparison Table (Paradigm Shift) */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.comparison-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.comparison-card.tradfi {
    border-color: rgba(255, 50, 50, 0.2);
}
.comparison-card.tradfi h3 { color: #ff4d4d; }

.comparison-card.defi {
    border-color: rgba(0, 243, 255, 0.3);
    background: rgba(0, 243, 255, 0.03);
}
.comparison-card.defi h3 { color: var(--primary-accent); }

.comp-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comp-row:last-child { border-bottom: none; }

/* How It Works (Process) */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.process-steps::before { /* Connecting Line */
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    z-index: -1;
    opacity: 0.3;
}

.step-card {
    background: #050510; /* Cover line behind */
    width: 30%;
    text-align: center;
    padding: 20px;
    border: 1px solid var(--card-border);
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover { transform: translateY(-10px); }

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

/* ROI Calculator */
.calculator-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.slider-group {
    margin-bottom: 30px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--primary-accent);
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary-accent);
    transition: transform 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.2); }

.calc-result {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.result-val {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--primary-accent);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

/* Community Terminal */
.terminal-window {
    background: #0a0a15;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    color: #00ff88;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.terminal-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dot { width: 12px; height: 12px; border-radius: 50%; background: #ff5f56; }
.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #27c93f; }

.terminal-body p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cursor { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 768px) {
    .comparison-container { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; align-items: center; gap: 30px; }
    .step-card { width: 100%; }
}

/* Holographic Feature Cards (Why Us) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    position: relative;
    background: #00323b; /* slightly lighter than bg */
    border-radius: 16px;
    padding: 2px; /* Space for the border */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        var(--primary-accent)
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card-inner {
    background: rgb(1 7 8 / 95%);
    border-radius: 14px; /* Slightly smaller than parent */
    padding: 40px;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(255,255,255,0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary-accent);
    border: 1px solid rgba(255,255,255,0.05);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- PROJECTS DASHBOARD STYLES --- */

/* Ecosystem Monitor (Header) */
.ecosystem-monitor {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.monitor-stat {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--primary-accent);
    padding: 15px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.monitor-stat .val {
    display: block;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
}

.monitor-stat .label {
    font-size: 0.8rem;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Status Bar */
.status-bar {
    display: flex;
    gap: 20px;
    background: #02020a;
    border: 1px solid var(--card-border);
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow-x: auto;
}

.status-item span {
    color: var(--primary-accent);
    font-weight: bold;
}

/* Tech Spec Grid */
.tech-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.spec-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.spec-val {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
}

/* Tech Tags */
.tech-stack {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tech-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    color: var(--text-muted);
    background: rgba(0,0,0,0.3);
}

.tech-tag.highlight {
    border-color: var(--secondary-accent);
    color: var(--secondary-accent);
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.2);
}

@media (max-width: 768px) {
    .tech-spec-grid { grid-template-columns: 1fr; }
    .status-bar { flex-direction: column; gap: 5px; }
}

/* --- PROJECT VISUAL ANIMATIONS --- */

.project-visual {
    position: relative;
    background: #020205 !important; /* Override inline bg */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 1. SantrX: Data Pillars */
.santrx-visual {
    gap: 15px;
    align-items: flex-end;
    padding-bottom: 80px;
}
.data-pillar {
    width: 20px;
    background: linear-gradient(0deg, var(--primary-accent), transparent);
    opacity: 0.7;
    animation: pillarRise 2s ease-in-out infinite alternate;
    border-top: 2px solid #fff;
    box-shadow: 0 0 15px var(--primary-accent);
}
@keyframes pillarRise {
    0% { height: 20%; opacity: 0.3; }
    100% { height: 70%; opacity: 1; }
}

/* 2. Karma: Ripple Core */
.karma-visual { position: relative; }
.ripple {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--secondary-accent);
    border-radius: 50%;
    animation: rippleExpand 4s linear infinite;
    opacity: 0;
    box-shadow: 0 0 20px var(--secondary-accent); /* Glow */
}
@keyframes rippleExpand {
    0% { width: 0; height: 0; opacity: 1; border-width: 5px; }
    100% { width: 400px; height: 400px; opacity: 0; border-width: 0px; }
}

/* 3. Bullguard: Radar Shield */
.bullguard-visual { position: relative; }
.radar-circle {
    width: 250px;
    height: 250px;
    border: 2px solid #ffc800;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 200, 0, 0.2) inset;
    background: rgba(255, 200, 0, 0.05); /* Faint fill */
}
.radar-sweep {
    position: absolute;
    top: 50%; left: 50%;
    width: 50%; height: 2px;
    background: linear-gradient(90deg, transparent, #ffc800);
    transform-origin: left center;
    animation: radarSpin 2s linear infinite;
}
.radar-blip {
    position: absolute;
    width: 8px; height: 8px; background: #fff; border-radius: 50%;
    top: 30%; left: 70%;
    animation: blink 1s infinite;
    box-shadow: 0 0 10px #fff;
}
@keyframes radarSpin { 100% { transform: rotate(360deg); } }

/* 4. Techmont: Hyper Cube (2D Simulation) */
.techmont-visual { perspective: 800px; }
.cube-box {
    width: 150px; height: 150px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeSpin 8s linear infinite;
}
.cube-face {
    position: absolute;
    width: 150px; height: 150px;
    border: 2px solid #6464ff;
    background: rgba(100, 100, 255, 0.1);
    box-shadow: 0 0 20px rgba(100, 100, 255, 0.3) inset;
}
.front  { transform: translateZ(75px); }
.back   { transform: translateZ(-75px); }
.right  { transform: rotateY(90deg) translateZ(75px); }
.left   { transform: rotateY(-90deg) translateZ(75px); }
.top    { transform: rotateX(90deg) translateZ(75px); }
.bottom { transform: rotateX(-90deg) translateZ(75px); }

@keyframes cubeSpin {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* 5. Rentalligence: Neural Grid */
.rentalligence-visual {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    padding: 40px;
}
.neural-node {
    width: 100%;
    padding-bottom: 100%; /* square ratio */
    background: #004422;
    border-radius: 50%;
    animation: nodeFlash 2s infinite;
}
@keyframes nodeFlash {
    0%, 100% { background: #004422; transform: scale(1); }
    50% { background: #00ff88; transform: scale(1.2); box-shadow: 0 0 15px #00ff88; }
}

/* --- ABOUT PAGE: MODERN CLEAN THEME --- */

/* 1. Genesis Hero (Modern) */
.genesis-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a2e 0%, #000 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* Subtle background pulse instead of rings */
.genesis-hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: var(--primary-accent);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    animation: pulseGlow 5s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
    0% { opacity: 0.1; transform: scale(1); }
    100% { opacity: 0.2; transform: scale(1.2); }
}

.genesis-hero h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    z-index: 2;
}
.genesis-hero p {
    text-align: center; /* Enforce center */
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    background: transparent !important; /* Remove box */
    border: none;
    backdrop-filter: none;
    z-index: 2;
}

/* 2. Directives Grid (Modern) */
.directives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}
.directive-card {
    background: rgba(255, 255, 255, 0.03); /* Very subtle glass */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px; /* Modern Rounding */
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.directive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: rgba(255, 255, 255, 0.05);
}
/* Remove side bar, center everything */
.directive-card::before { display: none; }

.directive-id {
    font-family: var(--font-body); /* Standard font, no monospace */
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    opacity: 0.7;
}
.directive-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 3. Architect Cards (Modern Team) */
.architect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    text-align: center;
}
.architect-card {
    background: transparent;
    border: none;
    clip-path: none; /* Remove sci-fi cut */
}
.architect-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Circle profile pictures */
    margin: 0 auto 25px; /* Center horizontally */
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: 0.4s ease;
    border: 2px solid rgba(255,255,255,0.1);
}
.architect-card:hover .architect-photo {
    filter: grayscale(0%);
    border-color: var(--primary-accent);
    transform: scale(1.05);
}
/* Clean text below */
.hud-overlay { display: none; } /* Remove HUD entirely */

.architect-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}
.architect-card p {
    font-size: 1rem;
    color: var(--text-muted);
}
.architect-stats-modern {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--primary-accent);
}

/* 4. System Roadmap (Centered Vertical) */
.roadmap-container {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0; /* Center container */
    padding: 0;
    border: none;
    text-align: center; 
}
/* Center Line */
.roadmap-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--primary-accent), transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

.roadmap-node {
    margin-bottom: 80px;
    position: relative;
    background: #050510; /* Match bg to hide line behind text if needed */
    padding: 20px;
    z-index: 2;
    /* Glass box centered */
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
/* Center Dot */
.roadmap-node::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -10px; /* Put dot on top border */
    transform: translateX(-50%);
    width: 20px; height: 20px;
    background: var(--bg-color);
    border: 3px solid var(--primary-accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-accent);
    z-index: 3;
}
.roadmap-node.future::before {
    border-color: var(--text-muted);
    box-shadow: none;
}

.roadmap-date {
    font-family: var(--font-heading);
    color: var(--primary-accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
    justify-content: center; /* Align text center */
}
.roadmap-date::after { display: none; } /* Remove line */

.roadmap-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    background: transparent;
    border: none;
    max-width: 100%;
}

/* --- CONTACT PAGE: MODERN MINIMALIST --- */

/* 1. Contact Hero (Shared with Genesis pulse style) */
/* No extra CSS needed, reusing .genesis-hero styles */

/* 2. Department Grid */
.department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}
.dept-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: 0.3s ease;
}
.dept-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: var(--primary-accent);
}
.dept-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0,243,255,0.3));
}
.dept-email {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

/* 3. Modern Form */
.form-section-wrapper {
    max-width: 700px;
    margin: 80px auto;
    text-align: center;
}
.modern-form {
    background: rgba(255,255,255,0.02);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}
.form-group {
    margin-bottom: 25px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-left: 15px;
}
.modern-input {
    width: 100%;
    padding: 15px 25px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px; /* Pill shape */
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}
textarea.modern-input {
    border-radius: 20px; /* Less rounded for textarea */
    resize: vertical;
}
.modern-input:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    background: rgba(0,0,0,0.5);
}

/* 4. Global Hubs */
.locations-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
    text-align: center;
}
.hub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.hub-circle {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* 5. FAQ Accordion */
.faq-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}
.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-accent);
    transition: 0.3s;
}
details[open] .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 15px;
    padding-right: 20px;
}


/* --- RESPONSIVE & MOBILE MENU --- */

/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
    line-height: 1;
    margin-top: 2px;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    /* Navbar adaption */
    .navbar {
        width: 90%;
        min-width: unset;
        justify-content: space-between;
        flex-wrap: wrap; /* Allow expansion */
        padding: 15px 25px;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow: hidden;
        height: 70px; /* Collapsed height matches content */
        align-items: flex-start; /* Align top when expanded */
    }
    
    /* Center logo and burger vertically in collapsed state */
    .navbar:not(.expanded) {
        align-items: center;
    }

    .navbar.expanded {
        height: 450px; /* Expanded height */
        background: rgba(10, 10, 15, 0.98); /* Less transparent for legibility */
        border-radius: 30px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    }
    
    .navbar .logo {
        z-index: 1002; /* Ensure logo stays clickable */
    }

    .nav-links {
        display: none; /* Hide generally */
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-top: 40px; /* Space from top */
        opacity: 0;
        transition: opacity 0.3s ease 0.1s; /* Slight delay */
    }

    .navbar.expanded .nav-links {
        display: flex;
        opacity: 1;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hero Typography */
    .hero h1 { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }

    /* Layout Stacking */
    .split-layout, .split-layout.reverse {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .projects-grid, .feature-grid, .department-grid, .architect-grid, .tech-spec-grid {
        grid-template-columns: 1fr; /* Force single col */
    }
    
    /* Stats */
    .stats-container {
        flex-direction: column;
        gap: 40px;
    }

    /* Comparison Table */
    .comparison-container {
        grid-template-columns: 1fr;
    }
    
    /* Process Steps */
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    .process-steps::before {
        width: 2px;
        height: 80%;
        left: 50%;
        top: 0;
    }
    .step-card { width: 100%; }

    /* Contact Form & Footer */
    .form-section-wrapper { margin: 40px auto; padding: 0 20px; }
    .footer-content { flex-direction: column; gap: 30px; }
    
    /* Roadmap Mobile */
    .roadmap-container {
       padding-left: 0;
       margin-left: 0;
    }
    .roadmap-node {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .navbar { width: 95%; top: 10px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    
    .monitor-stat { width: 100%; }
    .status-bar { font-size: 0.7rem; }
}
