/* =====================================================================
   SAGERANK BLACK THEME
   Loaded after tailwind.css and global.css. It re-colours the original
   dark design (pure black, solid panels, plain type, brand textures)
   and keeps every original animation: reveal on scroll, hover lifts, 3D
   tilt, mouse glow, rocket button, mega menus and the intro.
   Remove the <link> to this file to get the previous look back.
   ===================================================================== */

:root {
    --background: #000000;
    --surface: #0b0b0b;
    --surface-variant: #141414;
    --on-surface: #f4f4f5;
    --on-surface-variant: #a1a1aa;
    --outline: rgba(255, 255, 255, 0.12);

    --primary: #0ea5e9;
    --primary-rgb: 14, 165, 233;
    --secondary: #d4d4d8;
    --secondary-rgb: 212, 212, 216;
    --tertiary: #a1a1aa;
    --tertiary-rgb: 161, 161, 170;
    --grad-primary: linear-gradient(135deg, #0ea5e9, #0ea5e9);
    --grad-secondary: linear-gradient(135deg, #60a5fa, #60a5fa);
    --grad-tertiary: linear-gradient(135deg, #7dd3fc, #7dd3fc);

    --n-bg: #000000;
    --n-band: #050505;
    --n-panel: #0b0b0b;
    --n-raised: #141414;
    --n-line: #262626;
    --n-line-strong: #3f3f46;
    --n-accent: #38b6ff;
    --n-text: #f4f4f5;
    --n-muted: #a1a1aa;
    --n-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    --font-head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { background: var(--n-bg); color-scheme: dark; }
body { background-color: var(--n-bg); font-family: var(--font-body); color: var(--n-text); }

[dir="rtl"] body, [dir="rtl"] .font-headline, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: 'Cairo', var(--font-body); }

.font-headline, .font-display, h1, h2, h3, h4 { font-family: var(--font-head); }
.font-body, .font-sans { font-family: var(--font-body); }

/* ---------- browser surfaces carry the palette ---------- */
::selection { background: rgba(255, 255, 255, 0.28); color: #fff; }
input, textarea { caret-color: var(--n-accent); }
:focus-visible { outline: 2px solid var(--n-accent); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--n-bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 10px; border: 2px solid var(--n-bg); }
::-webkit-scrollbar-thumb:hover { background: #2f4670; }
* { scrollbar-color: #2a2a2a var(--n-bg); }

/* ---------- decoration removed (the generated-looking parts) ---------- */
.ambient-blobs-bg, .ambient-blob, .color-blob { display: none !important; }
.hyper-gradient, .hyper-gradient-secondary,
[class*="bg-clip-text"] {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: inherit !important;
    animation: none !important;
}
.mouse-halo { background: radial-gradient(circle, rgba(56, 182, 255, 0.09) 0%, transparent 70%) !important; }
[class*="shadow-primary"], [class*="shadow-secondary"], [class*="shadow-tertiary"], [class*="shadow-[#D4AF37]"], [class*="shadow-white"] {
    --tw-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.7) !important;
    --tw-shadow-colored: 0 18px 36px -24px var(--tw-shadow-color) !important;
}
[class*="shadow-[0_0_"] { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.75) !important; }
[class*="blur-["] { display: none !important; }

/* ---------- panels: solid navy layers instead of blurred glass ---------- */
.glass-card, .glass-primary, .glass-secondary, .glass-tertiary, .dropdown-card, .terminal-window {
    background: var(--n-panel);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border: 1px solid var(--n-line);
    border-radius: 16px;
    box-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.7);
    transition-property: border-color, background-color, box-shadow, transform;
    transition-duration: 0.3s;
    transition-timing-function: var(--n-ease);
}
.glass-card:hover { border-color: var(--n-line-strong); transform: translateY(-3px); box-shadow: 0 26px 44px -28px rgba(0, 0, 0, 0.8); }
.glass-primary { border-color: rgba(14, 165, 233, 0.45); }
.glass-primary:hover { border-color: rgba(56, 182, 255, 0.8); }
.mega-menu-card {
    background: #0a0a0a !important; border: 1px solid var(--n-line) !important; border-radius: 16px !important;
    box-shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.85) !important;
}
.mega-spotlight-card { background: var(--n-panel); border-color: var(--n-line); }

/* bands and bars */
header.main-header { background: rgba(0, 0, 0, 0.82) !important; border-bottom-color: var(--n-line) !important; }
header.main-header.scrolled { background: rgba(0, 0, 0, 0.94) !important; }
footer { background: #000000 !important; border-top-color: var(--n-line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
#mobile-menu, .mobile-menu-overlay { background: #000000 !important; }
.mobile-menu-inner::before { display: none; }

/* ---------- type: sentence case, readable sizes ---------- */
.uppercase { text-transform: none !important; }
h1, h2, h3, h4 { text-transform: none; }
[class*="tracking-["], .tracking-widest, .tracking-wider, .tracking-wide { letter-spacing: 0.01em !important; }
.tracking-tighter, .tracking-tight { letter-spacing: -0.02em !important; }
a[aria-label="SageRank Home"] .font-headline, #mobile-menu .mobile-menu-topbar .font-headline, footer .font-headline.text-2xl { letter-spacing: 0.2em !important; }
.text-\[7px\], .text-\[7\.5px\], .text-\[8px\], .text-\[8\.5px\], .text-\[9px\], .text-\[10px\], .text-\[10\.5px\], .text-\[11px\],
.md\:text-\[8\.5px\], .md\:text-\[10px\], .md\:text-\[11px\], .sm\:text-\[11px\] { font-size: 13px; line-height: 1.5; }
.text-xs { font-size: 13px; }
.hero-h1 { font-size: clamp(2.4rem, 4.2vw, 4.75rem); line-height: 1.04; letter-spacing: -0.025em; font-weight: 700; }
.section-h2 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
h1, h2 { text-wrap: balance; }
.leading-\[0\.95\] { line-height: 1.06; }
.font-light { font-weight: 400; }

/* header navigation */
header.main-header nav > a, header.main-header nav button {
    font-size: 14.5px; font-weight: 500; text-transform: none; letter-spacing: 0 !important; white-space: nowrap; color: #d4d4d8;
}
header.main-header nav > a:hover, header.main-header nav button:hover { color: #fff; }
header.main-header a[aria-label="SageRank Home"] span:last-child { letter-spacing: 0.01em !important; font-size: 11px; text-transform: none; }
.mega-menu-card a b, .mega-menu-card .font-bold { letter-spacing: 0 !important; }

/* ---------- one blue instead of a rainbow ---------- */
[class~="text-[#D4AF37]"], [class~="text-[#F3E5AB"], [class~="text-amber-400"] { color: var(--n-accent); }
[class~="bg-[#D4AF37]"], [class~="bg-amber-400"] { background-color: var(--primary); color: #04121f; }
[class~="hover:bg-[#F3E5AB]"]:hover, [class~="hover:bg-[#D4AF37]"]:hover { background-color: #38b6ff; }
[class~="border-[#D4AF37]/20"], [class~="border-[#D4AF37]/30"], [class~="hover:border-[#D4AF37]/50"]:hover { border-color: rgba(56, 182, 255, 0.35); }
[class~="bg-[#D4AF37]/10"] { background-color: rgba(14, 165, 233, 0.1); }
[class~="selection:bg-[#D4AF37]"] ::selection { background: rgba(56, 182, 255, 0.35); }
[class~="bg-[#0a0a0a]"] { background-color: #050505; }
[class~="bg-[#0a0a0a]/80"] { background-color: rgba(0, 0, 0, 0.88); }
[class~="bg-zinc-900/30"], [class~="bg-zinc-900/60"], [class~="bg-zinc-900/80"] { background-color: var(--n-panel); }
[class~="bg-zinc-800"] { background-color: var(--n-raised); }
[class~="border-zinc-800"], [class~="border-zinc-800/80"], [class~="divide-zinc-800/60"] > * + * { border-color: var(--n-line); }
.text-violet-400 { color: #7dd3fc; }
[class~="bg-violet-500/10"] { background-color: rgba(14, 165, 233, 0.1); }
[class~="border-violet-500/20"] { border-color: rgba(14, 165, 233, 0.25); }

/* ---------- buttons ---------- */
.btn-rippling-glow {
    background: #fff !important; color: #000000 !important; font-weight: 700;
    box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.8) !important;
    transition-property: background-color, transform, box-shadow !important; transition-duration: 0.25s !important;
}
.btn-rippling-glow::before { display: none !important; }
.btn-rippling-glow::after {
    border: 1.5px solid rgba(56, 182, 255, 0.55) !important;
    animation: navyRipple 2.6s cubic-bezier(0, 0.2, 0.8, 1) infinite !important;
}
@keyframes navyRipple { 0% { transform: scale(0.97); opacity: 0.9; } 100% { transform: scale(1.28); opacity: 0; } }
.btn-rippling-glow:hover { background: #e6f2ff !important; transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.9) !important; }
.btn-rippling-glow:active { transform: scale(0.98); }
.gradient-swipe-btn { background: var(--primary) !important; animation: none !important; color: #04121f !important; }
.badge-popular, .badge-security, .badge-featured {
    background: var(--primary) !important; color: #04121f !important; font-size: 12px !important; font-weight: 700 !important;
    letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important;
}
button:active, [class*="rounded-full"][class~="bg-primary"]:active, a[class*="bg-primary"]:active { transform: scale(0.98); }

/* ---------- inputs ---------- */
.legacy-input, input[type="text"], input[type="email"], input[type="tel"], textarea { caret-color: var(--n-accent); }
::placeholder { color: #71717a; opacity: 1; }

/* ---------- full desktop width ---------- */
[class~="max-w-[1600px]"], [class~="max-w-[1550px]"], [class~="max-w-[1500px]"], [class~="max-w-[1400px]"],
[class~="max-w-[1280px]"], [class~="max-w-7xl"] { max-width: min(2000px, 100%); }
.section-padding { padding-left: clamp(1rem, 3vw, 3rem); padding-right: clamp(1rem, 3vw, 3rem); }

/* ---------- hero (homepage) ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.45fr); gap: clamp(28px, 3.4vw, 64px); align-items: center; }
.hero-shot img { width: 100%; height: auto; display: block; }
@media (max-width: 1023px) { .hero-grid { grid-template-columns: 1fr; } }
.score-bars { display: grid; gap: 8px; margin-top: 14px; }
.score-row { display: grid; grid-template-columns: 70px 1fr 34px; gap: 10px; align-items: center; font-size: 14px; color: var(--n-muted); }
.score-row b { color: var(--n-text); font-weight: 600; }
.score-row .track { height: 7px; border-radius: 7px; background: #262626; overflow: hidden; }
.score-row .track i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 7px; transition: width 0.9s var(--n-ease); }
.score-row span { text-align: right; color: var(--n-text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- "What we scan" page ---------- */
.legend-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--n-line-strong); background: var(--n-panel); color: var(--n-text); }
.legend-pill.free { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.35); color: #6ee7b7; }
.legend-pill.acct { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); color: #f4f4f5; }
.legend-pill.ai { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.35); color: #fcd34d; }
.crit { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--n-panel); border: 1px solid var(--n-line); border-radius: 16px; overflow: hidden; font-size: 15.5px; }
.crit th { text-align: left; font-size: 13px; font-weight: 600; color: var(--n-muted); padding: 14px 20px; background: #0a0a0a; border-bottom: 1px solid var(--n-line); }
.crit td { padding: 15px 20px; border-top: 1px solid var(--n-line); vertical-align: top; color: var(--n-muted); }
.crit tr:first-child td { border-top: 0; }
.crit td:first-child { color: var(--n-text); font-weight: 600; width: 27%; }
.crit td:nth-child(3) { width: 150px; }
.crit tbody tr { transition: background-color 0.2s; }
.crit tbody tr:hover { background: var(--n-raised); }
@media (max-width: 860px) {
    .crit thead { display: none; } .crit, .crit tbody, .crit tr, .crit td { display: block; width: 100% !important; }
    .crit td { border-top: 0; padding: 3px 18px; } .crit td:first-child { padding-top: 16px; } .crit td:nth-child(3) { padding-bottom: 16px; }
    .crit tr { border-top: 1px solid var(--n-line); } .crit tr:first-child { border-top: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- intro animation: same sequence, navy instead of black ---------- */
#sagerank-preloader { background: #000000 !important; }
.sr-stage-bg { background: #000000 !important; }
.sr-ambient-glow { background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%) !important; }
.sr-cyber-grid { opacity: 0.5; }


/* =====================================================================
   BRAND TEXTURES (built from the SageRank mark and intro animation)
   ===================================================================== */
.hero-shot { position: relative; }


/* ---------- readable contrast ---------- */
a[class~="bg-primary"], button[class~="bg-primary"], a[class~="bg-secondary"], button[class~="bg-secondary"],
a[class~="bg-tertiary"], button[class~="bg-tertiary"] { color: #04121f !important; }
[class*="text-white/20"], [class*="text-white/30"], [class*="text-white/40"], [class*="text-white/50"] { color: rgba(244, 244, 245, 0.62) !important; }
[class*="text-primary/60"], [class*="text-primary/70"], [class*="text-primary/80"] { color: #38b6ff !important; }
[class*="text-on-surface-variant/"] { color: #a1a1aa; }
.text-\[5\.5px\], .md\:text-\[6\.5px\], .text-\[6px\] { font-size: 12px; }
[class*="group-hover:opacity-100"][class~="opacity-60"] { opacity: 0.85; }
.feature-row[class~="opacity-30"] { opacity: 0.8; }
[class~="text-zinc-500"], [class~="text-zinc-600"], [class~="text-zinc-700"] { color: #9a9aa3; }

/* ---------- phones: keep the header on one line ---------- */
header.main-header .btn-rippling-glow { white-space: nowrap; }
@media (max-width: 640px) {
    header.main-header a[aria-label="SageRank Home"] span:last-child { display: none; }
    header.main-header a[href="/ar"] { display: none; }
    header.main-header .btn-rippling-glow { padding: 9px 14px; font-size: 13px; letter-spacing: 0; }
    header.main-header .btn-rippling-glow .material-symbols-outlined { display: none; }
}

/* =====================================================================
   EMBOSSED SURFACES
   Panels, buttons, inputs and frames read as raised (or pressed-in) parts:
   a light rim on top, a dark rim underneath, a soft drop shadow, and a
   translucent body with a little backdrop blur so the logo pattern and
   grain show faintly through instead of a flat black sheet.
   ===================================================================== */
:root {
    --emb-body: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.035) 38%, rgba(255, 255, 255, 0.015) 70%, rgba(255, 255, 255, 0.05) 100%);
    --emb-fill: rgba(22, 22, 25, 0.76);
    --emb-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -2px 0 rgba(0, 0, 0, 0.75),
        inset 1px 0 0 rgba(255, 255, 255, 0.07),
        inset -1px 0 0 rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.7),
        0 20px 38px -18px rgba(0, 0, 0, 0.95);
    --emb-shadow-hover:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -2px 0 rgba(0, 0, 0, 0.8),
        inset 1px 0 0 rgba(255, 255, 255, 0.1),
        inset -1px 0 0 rgba(0, 0, 0, 0.45),
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 30px 50px -20px rgba(0, 0, 0, 1);
}

/* a little light on the page itself, so black has depth: a neutral top light and layered section bands */
body {
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0) 640px),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: no-repeat, repeat;
    background-size: auto, 220px 220px;
}

.section-padding { background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 55%); border-top: 1px solid rgba(255, 255, 255, 0.06); }
section.section-padding:first-of-type { border-top: 0; }

/* the main panels */
.glass-card, .glass-primary, .glass-secondary, .glass-tertiary, .dropdown-card, .terminal-window,
.plan-card, .faq-item, .legal-card, .contact-card, .terminal-box, .mega-spotlight-card, .guarantee-card, .crit {
    background-image: var(--emb-body);
    background-color: var(--emb-fill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--emb-shadow);
    transition-property: border-color, box-shadow, transform, background-color;
    transition-duration: 0.3s;
    transition-timing-function: var(--n-ease);
}
/* backdrop blur is limited to the main cards so large pages stay fast */
.glass-card, .glass-primary, .plan-card { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
details.glass-card, .legal-card, .faq-item, .crit, .contact-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
.glass-card:hover, .plan-card:hover, .faq-item:hover { border-color: rgba(255, 255, 255, 0.16); box-shadow: var(--emb-shadow-hover); }
.glass-primary, .plan-card-pro { border-color: rgba(14, 165, 233, 0.5); }
.faq-item[open], details.glass-card[open] { box-shadow: var(--emb-shadow-hover); }
.mega-menu-card { background-image: var(--emb-body) !important; background-color: rgba(12, 12, 14, 0.94) !important; box-shadow: var(--emb-shadow-hover) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

/* smaller raised parts: tags, pills, chips, tiles, icon boxes */
[class*="rounded"][class*="bg-white/"][class*="border"],
[class*="rounded"][class*="bg-primary/"][class*="border"],
[class*="rounded"][class*="bg-emerald-500/"][class*="border"],
[class*="rounded"][class*="bg-green-500/"][class*="border"],
[class*="rounded"][class*="bg-red-500/"][class*="border"],
.legend-pill, .quota-capsule {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.55);
}
[class~="w-10"][class~="h-10"][class*="rounded"], [class~="w-12"][class~="h-12"][class*="rounded"], [class~="w-14"][class~="h-14"][class*="rounded"], [class~="w-16"][class~="h-16"][class*="rounded"] {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 0 rgba(0, 0, 0, 0.55), 0 8px 16px -8px rgba(0, 0, 0, 0.95);
}

/* buttons: raised, with a light top edge and a dark bottom edge that presses in on click */
.btn-rippling-glow, a[class~="bg-white"], button[class~="bg-white"] {
    background-image: linear-gradient(180deg, #ffffff 0%, #dedee2 100%) !important;
    box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.6), 0 14px 22px -12px rgba(0, 0, 0, 0.95) !important;
}
a[class~="bg-primary"], button[class~="bg-primary"], .gradient-swipe-btn {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 58%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.28), 0 1px 2px rgba(0, 0, 0, 0.6), 0 14px 22px -12px rgba(0, 0, 0, 0.95) !important;
}
a[class*="bg-white/10"], button[class*="bg-white/10"], a[class*="border-white/20"][class*="rounded"], a[class*="border-white/15"][class*="rounded"] {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.5), 0 10px 18px -10px rgba(0, 0, 0, 0.95);
}
.btn-rippling-glow:active, a[class~="bg-primary"]:active, button[class~="bg-primary"]:active, a[class~="bg-white"]:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 1px rgba(0, 0, 0, 0.6) !important; transform: translateY(1px) scale(0.99);
}

/* inputs sit pressed into the surface */
input:not([type="checkbox"]):not([type="radio"]), textarea, select {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(255, 255, 255, 0.05);
}
form[id*="scanner"], form#scan-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 20px 36px -18px rgba(0, 0, 0, 0.95); background-image: var(--emb-body); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
form[id*="scanner"] input[type="text"], form#scan-cta input[type="text"] { box-shadow: none !important; background-color: transparent !important; border: 0 !important; }

/* screenshots and video sit in a raised bezel */
.hero-shot img, #extension-tilt, #terminal-tilt {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 0 8px rgba(255, 255, 255, 0.04), 0 0 0 9px rgba(0, 0, 0, 0.6), 0 50px 80px -30px rgba(0, 0, 0, 1) !important;
}
.hero-shot img { border-color: rgba(255, 255, 255, 0.18); }

/* tables */
.crit th { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.6); }
.crit td { border-top-color: rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03); }
.crit tbody tr:hover { background: rgba(255, 255, 255, 0.05); }
.score-row .track { box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.06); }
.score-row .track i { background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)); }

/* header and footer get an edge too */
header.main-header { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 24px -16px rgba(0, 0, 0, 0.9); }
footer { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }

@media (prefers-reduced-motion: reduce) { .glass-card:hover, .plan-card:hover { transform: none; } }

/* small partner badge in the footer */
.tools-badge { display: inline-block; line-height: 0; border-radius: 10px; opacity: 0.9; transition: opacity 0.2s ease, transform 0.2s var(--n-ease); }
.tools-badge:hover { opacity: 1; transform: translateY(-1px); }
.tools-badge img { display: block; height: 35px; width: auto; }

/* ---------- pricing: two plan groups ---------- */
.plan-group { text-align: left; margin-top: clamp(2rem, 4vw, 3.25rem); }
.plan-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--n-line); }
.plan-group-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--n-accent); }
.plan-group-title { font-family: 'Bricolage Grotesque', 'Instrument Sans', sans-serif; font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.15rem); line-height: 1.15; letter-spacing: -0.02em; text-transform: none; color: #fff; margin: 0.3rem 0 0.5rem; }
.plan-group-note { font-size: 1rem; line-height: 1.55; color: var(--n-muted); max-width: 54rem; margin: 0; }
.plan-help { border: 1px dashed var(--n-line-strong); background: rgba(255, 255, 255, 0.02); }
[dir="rtl"] .plan-group, [dir="rtl"] .plan-help { text-align: right; }
.plan-wide { overflow: visible !important; text-align: left; }
[dir="rtl"] .plan-wide { text-align: right; }
@media (hover: hover) { .plan-wide.plan-card:hover { transform: none; } }

/* ---------- "Save 20%" on yearly plans ---------- */
.save-pill { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: 999px; background: #22c55e; color: #04120a; font-size: 13px; font-weight: 800; letter-spacing: 0.01em; vertical-align: middle; line-height: 1.4; }
.price-savings.save20 { background: #22c55e !important; color: #04120a !important; border-color: #22c55e !important; font-size: 14px !important; font-weight: 800 !important; padding: 4px 14px !important; }
.save-pill-lg { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 999px; background: #22c55e; color: #04120a; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform 0.2s var(--n-ease), background-color 0.2s ease; }
.save-pill-lg:hover { background: #4ade80; transform: translateY(-1px); }
.price-amount > span { letter-spacing: 0; margin-inline-start: 3px; }

/* ---------- laptops (1024 to 1279px): keep the desktop header on one line ---------- */
header.main-header a, header.main-header button { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
    header.main-header a[aria-label="SageRank Home"] span:last-child { display: none; }
    header.main-header nav > a, header.main-header nav button { padding-left: 10px; padding-right: 10px; font-size: 14px; }
    header.main-header .header-inner { padding-left: 16px; padding-right: 16px; }
    header.main-header .header-inner > div:last-child { gap: 10px; }
}
@media (min-width: 1024px) and (max-width: 1119px) {
    header.main-header a[href="/ar"] { display: none; }
    header.main-header nav > a, header.main-header nav button { padding-left: 8px; padding-right: 8px; }
}
