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

:root {
    --bg-dark: #0f1115;
    --bg-deep: #0b1320;
    --accent: #2f6bff;
    --accent-glow: rgba(47, 107, 255, 0.15);
    --text-main: #ffffff;
    --text-muted: #a7a9b0;
    --text-dim: #6b7280;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border);
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a7a9b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheading {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 24px;
    display: block;
}

/* Buttons */
.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--accent);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-solid:hover {
    background-color: #1e56ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: transparent;
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--glass);
    border-color: var(--accent);
}

/* Glass Components */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(47, 107, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Background Grids */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: -1;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(47, 107, 255, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

/* Navbar */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a.active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding-top: 200px;
    text-align: center;
    min-height: 90vh;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    text-align: left;
}

.product-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.product-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Architecture Diagram */
.diagram-container {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 80px;
    margin-top: 60px;
    position: relative;
}

.diagram-node {
    background: var(--glass);
    border: 1px solid var(--accent);
    padding: 20px 40px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes flow {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: 0; }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.3; }
    100% { transform: scale(0.8); opacity: 0.6; }
}

.diagram-line {
    animation: flow 10s linear infinite;
}

.voice-ripple {
    animation: ripple 4s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}
