/* ALRE Showcase - GitHub Dark Theme */

:root {
    /* GitHub Dark Theme Colors */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --border-color: #30363d;
    --text-primary: #ffffff;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --accent-green: #238636;
    --accent-green-hover: #2ea043;
    --accent-blue: #58a6ff;
    --accent-purple: #a371f7;
    --accent-orange: #d29922;
    --accent-red: #f85149;
    
    /* Spacing */
    --section-gap: 4rem;
    --content-width: 800px;
    --border-radius: 6px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    z-index: 100;
}

.nav {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--accent-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s ease;
}

.nav-cta:hover {
    background: var(--accent-green-hover);
}

/* Main Content */
.main {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--section-gap);
}

.repo-badge {
    display: inline-block;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.badge-icon {
    margin-right: 0.25rem;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-badge {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.25rem 0.75rem;
    font-size: 12px;
    color: var(--accent-blue);
}

.pitch {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-secondary);
}

.pitch strong {
    color: var(--accent-green);
}

/* Section Styles */
.section {
    margin-bottom: var(--section-gap);
    padding-bottom: var(--section-gap);
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hash {
    color: var(--text-muted);
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.problem-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.problem-stat {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 0.25rem;
}

.problem-label {
    font-size: 12px;
    color: var(--text-muted);
}

.problem-text ul {
    list-style: none;
    padding-left: 0;
}

.problem-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.problem-text li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Solution Section */
.solution-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.agent-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.flow-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.flow-label {
    font-size: 11px;
    color: var(--text-muted);
}

.flow-arrow {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.solution-promise {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(35, 134, 54, 0.1) 0%, rgba(88, 166, 255, 0.1) 100%);
    border: 1px solid var(--accent-green);
    border-radius: var(--border-radius);
}

.solution-promise p {
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Architecture Section */
.code-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    overflow-x: auto;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* Agent Cards */
.agent-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.agent-icon {
    font-size: 1.5rem;
}

.agent-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.agent-tech {
    font-size: 12px;
    color: var(--accent-purple);
    background: rgba(163, 113, 247, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
}

.agent-content {
    padding: 1.5rem;
}

.agent-description {
    margin-bottom: 1rem;
}

.agent-description p {
    margin-bottom: 0.5rem;
}

.agent-description strong {
    color: var(--accent-blue);
}

.agent-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    font-size: 11px;
    color: var(--accent-green);
    background: rgba(35, 134, 54, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(35, 134, 54, 0.3);
}

.prompt-framework h4 {
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.code-snippet {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    font-size: 11px;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
    color: var(--text-secondary);
}

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.result-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.result-metric {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.25rem;
}

.result-label {
    display: block;
    font-size: 12px;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.result-compare {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

/* Workflow Steps */
.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workflow-step {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    min-width: 3rem;
}

.step-content h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Use Cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.use-case {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.use-case-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.use-case h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.use-case p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.service-icon {
    font-size: 1.25rem;
    min-width: 2rem;
}

.service-info h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.service-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-intro {
    margin-bottom: 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-tier {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.pricing-tier.featured {
    border-color: var(--accent-green);
}

.tier-name {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tier-price {
    margin-bottom: 1rem;
}

.price-range {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

.price-note {
    font-size: 12px;
    color: var(--text-muted);
}

.tier-features {
    list-style: none;
    font-size: 13px;
}

.tier-features li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.tier-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

.pricing-note {
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    font-size: 13px;
    color: var(--text-muted);
}

/* Tech Stack */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stack-category h4 {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stack-item {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
}

.faq-item h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    text-align: center;
    border-bottom: none;
}

.cta-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cta-button.primary {
    background: var(--accent-green);
    color: white;
}

.cta-button.primary:hover {
    background: var(--accent-green-hover);
    transform: translateY(-1px);
}

.cta-button.secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.cta-button.secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}

.cta-icon {
    font-size: 1rem;
}

.cta-contact {
    font-size: 13px;
    color: var(--text-muted);
}

.cta-contact a {
    color: var(--accent-blue);
    text-decoration: none;
}

.cta-contact a:hover {
    text-decoration: underline;
}

.cta-contact .separator {
    margin: 0 0.75rem;
}

/* Footer */
.footer {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-divider {
    color: var(--text-muted);
}

.footer-note {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-note a {
    color: var(--accent-blue);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-gap: 3rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .problem-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .agent-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .main {
        padding: 1.5rem 1rem 3rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .tech-stack {
        gap: 0.25rem;
    }
    
    .tech-badge {
        font-size: 11px;
        padding: 0.2rem 0.5rem;
    }
    
    .stack-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LAVISH VISUAL ARCHITECTURE STYLES
   ======================================== */
.arch-visual-canvas {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.arch-v-tier {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    position: relative;
}

.arch-v-tier-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.arch-v-tier-badge::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue);
}

.arch-v-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}

.arch-v-node {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.arch-v-node:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.arch-v-node-title {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.arch-v-node-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.arch-v-node-badge {
    display: inline-block;
    font-size: 10px;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: rgba(88, 166, 255, 0.1);
    color: var(--accent-blue);
    margin-top: 0.4rem;
}

.arch-flow-down {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1;
}

.code-details {
    margin-top: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
}

.code-details summary {
    cursor: pointer;
    font-size: 12px;
    color: var(--accent-blue);
    font-weight: 600;
}

.code-details summary:hover {
    color: var(--text-primary);
}

.code-details pre {
    margin-top: 0.75rem;
    border: none;
    padding: 0;
}
