:root {
    --bg-color: #030712;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #6366f1;
    /* Indigo */
    --primary-hover: #4f46e5;
    --accent-color: #10b981;
    /* Emerald for efficiency */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --card-hover-bg: rgba(255, 255, 255, 0.07);
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
    z-index: -2;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Header */
header {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(3, 7, 18, 0.8);
    /* Slightly darker/more opaque for better read */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.dot {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    opacity: 0.7;
}

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

/* Active State for Scroll Spy */
.nav-links a.active {
    color: var(--text-color);
    opacity: 1;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Buttons Removed - Clean up minimal overrides if any */
/* Keeping btn-primary class definition technically for utility if needed, but removed usage */


/* Main Layout */
main {
    padding-top: 6rem;
}

section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    padding-top: 8rem;
    min-height: 90vh;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.efficiency-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.stat-row {
    margin-bottom: 1.5rem;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-row span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.highlight span {
    color: var(--text-color);
    font-weight: 600;
}

.bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
}

.bar {
    height: 100%;
    border-radius: 9999px;
}

.bar.manual {
    width: 90%;
    background: #ef4444;
}

.bar.ai {
    width: 20%;
    background: var(--accent-color);
}

/* Philosophy Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s;
}

.glass-panel.dim {
    border-color: rgba(255, 255, 255, 0.03);
    background: rgba(255, 255, 255, 0.01);
}

.glass-panel.bright {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.05), rgba(16, 185, 129, 0.05));
    position: relative;
    top: -20px;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Expertise Section */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.expert-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s;
}

.expert-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.expert-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 6rem 5% 4rem;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(to top, rgba(3, 7, 18, 1), transparent);
}

footer h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.btn-primary.large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin-bottom: 4rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    main {
        padding-top: 4rem;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .glass-panel.bright {
        top: 0;
    }

    .efficiency-card {
        margin: 0 auto;
    }
}