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

:root {
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7c3aed;
    --purple-800: #6b21a8;
    --purple-900: #581c87;
    
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-card-hover: #22222e;
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --border-color: #27272a;
    --border-light: #3f3f46;
    
    --gradient-start: #a855f7;
    --gradient-end: #6366f1;
    
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;
}

body {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -2;
}

.bg-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 48px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-x {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--text-primary);
    color: var(--bg-primary) !important;
    border-radius: 8px;
    font-weight: 600;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 48px 80px;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.highlight {
    color: var(--purple-400);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.4);
}

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

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--purple-500);
}

.btn-large {
    padding: 18px 32px;
    font-size: 17px;
}

/* Terminal */
.hero-terminal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

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

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #eab308; }
.terminal-dot.green { background: #22c55e; }

.terminal-title {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
}

.terminal-body {
    padding: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.terminal-line.output {
    color: var(--text-secondary);
}

.terminal-prompt {
    color: var(--purple-400);
    font-weight: 600;
}

.terminal-cmd {
    color: var(--text-primary);
}

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

.terminal-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.terminal-status.success { background: rgba(34, 197, 94, 0.2); color: var(--success); }
.terminal-status.processing { background: rgba(234, 179, 8, 0.2); color: var(--warning); }
.terminal-status.token { background: rgba(168, 85, 247, 0.2); color: var(--purple-400); }

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--purple-400);
    animation: blink 1s infinite;
    margin-top: 8px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero Image */
.hero-image {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.orbit {
    position: absolute;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50%;
    animation: orbit 20s linear infinite;
}

.orbit::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--purple-500);
    border-radius: 50%;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-1 { width: 280px; height: 280px; animation-duration: 15s; }
.orbit-2 { width: 340px; height: 340px; animation-duration: 20s; animation-direction: reverse; }
.orbit-3 { width: 400px; height: 400px; animation-duration: 25s; }

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Stats Section */
.stats {
    padding: 60px 48px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--purple-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Features Section */
.features {
    padding: 120px 48px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--purple-600);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--purple-400);
}

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

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.feature-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--purple-400);
    background: rgba(168, 85, 247, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
}

/* How It Works */
.how-it-works {
    padding: 120px 48px;
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 300px;
    gap: 40px;
    align-items: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--purple-600);
    font-family: 'JetBrains Mono', monospace;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
}

.tweet-mock {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tweet-handle {
    color: var(--purple-400);
    font-weight: 600;
    font-size: 14px;
}

.tweet-mock p {
    margin-top: 8px;
    font-size: 14px;
}

.build-animation {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.build-block {
    width: 40px;
    height: 40px;
    background: var(--purple-600);
    border-radius: 8px;
    animation: build 1.5s ease-in-out infinite;
}

.build-block:nth-child(2) { animation-delay: 0.2s; }
.build-block:nth-child(3) { animation-delay: 0.4s; }

@keyframes build {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.deploy-status {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--success);
    font-weight: 600;
}

.status-live {
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Architecture */
.architecture {
    padding: 120px 48px;
}

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

.arch-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.arch-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.arch-tag {
    padding: 4px 10px;
    background: rgba(168, 85, 247, 0.2);
    color: var(--purple-400);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.arch-header h4 {
    font-size: 18px;
    font-weight: 600;
}

.arch-list {
    list-style: none;
}

.arch-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.arch-list li::before {
    content: '→';
    color: var(--purple-500);
}

/* CTA Section */
.cta {
    padding: 120px 48px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* Footer */
.footer {
    padding: 48px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-copy p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 24px 60px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        width: 300px;
        height: 300px;
    }
    
    .hero-logo {
        width: 150px;
        height: 150px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        font-size: 36px;
    }
    
    .arch-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}
