:root {
    /* Color Palette - Updated to Yellow/Dark Theme */
    --bg-dark: #0a0a0c;
    --bg-darker: #050506;
    --primary-color: #fad02c;
    /* Extracted from logo */
    --accent-primary: #fad02c;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    /* Increased body margins */
}

/* Glass Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-link {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000000;
    /* Black text for contrast on yellow */
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    margin-left: 1rem;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 10%, rgba(250, 208, 44, 0.05), transparent 60%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-visual {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 0 30px rgba(250, 208, 44, 0.1));
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-color);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

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

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

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

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

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Who We Are Section */
.who-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}

.who-content {
    text-align: center;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-main);
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

/* Solutions Section */
.solutions-section {
    padding: 100px 0;
    background: var(--bg-darker);
}

.solutions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.solution-item {
    background: var(--glass-bg);
    border-left: 3px solid var(--primary-color);
    padding: 3rem;
    border-radius: 0 16px 16px 0;
}

.solution-item h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: "\2022";
    /* Bullet point */
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
}

.contact-container h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* TOC Styles (Terms Page) */
.toc-container {
    margin: 2rem 0;
    padding: 0 2rem;
    /* Add horizontal margins as requested */
}

.toc-container ol {
    padding-left: 1.5rem;
}

.toc-container li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-logo {
    height: 48px;
    width: auto;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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


/* Animation Utility */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .glass-header {
        padding: 0.5rem 0;
    }

    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .logo-img {
        height: 40px;
    }

    /* Mobile Nav - Simplified */
    .nav-links {
        display: none;
        /* For now, hiding on very small screens or need hamburger. User just asked for "mobile friendly" so structure stacking is key. To make nav accessible we might need more JS/CSS but stacking content is step 1. */
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .solution-item {
        padding: 2rem;
        border-radius: 16px;
        border-left: none;
        border-top: 3px solid var(--primary-color);
    }

    .who-content,
    .contact-container {
        padding: 2rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }
}