@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ═══════════════════════════════════════
   x.ai Design System + Conversion Focus
   ═══════════════════════════════════════ */

:root {
    --bg: #0A0A0A;
    --text-primary: #FFFFFF;
    --text-secondary: #D4D4D4;
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --border-button: rgba(255, 255, 255, 0.25);
    --accent: #FF5C00;
    --highlight: #00D9FF;

    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --container-width: 896px;
    --section-padding: 128px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.56;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.mono {
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 400;
}

/* ═══════════════════════════════════════
   Navigation
   ═══════════════════════════════════════ */

nav {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
}

.logo img {
    height: 20px;
    filter: invert(1);
}

/* ═══════════════════════════════════════
   Buttons (Conversion Optimized)
   ═══════════════════════════════════════ */

.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 28px;
    border-radius: 9999px;
    border: 1px solid var(--border-button);
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    cursor: pointer;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--text-secondary);
}

.btn-large {
    padding: 20px 40px;
}

.btn-subtitle {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
    font-weight: 400;
}

/* ═══════════════════════════════════════
   Hero (Conversion Focused)
   ═══════════════════════════════════════ */

.hero {
    padding: 80px 0 var(--section-padding);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.hero-badge {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.6px;
    margin-bottom: 32px;
}

.highlight {
    color: var(--accent);
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 48px;
}

.trust-line {
    display: flex;
    justify-content: center;
    gap: 32px;
    color: var(--text-muted);
}

.trust-line span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ═══════════════════════════════════════
   Sections
   ═══════════════════════════════════════ */

section:not(.hero):not(.final-cta):not(.social-proof) {
    padding: var(--section-padding) 0;
    border-bottom: 1px solid var(--border);
}

.section-label {
    color: var(--text-muted);
    margin-bottom: 24px;
}

h2 {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 24px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.67;
    max-width: 700px;
}

/* ═══════════════════════════════════════
   Problem Section
   ═══════════════════════════════════════ */

.comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-top: 80px;
}

.comparison-item {
    background: #0D0D0D;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    min-width: 240px;
}

.comparison-item.highlight {
    border-color: var(--accent);
}

.comparison-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.comparison-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.comparison-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.comparison-value.accent {
    color: var(--accent);
}

.comparison-note {
    font-size: 14px;
    color: var(--text-secondary);
}

.comparison-divider {
    font-size: 32px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════
   Solution / Demo
   ═══════════════════════════════════════ */

.demo-visual {
    margin: 80px 0;
    display: flex;
    justify-content: center;
}

.app-mockup {
    width: 100%;
    max-width: 480px;
    background: #0D0D0D;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.mockup-title {
    font-size: 16px;
    font-weight: 600;
}

.mockup-status {
    font-size: 12px;
    font-weight: 700;
}

.mockup-body {
    background: #050505;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    min-height: 120px;
}

.mockup-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mockup-text {
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
}

.mockup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.keycap {
    background: #1A1A1A;
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-family: var(--font-mono);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
}

.step-number {
    color: var(--accent);
    margin-bottom: 16px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════
   Benefits Grid
   ═══════════════════════════════════════ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.benefit-card {
    background: #0D0D0D;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   Social Proof
   ═══════════════════════════════════════ */

.social-proof {
    padding: 96px 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.proof-stat {
    margin-bottom: 80px;
}

.stat-number {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.testimonial {
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author span {
    color: var(--text-muted);
}

/* ═══════════════════════════════════════
   Final CTA
   ═══════════════════════════════════════ */

.final-cta {
    padding: 96px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
}

.cta-buttons {
    margin-bottom: 32px;
}

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

/* ═══════════════════════════════════════
   Footer
   ═══════════════════════════════════════ */

footer {
    padding: 64px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ═══════════════════════════════════════
   Animations
   ═══════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.typing-effect {
    animation: typing 3s steps(60) infinite;
}

@keyframes typing {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.accent {
    color: var(--accent);
}

/* ═══════════════════════════════════════
   Responsive
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .hero h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    .nav-links .mono {
        display: none;
    }

    .comparison {
        flex-direction: column;
        gap: 24px;
    }

    .comparison-divider {
        transform: rotate(90deg);
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .trust-line {
        flex-direction: column;
        gap: 16px;
    }
}