/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #e0e0e0;
    --white-bright: #ffffff;
    --gray: #888888;
    --gray-dim: #444444;
    --black: #000000;
    --black-light: #0a0a0a;
    --green: #00ff41;
}

::selection {
    background: var(--white);
    color: var(--black);
}

body {
    font-family: 'Courier New', 'Lucida Console', 'Consolas', monospace;
    line-height: 1.6;
    color: var(--white);
    background: var(--black);
    overflow-x: hidden;
    font-size: 15px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--white-bright);
    text-transform: uppercase;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white-bright);
}

pre {
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--black);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-dim);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white-bright);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.85rem;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--white-bright);
}

/* Buttons */
.btn-primary {
    color: var(--white-bright);
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--white);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.15s ease;
    display: inline-block;
    cursor: pointer;
    background: transparent;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: var(--white-bright);
    color: var(--black);
}

.btn-secondary {
    color: var(--gray);
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--gray-dim);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.15s ease;
    display: inline-block;
    letter-spacing: 0.05em;
}

.btn-secondary:hover {
    border-color: var(--white);
    color: var(--white-bright);
}

/* Hero Section */
.hero {
    padding-top: 100px;
    padding-bottom: 3rem;
    text-align: center;
}

.ascii-art {
    color: var(--white-bright);
    font-size: 0.65rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    white-space: pre;
    display: inline-block;
    text-align: left;
    letter-spacing: 0.05em;
}

.hero-text {
    max-width: 600px;
    margin: 0 auto;
}

.tagline {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.platform-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.badge {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Divider */
.divider {
    text-align: center;
    color: var(--gray-dim);
    overflow: hidden;
}

.divider pre {
    font-size: 0.7rem;
    color: var(--gray-dim);
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    font-size: 0.9rem;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    transition: all 0.2s ease;
}

.card-border {
    color: var(--gray-dim);
    font-size: 0.7rem;
    line-height: 1;
    user-select: none;
    overflow: hidden;
}

.card-inner {
    padding: 1.5rem 1rem;
    border-left: 1px solid var(--gray-dim);
    border-right: 1px solid var(--gray-dim);
}

.feature-card:hover .card-border {
    color: var(--white);
}

.feature-card:hover .card-inner {
    border-color: var(--white);
}

.feature-card h3 {
    color: var(--white-bright);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.85rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.3rem 0;
    color: var(--gray);
    font-size: 0.85rem;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--gray-dim);
    transition: border-color 0.2s ease;
}

.step:hover {
    border-color: var(--white);
}

.step-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white-bright);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.step h3 {
    margin-bottom: 0.75rem;
    color: var(--white-bright);
}

.step p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.85rem;
}

.step-arrow {
    color: var(--gray-dim);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
}

.cta-box {
    color: var(--gray);
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    display: inline-block;
    text-align: left;
}

.cta-section .cta-buttons {
    margin-bottom: 1rem;
}

.cta-note {
    color: var(--gray-dim);
    font-size: 0.8rem;
    font-style: italic;
}

/* Footer */
.footer {
    padding: 2rem 0 1.5rem;
}

.footer-divider {
    color: var(--gray-dim);
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white-bright);
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white-bright);
}

.footer-bottom {
    text-align: center;
    color: var(--gray-dim);
    font-size: 0.8rem;
}

/* Scanline overlay effect (subtle) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.008) 2px,
        rgba(255, 255, 255, 0.008) 4px
    );
}

/* Cursor blink animation for hero tagline */
.tagline::after {
    content: '█';
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ascii-art {
        font-size: 0.38rem;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .cta-box {
        font-size: 0.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .ascii-art {
        font-size: 0.3rem;
    }

    .platform-badges {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-box {
        font-size: 0.4rem;
    }
}
