:root {
    --primary: #8a4fff;
    --primary-glow: rgba(138, 79, 255, 0.5);
    --secondary: #ffb700;
    --accent: #9d6dff;
    --bg-dark: #0a0a0c;
    --bg-card: rgba(20, 20, 25, 0.6);
    --text-main: #f0f0f2;
    --text-muted: #a0a0b0;
    --border: rgba(255, 255, 255, 0.08);
    --accent-glow: radial-gradient(circle at 50% 50%, rgba(138, 79, 255, 0.15), transparent 70%);
}

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

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

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    line-height: 1.2;
}

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

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(138, 79, 255, 0.4); }

.btn-secondary { background: var(--secondary); color: #000; border: 1px solid var(--secondary); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 183, 0, 0.4); }

.btn-outline { background: transparent; color: #fff; border: 1px solid var(--border); }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--primary); }

/* Badge New */
.badge-new {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3);
    margin-right: 8px;
    vertical-align: middle;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary) 20%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

a.logo {
    text-decoration: none;
    cursor: pointer;
}

.logo span { display: none; } /* No longer needed for gradient version */

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

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

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

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

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('./assets/hero-bg.png') no-repeat center center/cover;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.6), var(--bg-dark));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 { font-size: 4.5rem; margin-bottom: 1.5rem; letter-spacing: -3px; font-weight: 800; }
.hero h1 span { 
    background: linear-gradient(to right, #ffb700, #ff8800);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 183, 0, 0.2); 
}
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 650px; margin-left: auto; margin-right: auto; line-height: 1.8; }

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

/* Features */
.features-section { padding: 100px 0; background: var(--bg-dark); }

/* —— Core Pillars: richer hero band + per-module accents —— */
.pillars-showcase {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
}

.pillars-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(138, 79, 255, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 30%, rgba(0, 212, 196, 0.08), transparent 50%),
        radial-gradient(ellipse 50% 35% at 0% 60%, rgba(229, 152, 102, 0.07), transparent 45%),
        linear-gradient(180deg, rgba(12, 12, 18, 0.9) 0%, var(--bg-dark) 35%, var(--bg-dark) 100%);
}

.pillars-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    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: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.pillars-inner {
    position: relative;
    z-index: 1;
}

.pillars-header {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 3rem;
}

.pillars-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.pillars-title-accent {
    display: inline;
    background: linear-gradient(120deg, #fff 0%, #c4b5fd 45%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(160, 160, 176, 0.95);
    max-width: 40rem;
    margin: 0 auto;
}

/* grid layout for pillars lives below .highlights-6 (higher specificity) */

.pillar-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 24px;
    outline: none;
}

.pillar-link:focus-visible .pillar-card {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Per-pillar accent (icons, borders, CTAs) */
.pillar-card--western { --pillar-accent: #7c6cf0; }
.pillar-card--vedic { --pillar-accent: #e59866; }
.pillar-card--esoteric { --pillar-accent: #b388ff; }
.pillar-card--chinese { --pillar-accent: #ff6b8a; }
.pillar-card--agent { --pillar-accent: #00d4c4; }
.pillar-card--geo { --pillar-accent: #8a4fff; }

.pillars-showcase .pillar-card {
    height: 100%;
    min-height: 280px;
    padding: 1.75rem 1.6rem 1.5rem;
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(28, 28, 36, 0.95) 0%, rgba(16, 16, 22, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pillars-showcase .pillar-card::before {
    background: linear-gradient(145deg, var(--pillar-accent), transparent 65%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.pillars-showcase .pillar-card:hover::before {
    opacity: 0.09;
}

.pillars-showcase .pillar-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: color-mix(in srgb, var(--pillar-accent) 55%, rgba(255, 255, 255, 0.12));
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.5),
        0 0 0 1px color-mix(in srgb, var(--pillar-accent) 35%, transparent),
        0 0 48px color-mix(in srgb, var(--pillar-accent) 22%, transparent);
}

.pillar-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(180, 180, 198, 0.75);
    margin-bottom: 1rem;
}

.pillar-icon-ring {
    display: inline-flex;
    padding: 3px;
    border-radius: 20px;
    margin-bottom: 1.15rem;
    background: linear-gradient(145deg, var(--pillar-accent), rgba(138, 79, 255, 0.12));
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pillars-showcase .pillar-card .icon-wrap {
    width: 72px;
    height: 72px;
    margin-bottom: 0;
    border-radius: 17px;
    font-size: 2.15rem;
    background: rgba(8, 8, 12, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pillar-icon-emoji {
    display: block;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.pillars-showcase .pillar-card:hover .icon-wrap {
    background: linear-gradient(160deg, color-mix(in srgb, var(--pillar-accent) 45%, #1a1a22), rgba(12, 12, 18, 0.9));
    border-color: color-mix(in srgb, var(--pillar-accent) 40%, transparent);
    transform: rotate(-4deg) scale(1.06);
    color: inherit;
}

.pillars-showcase .pillar-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.pillars-showcase .pillar-card p {
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 0;
    flex-grow: 1;
}

.pillar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pillar-accent);
    transition: color 0.25s ease, gap 0.25s ease;
}

.pillar-cta-arrow {
    transition: transform 0.25s ease;
}

.pillar-link:hover .pillar-cta {
    color: #fff;
}

.pillar-link:hover .pillar-cta-arrow {
    transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
    .pillars-showcase .pillar-card,
    .pillars-showcase .pillar-card:hover,
    .pillars-showcase .pillar-card .icon-wrap,
    .pillar-cta-arrow {
        transition: none;
        transform: none !important;
    }
}

.section-badge {
    display: inline-block;
    background: rgba(138, 79, 255, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

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

.highlights-6 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Core Pillars 3×2 grid (must follow .features-grid / .highlights-6) */
.features-grid.highlights-6.pillars-grid {
    margin-top: 2.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

@media (max-width: 1024px) {
    .features-grid.highlights-6.pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .features-grid.highlights-6.pillars-grid {
        grid-template-columns: 1fr;
    }
    .pillars-showcase {
        padding: 88px 0 72px;
    }
}

.feature-card-link {
    text-decoration: none;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(138, 79, 255, 0.1);
    border: 1px solid rgba(138, 79, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card:hover .icon-wrap {
    background: var(--primary);
    transform: rotate(-5deg) scale(1.1);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.feature-card h3 { 
    font-size: 1.6rem; 
    margin-bottom: 1rem; 
    font-weight: 700;
}

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

.feature-list {
    list-style: none;
    width: 100%;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: color 0.3s ease;
}

.feature-list li::before {
    content: '✦';
    color: var(--primary);
    font-size: 0.8rem;
    opacity: 0.7;
}

.feature-card:hover .feature-list li {
    color: var(--text-main);
}

/* Master Catalog Tabs */
.master-catalog {
    margin-top: 6rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--border);
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.tab-btn:hover:not(.active) {
    border-color: var(--primary);
    color: #fff;
}

.tabs-content {
    position: relative;
    min-height: 300px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: left;
}

.panel-column h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.panel-column ul {
    list-style: none;
}

.panel-column ul li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.panel-column ul li strong {
    color: #fff;
    display: block;
    margin-bottom: 0.2rem;
}

/* Code Snippet */
.snippet-section { padding: 100px 0; background: #000; border-top: 1px solid var(--border); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.check-list { list-style: none; margin-top: 2rem; }
.check-list li { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.8rem; }
.check-list li::before { content: '✓'; color: var(--primary); font-weight: bold; }

.code-preview {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.code-header {
    background: #2d2d2d;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-header .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.code-header .dot:nth-child(1) { background: #ff5f56; }
.code-header .dot:nth-child(2) { background: #ffbd2e; }
.code-header .dot:nth-child(3) { background: #27c93f; }
.filename { margin-left: 1rem; font-size: 0.8rem; color: #999; font-family: monospace; }

.code-preview pre { padding: 2rem; overflow-x: auto; color: #d4d4d4; font-family: 'Courier New', Courier, monospace; font-size: 0.9rem; }

/* Pricing */
.pricing-section { padding: 100px 0; background: var(--bg-dark); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.price-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(138, 79, 255, 0.1), rgba(0,0,0,0));
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.price { font-size: 3rem; font-weight: 800; margin: 2rem 0; font-family: 'Outfit'; }
.price span { font-size: 1rem; color: var(--text-muted); }

.price-card .tier-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: -1rem 0 1.5rem;
    text-align: left;
}

.price-card ul { list-style: none; margin-bottom: 2.5rem; text-align: left; }
.price-card ul li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; }
.price-card ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); }

/* Footer */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 40px; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }
.copyright { margin-top: 40px; text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* Features Page High-Density Catalog */
.features-main-content { padding-top: 100px; }

.status-main-content { padding-top: 100px; }
.features-hero { padding: 40px 0; }
.features-hero h1 { font-size: 4rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }

.feature-nav-shortcuts {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-nav-shortcuts a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.feature-nav-shortcuts a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(138, 79, 255, 0.05);
}

.feature-category-full {
    margin-bottom: 6rem;
    padding: 4rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.feature-category-full::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.badge-tech {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(138, 79, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.info-block h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: 'Outfit';
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-block h4::before {
    content: '';
    width: 4px; height: 1.2em;
    background: var(--primary);
    border-radius: 2px;
}

.info-block ul {
    list-style: none;
    padding: 0;
}

.info-block ul li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.info-block ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    opacity: 0.6;
}

.info-block ul li strong {
    color: #eee;
    font-weight: 600;
}

.features-catalog-grid { padding-bottom: 120px; }

/* Animations */
.reveal-up { opacity: 0; transform: translateY(30px); transition: all 1s ease; }
.reveal-up.active { opacity: 1; transform: translateY(0); }

/* API Access Section */
.api-access-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(121, 40, 202, 0.05) 0%, transparent 70%);
}

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

.access-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
}

.access-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.key-gen-box {
    margin: 3rem 0;
    min-height: 80px;
}

.key-display-area {
    animation: fadeIn 0.5s ease-out;
}

.key-wrapper {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    gap: 1rem;
    box-shadow: 0 0 20px rgba(121, 40, 202, 0.2);
}

#generated-key {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--primary);
    word-break: break-all;
    flex: 1;
}

.copy-btn {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.copy-btn:hover { transform: scale(1.2); }

.key-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.key-expiry {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.access-guides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-item h5 {
    color: #fff;
    margin-bottom: 0.5rem;
}

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

.hidden { display: none !important; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
    .access-card { padding: 2rem; }
    .access-guides { grid-template-columns: 1fr; }
}

/* Legal & Utility Styles */
.legal-content {
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
}

.legal-content h1 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #fff;
}

.legal-content h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--primary);
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-disclaimer {
    background: rgba(138, 79, 255, 0.1);
    border: 1px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.legal-footer-nav {
    margin-top: 60px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.text-primary { color: var(--primary); }
.accent-border { border-color: var(--accent) !important; }
.key-gen-card { text-align: center; padding: 20px; }

/* Beta Announcement Banner */
.beta-banner {
    background: linear-gradient(90deg, #1a1a2e 0%, #8a4fff 50%, #00f2fe 100%);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    display: none; /* Hidden by default, shown via JS */
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.beta-banner a {
    background: #fff;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    transition: all 0.3s ease;
}

.beta-banner a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #fff;
}

/* Adjust layout when banner is active */
body.has-beta-banner {
    padding-top: 40px; /* Space for banner */
}

body.has-beta-banner .main-header {
    top: 40px;
}

@keyframes beta-pulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.beta-banner {
    background-size: 200% 200%;
    animation: beta-pulse 5s ease infinite;
}
