:root {
    --color-primary: #1E293B;
    --color-secondary: #334155;
    --color-accent: #22C55E;
    --color-background: #0F172A;
    --color-text: #F8FAFC;
    --color-text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.08);
    --surface-color: rgba(30, 41, 59, 0.4);
    
    --container-width: 1200px;
    --section-padding: 180px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* Background Gradient */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, #1e293b 0%, transparent 40%),
                radial-gradient(circle at 90% 90%, #1e1b4b 0%, transparent 40%);
    z-index: -1;
    opacity: 0.4;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo { display: flex; align-items: center; gap: 14px; }
.logo img { width: 34px; height: 34px; }
.logo-text { font-weight: 700; font-size: 1.3rem; font-family: 'Outfit', sans-serif; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 40px; }
.nav-links a { text-decoration: none; color: var(--color-text-muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--color-text); }

.btn-cta-nav { background: var(--color-accent); color: white !important; padding: 10px 22px; border-radius: 10px; font-weight: 600; }

/* Hero Section */
.hero { padding-top: 240px; padding-bottom: 160px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 100px; align-items: center; }
h1 { font-size: 5rem; font-weight: 800; margin-bottom: 32px; }
.accent { color: var(--color-accent); }
.hero-subtext { font-size: 1.3rem; color: var(--color-text-muted); margin-bottom: 48px; max-width: 520px; }
.hero-actions { display: flex; gap: 20px; }

.btn-primary, .btn-ghost { padding: 16px 32px; border-radius: 12px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; font-size: 1.1rem; }
.btn-primary { background: var(--color-accent); color: white; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-ghost { border: 1px solid var(--border-color); color: var(--color-text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.mockup-stack { position: relative; }
.mockup-frame { border-radius: 24px; padding: 8px; background: #1e293b; border: 1px solid var(--border-color); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7); overflow: hidden; }
.mockup-frame img { width: 100%; border-radius: 16px; display: block; }
.main-mockup { transform: rotate(-2deg); }
.floating-mockup { position: absolute; bottom: -60px; right: -40px; width: 70%; transform: rotate(4deg); z-index: 2; }

/* Sections */
.section-header { margin-bottom: 80px; }
.section-header h2 { font-size: 3.5rem; margin-bottom: 24px; }
.section-header p { font-size: 1.3rem; color: var(--color-text-muted); }

/* Architecture & Features */
.architecture { padding: var(--section-padding); border-top: 1px solid var(--border-color); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tech-card { padding: 48px; border-radius: 32px; background: var(--surface-color); border: 1px solid var(--border-color); }
.icon-box { width: 56px; height: 56px; background: rgba(34, 197, 94, 0.1); color: var(--color-accent); display: flex; align-items: center; justify-content: center; border-radius: 14px; margin-bottom: 32px; }

/* Workflows (NEW) */
.workflows { padding: var(--section-padding); background: rgba(15, 23, 42, 0.3); }
.workflow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.workflow-step { position: relative; }
.step-num { font-size: 4rem; font-weight: 800; font-family: 'Outfit', sans-serif; color: rgba(255,255,255,0.05); position: absolute; top: -30px; left: -10px; z-index: -1; }
.workflow-step h3 { font-size: 1.6rem; margin-bottom: 16px; margin-top: 20px; }
.workflow-step p { color: var(--color-text-muted); font-size: 1.1rem; }

/* Proof Section */
.proof { padding: var(--section-padding); }
.proof-split { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; }
.specs-list { border-top: 1px solid var(--border-color); }
.spec-item { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.spec-value { color: var(--color-accent); font-weight: 600; font-family: monospace; }

/* Comparison Section (NEW) */
.comparison { padding: var(--section-padding); background: rgba(15, 23, 42, 0.4); }
.comparison-table { border: 1px solid var(--border-color); border-radius: 24px; overflow: hidden; background: var(--surface-color); }
.comp-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--border-color); }
.comp-row.head { background: rgba(255,255,255,0.03); font-weight: 700; color: var(--color-text); font-family: 'Outfit', sans-serif; font-size: 1.1rem; }
.comp-cell { padding: 24px 40px; border-right: 1px solid var(--border-color); }
.comp-cell:last-child { border-right: none; }
.comp-cell.highlight { color: var(--color-accent); background: rgba(34, 197, 94, 0.05); }

/* Trust (NEW) */
.trust { padding: var(--section-padding); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.trust-card { padding: 60px; border-radius: 40px; background: var(--surface-color); border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: flex-start; }

/* FAQ Section (NEW) */
.faq { padding: var(--section-padding); background: rgba(15, 23, 42, 0.3); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { width: 100%; text-align: left; background: none; border: none; color: var(--color-text); font-size: 1.4rem; font-weight: 600; padding: 32px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: 'Outfit', sans-serif; }
.faq-question::after { content: "+"; color: var(--color-accent); font-size: 1.8rem; }
.faq-item.active .faq-question::after { content: "-"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 32px; }
.faq-answer p { color: var(--color-text-muted); font-size: 1.1rem; }

/* CTA Panel */
.cta-section { padding: var(--section-padding); }
.cta-panel { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); padding: 120px 60px; border-radius: 48px; text-align: center; border: 1px solid var(--border-color); margin-bottom: 120px; }
.cta-panel h2 { font-size: 4rem; margin-bottom: 60px; }
.cta-group { display: flex; justify-content: center; gap: 24px; }

.footer-minimal { display: flex; justify-content: space-between; align-items: center; padding-top: 60px; border-top: 1px solid var(--border-color); color: var(--color-text-muted); }

/* Animations */
.fade-up { opacity: 1; }

@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    .hero-grid, .proof-split, .workflow-steps, .trust-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-actions, .cta-group, .trust-card { justify-content: center; align-items: center; }
    .tech-grid { grid-template-columns: 1fr; }
    .comp-row { grid-template-columns: 1fr; text-align: center; }
    .comp-cell { border-right: none; border-bottom: 1px solid var(--border-color); }
    .hero-subtext { margin: 0 auto 48px; }
    .floating-mockup { display: none; }
}