/* Chaos Monk - Brutal Tech Minimalism */
/* Ex Machina / Ritchie Hawtin Aesthetic */

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

html {
    scroll-behavior: smooth;
}

/* Color Palette - Cold, Technical */
:root {
    --bg-primary: #0B0D10;
    --bg-secondary: #12151A;
    --bg-tertiary: #1A1D24;
    --text-primary: #E6E8EB;
    --text-secondary: #9BA1A8;
    --text-muted: #6B7280;
    --accent-red: #E63946;
    --border: #2A2E35;
    --grid-line: #1A1D24;
    --node-stroke: #4A4E55;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--bg-primary);
    background-color: var(--text-primary);
    border: none;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cta-button:hover {
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

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

/* Section Layout - Text + Graphic */
.section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-layout.reverse {
    direction: rtl;
}

.section-layout.reverse > * {
    direction: ltr;
}

.section-text {
    max-width: 100%;
}

.section-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-graphic svg {
    width: 100%;
    max-width: 280px;
    height: auto;
}

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

.hero-graphic {
    margin-bottom: 2rem;
}

.tech-diagram {
    width: 100%;
    max-width: 400px;
    height: auto;
    opacity: 0.8;
}

.logo {
    width: 210px;
    height: auto;
    margin-bottom: 2rem;
    filter: invert(1);
}

.hero .subheadline {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Technical Note Section */
.tech-note {
    padding: 40px 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.tech-note-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 24px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-red);
}

.tech-note-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tech-note-block p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tech-note-block strong {
    color: var(--text-primary);
    font-weight: 500;
    font-family: monospace;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

/* Problem Section */
.problem {
    background-color: var(--bg-secondary);
}

.problem-content {
    max-width: 600px;
}

.problem h2 {
    margin-bottom: 1.5rem;
}

.chaos-diagram {
    opacity: 0.7;
}

/* Solution Section */
.solution {
    background-color: var(--bg-primary);
}

.solution-content {
    max-width: 600px;
}

.solution h2 {
    margin-bottom: 1.5rem;
}

.order-diagram {
    opacity: 0.8;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step {
    padding: 24px 0;
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.step-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    font-family: monospace;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* What You'll Copy Subsection */
.what-youll-copy {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.what-youll-copy h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: monospace;
    letter-spacing: 0.02em;
}

.token-mockup-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.token-mockup {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.token-caption {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Who It's For Section */
.who-its-for {
    background-color: var(--bg-primary);
}

.audience-list {
    list-style: none;
    max-width: 500px;
}

.audience-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.audience-list li:last-child {
    border-bottom: none;
}

.audience-list li strong {
    color: var(--text-primary);
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature {
    padding: 0;
    text-align: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.feature h3 {
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* By Design Section */
.by-design {
    background-color: var(--bg-primary);
}

.design-list {
    list-style: none;
    max-width: 400px;
}

.design-list li {
    font-size: 0.9375rem;
    color: var(--text-muted);
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

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

.architecture-diagram {
    opacity: 0.7;
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-secondary);
    text-align: center;
}

.pricing-card {
    max-width: 360px;
    margin: 0 auto;
    padding: 48px 40px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 2px;
}

.pricing-header-graphic {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.price-amount {
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
    font-family: monospace;
}

.price-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-includes {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-includes li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    padding-left: 16px;
    position: relative;
}

.pricing-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--accent-red);
    transform: translateY(-50%);
}

.pricing-includes li:last-child {
    border-bottom: none;
}

.value-anchor {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.reassurance-line {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    letter-spacing: 0.01em;
}

.delivery-clarity {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-weight: 500;
}

.digital-product-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-family: monospace;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-primary);
}

.faq-list {
    max-width: 600px;
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

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

.faq-item h3 {
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* What Success Looks Like Section */
.success-section {
    background-color: var(--bg-secondary);
    text-align: center;
}

.terminal-mockup-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.terminal-mockup {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.success-caption {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-family: monospace;
    margin: 0;
}

/* Final CTA Section */
.final-cta {
    background-color: var(--bg-secondary);
    text-align: center;
    padding: 100px 0;
}

.cta-graphic {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.final-cta h2 {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--bg-primary);
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-graphic {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .logo {
        width: 160px;
        margin-bottom: 1.5rem;
    }

    .tech-diagram {
        max-width: 300px;
    }

    .section-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-layout.reverse {
        direction: ltr;
    }

    .section-graphic svg {
        max-width: 220px;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .pricing-card {
        padding: 40px 32px;
    }

    .final-cta {
        padding: 80px 0;
    }

    .tech-note-block {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    .token-mockup {
        max-width: 100%;
    }

    .terminal-mockup {
        max-width: 100%;
    }

    .what-youll-copy {
        margin-top: 48px;
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 20px;
    }

    .logo {
        width: 140px;
    }

    .tech-diagram {
        max-width: 260px;
    }

    .section-graphic svg {
        max-width: 180px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.875rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .cta-graphic {
        max-width: 240px;
    }
}
