:root {
    --bg-main: #000000;
    --bg-alt: #0a0a0a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Brand Colors */
    --brand-green: #22c55e;
    --brand-purple: #a855f7;
    --brand-gradient: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-purple) 100%);
    
    --border: #1e293b;
    --card-bg: #0a0a0a;
}

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gradient Text Effect */
.accent { 
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.text-green {
    color: var(--brand-green);
}

/* Navigation */
nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
}

.logo span {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1.2rem;
    color: var(--text-main);
}

/* Navigation Links Base */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-main);
    padding: 5px;
    z-index: 101;
}

/* Desktop and General Link Styles */
.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 140px 0;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.0;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 45px;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-large {
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--brand-gradient);
    color: #000;
}

.btn-primary:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--brand-purple);
    color: var(--brand-purple);
}

.btn-secondary:hover {
    background: var(--brand-purple);
    color: white;
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--brand-green);
}

.btn-large {
    background: var(--brand-gradient);
    color: #000;
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 120px 0;
}

.alt-bg {
    background-color: var(--bg-alt);
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Grids */
.features-grid, .packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card, .pack-card {
    background: #050505;
    padding: 50px;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover, .pack-card:hover {
    border-color: var(--brand-purple);
    transform: translateY(-5px);
}

.feature-card h3, .pack-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: var(--brand-green);
}

.feature-card p, .pack-card p {
    color: var(--text-muted);
}

.pack-card {
    position: relative;
    border-left: 4px solid var(--brand-purple);
}

.tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--brand-purple);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid var(--brand-purple);
}

/* Licensing Tiers */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tier-card {
    background: #050505;
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.tier-card:hover {
    border-color: var(--brand-green);
    transform: translateY(-5px);
}

.tier-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--brand-purple);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tier-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-main);
}

.tier-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.highlight-tier {
    border: 1px solid var(--brand-purple);
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
    box-shadow: 0 10px 30px -15px rgba(168, 85, 247, 0.2);
}

.tier-list {
    list-style: none;
    margin-top: auto;
}

.tier-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tier-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--brand-green);
}

.tier-list li strong {
    color: var(--brand-green);
}

/* Contact Section & Form */
.contact-section {
    text-align: center;
}

.contact-box {
    background: #050505;
    padding: 80px 40px;
    border-radius: 4px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.contact-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-gradient);
}

.contact-form {
    text-align: left;
    margin-top: 50px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-purple);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: #000;
    border: 1px solid var(--border);
    padding: 14px;
    color: var(--text-main);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

/* Mobile adjustments for form */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.75rem;
    margin-top: 15px;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Terminal Demo */
.terminal-demo {
    max-width: 860px;
    margin: 70px auto 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(34, 197, 94, 0.08);
    text-align: left;
}

.terminal-bar {
    background: #111;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

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

.t-dot-red    { background: #ff5f57; }
.t-dot-yellow { background: #febc2e; }
.t-dot-green  { background: #28c840; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
}

.terminal-body {
    background: #030303;
    padding: 20px 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    line-height: 1.9;
    /* Reserve the full 15-line MAX_LINES height up front so the terminal
       doesn't grow during the typing animation and shift content below. */
    min-height: 420px;
}

.t-prompt { color: var(--brand-green); }
.t-cmd    { color: var(--text-main); }
.t-ok     { color: var(--brand-green); }
.t-exec   { color: var(--brand-purple); }
.t-data   { color: #38bdf8; }

.t-cursor {
    display: inline-block;
    width: 7px;
    height: 0.85em;
    background: var(--brand-green);
    vertical-align: text-bottom;
    margin-left: 1px;
    animation: t-blink 1s step-end infinite;
}

@keyframes t-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .terminal-demo { display: none; }
    
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 40px 20px;
        border-bottom: 1px solid var(--border);
        gap: 20px;
        text-align: center;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .contact-box h2 { font-size: 2.5rem; }
    .hero { padding: 80px 0; }
}
