:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(22, 28, 45, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Grids & Orbs */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.orb-1 {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--primary-glow);
}

.orb-2 {
    top: 40%;
    right: -150px;
    width: 600px;
    height: 600px;
    background: var(--accent-glow);
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(11, 15, 25, 0.75);
    border-bottom: 1px solid var(--card-border);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

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

.logo-icon {
    font-size: 1.4rem;
}

.highlight {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(5px);
}

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

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    max-width: 1100px;
    margin: 5rem auto 3rem;
    text-align: center;
    padding: 0 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

/* Metrics Strip */
.metrics-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    max-width: 950px;
    margin: 0 auto;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.metric-label {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--card-border);
}

/* Section Common */
.section {
    max-width: 1200px;
    margin: 7rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid & Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

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

/* Glass Section & Split Layout */
.glass-section {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    backdrop-filter: blur(12px);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split-content h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    margin: 0.5rem 0 1.2rem;
}

.split-content p {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

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

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.check-list span {
    color: var(--accent);
    font-weight: bold;
}

/* Code Terminal */
.code-terminal {
    background: #050811;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.code-block {
    padding: 1.5rem;
    font-family: monospace;
    font-size: 0.9rem;
    color: #e5e7eb;
    line-height: 1.7;
    overflow-x: auto;
}

.code-comment { color: #6b7280; }
.code-success { color: #10b981; font-weight: bold; }
.code-info { color: #38bdf8; }
.code-highlight { color: #a855f7; font-weight: bold; }

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 4rem 2rem;
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    background: rgba(7, 10, 18, 0.9);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

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

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }

    .metrics-strip {
        flex-direction: column;
        gap: 1.5rem;
    }

    .metric-divider {
        display: none;
    }

    .nav-links {
        display: none;
    }
}
