:root {
    /* Color Palette */
    --bg-base: #08080C;
    --bg-darker: #050508;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
    
    --accent-cyan: #00E5FF;
    --accent-blue: #2979FF;
    --accent-purple: #D500F9;
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    --gradient-glow: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

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

.center {
    text-align: center;
}

/* Glassmorphism */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glass-panel:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.1);
}

/* Buttons */
button {
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.btn-primary.large {
    padding: 14px 28px;
    font-size: 1.125rem;
}

.btn-secondary {
    background: var(--bg-glass);
    color: white;
    border: 1px solid var(--border-glass);
    padding: 10px 20px;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: white;
}

.btn-secondary.large {
    padding: 14px 28px;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 48px;
    background: rgba(8, 8, 12, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-glass);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-glow);
    border-radius: 6px;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--bg-base));
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.metrics-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    border-top: 1px solid var(--border-glass);
    padding-top: 40px;
}

.metric h3 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.metric p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections General */
.section-header {
    margin-bottom: 64px;
    max-width: 700px;
}

.section-header.center {
    margin-inline: auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Vision Grid */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.vision-card {
    padding: 40px 32px;
}

.icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

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

.vision-card p {
    color: var(--text-secondary);
}

/* Modules Showcase */
.modules-showcase {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.module-feature {
    display: flex;
    align-items: center;
    gap: 64px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-feature.in-view {
    opacity: 1;
    transform: translateY(0);
}

.module-feature.reverse {
    flex-direction: row-reverse;
}

.module-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.module-text h3 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.module-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-cyan);
    font-weight: bold;
}

.module-visual {
    flex: 1;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    padding: 8px;
}

.module-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Agents Grid */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.agent-card {
    padding: 32px;
    text-align: center;
}

.agent-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
}

.agent-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Technology Stack */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 48px;
    gap: 32px;
    text-align: center;
}

.tech-category h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--accent-cyan);
}

.tech-category p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
    gap: 64px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.link-group h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .vision-grid, .agents-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-stack { grid-template-columns: repeat(2, 1fr); }
    .module-feature, .module-feature.reverse { flex-direction: column; }
    .module-visual { width: 100%; height: 350px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.5rem; }
    .metrics-row { flex-direction: column; gap: 24px; }
    .vision-grid, .agents-grid, .tech-stack { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; }
    .footer-links { flex-wrap: wrap; }
}
