@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #030305;
    --bg-grid: #0a0a12;
    --card-bg: rgba(20, 20, 30, 0.6);
    --accent-primary: #00f2ff;
    --accent-secondary: #bd00ff;
    --accent-tertiary: #ffffff;
    --text-main: #ffffff;
    --text-muted: #8f9bb3;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --spacing-container: 1280px;
    --transition-speed: 0.4s;
    --neon-glow: 0 0 10px rgba(0, 242, 255, 0.3), 0 0 20px rgba(0, 242, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-main);
}

h1 { 
    font-size: 4.5rem; 
    letter-spacing: -2px; 
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 20%, var(--accent-primary) 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

h2 { font-size: 3rem; margin-bottom: 1rem; letter-spacing: -1px; }
h3 { font-size: 1.75rem; color: var(--text-main); margin-bottom: 0.75rem; }
.subtitle { color: var(--accent-primary); font-family: monospace; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; display: block; }
p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.15rem; max-width: 65ch; }

/* Interactive Elements */
a { text-decoration: none; color: inherit; transition: var(--transition-speed); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 1;
    white-space: nowrap;
}

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

.btn:hover { color: #000; box-shadow: var(--neon-glow); }
.btn:hover::before { width: 100%; }

.btn-primary {
    background: var(--accent-primary);
    color: #000;
    border: none;
}
.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

/* Layout */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

section { padding: 6rem 0; position: relative; }

/* Header */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(3, 3, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; display: flex; align-items: center; gap: 0.5rem; }
.logo span { color: var(--accent-primary); }
.nav-links { display: flex; gap: 3rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; opacity: 0.7; position: relative; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--accent-primary); transition: width 0.3s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem; /* Increased padding to clear fixed header */
    padding-bottom: 4rem;
    overflow: hidden;
    position: relative;
}

.hero-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw; height: 80vh;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.08) 0%, transparent 60%);
    z-index: -1;
    animation: pulse-glow 5s infinite alternate;
}

@keyframes pulse-glow { 0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); } 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); } }

/* Marquee (Infinite Scroll) */
.marquee-section { padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); background: #050508; overflow: hidden; position: relative; }
.marquee-content { display: flex; gap: 4rem; animation: scroll 30s linear infinite; white-space: nowrap; min-width: 200%; }
.marquee-item { font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.2); text-transform: uppercase; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Cards & Grid */
.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Better responsiveness */
    gap: 2rem; 
}
.grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 4px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure uniform height in grid */
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    background: rgba(20, 20, 30, 0.8);
}

.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

/* Timeline / Workflow */
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid rgba(255,255,255,0.1); margin-top: 3rem; }
.timeline-item { position: relative; padding-bottom: 3rem; padding-left: 1rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -2.6rem; top: 0.2rem; width: 0.8rem; height: 0.8rem;
    background: #000; border: 2px solid var(--accent-primary); border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px var(--accent-primary);
}
.timeline-item:last-child { border-left: none; padding-bottom: 0; }

/* Stats */
.stat-card { text-align: center; padding: 2rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s; }
.stat-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.04); }
.stat-number { font-size: 3.5rem; font-weight: 800; color: var(--accent-primary); display: block; margin-bottom: 0.5rem; line-height: 1; }
.stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* Abstract Visuals */
.hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.visual-orb-container { position: relative; width: 100%; max-width: 500px; height: 400px; display: flex; align-items: center; justify-content: center; }
.orb {
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent-secondary), transparent);
    filter: blur(40px); opacity: 0.6; position: absolute; animation: float 6s ease-in-out infinite;
}
.orb-2 {
    width: 150px; height: 150px; background: radial-gradient(circle at 70% 70%, var(--accent-primary), transparent);
    animation: float 4s ease-in-out infinite reverse; top: 20%; right: 20%;
}
.ui-layer {
    position: relative; z-index: 2; width: 100%; height: 60%;
    background: rgba(20,20,20,0.6); border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px); display: flex; flex-direction: column; padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.ui-line { height: 10px; background: rgba(255,255,255,0.1); margin-bottom: 10px; border-radius: 2px; }
.ui-line:nth-child(1) { width: 60%; }
.ui-line:nth-child(2) { width: 80%; }
.ui-line:nth-child(3) { width: 40%; }
.ui-graph { flex-grow: 1; display: flex; align-items: flex-end; gap: 5px; padding-top: 20px; }
.ui-bar { flex: 1; background: var(--accent-primary); opacity: 0.5; border-radius: 2px 2px 0 0; animation: grow-bar 2s infinite alternate; }

@keyframes grow-bar { 0% { height: 20%; } 100% { height: 80%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Footer */
footer { background: #000; padding: 5rem 0 2rem; border-top: 1px solid #222; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-col h4 { color: #fff; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 0.8rem; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent-primary); transform: translateX(5px); }
.copyright { text-align: center; padding-top: 2rem; border-top: 1px solid #111; color: #444; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 3.5rem; }
    .hero { text-align: center; padding-top: 8rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .visual-orb-container { height: 300px; margin: 0 auto; }
    .nav-links { display: none; } /* Mobile Menu would go here */
    .timeline { margin-left: 1rem; }
}

@media (max-width: 768px) {
    .grid-3, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .stat-number { font-size: 2.5rem; }
}
