/* ============================================
   FUGU CASINO - DESIGN SYSTEM
   Dark underwater theme with anime-ocean aesthetic
   Fonts: Bungee (headlines), Outfit (body)
   ============================================ */

/* ============================================
   DESIGN TOKENS - Deep midnight indigo ocean
   Single dark theme (no toggle per brief)
   ============================================ */
:root {
    /* Backgrounds */
    --background: #0a1128;
    --card: #142042;
    --popover: #142042;

    /* Foreground */
    --foreground: #eef2f7;
    --card-foreground: #eef2f7;
    --popover-foreground: #eef2f7;

    /* Primary - vivid turquoise (bioluminescent glow) */
    --primary: #06b6d4;
    --primary-foreground: #0a1128;

    /* Secondary - warm gold (polished doubloons) */
    --secondary: #f59e0b;
    --secondary-foreground: #0a1128;

    /* Muted - deep water current */
    --muted: #1a2a4a;
    --muted-foreground: #a3b3d0;

    /* Accent - electric coral (glowing jellyfish) */
    --accent: #e11d48;
    --accent-foreground: #ffffff;

    /* Borders & inputs */
    --border: #243456;
    --input: #243456;
    --ring: #06b6d4;

    /* Layout */
    --header-height: 64px;
    --max-width: 1200px;
    --section-gap: 56px;
    --card-padding: 24px;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
    --gradient-teal: linear-gradient(135deg, #06b6d4, #0891b2);
    --gradient-hero: radial-gradient(ellipse at 30% 50%, rgba(6, 182, 212, 0.15), transparent 60%),
                    radial-gradient(ellipse at 70% 30%, rgba(245, 158, 11, 0.1), transparent 50%),
                    var(--background);
    --gradient-cta: linear-gradient(135deg, #0d4a5c, #0a1128);
}

@media (min-width: 1024px) {
    :root {
        --header-height: 80px;
        --section-gap: 72px;
        --card-padding: 32px;
    }
}

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

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

body {
    background: var(--background);
    color: var(--foreground);
    font-family: "Outfit", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    min-height: 100vh;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 300ms ease-out;
}

/* Inline links inside paragraph text need non-color distinction (a11y) */
main p > a:not(.btn):not(.footer-link):not(.nav-link) {
    text-decoration: underline;
    text-decoration-color: rgba(6, 182, 212, 0.6);
    text-underline-offset: 2px;
}

main p > a:not(.btn):not(.footer-link):not(.nav-link):hover {
    text-decoration-color: var(--secondary);
}

a:hover {
    color: var(--secondary);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul, ol {
    list-style-position: inside;
}

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

section {
    overflow: clip;
    scroll-margin-top: calc(var(--header-height) + 32px);
}

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

h1 {
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 400;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(1.625rem, 4vw, 2.375rem);
    font-weight: 400;
    margin-bottom: 20px;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 400;
    margin-bottom: 16px;
}

h4 {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 12px;
}

p {
    margin-bottom: 28px;
    max-width: 80ch;
}

strong, b {
    color: var(--foreground);
    font-weight: 700;
}

/* Gold gradient text fill for bonus amounts */
.gold-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================
   LAYOUT - Containers, sections, grids
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.container-wide {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (min-width: 768px) {
    .container, .container-wide {
        padding: 0 32px;
    }
}

.section {
    padding: var(--section-gap) 0;
}

.section-sm {
    padding: calc(var(--section-gap) * 0.6) 0;
}

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

.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* Card grids - responsive */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.card-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

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

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

/* Wide card spanning all columns */
.card-wide {
    grid-column: 1 / -1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    min-height: 44px;
    border-radius: 10px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 300ms ease-out, box-shadow 300ms ease-out,
                background 300ms ease-out, color 300ms ease-out;
    border: 2px solid transparent;
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4), 0 8px 20px rgba(6, 182, 212, 0.3);
    color: var(--primary-foreground);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
    color: var(--secondary-foreground);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    min-height: 52px;
    font-size: 18px;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-brand:hover {
    color: var(--foreground);
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    flex-shrink: 0;
}

.brand-name {
    font-family: "Bungee", sans-serif;
    font-size: 18px;
    color: var(--foreground);
    letter-spacing: 0.03em;
}

/* Mobile menu toggle (hamburger) */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 300ms ease-out, opacity 300ms ease-out;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Primary nav - mobile drawer */
.primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
}

.primary-nav.is-open {
    display: flex;
}

.nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--foreground);
    text-decoration: none;
    border-radius: 10px;
    transition: background 300ms ease-out, color 300ms ease-out;
    flex-shrink: 0;
}

.nav-link:hover {
    background: var(--muted);
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    background: var(--muted);
}

.header-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.header-cta .btn {
    width: 100%;
}

/* Desktop header */
@media (min-width: 1024px) {
    .site-header {
        background: rgba(10, 17, 40, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

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

    .primary-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        background: transparent;
        padding: 0;
        overflow: visible;
        flex: 1;
        justify-content: center;
    }

    .nav-link {
        min-height: auto;
        padding: 8px 16px;
    }

    .header-cta {
        flex-direction: row;
        gap: 12px;
        margin-top: 0;
        margin-left: auto;
        padding-top: 0;
        border-top: none;
        flex-shrink: 0;
    }

    .header-cta .btn {
        width: auto;
    }

    .brand-name {
        font-size: 20px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 48px 24px 32px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-heading {
    font-family: "Bungee", sans-serif;
    font-size: 16px;
    color: var(--foreground);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.footer-text {
    color: var(--muted-foreground);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 500;
}

.footer-license {
    color: var(--muted-foreground);
    font-size: 14px;
    margin-top: 8px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: var(--muted-foreground);
    font-size: 15px;
    text-decoration: none;
    transition: color 300ms ease-out;
}

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

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badge {
    background: var(--muted);
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
}

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

.footer-disclaimer {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 16px;
    text-align: center;
}

.footer-disclaimer p {
    color: var(--muted-foreground);
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}

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

@media (min-width: 1024px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ============================================
   COMPONENT: INFO CARD
   .info-card - versatile content card
   ============================================ */
.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--card-padding);
    position: relative;
    overflow: hidden;
    transition: transform 300ms ease-out, box-shadow 300ms ease-out;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15),
                0 0 20px rgba(6, 182, 212, 0.1);
}

.info-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

.info-card__image {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.info-card__icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.info-card__title {
    font-family: "Bungee", sans-serif;
    font-size: 18px;
    color: var(--foreground);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.info-card__description {
    color: var(--muted-foreground);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.info-card__description strong {
    color: var(--foreground);
}

.info-card__link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 300ms ease-out;
}

.info-card__link:hover {
    color: var(--secondary);
}

@media (min-width: 1024px) {
    .info-card__title {
        font-size: 22px;
    }
}

/* ============================================
   COMPONENT: CTA BANNER
   .cta-banner - full-width conversion section
   ============================================ */
.cta-banner {
    position: relative;
    overflow: clip;
    padding: 56px 24px;
    background: var(--gradient-cta);
    text-align: center;
}

.cta-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.cta-banner__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner__headline {
    font-family: "Bungee", sans-serif;
    font-size: 26px;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.cta-banner__subtext {
    color: var(--foreground);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-banner__btn {
    min-width: 220px;
}

.cta-banner__micro {
    color: var(--muted-foreground);
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 0;
}

/* Animated coins & bubbles in CTA banner */
.cta-coin {
    position: absolute;
    font-size: 24px;
    opacity: 0.3;
    animation: coin-float 4s ease-in-out infinite;
    z-index: 0;
}

.cta-coin--1 { top: 15%; left: 8%; animation-delay: 0s; }
.cta-coin--2 { top: 65%; left: 88%; animation-delay: 1.5s; }
.cta-coin--3 { top: 80%; left: 12%; animation-delay: 2.5s; }

@keyframes coin-float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-25px) rotate(15deg); opacity: 0.5; }
}

.cta-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(6, 182, 212, 0.15), transparent);
    border: 1px solid rgba(6, 182, 212, 0.1);
    animation: bubble-rise 8s ease-in infinite;
    z-index: 0;
}

.cta-bubble--1 { width: 40px; height: 40px; bottom: 0; left: 15%; animation-delay: 0s; }
.cta-bubble--2 { width: 60px; height: 60px; bottom: 0; left: 55%; animation-delay: 2s; }
.cta-bubble--3 { width: 30px; height: 30px; bottom: 0; left: 75%; animation-delay: 4s; }

@keyframes bubble-rise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-400px) scale(0.4); opacity: 0; }
}

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

    .cta-banner__headline {
        font-size: 38px;
    }
}

/* ============================================
   COMPONENT: FAQ ACCORDION
   .faq-accordion - native details/summary + JS enhancement
   ============================================ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--card);
    transition: border-color 300ms ease-out;
}

.faq-item[open] {
    border-left: 4px solid var(--accent);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    font-family: "Bungee", sans-serif;
    font-size: 18px;
    color: var(--foreground);
    list-style: none;
    user-select: none;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

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

.faq-item__question::marker {
    content: '';
}

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 300ms ease-out;
}

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

.faq-item__answer {
    overflow: hidden;
    transition: max-height 300ms ease-out, opacity 300ms ease-out,
                background 300ms ease-out;
}

.faq-item[open] .faq-item__answer {
    background: var(--muted);
}

.faq-item__answer-inner {
    padding: 0 24px 24px;
    color: var(--muted-foreground);
    font-size: 17px;
    line-height: 1.6;
}

.faq-item__answer-inner p {
    margin-bottom: 16px;
}

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

.faq-item__answer-inner a {
    color: var(--primary);
    font-weight: 600;
}

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

    .faq-item__answer-inner {
        padding: 0 32px 32px;
    }
}

/* ============================================
   HERO SECTION
   .hero - full-bleed underwater banner
   ============================================ */
.hero {
    position: relative;
    overflow: clip;
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 24px) 24px 40px;
    background: var(--gradient-hero);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.hero__headline {
    font-family: "Bungee", sans-serif;
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 700px;
    letter-spacing: 0.02em;
}

.hero__subtext {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted-foreground);
    max-width: 600px;
    margin-bottom: 32px;
}

.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__mascot {
    position: absolute;
    z-index: 0;
    opacity: 0.9;
}

.hero__bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.hero__bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(6, 182, 212, 0.2), transparent);
    border: 1px solid rgba(6, 182, 212, 0.1);
    animation: bubble-rise 10s ease-in infinite;
}

@media (min-width: 1024px) {
    .hero {
        min-height: 480px;
        padding: calc(var(--header-height) + 40px) 24px 72px;
    }

    .hero__headline {
        font-size: 52px;
    }
}

/* Mascot bobbing animation */
.mascot-bob {
    animation: mascot-bob 4s ease-in-out infinite;
}

@keyframes mascot-bob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */

/* TL;DR / Summary box */
.tldr-box {
    border-left: 4px solid var(--accent);
    background: var(--muted);
    padding: 24px;
    border-radius: 0 10px 10px 0;
    margin: 32px 0;
}

.tldr-box__title {
    font-family: "Bungee", sans-serif;
    color: var(--secondary);
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.tldr-box ul,
.tldr-box ol {
    padding-left: 4px;
}

.tldr-box li {
    color: var(--foreground);
    margin-bottom: 8px;
    line-height: 1.5;
}

.tldr-box li:last-child {
    margin-bottom: 0;
}

/* Callout / highlight box */
.callout {
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    background: var(--muted);
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    margin: 32px 0;
}

.callout__title {
    font-family: "Bungee", sans-serif;
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.callout p {
    margin-bottom: 0;
    color: var(--foreground);
}

/* Stat highlight */
.stat-highlight {
    text-align: center;
    padding: 32px 16px;
}

.stat-highlight__number {
    font-family: "Bungee", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-highlight__label {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    color: var(--muted-foreground);
    font-size: 16px;
}

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

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

/* Pull quote */
.pull-quote {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: var(--foreground);
    border-left: 4px solid var(--secondary);
    padding: 24px 32px;
    margin: 32px 0;
    line-height: 1.5;
    background: var(--muted);
    border-radius: 0 10px 10px 0;
}

.pull-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-style: normal;
    font-weight: 600;
}

/* ============================================
   CRO PATTERNS
   ============================================ */

/* Comparison table */
.table-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    margin: 32px 0;
}

/* Keyboard-focusable scrollable table region (a11y) */
.table-wrapper[tabindex="0"]:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
    border-radius: 4px;
}

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

.comparison-table th {
    background: var(--gradient-gold);
    color: var(--secondary-foreground);
    font-family: "Bungee", sans-serif;
    font-size: 16px;
    padding: 16px;
    text-align: left;
    letter-spacing: 0.02em;
    border: 1px solid var(--border);
}

.comparison-table td {
    padding: 16px;
    border: 1px solid var(--border);
    color: var(--foreground);
    font-size: 16px;
    line-height: 1.5;
    background: var(--card);
}

.comparison-table tr:nth-child(even) td {
    background: var(--muted);
}

.comparison-table .recommended {
    box-shadow: inset 0 0 0 3px var(--primary);
    position: relative;
}

.comparison-table .recommended-col {
    background: rgba(6, 182, 212, 0.05);
}

/* Trust badges row */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-foreground);
    font-size: 14px;
    font-weight: 600;
}

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

/* ============================================
   ANIMATIONS - Scroll-triggered reveal
   ============================================ */
.animate-on-scroll {
    transform: translateY(12px);
    transition: transform 0.6s ease-out;
}

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

/* Staggered delays for grid children */
.animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.animate-on-scroll:nth-child(2) { transition-delay: 150ms; }
.animate-on-scroll:nth-child(3) { transition-delay: 300ms; }
.animate-on-scroll:nth-child(4) { transition-delay: 450ms; }
.animate-on-scroll:nth-child(5) { transition-delay: 600ms; }
.animate-on-scroll:nth-child(6) { transition-delay: 750ms; }

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

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

.text-primary {
    color: var(--primary);
}

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

.text-muted {
    color: var(--muted-foreground);
}

.bg-muted {
    background: var(--muted);
}

.rounded {
    border-radius: 10px;
}

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

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* Long word/URL breaking */
a, code {
    word-break: break-word;
}

/* Code blocks */
pre, code, .code-block {
    max-width: 100%;
    overflow-x: auto;
    min-width: 0;
}

/* Table wrapper scroll */
.table-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
}

/* Form elements */
input, textarea, select {
    max-width: 100%;
    box-sizing: border-box;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        transform: none;
    }
}