:root {
    --bg-dark: #0a0a0f;
    --bg-card: #16161f;
    --bg-elevated: #1e1e2e;
    --accent: #00ff88;
    --accent-dim: #00cc6d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-tertiary: #6b6b82;
    --border: #2a2a3e;
    --agent-bubble: #1e3a36;
    --user-bubble: #2a2a3e;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

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

.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);
}

.nav-cta {
    padding: 8px 20px;
    background: var(--accent);
    color: var(--bg-dark) !important;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--accent-dim);
    color: var(--bg-dark) !important;
}

/* Hero */
.hero {
    padding: 140px 24px 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

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

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

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-primary {
    padding: 16px 32px;
    background: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-proof {
    display: flex;
    gap: 40px;
}

.proof-item {
    flex: 1;
}

.proof-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.proof-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Chat Simulator */
.hero-visual {
    position: relative;
}

.chat-simulator {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #00ccff);
}

.chat-name {
    font-weight: 600;
    font-size: 15px;
}

.chat-status {
    margin-left: auto;
    font-size: 12px;
    color: var(--accent);
}

.chat-messages {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 400px;
}

.message {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.5;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    background: var(--user-bubble);
    align-self: flex-end;
    border: 1px solid var(--border);
}

.message.agent {
    background: var(--agent-bubble);
    align-self: flex-start;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.message.typing {
    display: flex;
    gap: 4px;
    padding: 16px;
}

.message.typing span {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.message.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.message.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-8px);
    }
}

.message.building {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent);
}

.build-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.build-icon {
    font-size: 18px;
    animation: pulse 1.5s infinite;
}

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

.build-text {
    font-weight: 600;
    color: var(--accent);
}

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

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

.section-header h2 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

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

.step {
    position: relative;
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.step:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -12px;
    right: 24px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    font-family: monospace;
}

.step-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Workflow Section */
.workflow {
    padding: 120px 24px;
    background: var(--bg-dark);
}

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

.workflow-toggle {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.toggle-btn {
    padding: 12px 32px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.toggle-btn.active {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
}

.workflow-tab {
    display: none;
}

.workflow-tab.active {
    display: block;
}

.workflow-tab h3 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--accent);
}

.workflow-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.workflow-chat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wf-message {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
}

.wf-message.user {
    background: var(--user-bubble);
    border: 1px solid var(--border);
    align-self: flex-end;
    max-width: 75%;
}

.wf-message.agent {
    background: var(--agent-bubble);
    border: 1px solid rgba(0, 255, 136, 0.2);
    align-self: flex-start;
    max-width: 85%;
}

.wf-result {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
}

.result-text {
    font-weight: 600;
    color: var(--accent);
    font-size: 15px;
}

.workflow-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.workflow-info ul {
    list-style: none;
    margin-bottom: 32px;
}

.workflow-info li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
}

.workflow-info li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.workflow-time {
    padding: 16px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    color: var(--accent);
    font-size: 16px;
}

/* Use Cases */
.use-cases {
    padding: 120px 24px;
    background: var(--bg-card);
}

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

.case {
    padding: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

.case:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.case-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.case h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.case > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.case-feature {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Trust Section */
.trust {
    padding: 120px 24px;
    background: var(--bg-dark);
}

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

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
    padding: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
}

.trust-stat .stat-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 8px;
}

.trust-stat .stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.trust-feature {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.trust-feature h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.trust-feature p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ */
.faq {
    padding: 120px 24px;
    background: var(--bg-card);
}

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

.faq-item {
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent);
}

.faq-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Final */
.cta-final {
    padding: 120px 24px;
    background: var(--bg-dark);
}

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

.cta-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

.cta-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 24px;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group:last-of-type {
    grid-template-columns: 1fr 1fr;
}

.cta-form input,
.cta-form select {
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.cta-form input:focus,
.cta-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.cta-form input::placeholder {
    color: var(--text-tertiary);
}

.cta-form select {
    cursor: pointer;
}

.form-note {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 16px;
}

.cta-alternative {
    font-size: 15px;
    color: var(--text-secondary);
}

.cta-alternative a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 80px 24px 40px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

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

    .workflow-content {
        grid-template-columns: 1fr;
    }

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

    .trust-stats {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

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

    .hero-cta {
        flex-direction: column;
    }

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

    .section-header h2 {
        font-size: 36px;
    }

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

    .trust-features {
        grid-template-columns: 1fr;
    }

    .form-group {
        grid-template-columns: 1fr !important;
    }

    .cta-content h2 {
        font-size: 36px;
    }
}
