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

:root {
    --cyan: #00ffff;
    --cyan-glow: rgba(0, 255, 255, 0.5);
    --cyan-dim: #00d4d4;
    --terminal-black: #05070a;
    --bg-dark: #0a0e17;
    --bg-darker: #050810;
    --card-bg: #0f1419;
    --card-light: #1a2332;
    --card-border: #2d3748;
    --text-light: #e2e8f0;
    --text-gray: #94a3b8;
    --text-dim: #64748b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

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

/* Hero */
.hero {
    background: var(--bg-darker);
    padding: 120px 20px;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, var(--cyan-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--cyan-glow) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, var(--cyan-glow) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
}

.hero h1 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, var(--cyan), var(--text-light), var(--cyan), var(--text-light));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    transition: animation-duration 0.3s;
}

.hero h1:hover {
    animation-duration: 0.5s;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Gradient effect for CueMap text */
.cuemap-text {
    background: linear-gradient(90deg, var(--cyan), var(--text-light), var(--cyan), var(--text-light));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    transition: animation-duration 0.3s;
    display: inline-block;
}

.cuemap-text:hover {
    animation-duration: 0.5s;
}

.tagline {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--cyan);
    color: var(--terminal-black);
    font-weight: 600;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--card-border);
}

.btn-primary:hover {
    background: var(--cyan-dim);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
}

.terminal-install {
    max-width: 600px;
    margin: 0 auto 2rem;
    background: var(--terminal-black);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.terminal-header {
    background: #1a1d24;
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3d4451;
}

.terminal-install code {
    display: block;
    padding: 1.5rem;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--cyan);
    background: transparent;
    text-align: left;
    line-height: 1.8;
}

/* Sections */
section {
    padding: 80px 20px;
    background: var(--bg-dark);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-light);
    font-weight: 400;
}

/* Problem Section */
.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.option {
    background: #1a2332;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #2d3748;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.option.highlight {
    border-color: var(--cyan);
    background: var(--card-bg);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.option.highlight:hover {
    box-shadow: 0 0 30px var(--cyan-glow);
    transform: translateY(-4px);
}

.option h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.use-case {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.option ul {
    list-style: none;
}

.option li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

/* Insight */
.insight {
    background: var(--bg-darker);
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    border-left: 4px solid var(--cyan);
    margin: 2rem auto;
    max-width: 800px;
    color: var(--text-light);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: var(--cyan);
    color: var(--terminal-black);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Use Cases */
.checklist {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 900px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.check-item {
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-light);
}

.check-item:last-child {
    border-bottom: none;
}

.cta-text {
    text-align: center;
    font-size: 1.3rem;
    margin: 2rem 0;
}

.cta-text code {
    background: var(--cyan);
    color: var(--terminal-black);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.use-case-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--cyan);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.use-case-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.scenario {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.conversation {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.msg {
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 6px;
}

.msg.user {
    background: var(--card-light);
    border-left: 3px solid var(--cyan);
    color: var(--text-light);
}

.problem-solution {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.fails {
    background: var(--card-light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--text-dim);
}

.fails h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.solution {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--cyan);
    margin-top: 2rem;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.solution h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit {
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: normal;
    color: var(--text-gray);
    font-style: italic;
}

pre {
    background: var(--terminal-black);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid var(--card-border);
}

pre code {
    color: var(--text-light);
}

code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
}

/* Performance */
.performance {
    background: var(--bg-darker);
}

.benchmark-table-container {
    overflow-x: auto;
    margin: 3rem 0;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.benchmark-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    font-size: 0.95rem;
}

.benchmark-table thead {
    background: var(--card-light);
}

.benchmark-table th {
    padding: 1rem;
    text-align: left;
    color: var(--cyan);
    font-weight: 600;
    border-bottom: 2px solid var(--cyan);
    white-space: nowrap;
}

.benchmark-table td {
    padding: 1rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--card-border);
}

.benchmark-table tbody tr {
    transition: all 0.2s;
}

.benchmark-table tbody tr:hover {
    background: var(--card-light);
}

.benchmark-table .highlight-row {
    background: rgba(0, 255, 255, 0.05);
}

.benchmark-table .highlight-row:hover {
    background: rgba(0, 255, 255, 0.1);
}

.benchmark-table td:first-child {
    font-weight: 500;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.stat:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: translateY(-2px);
}

.stat .number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--cyan);
    display: block;
    margin-bottom: 0.5rem;
    width: auto;
    height: auto;
    line-height: 1;
    background: transparent;
    border-radius: 0;
}

.stat .label {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.comparison-text {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Demo */
.demo {
    background: var(--bg-dark);
}

.demo-embed {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--card-border);
}

.demo-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* Quick Start */
.quick-start {
    background: var(--bg-dark);
}

.tab-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.tab-content h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Integrations */
.integrations {
    background: var(--bg-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

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

.integration-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.integration-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: translateY(-4px);
}

.integration-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.integration-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.integration-card pre {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.coming-soon {
    display: inline-block;
    background: var(--card-light);
    color: var(--cyan);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--cyan);
}

/* Production Ready */
.production-ready {
    background: var(--bg-dark);
}

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

.production-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.production-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: translateY(-4px);
}

.production-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.production-subtitle {
    font-size: 1rem;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.production-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.production-card pre {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* Links */
.links {
    background: var(--bg-darker);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.resource-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-light);
    border: 1px solid var(--card-border);
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.resource-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.resource-card p {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.resource-card span {
    color: var(--cyan);
    font-weight: normal;
    font-size: 0.9rem;
}

/* Footer CTA */
.footer-cta {
    background: var(--bg-darker);
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-cta .terminal-install {
    margin-bottom: 2rem;
}

.footer-cta .cta-buttons {
    margin-bottom: 2rem;
}

.cloud-note {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-top: 2rem;
}

.cloud-note a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
}

.cloud-note a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--terminal-black);
    padding: 3rem 20px;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

footer p {
    margin: 0.5rem 0;
    color: var(--text-gray);
}

footer a {
    color: var(--cyan);
    text-decoration: none;
}

footer a:hover {
    color: var(--cyan-dim);
    text-decoration: underline;
}

.license {
    font-size: 0.9rem;
}

.contact {
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .quick-install {
        flex-direction: column;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
}
