:root {
    --bg-color: #0b0f19;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.1);
    --surface-blur: blur(12px);
    
    --primary-color: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary-color: #3b82f6;
    --secondary-hover: #2563eb;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --gradient-1: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--surface-border);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: var(--surface-blur);
    border-bottom: 1px solid var(--surface-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

/* Glow effect behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(11,15,25,0) 70%);
    z-index: -1;
}

.hero-container {
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.08);
    color: #c4b5fd;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-support {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 3rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Glass Panels & Cards */
.glass-panel {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: var(--surface-blur);
    border-radius: 12px;
}

.analytics-mockup {
    padding: 1.5rem;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--surface-border);
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
    margin-right: 6px;
}

.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #eab308; }
.dots span:nth-child(3) { background: #22c55e; }

.mockup-title {
    margin-left: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-family: monospace;
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1rem;
}

.flow-diagram--five {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-node {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--surface-border);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.flow-node.active {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.flow-node small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.flow-arrow {
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.dark-section {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: var(--surface-blur);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Features */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 1rem;
    font-weight: bold;
}

.feature-visual {
    flex: 1;
}

.pipeline-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pipeline-stack-row {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border: 1px solid var(--surface-border);
    background: rgba(255,255,255,0.04);
    font-weight: 500;
}

.pipeline-row--wrap {
    flex-wrap: wrap;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 3rem 2rem;
    text-align: center;
}

.tech-icon {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--surface-border);
    font-weight: 500;
}

.pipeline-visual {
    padding: 4rem 2rem;
    text-align: center;
}

.pipeline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.badge {
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid var(--surface-border);
}

.highlight-badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.founder-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
}

.founder-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.founder-photo-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    border: 1px solid var(--surface-border);
    background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(59,130,246,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.founder-photo-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}

.founder-photo-note code {
    color: #c4b5fd;
}

.founder-kicker {
    color: #c4b5fd;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.founder-title {
    margin-bottom: 1rem;
}

.founder-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.founder-linkline a {
    color: #c4b5fd;
}

.schema-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
}

.schema-card {
    padding: 1.5rem;
    overflow: auto;
}

.schema-code {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.schema-notes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pipeline-grid {
    align-items: stretch;
}

.fit-grid {
    align-items: stretch;
}

.fit-list li {
    align-items: flex-start;
}

.compact-list li {
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, rgba(139,92,246,0.05) 0%, rgba(11,15,25,0) 100%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--surface-border);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.pricing-card.featured .plan-name {
    color: var(--primary-color);
}

.plan-price {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    color: var(--text-main);
    font-size: 0.95rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-weight: bold;
}

.plan-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-item:first-child {
    border-top: 1px solid var(--surface-border);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.125rem;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 1.5rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--surface-border);
    margin-top: 4rem;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal {
    background: #111827;
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Forms */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input, 
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--surface-border);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success h4 {
    color: #22c55e;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    
    .hero-title { font-size: 3rem; }
    
    .grid-3, .grid-2, .schema-layout {
        grid-template-columns: 1fr;
    }
    
    .feature-row, .feature-row.reverse,
    .founder-card {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
}

@media (max-width: 600px) {
    .hero-cta-group {
        flex-direction: column;
    }
    
    .flow-diagram {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links a { margin: 0; }
}
