/* --- VARIABLES & DESIGN SYSTEM --- */
:root {
    --bg-base: #030305;
    --bg-darker: #010102;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    
    --accent-1: #00C2FF; /* Cyan */
    --accent-2: #6B46C1; /* Deep Purple */
    --accent-3: #FF006A; /* Pink/Magenta for highlights */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

/* --- RESET & FOUNDATION --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise Texture for Depth */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    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");
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-lg { font-size: 1.25rem; }
.text-sm { font-size: 0.95rem; color: var(--text-secondary); }

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.grid {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.align-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.align-items-center { align-items: center; }

.mt-4 { margin-top: 2rem; }

/* --- COMPONENTS --- */

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    background: rgba(0, 194, 255, 0.1);
    border: 1px solid rgba(0, 194, 255, 0.2);
    color: var(--accent-1);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 4px 30px rgba(0, 194, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--bg-glass);
    border-color: rgba(255,255,255,0.2);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Glassmorphism Classes */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
}

.hover-lift:hover {
    transform: translateY(-10px);
    background: var(--bg-glass-hover);
    border-color: rgba(255,255,255,0.15);
}

/* Nav */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: baseline;
    font-family: 'Exo 2', sans-serif;
    font-style: italic;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.nav-links a:not(.btn):hover {
    color: var(--accent-1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.hero-subtitle {
    font-size: clamp(1.6rem, 3.25vw, 2.2rem);
    color: var(--text-secondary);
    max-width: 850px;
    margin: 0 auto 3rem;
}
.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero BG & Orbs (Animations) */
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    z-index: 1;
}
.orb-1 {
    width: 600px; height: 600px;
    background: var(--accent-2);
    top: -20%; right: -10%;
    animation: float 20s infinite alternate ease-in-out;
}
.orb-2 {
    width: 500px; height: 500px;
    background: rgba(0, 194, 255, 0.4);
    bottom: 10%; left: -10%;
    animation: float 25s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

/* About Section */
.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.section-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.feature-list {
    list-style: none;
    margin-top: 2rem;
}
.feature-list li {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature-list .icon {
    color: var(--accent-1);
    font-size: 0.8rem;
}

.presentation-card {
    background: linear-gradient(180deg, rgba(20,20,30,0.8) 0%, rgba(10,10,15,0.9) 100%);
}
.card-glow {
    position: absolute;
    top: -50px; left: -50px;
    width: 200px; height: 200px;
    background: var(--accent-2);
    filter: blur(80px);
    opacity: 0.3;
}
.code-window {
    font-family: var(--font-mono);
    position: relative;
    z-index: 2;
}
.window-headers {
    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%; }
.dot.red { background: #FF5A52; }
.dot.yellow { background: #E6C029; }
.dot.green { background: #53C22B; }
.window-body {
    color: #A0AEC0;
    font-size: 0.9rem;
    line-height: 1.8;
}
.highlight { color: var(--accent-1); font-weight: bold; }

/* Capabilities Section */
.section-header {
    margin-bottom: 4rem;
}
.card-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: rgba(0, 194, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 194, 255, 0.2);
}
.hover-lift h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-card {
    text-align: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(107, 70, 193, 0.1) 100%);
}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-glass);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.footer-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-links a:hover {
    color: var(--text-primary);
}

/* --- ANIMATIONS (Reveal on Scroll) --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified mobile nav */
    .hero-title { font-size: 2.5rem; }
    .section { padding: 5rem 0; }
    .section-title { font-size: 2.2rem; }
    .footer-content { flex-direction: column; text-align: center; }
}
