/* Catppuccin Mocha Theme */
:root {
    --base: #1e1e2e;
    --mantle: #181825;
    --crust: #11111b;
    --surface0: #313244;
    --surface1: #45475a;
    --surface2: #585b70;
    --overlay0: #6c7086;
    --overlay1: #7f849c;
    --text: #cdd6f4;
    --subtext0: #a6adc8;
    --subtext1: #bac2de;
    --blue: #89b4fa;
    --lavender: #b4befe;
    --sapphire: #74c7ec;
    --sky: #89dceb;
    --teal: #94e2d5;
    --green: #a6e3a1;
    --yellow: #f9e2af;
    --peach: #fab387;
    --maroon: #eba0ac;
    --red: #f38ba8;
    --mauve: #cba6f7;
    --pink: #f5c2e7;
    --flamingo: #f2cdcd;
    --rosewater: #f5e0dc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--mantle);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--blue);
    color: var(--crust);
}

.btn-primary:hover {
    background: var(--lavender);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(24, 24, 37, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--subtext0);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--mantle) 0%, var(--base) 100%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--surface0);
    border-radius: 20px;
    font-size: 12px;
    color: var(--subtext0);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.highlight {
    color: var(--blue);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--subtext0);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
}

.hero-trial {
    font-size: 14px;
    color: var(--overlay1);
}

/* Demo Window */
.hero-demo {
    max-width: 900px;
    margin: 0 auto;
}

.demo-window {
    background: var(--crust);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--surface0);
}

.demo-titlebar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--mantle);
    border-bottom: 1px solid var(--surface0);
    gap: 8px;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot.red { background: var(--red); }
.demo-dot.yellow { background: var(--yellow); }
.demo-dot.green { background: var(--green); }

.demo-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--overlay1);
}

.demo-content {
    display: flex;
    min-height: 350px;
}

.demo-sidebar {
    width: 180px;
    background: var(--base);
    border-right: 1px solid var(--surface0);
    padding: 16px 12px;
}

.demo-sidebar-item {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--subtext0);
    margin-bottom: 4px;
}

.demo-sidebar-item.active {
    background: var(--surface0);
    color: var(--text);
}

.demo-chat {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-message {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
}

.demo-message.user {
    background: var(--surface0);
    align-self: flex-end;
}

.demo-message.assistant {
    background: var(--base);
    border: 1px solid var(--surface0);
    align-self: flex-start;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--base);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--mantle);
    border: 1px solid var(--surface0);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--subtext0);
    font-size: 15px;
}

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--mantle);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step {
    text-align: center;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--blue);
    color: var(--crust);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    color: var(--subtext0);
    font-size: 15px;
}

.step-arrow {
    font-size: 32px;
    color: var(--overlay0);
    padding-top: 14px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--base);
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--mantle);
    border: 2px solid var(--blue);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: var(--crust);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-amount {
    margin-bottom: 8px;
}

.currency {
    font-size: 24px;
    vertical-align: top;
}

.price {
    font-size: 64px;
    font-weight: 700;
}

.period {
    font-size: 18px;
    color: var(--subtext0);
}

.pricing-trial {
    color: var(--green);
    font-size: 14px;
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--surface0);
    color: var(--subtext1);
}

.pricing-features li::before {
    content: "✓ ";
    color: var(--green);
    font-weight: 700;
}

.pricing-suite {
    color: var(--teal);
    font-size: 13px;
    margin-bottom: 24px;
    font-weight: 500;
}

.pricing-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--overlay1);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--mantle);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    background: var(--base);
    border: 1px solid var(--surface0);
    border-radius: 12px;
    padding: 28px;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--subtext0);
    font-size: 15px;
}

.faq-item a {
    color: var(--blue);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--base) 0%, var(--mantle) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta p {
    color: var(--subtext0);
    font-size: 18px;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--crust);
    border-top: 1px solid var(--surface0);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
}

.footer-brand p {
    color: var(--overlay1);
    font-size: 14px;
    margin-top: 8px;
}

.footer-brand a {
    color: var(--blue);
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--subtext0);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--surface0);
}

.footer-bottom p {
    color: var(--overlay0);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .demo-content {
        flex-direction: column;
    }

    .demo-sidebar {
        width: 100%;
        display: flex;
        gap: 8px;
        padding: 12px;
        border-right: none;
        border-bottom: 1px solid var(--surface0);
    }

    .demo-sidebar-item {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
