/* =================================================================
   AdTest.AI — Marketing Site Stylesheet
   ================================================================= */

/* === DESIGN TOKENS === */
:root {
    /* Brand */
    --purple-50:  #f5f0ff;
    --purple-100: #ebe1ff;
    --purple-200: #d6c2ff;
    --purple-300: #b59aff;
    --purple-400: #9a77fc;
    --purple-500: #8855fd;
    --purple-600: #7c3aed;
    --purple-700: #5b21b6;
    --purple-800: #4c1d95;
    --purple-900: #2e1065;

    /* Surfaces (dark) */
    --bg-base: #07060d;
    --bg-elevated: #0d0b18;
    --bg-card: #110f1d;
    --bg-card-hover: #181425;
    --bg-glass: rgba(20, 16, 35, 0.55);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b5b1c4;
    --text-muted: #7a7691;
    --text-faint: #4a4660;

    /* Borders */
    --border-soft: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.18);
    --border-glow: rgba(136, 85, 253, 0.35);

    /* Status */
    --score-green: #22c55e;
    --score-blue: #3b82f6;
    --score-amber: #f59e0b;
    --score-red: #ef4444;

    /* Gradients */
    --grad-purple: linear-gradient(135deg, #8855fd 0%, #b59aff 50%, #e1d3fd 100%);
    --grad-purple-deep: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #8855fd 100%);
    --grad-aurora: linear-gradient(135deg, #8855fd 0%, #b048ff 35%, #5b21b6 70%, #1d0a4d 100%);
    --grad-text: linear-gradient(135deg, #ffffff 0%, #d6c2ff 50%, #8855fd 100%);
    --grad-cta: linear-gradient(135deg, #8855fd 0%, #7c3aed 100%);
    --grad-glow: radial-gradient(circle at center, rgba(136,85,253,0.45) 0%, rgba(136,85,253,0) 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.55);
    --shadow-purple: 0 8px 32px rgba(136, 85, 253, 0.35);
    --shadow-purple-lg: 0 20px 60px rgba(136, 85, 253, 0.45);
    --shadow-3d-card: 0 1px 0 rgba(255,255,255,0.07) inset, 0 0 0 1px rgba(255,255,255,0.04), 0 30px 60px -15px rgba(0,0,0,0.6), 0 18px 36px -18px rgba(136,85,253,0.25);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

    /* Sizing */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --container: 1240px;
    --header-h: 76px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: var(--font-sans);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    background-image:
        radial-gradient(at 8% 12%, rgba(136, 85, 253, 0.15) 0%, transparent 45%),
        radial-gradient(at 92% 8%, rgba(91, 33, 182, 0.18) 0%, transparent 50%),
        radial-gradient(at 50% 95%, rgba(124, 58, 237, 0.12) 0%, transparent 55%);
    background-attachment: fixed;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6, p, li, a, span { overflow-wrap: break-word; word-wrap: break-word; }
.feature-grid > *, .steps > *, .price-grid > *, .score-cat-grid > *, .footer__top > *, .hero__inner > *, .split > * {
    min-width: 0;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--purple-600), var(--purple-700)); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--purple-500), var(--purple-600)); }

/* === TEXT SELECTION === */
::selection { background: var(--purple-600); color: white; }

/* === STARFIELD BACKGROUND === */
.starfield {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.starfield::before, .starfield::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(1px 1px at 14% 22%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 38% 14%, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 65% 30%, rgba(214, 194, 255, 0.5), transparent),
        radial-gradient(1px 1px at 81% 50%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 22% 70%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 78% 80%, rgba(214, 194, 255, 0.5), transparent),
        radial-gradient(1px 1px at 47% 90%, rgba(255,255,255,0.4), transparent);
    background-repeat: repeat;
    background-size: 600px 400px;
    animation: starDrift 120s linear infinite;
    opacity: 0.5;
}
.starfield::after {
    background-size: 800px 600px;
    animation-duration: 200s;
    opacity: 0.35;
}
@keyframes starDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

/* === AURORA BLOBS === */
.aurora {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: float 18s ease-in-out infinite alternate;
}
.aurora-blob.b1 {
    width: 520px; height: 520px;
    top: -100px; left: -100px;
    background: radial-gradient(circle, #8855fd 0%, transparent 70%);
}
.aurora-blob.b2 {
    width: 600px; height: 600px;
    top: 20%; right: -200px;
    background: radial-gradient(circle, #5b21b6 0%, transparent 70%);
    animation-duration: 22s;
    animation-delay: -4s;
}
.aurora-blob.b3 {
    width: 480px; height: 480px;
    bottom: -150px; left: 30%;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    animation-duration: 26s;
    animation-delay: -8s;
}
@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(40px, -30px) scale(1.1); }
    100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
.section { padding: 44px 0; position: relative; z-index: 1; }
.section--tight { padding: 28px 0; }
.section--hero { padding: 0; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.display {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(136, 85, 253, 0.12);
    border: 1px solid rgba(136, 85, 253, 0.3);
    color: var(--purple-200);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.eyebrow .dot {
    width: 6px; height: 6px;
    background: var(--purple-400);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--purple-400);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}
.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.gradient-text--purple {
    background: linear-gradient(135deg, #b59aff 0%, #8855fd 50%, #5b21b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 70px; }
.section-head--left { text-align: left; }
.section-head--left .section-subtitle { margin: 0; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
}
.btn--primary {
    color: white;
    background: var(--grad-cta);
    box-shadow: var(--shadow-purple);
}
.btn--primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #b59aff, #8855fd);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-purple-lg); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-medium);
    backdrop-filter: blur(10px);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.btn--outline {
    color: var(--purple-200);
    background: transparent;
    border: 1px solid var(--border-glow);
}
.btn--outline:hover {
    background: rgba(136,85,253,0.1);
    color: white;
}

.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

.btn .arrow {
    width: 14px; height: 14px;
    transition: transform 0.25s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* === HEADER === */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: rgba(7, 6, 13, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(7, 6, 13, 0.85);
    border-bottom-color: var(--border-soft);
}
.header__inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.02em;
}
.brand__logo {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(136,85,253,0.35), transparent 70%);
    display: grid;
    place-items: center;
    position: relative;
}
.brand__logo img, .brand__logo svg {
    width: 100%; height: 100%;
    object-fit: contain;
}
/* Brand presentation — applied site-wide so header & footer match. */
.brand__logo { background: none; }
.brand { gap: 3px; }
.brand__name { padding-top: 2px; } /* nudge wordmark to optically centre with the icon */

/* Header logo: a single 360° greeting on page load, then static.
   No competition for attention with body content during scroll. */
.header .brand__logo img,
.header .brand__logo svg {
    animation: brandSpin 2s linear 1;
    animation-fill-mode: forwards;
    transform-origin: center;
}
@keyframes brandSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .header .brand__logo img, .header .brand__logo svg { animation: none; }
}
.brand__name { color: white; }
.brand__name span { color: var(--purple-300); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease, background 0.2s ease;
}
.nav__link:hover { color: white; background: rgba(255,255,255,0.04); }
.nav__link.active {
    color: white;
    background: rgba(136, 85, 253, 0.12);
    box-shadow: inset 0 -2px 0 var(--purple-400);
}
.nav__link.active:hover { background: rgba(136, 85, 253, 0.18); }
.nav__caret {
    width: 10px; height: 10px;
    transition: transform 0.25s ease;
}
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    padding: 8px;
    background: rgba(15, 12, 28, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}
.nav__dropdown a:hover { background: rgba(136,85,253,0.12); color: white; }
.nav__dropdown a small { color: var(--text-muted); font-size: 12px; }

.header__cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: white;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.28s var(--ease-out), opacity 0.18s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === MOBILE NAV SHEET (pre-styled, hidden by default) === */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    gap: 0;
    padding: 24px 24px 48px;
    background: rgba(7, 6, 13, 0.98);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    will-change: opacity, transform;
}
.nav-mobile.is-open {
    display: flex;
    animation: navSlideIn 0.28s var(--ease-out) both;
}
.nav-mobile a:not(.btn) {
    padding: 18px 4px;
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-soft);
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}
.nav-mobile a:not(.btn):active {
    color: var(--purple-300);
    transform: translateX(4px);
}
.nav-mobile a:not(.btn):last-of-type {
    border-bottom: 0;
}
.nav-mobile .btn {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
    padding: 16px 22px;
    font-size: 15px;
}
.nav-mobile .btn + .btn {
    margin-top: 12px;
}

@keyframes navSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--header-h) + 80px);
    padding-bottom: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero__video {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    filter: saturate(0.88) contrast(1.05);
}
.hero__video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7,6,13,0.62) 0%, rgba(7,6,13,0.32) 40%, rgba(7,6,13,0.92) 100%),
        radial-gradient(at 50% 30%, rgba(136,85,253,0.18) 0%, transparent 52%);
}
.hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero__content { max-width: 680px; }
.hero__title {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 22px 0;
}
.hero__subtitle {
    font-size: 1.18rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero__trust {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 13px;
}
.hero__trust-item { display: flex; align-items: center; gap: 8px; }
.hero__trust-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--purple-400); }

.hero__visual {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    display: grid;
    place-items: center;
}
.hero__logo-orb {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
}
.hero__logo-orb svg, .hero__logo-orb img {
    width: 90%; height: 90%;
    /* Dimmed so the headline + subtitle on the left stay the primary read. */
    opacity: 0.38;
    filter: drop-shadow(0 0 60px rgba(136, 85, 253, 0.30));
    /* Two full 360° rotations on page load (8 seconds total at 4s/turn), then locks
       at the final keyframe (rotate 360° = visually upright). Page reload restarts. */
    animation: brandSpin 4s linear 2;
    animation-fill-mode: forwards;
    transform-origin: center;
    will-change: transform;
}

/* Rings are pure decoration — completely static. */
.hero__rings {
    position: absolute;
    inset: -10%;
    border-radius: 50%;
    border: 1px solid var(--border-medium);
}
.hero__rings::before, .hero__rings::after {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px dashed rgba(136, 85, 253, 0.3);
}
.hero__rings::after {
    inset: 18%;
    border-style: solid;
    border-color: rgba(136, 85, 253, 0.18);
}

@media (prefers-reduced-motion: reduce) {
    .hero__logo-orb svg, .hero__logo-orb img { animation: none; }
}

.hero__glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, rgba(136,85,253,0.4) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 1;
}

/* === STAT BADGES on Hero === */
.hero__chip {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    font-size: 13px;
    /* Chips removed from the floating choreography — a continuous orbital pattern of three chips
       around the logo reads as spin even when individual motions are small. */
}
.hero__chip strong { color: white; font-size: 18px; line-height: 1; }
.hero__chip span { color: var(--text-muted); font-size: 12px; }
.hero__chip .ico {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(136,85,253,0.3), rgba(136,85,253,0.1));
    color: var(--purple-300);
}
.hero__chip .ico svg { width: 16px; height: 16px; }
.hero__chip.c1 { top: 10%; left: -6%; }
.hero__chip.c2 { top: 38%; right: -4%; }
.hero__chip.c3 { bottom: 8%; left: 8%; }

/* === LOGO MARQUEE === */
.marquee {
    padding: 50px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
    background: rgba(13, 11, 24, 0.5);
    position: relative;
    z-index: 1;
}
.marquee__label {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
}
.marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 36s linear infinite;
    gap: 60px;
    align-items: center;
}
.marquee__item {
    color: var(--text-secondary);
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.marquee__item:hover { opacity: 1; }
.marquee__item svg { width: 22px; height: 22px; }
@keyframes marqueeScroll {
    to { transform: translateX(-50%); }
}

/* === FEATURE GRID === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }

.f-card {
    position: relative;
    padding: 32px 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
}
.f-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(136,85,253,0.4), transparent 50%, transparent);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.f-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-3d-card);
}
.f-card:hover::before { opacity: 1; }

.f-card__icon {
    width: 60px; height: 60px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(136,85,253,0.2), rgba(136,85,253,0.05));
    border: 1px solid rgba(136,85,253,0.2);
    margin-bottom: 22px;
    position: relative;
    transition: transform 0.4s var(--ease-out);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -2px 4px rgba(0,0,0,0.2),
        0 8px 20px -10px rgba(136,85,253,0.5);
}
.f-card:hover .f-card__icon { transform: scale(1.08) rotate(-3deg); }
.f-card__icon svg { width: 28px; height: 28px; color: var(--purple-200); }

.f-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.f-card__text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}
.f-card__num {
    position: absolute;
    top: 24px; right: 24px;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(136,85,253,0.4), rgba(136,85,253,0.05));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* === STATS BANNER === */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 60px 48px;
    background: linear-gradient(135deg, rgba(136,85,253,0.08), rgba(91,33,182,0.04));
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(136,85,253,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(91,33,182,0.15) 0%, transparent 40%);
    pointer-events: none;
}
.stat {
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat__num {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}
.stat__label {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* === COMPARISON TABLE === */
.compare {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.compare__header, .compare__row {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 0;
    align-items: center;
}
.compare__header {
    padding: 24px;
    background: linear-gradient(180deg, rgba(136,85,253,0.12), rgba(136,85,253,0.04));
    border-bottom: 1px solid var(--border-medium);
    font-size: 14px;
    font-weight: 600;
}
.compare__header > div { padding: 0 12px; text-align: center; color: var(--text-secondary); }
.compare__header > div:first-child { text-align: left; color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.compare__header .compare__brand {
    color: white;
    font-weight: 700;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.compare__row {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.2s ease;
}
.compare__row:hover { background: rgba(136,85,253,0.04); }
.compare__row:last-child { border-bottom: none; }
.compare__row > div {
    padding: 0 12px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}
.compare__feature {
    text-align: left !important;
    color: white !important;
    font-weight: 500;
}
.compare__check {
    color: var(--score-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.compare__check svg { width: 22px; height: 22px; flex-shrink: 0; }
.compare__cross {
    color: var(--score-red);
    opacity: 0.7;
}
.compare__partial { color: var(--score-amber); font-size: 13px; }
.compare__cell--brand {
    background: rgba(136,85,253,0.05);
    color: white !important;
    font-weight: 600;
}

/* === STEP TIMELINE === */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(136,85,253,0.5), rgba(136,85,253,0.5), transparent);
    z-index: 0;
}
.step {
    position: relative;
    text-align: center;
    z-index: 1;
}
.step__num {
    width: 76px; height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    border: 1px solid var(--border-glow);
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 8px 24px -8px rgba(136,85,253,0.5);
}
.step__num::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--grad-cta);
    z-index: -1;
    opacity: 0.4;
    filter: blur(8px);
}
.step__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === SCORE PREVIEW === */
.score-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 42px;
    box-shadow: var(--shadow-3d-card);
    position: relative;
}
.score-preview__badge {
    position: absolute;
    top: -16px;
    left: 32px;
    padding: 8px 16px;
    background: var(--grad-cta);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-purple);
}
.score-preview__overall {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 28px;
}
.score-circle {
    width: 130px; height: 130px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    flex-shrink: 0;
    background: conic-gradient(from 0deg, var(--purple-500) 0% 84%, rgba(255,255,255,0.05) 84% 100%);
}
.score-circle::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--bg-card);
}
.score-circle__inner {
    position: relative;
    text-align: center;
}
.score-circle__num {
    font-size: 36px;
    font-weight: 800;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.score-circle__label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}
.score-overall__text h4 {
    font-size: 22px; font-weight: 700;
    margin-bottom: 6px;
}
.score-overall__text p {
    color: var(--text-secondary);
    font-size: 14px;
}
.score-overall__tag {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(34, 197, 94, 0.15);
    color: var(--score-green);
    font-size: 12px;
    font-weight: 600;
}

.score-bars { display: grid; gap: 14px; }
.score-bar {
    display: grid;
    grid-template-columns: 200px 1fr 50px;
    align-items: center;
    gap: 16px;
}
.score-bar__label { font-size: 14px; color: var(--text-secondary); }
.score-bar__track {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}
.score-bar__fill {
    height: 100%;
    background: var(--grad-cta);
    border-radius: var(--radius-pill);
    position: relative;
    box-shadow: 0 0 12px rgba(136,85,253,0.5);
    transition: width 1.4s var(--ease-out);
}
.score-bar__fill--green { background: linear-gradient(90deg, #22c55e, #4ade80); box-shadow: 0 0 12px rgba(34,197,94,0.5); }
.score-bar__fill--blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); box-shadow: 0 0 12px rgba(59,130,246,0.5); }
.score-bar__fill--amber { background: linear-gradient(90deg, #f59e0b, #fbbf24); box-shadow: 0 0 12px rgba(245,158,11,0.5); }
.score-bar__val {
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: white;
    font-variant-numeric: tabular-nums;
}

/* === PRICING === */
.pricing-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-pill);
    padding: 4px;
    margin-bottom: 50px;
}
.pricing-toggle button {
    padding: 10px 22px;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.25s ease;
}
.pricing-toggle button.active {
    background: var(--grad-cta);
    color: white;
    box-shadow: var(--shadow-purple);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 30px;
}
.price-card {
    position: relative;
    padding: 36px 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
}
.price-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-3d-card);
}
.price-card--featured {
    background: linear-gradient(180deg, rgba(136,85,253,0.18), rgba(136,85,253,0.02));
    border-color: rgba(136,85,253,0.5);
    box-shadow: var(--shadow-purple);
}
.price-card--featured::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(136,85,253,0.6), transparent 70%);
    z-index: -1;
}
.price-card__badge {
    position: absolute;
    top: 0; right: 24px;
    transform: translateY(-50%);
    padding: 6px 14px;
    background: var(--grad-cta);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-purple);
}
.price-card__name {
    font-size: 14px;
    color: var(--purple-300);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.price-card__tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 40px;
}
.price-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}
.price-card__price .currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-secondary);
}
.price-card__price .amount {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}
.price-card__price .period {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 4px;
}
.price-card__alt {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.price-card__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex: 1;
}
.price-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}
.price-card__list li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--purple-300); }
.price-card__list li.muted { color: var(--text-faint); }
.price-card__list li.muted svg { color: var(--text-faint); }

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

/* === CTA SECTION === */
.cta-block {
    padding: 90px 60px;
    background: linear-gradient(135deg, rgba(136,85,253,0.18), rgba(91,33,182,0.08));
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(136,85,253,0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(91,33,182,0.25) 0%, transparent 40%);
    pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.cta-block p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto 32px;
}
.cta-block__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-soft);
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
    position: relative;
    z-index: 1;
}
.footer__top {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 56px;
}
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 22px;
}
.footer__col h5 {
    font-size: 13px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--purple-300); }
.footer__locations {
    display: flex; gap: 6px; flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 13px;
}
.footer__locations span {
    padding: 4px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
}
.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.footer__legal { display: flex; gap: 24px; }

/* === GRID DOTS BACKGROUND === */
.dots-bg {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
    background-size: 32px 32px;
}

/* === DUAL COLUMN with image === */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split--reverse .split__visual { order: -1; }

/* === CHECK LIST === */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}
.check-list li::before {
    content: "";
    width: 22px; height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
    background-image:
        linear-gradient(135deg, var(--purple-500), var(--purple-700)),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-blend-mode: normal;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 12px rgba(136,85,253,0.4);
    margin-top: 1px;
}

/* === SCORING CATEGORY GRID (for features page) === */
.score-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.score-cat {
    padding: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
    position: relative;
}
.score-cat:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}
.score-cat__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.score-cat__num {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(136,85,253,0.25), rgba(136,85,253,0.05));
    border: 1px solid rgba(136,85,253,0.25);
    font-size: 14px;
    font-weight: 700;
    color: var(--purple-200);
    flex-shrink: 0;
}
.score-cat__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.score-cat__text {
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.6;
}

/* === ACCORDION (FAQ) === */
.faq {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.faq__item[open] { border-color: var(--border-glow); }
.faq__q {
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    color: white;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: "+";
    font-size: 24px;
    color: var(--purple-400);
    transition: transform 0.25s ease;
}
.faq__item[open] .faq__q::after {
    content: "−";
    transform: rotate(180deg);
}
.faq__a {
    padding: 0 26px 22px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* === CONTACT FORM === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-info__ico {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(136,85,253,0.2), rgba(136,85,253,0.05));
    border: 1px solid rgba(136,85,253,0.25);
    color: var(--purple-200);
}
.contact-info__ico svg { width: 22px; height: 22px; }
.contact-info__item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-info__item p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

.contact-form {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
.field input, .field textarea, .field select {
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    transition: border-color 0.2s ease, background 0.2s ease;
    outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
    border-color: var(--purple-500);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 3px rgba(136,85,253,0.18);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* === BREADCRUMB / PAGE HERO (inner pages) === */
.page-hero {
    padding: calc(var(--header-h) + 80px) 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero__title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 18px 0;
    line-height: 1.1;
}
.page-hero__subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === USE-CASE CARDS (large) === */
.usecase-card {
    padding: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.usecase-card::after {
    content: "";
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(136,85,253,0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.usecase-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}
.usecase-card:hover::after { opacity: 1; }
.usecase-card__head {
    display: flex; align-items: center; gap: 14px;
}
.usecase-card__ico {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(136,85,253,0.25), rgba(136,85,253,0.05));
    border: 1px solid rgba(136,85,253,0.25);
    color: var(--purple-200);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 16px -8px rgba(136,85,253,0.4);
}
.usecase-card__ico svg { width: 26px; height: 26px; }
.usecase-card h3 { font-size: 22px; font-weight: 700; }
.usecase-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* === DASHBOARD MOCK (visual aid) === */
.mock-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-3d-card);
    position: relative;
    overflow: hidden;
}
.mock-dashboard__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.mock-dashboard__head .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
}
.mock-dashboard__head .dot.r { background: #ef4444; }
.mock-dashboard__head .dot.y { background: #f59e0b; }
.mock-dashboard__head .dot.g { background: #22c55e; }
.mock-dashboard__head .label {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* === ANIMATION HELPERS === */
[data-aos] { transition-property: transform, opacity; }

/* === REVEAL on scroll (fallback if AOS fails to load) === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .compare__header, .compare__row { grid-template-columns: 1.4fr repeat(4, 1fr); font-size: 12px; }
}
@media (max-width: 900px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .header__cta .btn--ghost { display: none; }
    .header__inner { gap: 12px; }
    .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
    .hero__inner { grid-template-columns: 1fr; gap: 50px; }
    .hero__visual { display: none; }
    .hero__chip.c1, .hero__chip.c2, .hero__chip.c3 { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid--2 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); padding: 40px 28px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .score-cat-grid { grid-template-columns: 1fr; }
    .compare {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .compare__header, .compare__row {
        min-width: 720px;
    }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .section { padding: 56px 0; }
    .section--tight { padding: 40px 0; }
    .section-head { margin-bottom: 44px; }
    .cta-block { padding: 56px 28px; }
    .price-grid { grid-template-columns: 1fr !important; max-width: 460px; margin-left: auto; margin-right: auto; }
    .score-bar { grid-template-columns: 130px 1fr 40px; gap: 12px; font-size: 13px; }
    .page-hero { padding: calc(var(--header-h) + 36px) 0 40px; }
    .marquee__track { gap: 36px; animation-duration: 28s; }
    .marquee__item { font-size: 15px; }
}
@media (max-width: 540px) {
    .price-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .score-bar { grid-template-columns: 1fr; }
    .score-bar__label { font-size: 13px; }
    .score-preview { padding: 28px 22px; }
    .score-preview__overall { flex-direction: column; text-align: center; gap: 18px; }
    .cta-block { padding: 48px 22px; }
    .footer__bottom { flex-direction: column; text-align: center; }
}

/* === PRICING PLANS (monthly / yearly toggle) === */
.pricing-plans__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 44px;
}
.pricing-plans__title-wrap { text-align: center; max-width: 760px; }
.pricing-plans__title { margin: 0 0 12px; }
.pricing-plans__title-accent {
    display: inline-block;
    margin-left: 10px;
    color: var(--score-green);
    font-size: 0.55em;
    font-weight: 600;
    letter-spacing: 0;
    vertical-align: middle;
}
.pricing-plans__subtitle { color: var(--text-muted); font-size: 14px; margin: 0; }

.pricing-toggle {
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-pill);
    padding: 4px;
    gap: 2px;
}
.pricing-toggle__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
}
.pricing-toggle__btn:hover { color: var(--text-primary); }
.pricing-toggle__btn.is-active {
    background: var(--grad-cta);
    color: #fff;
    box-shadow: var(--shadow-purple);
}

.pricing-plans__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
@media (max-width: 1280px) { .pricing-plans__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 850px)  { .pricing-plans__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pricing-plans__grid { grid-template-columns: 1fr; } }

.plan-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    text-align: center;
    /* No overflow:hidden — leftover from the old 45° corner ribbon. The new pill banner
       sits at top:-12px above the card border and needs to escape its bounds. */
    transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.pricing-plans__grid { padding-top: 12px; } /* room for the badge that sits above featured cards */
.plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-purple);
}
.plan-card--featured {
    border-color: var(--purple-500);
    box-shadow: var(--shadow-purple-lg);
}

.plan-card__banner {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--score-green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
    z-index: 2;
}
/* Featured cards need a touch more top room so the badge doesn't overlap content */
.plan-card--featured { padding-top: 38px; }

.plan-card__name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
}
.plan-card__price {
    font-family: var(--font-sans);
    font-weight: 800;
    color: var(--purple-300);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.plan-card__currency  { font-size: 22px; vertical-align: top; margin-right: 2px; }
.plan-card__amount    { font-size: 40px; }
.plan-card__period    { font-size: 16px; font-weight: 600; color: var(--text-muted); margin-left: 2px; }

.plan-card__meta {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.plan-card__per-test {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.plan-card__cta { width: 100%; justify-content: center; }

/* === Contact Form 7 — adapt to dark theme === */
.contact-form .wpcf7 form > p { margin: 0; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-not-valid-tip { color: var(--score-red); font-size: 12px; margin-top: 4px; }
.contact-form .wpcf7-response-output {
    border: 1px solid var(--border-medium);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    margin-top: 16px;
    font-size: 14px;
}
.contact-form .wpcf7-mail-sent-ok    { border-color: var(--score-green); }
.contact-form .wpcf7-validation-errors,
.contact-form .wpcf7-acceptance-missing,
.contact-form .wpcf7-mail-sent-ng,
.contact-form .wpcf7-spam-blocked    { border-color: var(--score-red); }
.contact-form .wpcf7-spinner         { background-color: var(--purple-500); }
.contact-form .field label { display: block; }
.contact-form .field input,
.contact-form .field textarea,
.contact-form .field select { width: 100%; }

/* === BLOG: Post grid + card === */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 1100px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .posts-grid { grid-template-columns: 1fr; } }

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.post-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-purple);
}
.post-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-elevated);
}
.post-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__media-placeholder {
    display: grid; place-items: center;
    width: 100%; height: 100%;
    color: var(--purple-300); opacity: 0.4;
}
.post-card__media-placeholder svg { width: 48px; height: 48px; }
.post-card__body {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 18px;
    gap: 12px;
    flex: 1;
}
.post-card__title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}
.post-card__title a { color: var(--text-primary); }
.post-card__title a:hover { color: var(--purple-300); }
.post-card__excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.post-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--border-soft);
}
.post-card__more {
    color: var(--purple-300);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.post-card__more svg { width: 14px; height: 14px; }
.post-card__more:hover { color: var(--purple-200); }
.post-card__share { display: flex; gap: 4px; }

/* === SINGLE POST === */
.post-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-medium);
    max-width: 920px;
    margin: 0 auto;
}
.post-hero-image img { width: 100%; height: auto; display: block; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { margin: 32px 0 14px; font-size: 1.6rem; }
.article-content h3 { margin: 28px 0 12px; font-size: 1.3rem; }
.article-content p, .article-content li { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1em; }
.article-content ul, .article-content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content a { color: var(--purple-300); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-content a:hover { color: var(--purple-200); }
.article-content img { border-radius: var(--radius-md); margin: 1.2em auto; }
.article-content blockquote {
    border-left: 3px solid var(--purple-500);
    padding: 4px 0 4px 18px;
    margin: 1.5em 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-style: italic;
}

.post-share {
    max-width: 760px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.post-share__label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* === AddToAny on dark theme === */
.a2a_kit a { transition: opacity 0.15s var(--ease-out); }
.a2a_kit a:hover { opacity: 0.75; }
.a2a_default_style .a2a_svg { border-radius: 6px; }

/* === Pagination === */
.posts-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.posts-pagination span > .page-numbers,
.posts-pagination > span > a,
.posts-pagination span.page-numbers {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
}
.posts-pagination .current { background: var(--grad-cta); color: #fff; border-color: transparent; }
.posts-pagination a:hover { color: var(--text-primary); border-color: var(--border-glow); }

/* === Video embeds inside post bodies ===
   WordPress's wp-video shortcode injects an inline style="width:0px" until
   MediaElement.js reflows it — overriding so the player is responsive
   regardless of JS init order. Also normalises iframe embeds (YouTube etc). */
.article-content .wp-video,
.article-content .wp-video-shortcode {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    margin: 1.4em auto;
}
.article-content video {
    display: block;
    width: 100% !important;
    height: auto;
    max-height: 80vh;
    border-radius: var(--radius-md);
    background: #000;
}
.article-content .mejs-container,
.article-content .mejs-overlay,
.article-content .mejs-poster,
.article-content .mejs-mediaelement {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
}
.article-content figure.wp-block-video,
.article-content figure.wp-block-embed,
.article-content .wp-block-embed__wrapper {
    margin: 1.4em 0;
}
.article-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: 100%;
    border-radius: var(--radius-md);
    border: 0;
}

/* === AUDIENCE PRICING — add-ons strip === */
.audience-addons {
    margin-top: 28px;
    padding: 22px 26px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
}
.audience-addons__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
    text-align: center;
}
.audience-addons__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 28px;
    list-style: none;
    margin: 0; padding: 0;
}
@media (max-width: 760px) { .audience-addons__list { grid-template-columns: 1fr; gap: 10px; } }
.audience-addons__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-soft);
}
.audience-addons__list li:last-child,
.audience-addons__list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.audience-addons__name { color: var(--text-secondary); font-size: 14px; }
.audience-addons__cost { color: var(--purple-300); font-weight: 700; font-size: 14px; }

/* === CREDIT PACKS === */
.credit-packs__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 880px;
    margin: 32px auto 0;
}
@media (max-width: 800px) { .credit-packs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .credit-packs__grid { grid-template-columns: 1fr; } }
.credit-pack {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.credit-pack:hover { transform: translateY(-3px); border-color: var(--border-glow); }
.credit-pack__credits {
    font-size: 32px; font-weight: 800; color: var(--purple-300);
    line-height: 1; letter-spacing: -0.02em;
}
.credit-pack__credits-label {
    font-size: 11px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-top: 4px; margin-bottom: 14px;
}
.credit-pack__price {
    font-size: 22px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 4px;
}
.credit-pack__rate {
    font-size: 11px; color: var(--text-muted); margin-bottom: 14px;
}
.credit-pack__cta { width: 100%; justify-content: center; }

/* === Audience pricing grid — 3 tiers, full container width on desktop === */
.pricing-plans--audience .pricing-plans__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: none;
}
@media (max-width: 900px) { .pricing-plans--audience .pricing-plans__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-plans--audience .pricing-plans__grid { grid-template-columns: 1fr; } }
