:root {
    --primary: #a855f7;
    --primary-hover: #c084fc;
    --secondary: #ec4899;
    --bg-darker: #020617;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --primary-gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

.text-center { text-align: center; }
.fw-bold { font-weight: 700; }
.mt-4 { margin-top: 1.5rem; }

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

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

.nav-links a:not(.btn) {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: 0.3s;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    line-height: 1;
}

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

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs li[aria-current="page"] {
    color: var(--primary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(2,6,23,0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(236, 72, 153, 0.1);
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-features {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.guarantee {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Mockup (Decorative) */
.glass-mockup {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

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

.mockup-header {
    background: rgba(255,255,255,0.02);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: auto;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
}
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.mockup-header .title {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mockup-body {
    padding: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-card .label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 800;
}

.mockup-graph {
    height: 120px;
    background: linear-gradient(to top, rgba(168,85,247,0.2) 0%, transparent 100%);
    border-bottom: 2px solid var(--primary);
    border-radius: 0 0 4px 4px;
    position: relative;
    overflow: hidden;
}

/* Problem / Solution */
.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-card h2, .solution-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.intro {
    font-weight: 600;
    color: var(--text-muted);
    margin: 1.5rem 0 0.5rem;
}

ul.bad-list, ul.good-list {
    list-style: none;
}

ul.bad-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    color: #f87171;
}

ul.bad-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
}

ul.good-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    color: #4ade80;
}

ul.good-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
}

.solution-card.highlighted {
    border: 1px solid var(--primary);
    background: linear-gradient(180deg, rgba(168,85,247,0.05) 0%, rgba(15,23,42,0.8) 100%);
}

.solution-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(168,85,247,0.3);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* Trust Features */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.trust-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.trust-item p {
    color: var(--text-muted);
}

/* Use Cases */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.use-case-tag {
    padding: 14px 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.use-case-tag:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
    border-color: var(--primary);
    color: var(--primary);
}

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

.price-card {
    text-align: left;
    position: relative;
    padding: 50px 40px;
}

.best-value {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(168,85,247,0.08) 0%, rgba(15,23,42,0.9) 100%);
    transform: scale(1.05);
}

.best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.plan-price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: top;
    line-height: 1.5;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
}

.plan-features li {
    margin-bottom: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check {
    color: var(--primary);
    font-weight: bold;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    text-align: left;
}

.stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, rgba(168,85,247,0.1) 0%, rgba(236,72,153,0.1) 100%);
    border: 1px solid rgba(168,85,247,0.3);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

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

.footer-desc {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

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

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

.footer-links a, .footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Social Proof Hero */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-darker);
    margin-left: -12px;
}

.avatars img:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: -12px;
    border: 2px solid var(--bg-darker);
}

.social-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-text span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Logo Strip */
.logo-strip {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 80px;
}

.company-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.company-logo:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Variables */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .best-value {
        transform: scale(1);
    }
}

@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .glass-mockup {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .ps-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .steps-grid, .trust-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}


/* =====================================================
   MULTI-PAGE COMPONENTS
   Added for: features, pricing, how-it-works, use-cases,
   faq, about, contact, legal and 404 pages.
   ===================================================== */

/* Active nav state */
.nav-links a:not(.btn).active {
    color: var(--primary);
}

/* Interior Page Hero */
.page-hero {
    position: relative;
    padding: 170px 0 70px;
    text-align: center;
    overflow: hidden;
}

.page-hero .breadcrumbs ol {
    justify-content: center;
}

.page-hero .page-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.page-hero .page-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.page-hero .hero-cta {
    justify-content: center;
    margin-top: 2.5rem;
}

/* Reduce the gap when a page hero is followed directly by a section */
.page-hero + .section-padding {
    padding-top: 40px;
}

/* Generic feature/benefit card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

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

.card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card-grid .glass-card {
    padding: 32px;
}

.card-grid h3 {
    font-size: 1.25rem;
    margin: 18px 0 10px;
    font-weight: 700;
}

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

.card-emoji {
    font-size: 2rem;
    line-height: 1;
    display: block;
}

/* Alternating feature detail rows */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.feature-row + .feature-row {
    margin-top: 110px;
}

.feature-row.reverse .feature-media {
    order: -1;
}

.feature-copy .eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.feature-copy h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.feature-copy > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Check list (reusable) */
ul.check-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

ul.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-main);
}

ul.check-list li::before {
    content: "✓";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Media panel used beside feature copy */
.feature-media {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.panel-title .pill {
    text-transform: none;
    letter-spacing: 0;
    background: rgba(168, 85, 247, 0.15);
    color: var(--primary-hover);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Rows inside a media panel */
.panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.panel-row + .panel-row {
    margin-top: 10px;
}

.panel-row .muted {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.panel-row .tick {
    color: #4ade80;
    font-weight: 700;
}

/* Chat bubble preview */
.chat-preview {
    display: grid;
    gap: 12px;
}

.bubble {
    max-width: 88%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.925rem;
    line-height: 1.5;
}

.bubble.out {
    justify-self: end;
    background: var(--primary-gradient);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.bubble.in {
    justify-self: start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

.bubble .tag {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 1px 6px;
    font-weight: 600;
}

/* Stats band */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-block .stat-value {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    display: block;
}

.stat-block .stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 6px;
    display: block;
}

/* Comparison table */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

table.compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    text-align: left;
}

table.compare th,
table.compare td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.975rem;
    vertical-align: middle;
}

table.compare thead th {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
}

table.compare thead th.is-us {
    color: var(--primary-hover);
}

table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td {
    border-bottom: none;
}

table.compare tbody th {
    font-weight: 600;
    color: var(--text-main);
}

table.compare td {
    color: var(--text-muted);
}

table.compare td.is-us {
    color: var(--text-main);
    background: rgba(168, 85, 247, 0.06);
    font-weight: 600;
}

.yes { color: #4ade80; font-weight: 700; }
.no  { color: #f87171; font-weight: 700; }

/* FAQ accordion (native details/summary - works without JS) */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 14px;
    transition: border-color 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(168, 85, 247, 0.4);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 60px 22px 26px;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item summary:hover {
    color: var(--primary-hover);
}

.faq-item .faq-answer {
    padding: 0 26px 24px;
    color: var(--text-muted);
}

.faq-item .faq-answer p + p {
    margin-top: 12px;
}

.faq-group-title {
    max-width: 820px;
    margin: 48px auto 20px;
    text-align: left;
    font-size: 1.35rem;
    font-weight: 700;
}

.faq-group-title:first-of-type {
    margin-top: 0;
}

/* Contact / form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: start;
    text-align: left;
}

.form-card {
    padding: 40px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #64748b;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
}

.field select option {
    background: var(--bg-card);
    color: var(--text-main);
}

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

.form-status {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.925rem;
    border: 1px solid rgba(74, 222, 128, 0.35);
    background: rgba(74, 222, 128, 0.1);
    color: #86efac;
}

.contact-methods {
    display: grid;
    gap: 20px;
}

.contact-method {
    padding: 28px;
}

.contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

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

.contact-method a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.contact-method a:hover {
    color: var(--primary-hover);
}

/* Long-form / legal prose */
.prose {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-muted);
}

.prose h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 48px 0 16px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 28px 0 12px;
}

.prose p {
    margin-bottom: 16px;
}

.prose ul,
.prose ol {
    margin: 0 0 16px 22px;
}

.prose li {
    margin-bottom: 10px;
}

.prose a {
    color: var(--primary);
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

.prose strong {
    color: var(--text-main);
}

.legal-updated {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Use-case detail cards */
.usecase-card {
    padding: 34px;
    text-align: left;
}

.usecase-card .card-emoji {
    margin-bottom: 14px;
}

.usecase-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.usecase-card > p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.usecase-card .target-line {
    font-size: 0.875rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 18px;
}

.usecase-card .target-line strong {
    color: var(--primary-hover);
}

/* Numbered step rows (how it works page) */
.step-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    align-items: start;
}

.step-row + .step-row {
    margin-top: 40px;
}

.step-row .big-number {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

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

.step-row p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* 404 */
.error-page {
    position: relative;
    overflow: hidden;
    padding: 200px 0 140px;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Footer: extra link column support */
.footer-grid.cols-4 {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

/* Small helpers */
.mt-2 { margin-top: 0.75rem; }
.mb-0 { margin-bottom: 0; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* =====================================================
   RESPONSIVE - multi-page components
   ===================================================== */

@media (max-width: 1100px) {
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .card-grid,
    .card-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row + .feature-row {
        margin-top: 70px;
    }

    .feature-row.reverse .feature-media {
        order: 0;
    }

    .stats-band {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

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

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

@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

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

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 50px;
    }

    .page-hero .page-title {
        font-size: 2.25rem;
    }

    .card-grid,
    .card-grid.cols-2,
    .card-grid.cols-4 {
        grid-template-columns: 1fr;
    }

    .feature-copy h2 {
        font-size: 1.6rem;
    }

    .step-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .step-row .big-number {
        width: 68px;
        height: 68px;
        border-radius: 18px;
        font-size: 1.75rem;
    }

    .form-card {
        padding: 28px 22px;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-page {
        padding: 150px 0 100px;
    }

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

    .prose h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 520px) {
    .stats-band {
        grid-template-columns: 1fr;
    }

    .faq-item summary {
        font-size: 0.975rem;
        padding: 18px 50px 18px 20px;
    }

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