/* Landing page custom styles — standalone, no Tailwind dependency */

:root {
    --bg-deep: #0F1115;
    --bg-card: #1B1E24;
    --bg-card-hover: #23282F;
    --accent-primary: #E57373;
    --accent-secondary: #FFB1B1;
    --accent-dim: #2A2022;

    --text-main: #F5F5F7;
    --text-muted: #8E95A2;

    --radius-card: 24px;
    --radius-btn: 99px;

    --glow-primary: 0 0 30px rgba(229, 115, 115, 0.2);
    --glow-text: 0 0 15px rgba(255, 177, 177, 0.3);

    --border-subtle: rgba(229, 115, 115, 0.1);
    --border-highlight: rgba(229, 115, 115, 0.4);

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background effects */
.bg-gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(35, 40, 47, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(229, 115, 115, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(142, 149, 162, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 149, 162, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFB1B1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(229, 115, 115, 0.15);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: #fff;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.text-gradient {
    color: var(--accent-secondary);
}

.text-gradient-heading {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFB1B1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .text-gradient-heading {
    background: linear-gradient(135deg, #C0392B 0%, #F08080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(90deg, #E57373, #D45D5D);
    color: white;
    box-shadow: 0 4px 20px rgba(229, 115, 115, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(229, 115, 115, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Legal page CTA buttons */
.legal-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
    margin-bottom: 32px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: var(--spacing-md);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
    opacity: 1;
}

/* Header */
.landing-header {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    min-height: 4rem;
}

.landing-header::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

/* Offset anchor targets for fixed navbar */
section[id] {
    scroll-margin-top: 140px;
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-primary);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: var(--spacing-md);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-secondary);
}

.nav-links .nav-cta {
    color: white;
    margin-left: 30px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.theme-toggle:hover {
    color: var(--accent-primary);
}

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: var(--spacing-xl);
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content .subtitle {
    margin-bottom: 32px;
    font-size: 1.2rem;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-social-proof {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-stack {
    display: flex;
}

.avatar-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--bg-deep);
}

.avatar-dot:not(:first-child) {
    margin-left: -10px;
}

.avatar-dot:nth-child(1) { background: #2A2D34; }
.avatar-dot:nth-child(2) { background: #3A3F48; }
.avatar-dot:nth-child(3) { background: #4B515C; }

.social-proof-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.social-proof-count {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* Hero visualization */
.hero-viz {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
}

.radar-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(20deg);
    width: 300px;
    height: 300px;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(229, 115, 115, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(229, 115, 115, 0.05);
}

.c1 { width: 100%; height: 100%; }
.c2 { width: 70%; height: 70%; border-style: dashed; }
.c3 { width: 40%; height: 40%; background: rgba(229, 115, 115, 0.05); box-shadow: 0 0 20px var(--accent-primary); }

.data-card-float {
    position: absolute;
    background: rgba(27, 30, 36, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    animation: float 6s ease-in-out infinite;
}

.dc-1 {
    top: 10%;
    right: 0;
    width: 180px;
}

.dc-2 {
    bottom: 10%;
    left: 0;
    width: 200px;
    animation-delay: 2s;
}

.dc-label {
    font-size: 12px;
    color: var(--text-muted);
}

.dc-value {
    font-size: 12px;
    color: var(--accent-secondary);
}

.mini-graph {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-top: 8px;
}

.bar {
    flex: 1;
    background: var(--accent-primary);
    border-radius: 2px;
    opacity: 0.5;
}

.bar.active {
    background: var(--accent-secondary);
    opacity: 1;
    box-shadow: 0 0 8px var(--accent-secondary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header p {
    margin: 0 auto;
}

/* Steps grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(229, 115, 115, 0.05);
    line-height: 1;
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-dim), var(--bg-deep));
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
    margin-bottom: var(--spacing-sm);
    box-shadow: inset 0 0 10px rgba(229, 115, 115, 0.1);
}

/* Use cases grid */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.usecase-card {
    text-align: center;
    padding: 24px 16px;
}

.usecase-card .usecase-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-sm);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-dim), var(--bg-deep));
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
}

.usecase-card h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.usecase-card p {
    font-size: 0.8rem;
    margin: 0 auto;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.feature-card-large {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.feature-card-large .feature-text {
    flex: 1;
}

.feature-card-large .feature-text h3 {
    color: var(--accent-secondary);
}

.feature-card-large .feature-text p {
    margin-bottom: 20px;
}

.feature-checklist {
    color: var(--text-muted);
    font-size: 0.9rem;
    list-style: none;
    padding: 0;
}

.feature-checklist li {
    margin-bottom: 8px;
}

.feature-viz {
    flex: 1;
    height: 200px;
    background: linear-gradient(180deg, rgba(229, 115, 115, 0.05) 0%, rgba(15, 17, 21, 0) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-small-icon {
    margin-bottom: 15px;
    color: var(--accent-secondary);
}

/* Testimonials grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.testimonial-quote {
    font-size: 2rem;
    color: rgba(229, 115, 115, 0.15);
    margin-bottom: 12px;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 100%;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.testimonial-avatar.secondary { background: #7C3AED; }
.testimonial-avatar.tertiary { background: #14B8A6; }

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Research depth grid */
.depth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.depth-card {
    text-align: center;
}

.depth-card.featured {
    border-color: var(--accent-primary);
    background: radial-gradient(circle at top, rgba(229, 115, 115, 0.08), var(--bg-card));
    transform: scale(1.05);
    z-index: 1;
}

.depth-card .depth-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-btn);
    margin-bottom: 12px;
}

.depth-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.depth-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 100%;
}

.depth-credits {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 16px;
}

.depth-credits .credit-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.depth-credits .credit-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.depth-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 12px;
}

.depth-features li {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.depth-features .badge {
    display: inline-block;
    min-width: 28px;
    text-align: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    flex-shrink: 0;
}

.depth-features .badge.primary {
    border-color: var(--accent-primary);
    color: var(--accent-secondary);
}

.depth-features .badge.accent {
    border-color: #14B8A6;
    color: #14B8A6;
}

.depth-time {
    font-size: 0.8rem;
    color: rgba(142, 149, 162, 0.6);
}

/* Pricing grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.price-card {
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.price-card.featured {
    border-color: var(--accent-primary);
    background: radial-gradient(circle at top, rgba(229, 115, 115, 0.08), var(--bg-card));
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.price-card .price-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-btn);
    margin-bottom: 12px;
}

.price-card .price-badge.accent {
    background: #14B8A6;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 12px 0;
}

.price .old-price {
    font-size: 1rem;
    color: rgba(142, 149, 162, 0.5);
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 8px;
}

.price-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    max-width: 100%;
}

.price-per-credit {
    font-size: 0.85rem;
    color: rgba(142, 149, 162, 0.6);
    margin-bottom: 20px;
    max-width: 100%;
}

.price-card .discount-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-btn);
    background: rgba(229, 115, 115, 0.15);
    color: var(--accent-secondary);
    margin-left: 6px;
}

.price-card .discount-badge.accent {
    background: rgba(20, 184, 166, 0.15);
    color: #14B8A6;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(142, 149, 162, 0.6);
    margin-bottom: var(--spacing-xl);
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-lg);
}

.cta-card {
    background: radial-gradient(circle at top, rgba(229, 115, 115, 0.1), var(--bg-card));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-card);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.cta-card h2 {
    margin-bottom: var(--spacing-sm);
}

.cta-card p {
    margin: 0 auto var(--spacing-md);
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-telegram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.cta-telegram:hover {
    color: var(--accent-secondary);
}

/* Shared footer */
.site-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0 2rem;
}
.site-footer__inner { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) {
    .site-footer__grid { grid-template-columns: repeat(4, 1fr); }
}
.site-footer__logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; color: inherit; text-decoration: none; }
.site-footer__logo-icon { width: 1.75rem; height: 1.75rem; color: var(--accent-primary); }
.site-footer__tagline { font-size: 0.875rem; color: rgba(255, 255, 255, 0.4); }
.site-footer__heading { font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); margin-bottom: 0.75rem; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__links a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.4); text-decoration: none; transition: color 0.2s; }
.site-footer__links a:hover { color: var(--accent-primary); }
.site-footer__copyright { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 1.5rem; text-align: center; font-size: 0.75rem; color: rgba(255, 255, 255, 0.3); }

/* Pain points grid */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); margin-bottom: var(--spacing-lg); }
.pain-card { text-align: center; }
.pain-card-danger { border-color: rgba(239, 68, 68, 0.3); }
.pain-card-warning { border-color: rgba(234, 179, 8, 0.3); }
.pain-card-success { border-color: rgba(34, 197, 94, 0.3); }
.pain-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.pain-icon-danger { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.pain-icon-warning { background: rgba(234, 179, 8, 0.1); color: #EAB308; }
.pain-icon-success { background: rgba(34, 197, 94, 0.1); color: #22C55E; }
.pain-title-danger { color: #EF4444; }
.pain-title-warning { color: #EAB308; }
.pain-title-success { color: #22C55E; }

/* Steps (centered variant) */
.step-card-centered { padding-top: 48px; text-align: center; }
.step-icon-lg { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step-icon-lg.accent-primary { background: rgba(229, 115, 115, 0.1); color: #E57373; }
.step-icon-lg.accent-secondary { background: rgba(255, 177, 177, 0.1); color: var(--accent-secondary); }
.step-icon-lg.accent-teal { background: rgba(20, 184, 166, 0.1); color: #14B8A6; }

/* Feature icons */
.feature-icon-sm { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feature-icon-sm.accent-primary { background: rgba(229, 115, 115, 0.1); color: #E57373; }
.feature-icon-sm.accent-secondary { background: rgba(255, 177, 177, 0.1); color: var(--accent-secondary); }
.feature-icon-sm.accent-teal { background: rgba(20, 184, 166, 0.1); color: #14B8A6; }
.feature-icon-sm.accent-green { background: rgba(34, 197, 94, 0.1); color: #22C55E; }
.feature-icon-sm.accent-blue { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.feature-icon-sm.accent-yellow { background: rgba(234, 179, 8, 0.1); color: #EAB308; }

/* Use cases 4-col responsive */
.usecases-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Testimonial card */
.testimonial-card { display: flex; flex-direction: column; }

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-social-proof {
        justify-content: center;
    }

    .hero-viz {
        height: 300px;
        margin-top: 40px;
    }

    .radar-group {
        left: 50%;
        transform: translate(-50%, -50%) rotateX(20deg);
    }

    h1 { font-size: 3rem; }

    .steps-grid,
    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .depth-grid {
        grid-template-columns: 1fr;
    }

    .pain-grid,
    .usecases-grid-4 {
        grid-template-columns: 1fr;
    }

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

    .feature-card-large {
        grid-column: span 1;
        flex-direction: column;
    }

    .depth-card.featured {
        transform: none;
    }

    .price-card.featured {
        transform: none;
    }

    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: var(--spacing-md);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links.open a {
        margin-left: 0;
        padding: 12px 0;
        color: #fff;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 600px) {
    .usecases-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Component styles for public pages
   ============================================ */

/* Page section — padding-top for fixed header */
.page-section {
    padding-top: 140px;
    padding-bottom: var(--spacing-lg);
}

/* Form styles */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-label-alt {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card-hover);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-hint {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

/* Alert styles */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86EFAC;
}

.alert-warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #FDE047;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93C5FD;
}

.alert svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.alert.hidden {
    display: none;
}

/* Prose styles for article content */
.prose-landing {
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 100%;
}

.prose-landing h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 1rem;
    background: none;
    -webkit-text-fill-color: unset;
}

.prose-landing h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.prose-landing h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose-landing p {
    margin-bottom: 1rem;
    line-height: 1.75;
    max-width: 100%;
}

.prose-landing ul,
.prose-landing ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose-landing ul { list-style-type: disc; }
.prose-landing ol { list-style-type: decimal; }

.prose-landing li {
    margin-bottom: 0.5rem;
    line-height: 1.625;
}

.prose-landing strong {
    font-weight: 600;
    color: var(--text-main);
}

.prose-landing a {
    color: var(--accent-secondary);
    text-decoration: underline;
    transition: color 0.2s;
}

.prose-landing a:hover {
    color: var(--accent-primary);
}

.prose-landing blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.prose-landing hr {
    margin: 2rem 0;
    border-color: rgba(255, 255, 255, 0.1);
}

.prose-landing code {
    background: var(--bg-card-hover);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.prose-landing pre {
    background: var(--bg-card-hover);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.prose-landing pre code {
    background: transparent;
    padding: 0;
}

.prose-landing table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.prose-landing th,
.prose-landing td {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.prose-landing th {
    background: var(--bg-card-hover);
    font-weight: 600;
    color: var(--text-main);
}

/* Badge styles */
.badge-landing {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-btn);
    font-size: 0.75rem;
    font-weight: 600;
    gap: 4px;
}

.badge-landing-primary {
    background: rgba(229, 115, 115, 0.15);
    color: var(--accent-secondary);
    border: 1px solid rgba(229, 115, 115, 0.3);
}

.badge-landing-secondary {
    background: rgba(255, 177, 177, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(255, 177, 177, 0.2);
}

.badge-landing-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-landing-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: none;
}

.badge-landing-success {
    background: rgba(34, 197, 94, 0.15);
    color: #86EFAC;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-landing-warning {
    background: rgba(234, 179, 8, 0.15);
    color: #FDE047;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.badge-landing-error {
    background: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Loading styles */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(229, 115, 115, 0.2);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.spinner-lg {
    width: 60px;
    height: 60px;
    border-width: 4px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton animation */
.animate-pulse-landing {
    animation: pulse-landing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-landing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Divider styles */
.divider-landing {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.divider-landing::before,
.divider-landing::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Breadcrumbs */
.breadcrumbs-landing {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
}

.breadcrumbs-landing a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs-landing a:hover {
    color: var(--accent-secondary);
}

.breadcrumbs-landing span {
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumbs-landing .current {
    color: var(--text-main);
    opacity: 1;
}

/* Link styles */
.link-primary {
    color: var(--accent-secondary);
    text-decoration: underline;
    transition: color 0.2s;
}

.link-primary:hover {
    color: var(--accent-primary);
}

/* OAuth button styles */
.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-btn);
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.oauth-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.oauth-btn svg {
    width: 20px;
    height: 20px;
}

/* HTMX indicator */
.htmx-indicator {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    opacity: 1;
}

/* Grid utilities */
.grid-landing {
    display: grid;
    gap: var(--spacing-md);
}

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

/* Spacing utilities */
.space-y-2 > * + * { margin-top: 8px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Display utilities */
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }

/* Max-width utilities */
.max-w-sm { max-width: 384px; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.max-w-6xl { max-width: 1152px; }
.w-full { width: 100%; }

/* Width/height utilities */
.w-5 { width: 20px; }
.h-5 { height: 20px; }
.w-6 { width: 24px; }
.h-6 { height: 24px; }
.w-10 { width: 40px; }
.h-10 { height: 40px; }
.w-16 { width: 64px; }
.h-16 { height: 64px; }
.w-20 { width: 80px; }
.h-20 { height: 80px; }

/* Status icon circles */
.status-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
}

.status-circle-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.status-circle-error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.status-circle-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

/* Pagination */
.pagination-landing {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
}

.pagination-landing .page-btn {
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-landing .page-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-main);
}

.pagination-landing .page-btn.disabled {
    opacity: 0.4;
    cursor: default;
}

/* Text utilities */
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive grid utilities */
@media (max-width: 900px) {
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 901px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Card hover link (for clickable cards in blog/examples) */
a.card {
    text-decoration: none;
    color: inherit;
}

a.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FAQ Page
   ============================================ */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: var(--spacing-lg);
    scroll-margin-top: 140px;
}

.faq-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-highlight);
}

.faq-item[open] {
    border-color: var(--border-highlight);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23E57373' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 8px 0 12px 20px;
    list-style: disc;
}

.faq-answer ul li {
    margin-bottom: 6px;
}

.faq-answer strong {
    color: var(--text-main);
    font-weight: 600;
}

.faq-answer a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer a:hover {
    color: var(--accent-secondary);
}

.faq-cta {
    background: radial-gradient(circle at center, var(--accent-dim), transparent);
    border-radius: var(--radius-card);
    padding: var(--spacing-lg);
    text-align: center;
    border: 1px solid var(--border-subtle);
    margin-top: var(--spacing-lg);
}

.faq-cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.faq-cta p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.faq-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-cta-buttons .btn-primary {
    background: linear-gradient(90deg, #E57373, #D45D5D);
    color: white;
    box-shadow: 0 4px 20px rgba(229, 115, 115, 0.3);
}

.faq-cta-buttons .btn-primary:hover {
    box-shadow: 0 6px 28px rgba(229, 115, 115, 0.45);
}

.faq-cta-buttons .btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: none;
}

.faq-cta-buttons .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Landing V2 — Pains section
   ============================================ */

.pains-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: var(--spacing-xl);
}

.pain-card-v2 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
}

.pain-card-v2-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(229, 115, 115, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
}

.pain-card-v2-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 100%;
    margin: 0;
}

/* ============================================
   Landing V2 — Steps with screenshots
   ============================================ */

.steps-v2 {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: var(--spacing-xl);
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.step-row.reverse {
    direction: rtl;
}

.step-row.reverse > * {
    direction: ltr;
}

.step-row-text {
    display: flex;
    flex-direction: column;
}

.step-number-v2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(229, 115, 115, 0.15);
    line-height: 1;
    margin-bottom: 12px;
}

.step-row-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step-row-text p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.screenshot-placeholder {
    aspect-ratio: 16 / 10;
    background: var(--bg-card);
    border: 2px dashed var(--border-subtle);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-placeholder-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.screenshot-box {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
}

.screenshot-box img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-box .screenshot-light {
    display: none;
}

[data-theme="light"] .screenshot-box .screenshot-dark {
    display: none;
}

[data-theme="light"] .screenshot-box .screenshot-light {
    display: block;
}

/* ============================================
   Landing V2 — Unified pricing
   ============================================ */

.unified-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    margin-bottom: var(--spacing-md);
}

.unified-pricing-card {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.unified-pricing-card.featured {
    border-color: var(--accent-primary);
    background: radial-gradient(circle at top, rgba(229, 115, 115, 0.08), var(--bg-card));
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.unified-pricing-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-btn);
    margin-bottom: 12px;
}

.unified-pricing-header {
    margin-bottom: 16px;
}

.unified-pricing-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.unified-pricing-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.unified-pricing-price {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
}

.unified-pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 4px;
}

.unified-pricing-credits {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.unified-pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 24px;
    flex: 1;
}

.unified-pricing-features li {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.unified-pricing-feature-value {
    display: inline-block;
    min-width: 50px;
    text-align: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    flex-shrink: 0;
}

.unified-pricing-feature-value.primary {
    border-color: var(--accent-primary);
    color: var(--accent-secondary);
}

.unified-pricing-feature-value.accent {
    border-color: #14B8A6;
    color: #14B8A6;
}

/* Landing V2 responsive */
@media (max-width: 900px) {
    .pains-grid {
        grid-template-columns: 1fr;
    }

    .step-row,
    .step-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 24px;
    }

    .step-row.reverse > * {
        direction: ltr;
    }

    .unified-pricing-grid {
        grid-template-columns: 1fr;
    }

    .unified-pricing-card.featured {
        transform: none;
    }
}

/* ============================================
   Light Theme
   ============================================ */

[data-theme="light"] {
    --bg-deep: #F0F4F8;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    --accent-primary: #F08080;
    --accent-secondary: #E57373;
    --accent-dim: #FFF5F5;

    --text-main: #2D3748;
    --text-muted: #718096;

    --glow-primary: 0 10px 30px rgba(240, 128, 128, 0.15);
    --glow-text: none;

    --border-subtle: rgba(203, 213, 224, 0.5);
    --border-highlight: rgba(240, 128, 128, 0.3);
}

/* Background effects */
[data-theme="light"] .bg-gradient-mesh {
    background:
        radial-gradient(circle at 15% 50%, #E8EFF5 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(240, 128, 128, 0.05) 0%, transparent 60%);
}

[data-theme="light"] .grid-overlay {
    background-image:
        linear-gradient(rgba(113, 128, 150, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113, 128, 150, 0.05) 1px, transparent 1px);
}

/* Typography */
[data-theme="light"] h1 {
    background: linear-gradient(135deg, #C0392B 0%, #F08080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

[data-theme="light"] h3 {
    color: var(--text-main);
}

/* Header */
[data-theme="light"] .landing-header {
    background: transparent;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .logo {
    color: var(--text-main);
}

[data-theme="light"] .nav-links .nav-cta {
    color: var(--text-main);
}

/* Buttons */
[data-theme="light"] .btn-primary {
    background: var(--accent-primary);
    box-shadow: 0 4px 14px rgba(240, 128, 128, 0.3);
}

[data-theme="light"] .btn-primary:hover {
    background: #E57373;
    box-shadow: 0 6px 20px rgba(240, 128, 128, 0.4);
}

[data-theme="light"] .btn-secondary {
    background: #E2E8F0;
    color: var(--text-main);
    border-color: #CBD5E0;
}

[data-theme="light"] .btn-secondary:hover {
    background: #D5DCE5;
    border-color: #B8C2CC;
}

/* FAQ */
[data-theme="light"] .faq-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .faq-item summary {
    color: var(--text-main);
}

[data-theme="light"] .faq-item summary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23F08080' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

[data-theme="light"] .faq-cta {
    background: radial-gradient(circle at center, #FFF5F5, transparent);
}

[data-theme="light"] .faq-cta-buttons .btn-ghost {
    background: #E2E8F0;
    color: var(--text-main);
}

[data-theme="light"] .faq-cta-buttons .btn-ghost:hover {
    background: #D5DCE5;
}

/* Cards */
[data-theme="light"] .card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .card::before {
    display: none;
}

/* Hero visualization */
[data-theme="light"] .radar-circle {
    border-color: rgba(113, 128, 150, 0.1);
    box-shadow: none;
}

[data-theme="light"] .c3 {
    background: rgba(240, 128, 128, 0.05);
    box-shadow: none;
}

[data-theme="light"] .data-card-float {
    background: rgba(255, 255, 255, 0.9);
    border-color: #E2E8F0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .bar {
    background: #CBD5E0;
    opacity: 1;
}

[data-theme="light"] .bar.active {
    background: var(--accent-primary);
    box-shadow: none;
}

/* Social proof */
[data-theme="light"] .avatar-dot {
    border-color: #FFFFFF;
}

[data-theme="light"] .avatar-dot:nth-child(1) { background: #E2E8F0; }
[data-theme="light"] .avatar-dot:nth-child(2) { background: #CBD5E0; }
[data-theme="light"] .avatar-dot:nth-child(3) { background: #A0AEC0; }

/* Steps */
[data-theme="light"] .step-number {
    color: #F7FAFC;
}

[data-theme="light"] .step-icon {
    background: var(--accent-dim);
    border-color: transparent;
    box-shadow: none;
}

/* Use cases */
[data-theme="light"] .usecase-card h4 {
    color: var(--text-main);
}

[data-theme="light"] .usecase-card .usecase-icon {
    background: var(--accent-dim);
    border-color: transparent;
}

/* Features */
[data-theme="light"] .feature-viz {
    background: #F7FAFC;
}

/* Depth cards / Pricing */
[data-theme="light"] .depth-card.featured {
    border-color: var(--accent-primary);
    background: #FFFFFF;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .depth-credits {
    border-bottom-color: #E2E8F0;
}

[data-theme="light"] .depth-credits .credit-value {
    color: var(--text-main);
}

[data-theme="light"] .depth-title {
    color: var(--text-main);
}

[data-theme="light"] .depth-features .badge {
    border-color: #E2E8F0;
}

[data-theme="light"] .price-card {
    background: #F8FAFC;
    border-color: #E2E8F0;
}

[data-theme="light"] .price-card.featured {
    border-color: var(--accent-primary);
    background: #FFFFFF;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .price {
    color: var(--text-main);
}

[data-theme="light"] .price .old-price {
    color: #A0AEC0;
}

/* Landing V2 — Pains */
[data-theme="light"] .pain-card-v2-icon {
    background: rgba(240, 128, 128, 0.1);
}

/* Landing V2 — Steps */
[data-theme="light"] .step-number-v2 {
    color: rgba(240, 128, 128, 0.15);
}

[data-theme="light"] .screenshot-placeholder {
    background: #F7FAFC;
    border-color: #CBD5E0;
}

/* Landing V2 — Unified pricing */
[data-theme="light"] .unified-pricing-card.featured {
    border-color: var(--accent-primary);
    background: #FFFFFF;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .unified-pricing-title {
    color: var(--text-main);
}

[data-theme="light"] .unified-pricing-amount {
    color: var(--text-main);
}

[data-theme="light"] .unified-pricing-price {
    border-bottom-color: #E2E8F0;
}

[data-theme="light"] .unified-pricing-feature-value {
    border-color: #E2E8F0;
}

/* CTA */
[data-theme="light"] .cta-card {
    background: #FFFFFF;
    border-color: var(--border-highlight);
}

/* Testimonials */
[data-theme="light"] .testimonial-quote {
    color: rgba(240, 128, 128, 0.2);
}

[data-theme="light"] .testimonial-name {
    color: var(--text-main);
}

/* Footer */
[data-theme="light"] .site-footer {
    border-top-color: #E2E8F0;
}

[data-theme="light"] .site-footer__tagline {
    color: #718096;
}

[data-theme="light"] .site-footer__heading {
    color: #4A5568;
}

[data-theme="light"] .site-footer__links a {
    color: #718096;
}

[data-theme="light"] .site-footer__copyright {
    border-top-color: #E2E8F0;
    color: #A0AEC0;
}

/* Mobile nav */
@media (max-width: 900px) {
    [data-theme="light"] .nav-links.open {
        background: rgba(255, 255, 255, 0.2);
        border-bottom-color: #E2E8F0;
    }

    [data-theme="light"] .nav-links.open a {
        color: #1A202C;
    }
}

/* Forms */
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
    background: #F7FAFC;
    border-color: #E2E8F0;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus,
[data-theme="light"] .form-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(240, 128, 128, 0.15);
}

/* OAuth buttons */
[data-theme="light"] .oauth-btn {
    background: #F7FAFC;
    border-color: #E2E8F0;
}

[data-theme="light"] .oauth-btn:hover {
    background: #EDF2F7;
    border-color: #CBD5E0;
}

/* Alerts */
[data-theme="light"] .alert-error {
    background: rgba(239, 68, 68, 0.08);
    color: #C53030;
}

[data-theme="light"] .alert-success {
    background: rgba(34, 197, 94, 0.08);
    color: #276749;
}

[data-theme="light"] .alert-warning {
    background: rgba(234, 179, 8, 0.08);
    color: #975A16;
}

[data-theme="light"] .alert-info {
    background: rgba(59, 130, 246, 0.08);
    color: #2B6CB0;
}

/* Prose */
[data-theme="light"] .prose-landing h2 {
    border-bottom-color: #E2E8F0;
}

[data-theme="light"] .prose-landing hr {
    border-color: #E2E8F0;
}

[data-theme="light"] .prose-landing th {
    background: #F7FAFC;
}

[data-theme="light"] .prose-landing th,
[data-theme="light"] .prose-landing td {
    border-color: #E2E8F0;
}

/* Divider */
[data-theme="light"] .divider-landing::before,
[data-theme="light"] .divider-landing::after {
    background: #E2E8F0;
}

/* Badges */
[data-theme="light"] .badge-landing-secondary {
    background: rgba(240, 128, 128, 0.1);
    border-color: rgba(240, 128, 128, 0.2);
}

[data-theme="light"] .badge-landing-outline {
    border-color: #E2E8F0;
}

[data-theme="light"] .badge-landing-ghost {
    background: #F7FAFC;
}

/* Pagination */
[data-theme="light"] .pagination-landing .page-btn {
    border-color: #E2E8F0;
}

/* Pain points */
[data-theme="light"] .pain-card-danger { border-color: rgba(239, 68, 68, 0.2); }
[data-theme="light"] .pain-card-warning { border-color: rgba(234, 179, 8, 0.2); }
[data-theme="light"] .pain-card-success { border-color: rgba(34, 197, 94, 0.2); }

[data-theme="light"] .badge-landing-success {
    color: #16a34a;
}
[data-theme="light"] .badge-landing-warning {
    color: #a16207;
}
[data-theme="light"] .badge-landing-error {
    color: #dc2626;
}

/* Card hover link */
[data-theme="light"] a.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
