:root {
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Tactical Dark Palette (from crate/app) */
    --bg-color: #0c0c0c;
    --bg-card: #141414;
    --bg-sidebar: #0a0a0a;

    /* Gold & Amber Accents (from crate/app) */
    --accent: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.2);
    --accent-soft: rgba(245, 158, 11, 0.1);

    /* Text (from crate/app) */
    --text-main: #f8fafc;
    --text-muted: #64748b;
    --text-dim: #475569;

    /* Borders & Shadows (from crate/app) */
    --border: rgba(255, 255, 255, 0.05);
    --border-accent: rgba(245, 158, 11, 0.3);
    --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.15);

    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-full: 9999px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    transition: background-color 0.3s, padding 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    padding: 1rem 0;
    /* Reduced from 1.5rem */
}

.header.scrolled {
    background: rgba(12, 12, 12, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-accent);
    /* Using accent border for subtle glow feel */
    box-shadow: 0 4px 20px -2px var(--accent-glow);
    /* Amber glow */
    padding: 0.75rem 0;
    /* Reduced from 1rem */
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



.navigation {
    display: flex;
    gap: 2rem;
}

.navigation a {
    color: var(--text-muted);
    transition: color 0.2s;
    font-size: 0.95rem;
}

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

.cta-button {
    background-color: var(--text-main);
    color: var(--bg-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, background-color 0.2s;
}

.cta-button:hover {
    transform: translateY(-1px);
    background-color: white;
}

.menu-toggle {
    display: none;
    background: none;
    color: var(--text-main);
    font-size: 1.5rem;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu .mobile-cta-button {
    display: block;
    text-align: center;
    background: var(--text-main);
    color: var(--bg-color);
    padding: 0.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem 4rem;
    background: radial-gradient(ellipse at bottom, rgba(20, 20, 20, 1), var(--bg-color) 70%);
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}

.hero-cta {
    background-color: var(--accent);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-full);
}

.hero-cta:hover {
    background-color: #d97706;
}

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

.cta-button-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    transition: background-color 0.2s;
}

.cta-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Common Section Styles */
section {
    padding: 6rem 0;
}

.section-headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Trust Section */
.trust-section {
    background-color: var(--bg-color);
    text-align: center;
}

.trust-section .section-intro {
    margin-bottom: 3rem;
}

.simple-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 4rem auto;
    flex-wrap: wrap;
}

.simple-diagram .node {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    color: var(--text-main);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    display: flex;
    /* Restored */
    align-items: center;
    /* Restored */
    justify-content: center;
    gap: 0.75rem;
    /* Added spacing */
}

.simple-diagram .arrow-container {
    color: var(--text-dim);
    opacity: 0.5;
}

.small-crate {
    padding: 2rem;
    font-size: 1rem;
    background: linear-gradient(145deg, #1a1a1a, #0c0c0c);
    border: 1px solid var(--accent);
    box-shadow: 0 0 30px -5px rgba(245, 158, 11, 0.15);
    display: flex;
    /* Restored */
    flex-direction: column;
    /* Restored */
    align-items: center;
    /* Restored */
    gap: 1rem;
    /* Added spacing */
}

.small-crate .crate-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tech-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* Increased from 0.5rem */
    font-size: 1.1rem;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.badge i {
    color: var(--text-main);
}

/* Features (Tech Cards) */
.tech-card .tech-context {
    font-family: monospace;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.tech-card .description code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-family: monospace;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
}

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

.pricing-card {
    background: var(--bg-color);
    border: 1px solid var(--border);
    border-top: 1px solid var(--accent);
    /* Thinner, subtle top accent */
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

/* Removed heavy ::before pseudo-element */

.price-tag {
    margin-bottom: 2rem;
    color: var(--text-main);
}

.price-tag .currency {
    font-size: 2rem;
    vertical-align: top;
    font-weight: 600;
}

.price-tag .amount {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
}

.price-tag .period {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 0 auto 2.5rem;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.pricing-features li i {
    color: var(--accent);
}

.pricing-features li strong {
    color: var(--text-main);
}

.pricing-cta {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: var(--text-main);
    color: var(--bg-color);
}

.pricing-cta:hover {
    background: white;
}

/* Features */
.features-section {
    background-color: var(--bg-color);
}

.features-section .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.2s, border-color 0.2s;
}

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

.feature-card .icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.feature-card .icon {
    color: var(--accent);
    font-size: 1.25rem;
}

.feature-card .title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.feature-card .description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA */
.cta-section {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(245, 158, 11, 0.05) 100%);
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    margin-top: auto;
    background: var(--bg-card);
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--accent);
}

.copyright {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }

    .navigation,
    .header .cta-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .description-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .diagram {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

.api-limit {
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: -1rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}