:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: rgba(37, 99, 235, 0.1);
    --accent: #10b981;
    --ink: #0f172a;
    --ink-soft: #1e293b;
    --muted: #475569;
    --line: #e2e8f0;
    --surface: #f8fafc;
    --surface-2: #f1f5f9;
    --white: #ffffff;
    --danger: #ef4444;
    --warn: #d97706;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
    --font-display: "Plus Jakarta Sans", Inter, sans-serif;
    --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --nav-h: 64px;
    --container: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
input {
    font-family: inherit;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 2000;
    background: var(--ink);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

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

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 14px;
    gap: 8px;
    line-height: 1.2;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: #cbd5e1;
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-large {
    padding: 14px 22px;
    font-size: 15px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--line);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 144px;
    height: 36px;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0 auto;
}

.nav-link,
.nav-login {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-login:hover {
    color: var(--ink);
    background: var(--surface);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.nav-menu-actions {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.bar {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero */
.hero {
    padding: 128px 0 88px;
    background: var(--white);
}

.hero-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid rgba(37, 99, 235, 0.16);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
    color: var(--ink);
}

.hero-description {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
}

.hero-feature svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

/* Chat preview */
.hero-visual {
    display: flex;
    justify-content: center;
}

.chat-preview {
    width: 100%;
    max-width: 400px;
}

.chat-window {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--line);
}

.chat-header {
    background: var(--ink);
    color: var(--white);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar svg {
    width: 16px;
    height: 16px;
}

.chat-title {
    font-weight: 600;
    font-size: 14px;
}

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

.chat-status::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.chat-messages {
    padding: 16px;
    min-height: 280px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    display: flex;
    opacity: 0;
    transform: translateY(8px);
}

.message.visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.message-content {
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 280px;
    font-size: 13.5px;
    line-height: 1.45;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line);
    border-bottom-right-radius: 4px;
}

.ai-message .message-content {
    background: var(--ink);
    color: var(--white);
    border-bottom-left-radius: 4px;
}

.message-data {
    font-variant-numeric: tabular-nums;
}

.data-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--accent);
}

.data-label svg {
    width: 14px;
    height: 14px;
}

.chat-input {
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: none;
    font-size: 13px;
    background: var(--surface);
    color: var(--muted);
}

.send-btn {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.send-btn svg {
    width: 16px;
    height: 16px;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title,
.demo-title,
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.15;
}

.section-description {
    font-size: 17px;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Demo */
.demo {
    padding: 96px 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.demo-title {
    margin-bottom: 16px;
}

.demo-description {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.demo-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 15px;
    color: var(--ink-soft);
}

.feature-check {
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    width: 12px;
    height: 12px;
}

.demo-browser {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

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

.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }

.browser-url {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--muted);
}

.browser-content {
    position: relative;
    min-height: 280px;
    padding: 28px;
    background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}

.website-mock {
    max-width: 280px;
}

.mock-nav {
    height: 10px;
    width: 40%;
    background: var(--line);
    border-radius: 4px;
    margin-bottom: 24px;
}

.mock-hero {
    height: 18px;
    width: 70%;
    background: #cbd5e1;
    border-radius: 6px;
    margin-bottom: 12px;
}

.mock-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-rows span {
    display: block;
    height: 8px;
    background: var(--line);
    border-radius: 4px;
}

.mock-rows span:nth-child(1) { width: 90%; }
.mock-rows span:nth-child(2) { width: 72%; }
.mock-rows span:nth-child(3) { width: 58%; }

.widget-launcher {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.widget-launcher svg {
    width: 22px;
    height: 22px;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features bento */
.features {
    padding: 96px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}

.feature-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 18px;
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--accent);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.feature-description {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.feature-card.featured .feature-description {
    color: #94a3b8;
    font-size: 16px;
    max-width: 460px;
}

.feature-benefits {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.feature-benefits li {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border-radius: 999px;
}

/* Comparison */
.comparison {
    padding: 96px 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.comparison-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
}

.comparison-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.comparison-cell {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.comparison-row:last-child .comparison-cell {
    border-bottom: none;
}

.feature-cell {
    justify-content: flex-start;
    font-weight: 500;
    color: var(--muted);
    text-align: left;
}

.comparison-cell.highlight {
    background: rgba(37, 99, 235, 0.04);
}

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

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

.cross {
    color: var(--danger);
    font-weight: 600;
}

.partial {
    color: var(--warn);
    font-weight: 600;
}

.comparison-cards {
    display: none;
    grid-template-columns: 1fr;
    gap: 16px;
}

.competitor-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.competitor-card.featured {
    border-color: var(--primary);
}

.competitor-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 16px;
}

.competitor-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.competitor-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-soft);
}

.competitor-card .check,
.competitor-card .cross,
.competitor-card .partial {
    min-width: 56px;
    font-size: 12px;
}

/* Pricing */
.pricing {
    padding: 96px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.popular {
    border-color: var(--primary);
    background: var(--surface);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 20px;
}

.pricing-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.price {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.period {
    font-size: 14px;
    color: var(--muted);
}

.pricing-description {
    color: var(--muted);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    flex: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 20px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.4;
}

.pricing-features li:not(.pricing-feature-plus)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.pricing-feature-plus {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-left: 0 !important;
    margin-bottom: 4px;
}

.pricing-card .btn {
    width: 100%;
}

/* FAQ */
.faq {
    padding: 96px 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.faq-item h3 {
    font-size: inherit;
    font-weight: inherit;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

.faq-toggle {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    background: var(--muted);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-toggle::before {
    width: 12px;
    height: 1.5px;
}

.faq-toggle::after {
    width: 1.5px;
    height: 12px;
}

.faq-item.open .faq-toggle::after {
    display: none;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 15px;
}

/* CTA */
.cta {
    padding: 96px 0;
    background: var(--ink);
    color: var(--white);
}

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

.cta-title {
    color: var(--white);
}

.cta-description {
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #cbd5e1;
}

.trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* Footer */
.footer {
    background: #020617;
    color: #94a3b8;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-description {
    margin: 16px 0;
    max-width: 320px;
    line-height: 1.6;
    font-size: 14px;
}

.footer-contact a {
    color: #93c5fd;
    text-decoration: none;
    font-size: 14px;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-title {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    font-size: 13px;
    color: #64748b;
}

.logo-icon-on-dark {
    filter: brightness(1.15);
}

/* Motion */
.fade-in-up {
    animation: fadeInUp 0.55s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in-up,
    .message.visible {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1024px) {
    .hero-container,
    .demo-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: 1;
    }

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

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

    .feature-card.featured {
        grid-column: span 2;
        grid-row: auto;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .navbar:has(.nav-menu.active) {
        height: 100dvh;
        background: var(--white);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow-y: auto;
    }

    .navbar:has(.nav-menu.active) .nav-container {
        height: auto;
        min-height: var(--nav-h);
        flex-wrap: wrap;
        align-items: center;
        padding-bottom: 24px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 24px;
        gap: 24px;
        order: 3;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
        margin: 0;
    }

    .nav-link {
        display: block;
        padding: 12px 8px;
        font-size: 16px;
    }

    .nav-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 8px;
        border-top: 1px solid var(--line);
    }

    .nav-menu-actions .btn {
        width: 100%;
    }

    .logo-icon {
        width: 122px;
        height: 30px;
    }

    .hero {
        padding: 104px 0 64px;
    }

    .hero-stats {
        gap: 24px;
    }

    .features-bento,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.featured {
        grid-column: auto;
    }

    .comparison-table {
        display: none;
    }

    .comparison-cards {
        display: grid;
    }

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

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
    }

    .footer-content,
    .footer-brand {
        grid-template-columns: 1fr;
        grid-column: auto;
        gap: 32px;
    }

    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container,
    .hero-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .chat-preview {
        max-width: 100%;
    }
}
