/* ============================================================
   VSESVIT AI - Design System
   Fonts: Space Grotesk (headings), IBM Plex Sans (body)
   Grid unit: 8px - all spacing derived from multiples
   Max content width: 1180px
   ============================================================ */

/* ============================================
   RESET & OVERFLOW PREVENTION
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

p, li, td, th {
    overflow-wrap: break-word;
}

a {
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
}

a:not([class]) {
    word-break: normal;
}

input, textarea, select, button {
    max-width: 100%;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

section {
    overflow: clip;
}


/* ============================================
   TYPOGRAPHY
   Space Grotesk: headings & display numbers
   IBM Plex Sans: body, labels, UI text
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: "Space Grotesk", sans-serif;
    color: var(--foreground);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}
h2 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}
h3 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
}
h4 {
    font-size: 18px;
    font-weight: 500;
}

p {
    margin-bottom: 24px;
    max-width: 72ch;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
}

blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 20px;
    margin: 24px 0;
    background: color-mix(in srgb, var(--primary) 5%, var(--background));
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted-foreground);
    font-style: normal;
}

/* Desktop typography scale */
@media (min-width: 1024px) {
    h1 { font-size: 52px; }
    h2 { font-size: 38px; }
    h3 { font-size: 26px; }
    h4 { font-size: 20px; }
}


/* ============================================
   LAYOUT - Container & section spacing
   Max-width 1180px, 8px grid multiples
   ============================================ */

.container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    min-width: 0;
}

@media (min-width: 768px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.section {
    padding-top: 56px;
    padding-bottom: 56px;
}

@media (min-width: 1024px) {
    .section {
        padding-top: 96px;
        padding-bottom: 96px;
    }
}

/* Full-bleed wrapper for sections that need contrast backgrounds */
.full-bleed {
    width: 100%;
}

.full-bleed--alt {
    background-color: var(--card);
}

.full-bleed--dark {
    background-color: var(--secondary);
}


/* ============================================
   BUTTONS
   Primary (cobalt), accent (emerald), outline, CTA
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 150ms ease, box-shadow 150ms ease, transform 200ms ease;
    text-decoration: none;
    line-height: 1;
    min-height: 48px;
    padding: 14px 28px;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--primary) 85%, #000);
    box-shadow: 0 0 16px color-mix(in srgb, var(--primary) 30%, transparent);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    background-color: color-mix(in srgb, var(--accent) 85%, #000);
    box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 30%, transparent);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* CTA button - used inside cta_banner component */
.btn-cta {
    background-color: var(--accent);
    color: #fff;
    font-size: 17px;
    padding: 16px 32px;
    border-radius: 8px;
}

.btn-cta:hover {
    background-color: color-mix(in srgb, var(--accent) 80%, #000);
    box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 40%, transparent);
    transform: translateY(-2px);
}


/* ============================================
   SITE HEADER
   Sticky, frosted glass, z-index 1000
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: color-mix(in srgb, var(--background) 80%, transparent);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background-color 200ms ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--foreground);
    flex-shrink: 0;
    word-break: normal;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

/* Desktop nav - hidden on mobile */
.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--foreground);
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 150ms ease, background-color 150ms ease;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    white-space: nowrap;
    min-height: 40px;
}

.nav-link:hover {
    color: var(--primary);
    background-color: color-mix(in srgb, var(--primary) 8%, transparent);
}

/* Dropdown menus */
.has-dropdown {
    position: relative;
}

.chevron-icon {
    transition: transform 200ms ease;
    flex-shrink: 0;
}

.has-dropdown.is-open > .dropdown-toggle .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    max-width: calc(100vw - 40px);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 32px color-mix(in srgb, var(--foreground) 10%, transparent);
    z-index: 999;
}

.has-dropdown.is-open > .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    color: var(--foreground);
    border-radius: 6px;
    transition: background-color 150ms ease, color 150ms ease;
    text-decoration: none;
    white-space: nowrap;
    word-break: normal;
}

.dropdown-link:hover {
    background-color: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--foreground);
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: color-mix(in srgb, var(--primary) 8%, transparent);
}

.icon-moon { display: none; }
.icon-sun  { display: block; }
.dark .icon-moon { display: block; }
.dark .icon-sun  { display: none; }

/* Header CTA - hidden on small mobile */
.header-cta {
    display: none;
    padding: 10px 20px;
    font-size: 14px;
    min-height: 40px;
}

@media (min-width: 640px) {
    .header-cta {
        display: inline-flex;
    }
}

/* Hamburger */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--foreground);
    border-radius: 2px;
    transition: transform 300ms ease, opacity 300ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav slide-in */
@media (max-width: 1023px) {
    .main-nav.is-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background-color: var(--background);
        border-left: 1px solid var(--border);
        padding: 80px 24px 32px;
        z-index: 999;
        overflow-y: auto;
        box-shadow: -8px 0 32px color-mix(in srgb, var(--foreground) 12%, transparent);
        animation: slideIn 250ms ease-out;
    }

    @keyframes slideIn {
        from { transform: translateX(100%); }
        to   { transform: translateX(0); }
    }

    .main-nav.is-open .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.is-open .nav-link {
        font-size: 17px;
        padding: 14px 16px;
        min-height: 48px;
        justify-content: space-between;
    }

    .main-nav.is-open .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: color-mix(in srgb, var(--card) 60%, var(--background));
        margin-bottom: 8px;
        border-radius: 8px;
    }

    .main-nav.is-open .dropdown-link {
        padding: 12px 20px;
        min-height: 48px;
        font-size: 16px;
    }
}

/* Desktop nav - show nav, hide hamburger */
@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }

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

    .header-inner {
        height: 72px;
    }
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: color-mix(in srgb, var(--foreground) 30%, transparent);
    z-index: 998;
    opacity: 0;
    animation: fadeIn 200ms ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}


/* ============================================
   HERO SECTIONS
   Full-bleed dark bg with grid-line animation
   ============================================ */

.hero {
    position: relative;
    padding: 56px 0;
    background-color: #0c1529;
    color: #e2e8f0;
    overflow: clip;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Animated grid overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--primary) 12%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--primary) 12%, transparent) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 0.7; }
}

.hero__title {
    color: #f8fafc;
    margin-bottom: 16px;
}

.hero__subtitle {
    font-size: 17px;
    color: #cbd5e1;
    max-width: 64ch;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: 20px;
    }
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.hero__micro {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .hero {
        padding: 96px 0;
    }
}

/* Hero centered variant */
.hero--centered {
    text-align: center;
}

.hero--centered .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero--centered .hero__actions {
    justify-content: center;
}

/* Article hero - clean, not full-bleed dark */
.hero--article {
    background-color: var(--background);
    color: var(--foreground);
    padding: 32px 0 16px;
}

.hero--article::before {
    display: none;
}

.hero--article .hero__title {
    color: var(--foreground);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 16px;
    align-items: center;
}

.hero__breadcrumb {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.hero__breadcrumb a {
    color: var(--muted-foreground);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: normal;
}

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

@media (min-width: 1024px) {
    .hero--article {
        padding: 48px 0 24px;
    }
}


/* ============================================
   FEATURE CARDS
   Responsive grid: 1col < 640px, 2col 768px, 3col 1024px
   ============================================ */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 4-col variant for product suite overview */
.feature-grid--4 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .feature-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .feature-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* 2-col variant */
.feature-grid--2 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .feature-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.feature-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
    position: relative;
    min-width: 0;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
    animation: cardGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardGlow {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 0.7; }
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--foreground) 8%, transparent);
}

.feature-card__icon {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1;
    color: var(--primary);
}

.feature-card__title {
    margin-bottom: 8px;
}

.feature-card__desc {
    color: var(--muted-foreground);
    margin-bottom: 16px;
    font-size: 16px;
    max-width: 72ch;
}

.feature-card__link {
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    transition: color 150ms ease;
    text-decoration: none;
    word-break: normal;
}

.feature-card__link:hover {
    color: color-mix(in srgb, var(--primary) 75%, #000);
}

@media (min-width: 1024px) {
    .feature-card {
        padding: 32px;
    }
}


/* ============================================
   STAT HIGHLIGHTS
   Full-bleed strip with animated counters
   ============================================ */

.stat-strip-section {
    background-color: var(--card);
    position: relative;
    padding: 32px 0;
}

/* Glow edges */
.stat-strip-section::before,
.stat-strip-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        color-mix(in srgb, var(--primary) 40%, transparent) 20%,
        var(--primary) 50%,
        color-mix(in srgb, var(--primary) 40%, transparent) 80%,
        transparent
    );
    animation: gridPulse 4s ease-in-out infinite;
}
.stat-strip-section::before { top: 0; }
.stat-strip-section::after  { bottom: 0; }

@media (min-width: 1024px) {
    .stat-strip-section {
        padding: 48px 0;
    }
}

.stat-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .stat-strip {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0;
    }

    .stat-item {
        border-right: 1px solid var(--border);
    }

    .stat-item:last-child {
        border-right: none;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
}

.stat-item__number {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .stat-item__number {
        font-size: 48px;
    }
}

.stat-item__label {
    font-weight: 500;
    font-size: 16px;
    color: var(--foreground);
}

.stat-item__source {
    font-size: 14px;
    color: var(--muted-foreground);
    font-style: italic;
}


/* ============================================
   CTA BANNER
   Full-bleed conversion section
   ============================================ */

.cta-banner {
    background-color: var(--primary);
    position: relative;
    padding: 56px 0;
    text-align: center;
    overflow: clip;
}

/* Grid overlay on dark mode */
.dark .cta-banner {
    background-color: #0a1628;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--primary) 15%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--primary) 15%, transparent) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridPulse 4s ease-in-out infinite;
    pointer-events: none;
}

.cta-banner__inner {
    position: relative;
    z-index: 2;
}

.cta-banner__headline {
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-banner__text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

.cta-banner__micro {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .cta-banner {
        padding: 96px 0;
    }
}


/* ============================================
   COMPARISON TABLE
   Scrollable on mobile, highlighted column
   ============================================ */

.comparison-table-wrap {
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    min-width: 0;
}

/* Border glow */
.comparison-table-wrap::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    pointer-events: none;
}

.table-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 540px;
}

.comparison-table thead th {
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--card);
    color: var(--foreground);
    padding: 16px;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
}

.comparison-table tbody td {
    padding: 14px 16px;
    font-size: 16px;
    border-top: 1px solid var(--border);
}

.comparison-table tbody tr:nth-child(even) td {
    background-color: color-mix(in srgb, var(--card) 40%, var(--background));
}

.comparison-table tbody tr:hover td {
    background-color: color-mix(in srgb, var(--primary) 5%, var(--background));
    transition: background-color 200ms ease;
}

/* Highlighted (recommended) column */
.comparison-table .highlight-col {
    background-color: color-mix(in srgb, var(--primary) 6%, var(--background));
    border-left: 3px solid var(--primary);
}

.comparison-table thead .highlight-col {
    background-color: color-mix(in srgb, var(--primary) 12%, var(--card));
}

.check-mark {
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
}

.x-mark {
    color: var(--muted-foreground);
    font-weight: 700;
    font-size: 18px;
    opacity: 0.5;
}

@media (min-width: 768px) {
    .comparison-table thead th {
        font-size: 15px;
    }
    .comparison-table tbody td {
        font-size: 17px;
    }
}


/* ============================================
   FAQ ACCORDION
   Expandable Q&A, single-open, FAQPage-ready
   ============================================ */

.faq-accordion {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 0;
    cursor: pointer;
    color: var(--foreground);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    min-height: 48px;
    transition: color 150ms ease;
}

@media (min-width: 1024px) {
    .faq-question {
        font-size: 20px;
        padding: 20px 0;
    }
}

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

.faq-question__text {
    flex: 1;
    min-width: 0;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 300ms ease;
    color: var(--muted-foreground);
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-item.is-open {
    border-left: 3px solid var(--primary);
    padding-left: 16px;
    margin-left: -16px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
}

.faq-answer__inner {
    padding: 0 0 20px;
    color: var(--muted-foreground);
    font-size: 16px;
    line-height: 1.6;
    max-width: 72ch;
}

.faq-answer__inner p {
    margin-bottom: 16px;
    max-width: 72ch;
}

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

.faq-answer__inner a {
    word-break: normal;
}

.faq-answer__inner ul,
.faq-answer__inner ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.faq-answer__inner li {
    list-style: disc;
    margin-bottom: 8px;
}


/* ============================================
   HOW-TO STEPS
   Numbered vertical timeline with connector
   ============================================ */

.how-to-steps {
    position: relative;
    max-width: 720px;
}

.how-to-step {
    display: flex;
    gap: 20px;
    padding-bottom: 48px;
    position: relative;
}

.how-to-step:last-child {
    padding-bottom: 0;
}

.how-to-step__connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 48px;
    position: relative;
}

.how-to-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 10%, var(--background));
    border: 2px solid color-mix(in srgb, var(--accent) 30%, transparent);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .how-to-step__number {
        font-size: 28px;
        width: 56px;
        height: 56px;
    }
}

.how-to-step__line {
    width: 2px;
    flex: 1;
    background-color: var(--border);
    margin-top: 8px;
}

.how-to-step__content {
    padding-top: 10px;
    min-width: 0;
}

.how-to-step__title {
    margin-bottom: 8px;
    color: var(--foreground);
}

.how-to-step__desc {
    color: var(--muted-foreground);
    font-size: 16px;
    max-width: 60ch;
}

/* Mobile centered variant */
@media (max-width: 767px) {
    .how-to-steps--centered .how-to-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .how-to-steps--centered .how-to-step__connector {
        flex-direction: row;
        width: auto;
    }

    .how-to-steps--centered .how-to-step__line {
        display: none;
    }
}


/* ============================================
   TRUST BADGES ROW
   Compact strip near conversion points
   ============================================ */

.trust-badges {
    background-color: var(--card);
    padding: 16px 0;
}

@media (min-width: 1024px) {
    .trust-badges {
        padding: 24px 0;
    }
}

.trust-badges__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

@media (min-width: 768px) {
    .trust-badges__inner {
        gap: 32px;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: opacity 200ms ease;
}

.trust-badge:hover {
    opacity: 1;
}

.trust-badge__icon {
    font-size: 24px;
    line-height: 1;
}

.trust-badge__label {
    font-size: 14px;
    color: var(--muted-foreground);
    font-weight: 500;
    white-space: nowrap;
}


/* ============================================
   CALLOUT BOX
   Inline highlighted block for tips/warnings
   ============================================ */

.callout-box {
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
    border-left: 3px solid var(--primary);
    background-color: color-mix(in srgb, var(--primary) 5%, var(--background));
}

.callout-box--info {
    border-left-color: var(--primary);
    background-color: color-mix(in srgb, var(--primary) 5%, var(--background));
}

.callout-box--success {
    border-left-color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 5%, var(--background));
}

.callout-box--warning {
    border-left-color: var(--destructive);
    background-color: color-mix(in srgb, var(--destructive) 5%, var(--background));
}

.callout-box__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.callout-box__icon {
    font-size: 20px;
    line-height: 1;
}

.callout-box__title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--foreground);
}

.callout-box__body {
    color: var(--foreground);
    font-size: 16px;
    line-height: 1.6;
}

.callout-box__body p {
    margin-bottom: 12px;
    max-width: 72ch;
}

.callout-box__body p:last-child {
    margin-bottom: 0;
}

.callout-box__body ul,
.callout-box__body ol {
    padding-left: 24px;
    margin-bottom: 12px;
}

.callout-box__body li {
    list-style: disc;
    margin-bottom: 6px;
}

.callout-box__body a {
    word-break: normal;
}

@media (min-width: 1024px) {
    .callout-box {
        padding: 24px;
    }
}


/* ============================================
   SPLIT LAYOUT
   Two-column sections (text + image/visual)
   ============================================ */

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .split--reverse {
        direction: rtl;
    }

    .split--reverse > * {
        direction: ltr;
    }

    .split--60-40 {
        grid-template-columns: 3fr 2fr;
    }

    .split--40-60 {
        grid-template-columns: 2fr 3fr;
    }
}

.split__visual {
    background-color: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 24px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 14px;
}


/* ============================================
   ARTICLE / BLOG LAYOUT
   Constrained reading width with optional TOC
   ============================================ */

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 32px;
    padding-bottom: 56px;
    min-width: 0;
}

.article-body h2 {
    margin-top: 48px;
    margin-bottom: 20px;
}

.article-body h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-body h4 {
    margin-top: 24px;
    margin-bottom: 8px;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.article-body li {
    list-style: disc;
    margin-bottom: 8px;
    max-width: 72ch;
}

.article-body ol li {
    list-style: decimal;
}

.article-body img {
    border-radius: 8px;
    margin: 24px 0;
}

.article-body table {
    width: 100%;
    margin: 24px 0;
}

/* Scrollable bare tables in article body */
.article-body table:not(.comparison-table) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    min-width: 480px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.article-body table:not(.comparison-table) thead th {
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--card);
    color: var(--foreground);
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid var(--border);
}

.article-body table:not(.comparison-table) tbody td {
    padding: 12px 16px;
    font-size: 15px;
    border-top: 1px solid var(--border);
    color: var(--foreground);
}

.article-body table:not(.comparison-table) tbody tr:nth-child(even) td {
    background-color: color-mix(in srgb, var(--card) 40%, var(--background));
}

.article-body table:not(.comparison-table) tbody tr:hover td {
    background-color: color-mix(in srgb, var(--primary) 5%, var(--background));
    transition: background-color 200ms ease;
}

@media (min-width: 768px) {
    .article-body table:not(.comparison-table) thead th {
        font-size: 15px;
    }
    .article-body table:not(.comparison-table) tbody td {
        font-size: 16px;
    }
}

/* Article content sections */
.article-section {
    margin-bottom: 48px;
}

@media (min-width: 1024px) {
    .article-body {
        padding-top: 48px;
        padding-bottom: 96px;
    }
}


/* ============================================
   PRICING CARDS
   Side-by-side tier cards
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pricing-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--foreground) 8%, transparent);
}

.pricing-card--featured {
    border-color: var(--primary);
    border-width: 2px;
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--accent-foreground);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card__name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-card__price {
    font-family: "Space Grotesk", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.pricing-card__price-unit {
    font-size: 15px;
    color: var(--muted-foreground);
    margin-bottom: 24px;
}

.pricing-card__features {
    text-align: left;
    margin-bottom: 24px;
    flex: 1;
}

.pricing-card__features li {
    list-style: none;
    padding: 6px 0;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pricing-card__features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}


/* ============================================
   PILL TAGS
   Inline capability badges
   ============================================ */

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--foreground);
    white-space: nowrap;
}

.pill--accent {
    border-color: var(--accent);
    color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 8%, var(--background));
}


/* ============================================
   USE CASE / CASE STUDY cards
   Problem → Solution → Results pattern
   ============================================ */

.case-study {
    padding: 32px 0;
}

.case-study + .case-study {
    border-top: 1px solid var(--border);
}

.case-stat-box {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    position: relative;
}

.case-stat-box::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    pointer-events: none;
}


/* ============================================
   DETAILS / SUMMARY - native accordion
   Styled to match design system
   ============================================ */

details {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 8px;
}

details + details {
    margin-top: -1px;
}

summary {
    padding: 14px 16px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    color: var(--foreground);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 400;
    color: var(--muted-foreground);
    transition: transform 200ms ease;
}

details[open] summary::after {
    content: "−";
}

details > div,
details > p {
    padding: 0 16px 16px;
    color: var(--muted-foreground);
    line-height: 1.6;
}


/* ============================================
   PULL QUOTE
   Oversized inline quote
   ============================================ */

.pull-quote {
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--foreground);
    border-left: 4px solid var(--accent);
    padding: 24px 32px;
    margin: 40px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
    .pull-quote {
        font-size: 28px;
    }
}

.pull-quote cite {
    display: block;
    font-size: 15px;
    font-family: "IBM Plex Sans", sans-serif;
    color: var(--muted-foreground);
    margin-top: 12px;
    font-style: normal;
    font-weight: 400;
}


/* ============================================
   SOCIAL PROOF / TESTIMONIAL
   ============================================ */

.testimonial {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 0;
}

.testimonial__text {
    font-style: italic;
    font-size: 18px;
    color: var(--foreground);
    margin-bottom: 12px;
}

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


/* ============================================
   SCROLL ANIMATIONS
   Elements start hidden and animate on viewport entry
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide-from-left variant for callout boxes */
.callout-box.animate-on-scroll {
    transform: translateX(-10px);
}

.callout-box.animate-on-scroll.is-visible {
    transform: translateX(0);
}

/* ============================================
   HOMEPAGE - Hero pill, pricing teaser, section subtitle
   ============================================ */

.hero-pill-row {
    margin-bottom: 24px;
}

.hero-pill-row .pill {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.section-subtitle {
    font-size: 17px;
    color: var(--muted-foreground);
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.text-center .section-subtitle {
    text-align: center;
}

/* Hero outline button on dark bg */
.btn-outline--hero {
    color: #cbd5e1;
    border-color: rgba(203, 213, 225, 0.4);
}

.btn-outline--hero:hover {
    border-color: #f8fafc;
    color: #f8fafc;
    background-color: rgba(255, 255, 255, 0.08);
}

/* Pricing teaser */
.pricing-teaser-number {
    margin: 32px 0 24px;
}

.pricing-teaser-amount {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 56px;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
}

@media (min-width: 1024px) {
    .pricing-teaser-amount {
        font-size: 72px;
    }
}

.pricing-teaser-unit {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-left: 4px;
}

.pricing-teaser-compare-price {
    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.pricing-teaser-compare-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--muted-foreground);
}

.pricing-teaser-compare-price--accent {
    color: var(--accent);
}

/* ============================================
   FEATURES PAGE
   Checklist, image style grid
   ============================================ */

.features-checklist {
    padding-left: 0;
    margin-bottom: 24px;
}

.features-checklist li {
    list-style: none;
    padding: 6px 0;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 60ch;
}

.features-checklist li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.5;
}

.image-style-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.image-style-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 200ms ease-out;
}

.image-style-item:hover {
    transform: scale(1.03);
}

.image-style-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* ============================================
   AI ARTICLE WRITER PAGE
   Hero editor preview, penalty stat box, problem items
   ============================================ */

.hero-editor-preview {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.hero-editor-img {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.penalty-stat-box {
    background-color: var(--card);
    border: 2px solid var(--destructive);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.penalty-stat-number {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 56px;
    color: var(--destructive);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}

@media (min-width: 1024px) {
    .penalty-stat-number {
        font-size: 72px;
    }
}

.penalty-stat-label {
    font-weight: 600;
    font-size: 17px;
    color: var(--foreground);
    margin-bottom: 8px;
    max-width: 100%;
}

.penalty-stat-source {
    display: block;
    font-size: 14px;
    color: var(--muted-foreground);
    font-style: italic;
    margin-bottom: 0;
}

.penalty-stat-detail {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin-bottom: 0;
}

.problem-item h4 {
    margin-bottom: 6px;
    font-size: 17px;
}

.problem-item p {
    color: var(--muted-foreground);
    font-size: 16px;
}

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


/* ============================================
   SMART TABLES PAGE
   Cost comparison enhancements
   ============================================ */

.cost-compare__card .features-checklist li::before {
    content: "✓";
    color: var(--accent);
}

.cost-compare__card--muted .features-checklist li::before {
    content: "✗";
    color: var(--muted-foreground);
    opacity: 0.6;
}


/* ============================================
   PROGRAMMATIC SEO GUIDE
   Good fit / Poor fit two-column grid
   ============================================ */

.pseo-fit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px 0 32px;
}

@media (min-width: 768px) {
    .pseo-fit-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pseo-fit-col {
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.pseo-fit-col h3 {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .pseo-fit-col h3 {
        font-size: 20px;
    }
}

.pseo-fit-col ul {
    padding-left: 0;
}

.pseo-fit-col li {
    list-style: none;
    padding: 6px 0;
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.pseo-fit-col--good {
    border-color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 5%, var(--background));
}

.pseo-fit-col--bad {
    border-color: var(--destructive);
    background-color: color-mix(in srgb, var(--destructive) 5%, var(--background));
}


/* ============================================
   FAQ PAGE - Cluster sections
   ============================================ */

.faq-cluster + .faq-cluster {
    margin-top: 48px;
}

@media (min-width: 1024px) {
    .faq-cluster + .faq-cluster {
        margin-top: 64px;
    }
}


/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    @keyframes gridPulse {
        0%, 100% { opacity: 0.5; }
    }

    @keyframes cardGlow {
        0%, 100% { opacity: 0.5; }
    }
}


/* ============================================
   FOOTER
   Four-column grid, collapsing on mobile
   ============================================ */

.site-footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding-top: 48px;
    padding-bottom: 24px;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 40px;
    }
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--foreground);
    margin-bottom: 12px;
    word-break: normal;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-logo-text {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
    max-width: 280px;
}

.footer-heading {
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--foreground);
    margin-bottom: 12px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--muted-foreground);
    transition: color 150ms ease;
    text-decoration: none;
    word-break: normal;
}

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

.footer-trust {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.trust-badge-inline {
    font-size: 13px;
    color: var(--muted-foreground);
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    white-space: nowrap;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--background);
    color: var(--foreground);
    transition: border-color 150ms ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}

.newsletter-input::placeholder {
    color: var(--muted-foreground);
}

.newsletter-btn {
    padding: 10px 16px;
    min-height: 40px;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.footer-copy {
    font-size: 13px;
    color: var(--muted-foreground);
    margin-bottom: 0;
}


/* ============================================
   UTILITY CLASSES
   Spacing, text alignment, visibility
   ============================================ */

.text-center { text-align: center; }
.text-left   { text-align: left; }

.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.mt-0  { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Cost comparison blocks */
.cost-compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .cost-compare {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cost-compare__card {
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.cost-compare__card--highlight {
    border-color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 5%, var(--background));
}

.cost-compare__card--muted {
    opacity: 0.7;
}

/* ============================================
   USE CASES PAGE
   Hero badges, case stat enhancements
   ============================================ */

.use-case-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.use-case-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .use-case-badge {
        font-size: 15px;
        padding: 10px 20px;
    }
}


/* Metric badge inline */
.metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    background-color: var(--card);
}

.metric-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}