:root {
    --bg-dark: #0a192f;
    --bg-card: #112240;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --teal: #64ffda;
    --gold: #ffd700;
    --white: #e6f1ff;
    --font-mono: 'Fira Code', monospace;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    font-weight: 700;
    margin: 0 0 20px 0;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Background Glows */
.bg-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, rgba(10, 25, 47, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.top-left { top: -200px; left: -200px; }
.bottom-right { bottom: -200px; right: -200px; background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, rgba(10, 25, 47, 0) 70%); }

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-family: var(--font-mono);
    font-size: 14px;
    flex-wrap: wrap; /* Allow wrap for mobile */
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--teal);
    font-weight: 700;
}

.logo-small img {
    height: 30px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

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

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

/* Mobile Nav Adjustment */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        font-size: 12px;
        gap: 15px;
        justify-content: center;
        width: 100%;
    }
}


/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 0;
}

.hero-content {
    max-width: 800px;
}

.hero-logo-container {
    margin-bottom: 30px;
    display: inline-block;
    transition: transform 0.1s ease-out; /* Smoother js tilt */
}

.hero-logo {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.3));
}

.hero-title {
    font-size: 80px;
    margin-bottom: 10px;
    color: var(--white);
    letter-spacing: -2px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 50px;
    }
}

.hero-subtitle {
    font-size: 24px;
    color: var(--teal);
    margin-bottom: 30px;
    font-family: var(--font-mono);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 5px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--teal);
    color: var(--teal);
}

.btn-primary:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--teal);
    border: 1px solid var(--teal);
    color: var(--bg-dark);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--teal);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 32px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--teal);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 5px;
    transition: var(--transition);
    cursor: default;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--teal);
    box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

.feature-icon {
    font-size: 40px;
    color: var(--teal);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Use Cases */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.use-case-item {
    border-left: 2px solid var(--teal);
    padding-left: 20px;
}

.use-case-item h3 {
    color: var(--white);
    font-size: 20px;
}

.use-case-item p {
    color: var(--text-muted);
}

/* Code Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
}

.tech-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.tech-list li {
    margin-bottom: 15px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.tech-list i {
    color: var(--teal);
    margin-right: 10px;
}

.code-window {
    background-color: #011627;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    font-family: var(--font-mono);
    border: 1px solid #1e2d3d;
}

.code-header {
    background-color: #011627;
    padding: 10px 15px;
    border-bottom: 1px solid #1e2d3d;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.filename {
    margin-left: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.code-window pre {
    margin: 0;
    padding: 20px;
    color: #d6deeb;
    overflow-x: auto;
    font-size: 14px;
}

/* Syntax Highlighting */
.kw { color: #c792ea; } /* purple */
.fn { color: #82aaff; } /* blue */
.str { color: #ecc48d; } /* goldish */
.num { color: #f78c6c; } /* orange */
.cls { color: #addb67; } /* green */
.co { color: #637777; font-style: italic; } /* comment */

/* Installation */
.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 5px;
}

.cmd {
    background-color: #000;
    padding: 15px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--teal);
    margin-top: 15px;
    overflow-x: auto;
    border-left: 3px solid var(--teal);
    font-size: 13px;
}

/* Vision */
.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
}

.vision-content strong {
    color: var(--teal);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 50px 0 20px 0;
    background-color: #020c1b;
    margin-top: 50px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

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

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

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

/* Mobile Footer Adjustment */
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.highlight-link {
    color: var(--gold) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Tilt effect class handles in JS, but base transition here */
.tilt-effect {
    transform-style: preserve-3d;
    will-change: transform;
}
