/* ===== Plus Jakarta Sans ===== */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('/fonts/PlusJakartaSans-Regular.woff2') format('woff2'),
        url('/fonts/PlusJakartaSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('/fonts/PlusJakartaSans-Italic.woff2') format('woff2'),
        url('/fonts/PlusJakartaSans-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ===== JetBrains Mono ===== */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2'),
        url('/fonts/JetBrainsMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('/fonts/JetBrainsMono-Italic.woff2') format('woff2'),
        url('/fonts/JetBrainsMono-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

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

/* CSS Custom Properties */
:root {
    /* === Typography === */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-sans: var(--font-body);
    /* backward compat */

    /* === Brand Colors === */
    --primary-brand: #3399ff;
    --primary-brand-dark: #3399ff;
    --emerald: #2fb47b;
    --white: #ffffff;

    --bg-black: #0A0A0F;
    --bg-dark: #16161F;

    --accent-cyan: #00D4E8;
    --accent-cyan-dim: rgba(0, 212, 232, 0.15);
    --accent-amber: #FFBA42;
    --accent-amber-dim: rgba(255, 186, 66, 0.12);

    /* === Warm Neutrals === */
    --warm-bg: #F0EDE6;
    --warm-surface: #F0EDE6;
    --warm-border: #e8e3de;
    --text-primary: #1a1714;
    --text-white: #ffffff;
    --text-light: #F0EDE6;
    --text-muted: #6b6460;
    --text-light-dark: #9c9490;

    /* === Legacy Aliases (keeps existing components working) === */
    --zinc: var(--warm-surface);
    --neutral-50: var(--warm-bg);
    --neutral-600: var(--text-muted);
    --neutral-700: #4a4440;
    --neutral-800: var(--text-primary);
    --gray-200: var(--warm-border);
    --gray-300: #d6d0ca;
    --shadow-cyan: #00909B;

    /* === Spacing Scale === */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;

    /* === Border Radius === */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* === Shadows === */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);

    /* === Layout === */
    --header-height: 72px;
    --transition-base: 200ms ease;
    --transition-slide: 300ms ease;

    /* === Dark Theme (home page sections) === */
    --bg-dark-sec: #16161F;
    --bg-dark-card: #1E1E2E;
    --border-dark: #2A2A3C;
    --accent-dark: rgba(0, 212, 232, 0.12);
    --text-dark: #1a1714;
    --text-body: #9c9490;
    --text-secondary: #9c9490;

    /* === Typography Extra === */
    --font-mono: 'Roboto Mono', 'Courier New', monospace;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul,
ol {
    list-style: none;
}

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

/* ============================================================
   PAGE LOAD ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   GRADIENT ACCENT BAR
   ============================================================ */
.gradient-bar {
    height: 7px;
    background: linear-gradient(to right, var(--emerald), var(--primary-brand), var(--primary-brand)) !important;
    width: 100%;
    flex-shrink: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-black);
    display: flex;
    flex-direction: column;
    transition: background var(--transition-base);
}

/* Frosted glass on scroll */
.site-header.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 24px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

/* Logo */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: -0.5px;
    color: var(--white);
}

.site-logo span.tv {
    color: var(--primary-brand);
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    /* bez position: relative – mega menu pozycjonuje się względem .header-inner */
}

.nav-item {
    position: relative;
    display: flex;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-base), background var(--transition-base);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-brand);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link .chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.nav-chevron-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 32px;
    padding: 0 4px;
    margin-left: -6px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-base), background var(--transition-base);
}

.nav-chevron-btn:hover,
.nav-item:hover .nav-chevron-btn {
    color: var(--primary-brand);
    background: rgba(255, 255, 255, 0.06);
}

.nav-chevron-btn .chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.nav-item:hover .chevron,
.nav-item.open .chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--warm-border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 200;
    padding: 8px 0;
}

/* Reset inherited .dropdown values that mega overrides */
.dropdown--mega {
    min-width: 0;
    padding: 0;
    border-radius: 0 0 16px 16px;
    border: none;
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-muted);
    transition: background var(--transition-base), color var(--transition-base);
}

.dropdown-link:hover {
    background: var(--warm-surface);
    color: var(--primary-brand);
}

.dropdown-link .dd-icon {
    width: 16px;
    height: 16px;
    color: var(--emerald);
    flex-shrink: 0;
}

/* ============================================================
   MEGA DROPDOWN — full-width, anchored to .header-inner
   ============================================================ */

/* Nav items with mega menu step out of positioning flow so the
   dropdown anchors to .header-inner (position: relative) */
.nav-item:has(.dropdown--mega) {
    position: static;
}

.dropdown--mega {
    /* Span the full width of .header-inner */
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-width: none;
    top: 100%;
    padding: 28px 32px 32px;
    /* Override base .dropdown padding & min-width */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    border-radius: 0 0 16px 16px;
    border-top: 2px solid var(--primary-brand);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.nav-item:hover .dropdown--mega,
.nav-item.open .dropdown--mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Each product family block */
.mega-group {
    padding: 0 24px 0 0;
    min-width: 0;
}

.mega-group+.mega-group {
    padding: 0 24px;
    border-left: 1px solid var(--warm-border);
}

.mega-group:last-child {
    padding-right: 0;
}

.mega-group-label {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-brand);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--warm-border);
    white-space: nowrap;
}

/* Columns inside a group */
.mega-cols {
    display: flex;
    gap: 24px;
}

.mega-col {
    flex: 1;
    min-width: 0;
}

.mega-col-title {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* Links inside mega */
.mega-col .dropdown-link {
    display: block;
    padding: 5px 0;
    font-size: 13px;
    color: var(--text-muted);
    border-radius: 0;
    transition: color var(--transition-base), padding-left var(--transition-base);
}

.mega-col .dropdown-link:hover {
    background: transparent;
    color: var(--primary-brand);
    padding-left: 6px;
}

/* Vertical divider — hidden, borders on .mega-group handle it */
.mega-divider {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-base);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Header actions (CTA button right) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-brand);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: background var(--transition-base);
    white-space: nowrap;
}

.btn-header-cta:hover {
    background: var(--primary-brand-dark);
}

/* Mobile nav panel */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #080910;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0 20px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-link {
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 24px;
    transition: background var(--transition-base), color var(--transition-base);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary-brand);
}

.mobile-nav-submenu {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--primary-brand);
    margin: 0 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.mobile-nav-submenu .mobile-nav-link {
    padding: 10px 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

/* Page offset for fixed header */
.header-offset {
    height: calc(var(--header-height) + 3px);
    /* header + gradient bar */
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    background: var(--bg-black);
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Gradient bar at top of hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--emerald), var(--primary-brand), var(--primary-brand));
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    background: transparent;
    color: var(--text-white);
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid #333333;
    cursor: pointer;
    transition: border-color .3s ease, background .3s ease;
}

.btn-secondary-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    background: transparent;
    color: var(--text-white);
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: border-color .3s ease, background .3s ease;
}

.btn-secondary-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid var(--border-light);
    cursor: pointer;
    transition: border-color .3s ease, background .3s ease;
}

.btn-secondary-light:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--neutral-400);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
    padding: 64px 24px;
    background: #fff;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 18px;
    font-weight: 700;
}

.section-label {
    color: var(--primary-brand);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary-brand);
    position: relative;
}

.section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-brand);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: gap var(--transition-base);
}

.section-link:hover {
    gap: 8px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}



/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-black);
    border-top: none;
}

.footer-top {
    padding: 56px 24px 40px;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand .site-logo {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand .site-logo span.tv {
    color: var(--primary-brand);
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 280px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

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

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-base);
}

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

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
}

.footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-base);
}

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

.copyright-link__fusion {
    font-weight: 600;
    transition: color var(--transition-base);
}

.copyright-link__fusion:hover {
    color: #E6164A;
}

/* Social icons */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.social-link:hover {
    background: var(--primary-brand);
    color: var(--white);
    border-color: var(--primary-brand);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================================
   RESPONSIVE — Tablet (≥ 640px)
   ============================================================ */
@media (min-width: 640px) {
    .footer-cols {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 2fr;
    }
}

/* ============================================================
   RESPONSIVE — Desktop (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {
    .header-inner {
        padding: 0 40px;
    }

    .hamburger {
        display: none !important;
    }

    .main-nav {
        display: flex !important;
    }

    .footer-top {
        grid-template-columns: 280px 1fr;
        gap: 80px;
    }

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

/* ============================================================
   RESPONSIVE — Mobile nav
   ============================================================ */
@media (max-width: 1023px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .header-actions .btn-header-cta {
        display: none;
    }
}

/* ============================================================
   UTILITY
   ============================================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* ============================================================
   METHODOLOGY SECTION
   ============================================================ */
.methodology-section {
    color: var(--text-primary);
    padding: 72px 24px;
}

.methodology-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.methodology-header h2 {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.methodology-header h2 span {
    color: var(--primary-brand);
}

.methodology-header p {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.7;
}

.method-steps {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1024px;
    margin: 0 auto;
}

.method-step {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.method-step:hover {
    transform: translateY(-4px);
}

.method-step:last-child {
    border-bottom: none;
}

.method-num {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 800;
    color: var(--primary-brand);
    line-height: 1;
    margin-bottom: 12px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.method-step:hover .method-num {
    transform: scale(1.05);
}

.method-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.method-content p {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.7;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    border-top: 1px solid var(--warm-border);
    position: relative;
}

.stats-row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.stat-big {
    padding: 24px;
    text-align: center;
    border-right: 1px solid var(--warm-border);
    border-bottom: 1px solid var(--warm-border);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        background 0.3s ease;
}

.stat-big:hover {
    transform: scale(1.03);
    background: rgba(51, 153, 255, 0.03);
}

.stat-big:nth-child(2n) {
    border-right: none;
}

.stat-big:nth-child(n+3) {
    border-bottom: none;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-num.animate-count {
    animation: countPop 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.stat-plus {
    color: var(--primary-brand);
}

.stat-text {
    font-size: 13px;
    color: var(--text-muted);
}


@media (min-width: 1024px) {

    /* Method steps: 3 columns with vertical dividers */
    .method-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .method-step {
        padding: 0 40px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .method-step:first-child {
        padding-left: 0;
    }

    .method-step:last-child {
        padding-right: 0;
        border-right: none;
    }

    /* Stats: 4 in a row */
    .stats-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-big {
        border-bottom: none;
    }

    .stat-big:nth-child(2n) {
        border-right: 1px solid var(--warm-border);
    }

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



.site-footer::before {
    background: linear-gradient(to right, var(--emerald), var(--primary-brand), var(--primary-brand)) !important;
}

.btn-header-cta {
    background: var(--primary-brand);
}

.btn-header-cta:hover {
    background: var(--primary-brand-dark);
}



/* ── Hero: ambient glow + z-index ───────────────────────────────── */
.hero::after {
    content: '';
    position: absolute;
    top: -25%;
    right: -12%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(34, 211, 240, 0.055) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
}



/* ── Method meters ──────────────────────────────────────────────── */
.method-meter {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1px;
    margin: 12px 0 18px;
    overflow: hidden;
}

.method-meter-fill {
    height: 100%;
    border-radius: 1px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.method-meter-fill.animated {
    width: var(--fill, 75%);
    background: linear-gradient(to right, var(--primary-brand), rgba(34, 211, 240, 0.5));
    box-shadow: 0 0 8px rgba(34, 211, 240, 0.4);
}


.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            var(--primary-brand) 30%,
            var(--primary-brand) 70%,
            transparent 100%);
}

.breadcrumbs {
    padding: 14px 24px;
    background: #fff;
    border-bottom: 1px solid var(--warm-border);
}

.breadcrumbs-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--neutral-600);
}

.breadcrumbs-inner a {
    color: var(--neutral-600);
    transition: color var(--transition-base);
}

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

.breadcrumb-sep {
    color: var(--gray-300);
}

.breadcrumb-current {
    color: var(--neutral-800);
    font-weight: 500;
}

@media (max-width: 480px) {
    .breadcrumbs {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (min-width: 1024px) {
    .breadcrumbs {
        padding-left: 40px;
        padding-right: 40px;
        margin-top: 31px;
    }
}

/* ── Producer Header ─────────────────────────────────────────── */
.producer-header {
    background: #fcfcfc;
    border: 1px solid #eae9e9;
    padding: 40px 24px 36px;
}

.producer-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.producer-logo-wrap {
    flex-shrink: 0;
    width: 100px;
    height: 56px;
    background: var(--warm-surface);
    border: 1px solid var(--warm-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
}

.producer-logo-wrap svg,
.producer-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
}

.producer-meta {
    flex: 1;
    min-width: 240px;
}

.producer-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.producer-eyebrow::before {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    background: var(--emerald);
    border-radius: 1px;
}

.producer-title {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.producer-desc {
    font-size: 14px;
    color: var(--neutral-600);
    line-height: 1.7;
    max-width: 680px;
}

.producer-update {
    margin-top: 12px;
    font-size: 12px;
    color: var(--neutral-600);
    display: flex;
    align-items: center;
    gap: 5px;
}

.producer-update svg {
    color: var(--gray-300);
}

.producer-stats {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.producer-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--neutral-600);
}

.producer-stat strong {
    color: var(--neutral-800);
    font-weight: 600;
}

/* ── Listing layout ──────────────────────────────────────────── */
.listing-section {
    padding: 40px 24px 64px;
}

.listing-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.listing-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.listing-count {
    font-size: 14px;
    color: var(--neutral-600);
}

.listing-count strong {
    color: var(--neutral-800);
}

.listing-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--neutral-600);
}

.sort-select {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--neutral-800);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 6px 32px 6px 12px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23525252' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color var(--transition-base);
}

.sort-select:hover,
.sort-select:focus {
    outline: none;
    border-color: var(--primary-brand);
}

/* Product list (vertical stack) */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Product Card ─────────────────────────────────────────── */
.product-card {
    background: #fcfcfc;
    border: 1px solid #eae9e9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--warm-border);
}

/* Card header strip */
.product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: #fcfcfc;
    border: 1px solid #eae9e9;
    flex-wrap: wrap;
    gap: 8px;
}

.product-model-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--neutral-800);
}

.product-tech-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.tech-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.tech-badge.badge-panel {
    background: #eff6ff;
    color: #2563eb;
}

.tech-badge.badge-backlight {
    background: #f0fdf4;
    color: #16a34a;
}

.tech-badge.badge-hdr {
    background: #fff7ed;
    color: #c2410c;
}

/* Card body: image + details */
.product-card-body {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
}

.product-image-col {
    padding: 24px;
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: var(--white);
}

.product-image-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

/* Size selector */
.size-selector {
    width: 100%;
}

.size-selector-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--neutral-600);
    margin-bottom: 8px;
}

.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.size-btn {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--neutral-700);
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
    line-height: 1;
}

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

.size-btn.active {
    border-color: var(--primary-brand);
    background: var(--primary-brand);
    color: var(--white);
}

/* Buy section (inside image col) */
.buy-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid var(--gray-200);
}

.buy-store {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--neutral-600);
    justify-content: space-between;
}

.store-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.3px;
}

.store-badge-text {
    color: var(--bg-black);
}

.buy-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1;
}

.buy-price .price-currency {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
    margin-left: 2px;
}

.buy-price .price-old {
    font-size: 13px;
    font-weight: 400;
    color: var(--neutral-600);
    text-decoration: line-through;
    margin-left: 6px;
}

.btn-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary-brand);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background var(--transition-base);
    text-align: center;
    width: 100%;
}

.btn-details:hover {
    background: var(--primary-brand-dark);
}

.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--primary-brand);
    font-size: 13px;
    font-weight: 600;
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--primary-brand);
    background: transparent;
    cursor: pointer;
    font-family: var(--font-display);
    transition: background var(--transition-base), color var(--transition-base);
    width: 100%;
    text-align: center;
}

.btn-buy:hover {
    background: var(--primary-brand);
    color: var(--white);
}

.compare-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: var(--neutral-600);
    transition: color var(--transition-base);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 100%;
}

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

.stores-dropdown {
    margin-top: 12px;
}

.stores-dropdown .stores-list {
    gap: 8px;
}

.stores-dropdown .store-card {
    padding: 10px 14px;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item:has(.faq-button[aria-expanded="true"]) {
    border-color: var(--primary-brand);
}

.faq-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question {
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-800);
    line-height: 1.4;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--neutral-500);
    transition: transform var(--transition-base);
}

.faq-button[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--neutral-700);
    border-top: 1px solid var(--gray-200);
    padding-top: 14px;
}

.faq-answer p {
    margin: 0;
}

/* Details column: verdict + scores */
.product-details-col {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============================================================
   PRODUCT CARD — 3-COLUMN REDESIGN (pc-*)
   ============================================================ */

.pc-body {
    display: grid;
    grid-template-columns: 220px 1fr 260px;
    min-height: 240px;
}

/* Col 1 — Image */
.pc-img-col {
    padding: 20px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.pc-img-link {
    display: block;
    width: 100%;
}

.pc-img-col img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .pc-img-col img {
    transform: scale(1.04);
}

/* Col 2 — Info */
.pc-info-col {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.pc-info-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1.35;
}

.pc-name a {
    color: inherit;
    text-decoration: none;
}

.pc-name a:hover {
    color: var(--primary-brand);
}

.pc-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pc-rating {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 5px;
}

.pc-rating-val {
    font-size: 30px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary-brand);
    line-height: 1;
}

.pc-rating-max {
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-400);
}

.pc-rating-label {
    font-size: 12px;
    color: var(--neutral-500);

}

.pc-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--neutral-600);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.pc-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-brand);
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease;
    width: fit-content;
}

.pc-more-link:hover {
    gap: 8px;
}

/* Col 3 — Buy panel */
.pc-buy-col {
    padding: 20px 22px;
    border-left: 1px solid var(--gray-200);
    background: #fafaf8;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc-price-block {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-200);
}

.pc-price-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--neutral-500);
    margin-bottom: 4px;
}

.pc-price {
    font-size: 26px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--neutral-800);
    line-height: 1;
}

.pc-promoted-store {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc-promoted-logo {
    height: 26px;
    display: flex;
    align-items: center;
}

.pc-promoted-logo svg {
    height: 22px;
    width: auto;
}

/* Responsive */
@media (max-width: 960px) {
    .pc-body {
        grid-template-columns: 180px 1fr;
        grid-template-rows: auto auto;
    }

    .pc-buy-col {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid var(--gray-200);
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 20px;
        background: #fafaf8;
    }

    .pc-price-block {
        border-bottom: none;
        padding-bottom: 0;
    }

    .pc-promoted-store {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .pc-buy-col .btn-details,
    .pc-buy-col .compare-link,
    .pc-buy-col .stores-dropdown {
        width: auto;
    }

    .pc-buy-col .compare-link {
        width: 100%;
    }

    .pc-buy-col .stores-dropdown {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .pc-body {
        grid-template-columns: 1fr;
    }

    .pc-img-col {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        padding: 20px;
    }

    .pc-img-col img {
        height: 160px;
    }

    .pc-buy-col {
        flex-direction: column;
    }

    .pc-buy-col .btn-details,
    .pc-buy-col .btn-buy {
        width: 100%;
    }
}

/* Score main */
.score-main {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    gap: 0;
}

.score-circle .score-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.score-circle .score-max {
    font-size: 10px;
    color: var(--text-muted);
}

.score-summary {
    flex: 1;
}

.score-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 4px;
}

.score-verdict {
    font-size: 13px;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* Color bands for score circles — filled backgrounds */
.score-circle.great {
    background: #dcfce7;
}

.score-circle.good {
    background: #fff3ea;
}

.score-circle.ok {
    background: #fefce8;
}

.score-circle.weak {
    background: #fef2f2;
}

.score-circle.great .score-value {
    color: #16a34a;
}

.score-circle.good .score-value {
    color: var(--primary-brand);
}

.score-circle.ok .score-value {
    color: #a16207;
}

.score-circle.weak .score-value {
    color: #dc2626;
}

/* Category scores grid */
.score-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.score-cat {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 12px;
    background: var(--neutral-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.score-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.score-cat-icon {
    font-size: 15px;
    line-height: 1;
}

.score-cat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--neutral-800);
}

.score-cat-label {
    font-size: 10px;
    color: var(--neutral-600);
    line-height: 1.3;
}

/* Score bar */
.score-bar {
    height: 5px;
    border-radius: 3px;
    background: var(--gray-200);
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--primary-brand);
    transition: width 0.6s ease;
}

.score-bar-fill.fill-great {
    background: #22c55e;
}

.score-bar-fill.fill-good {
    background: var(--primary-brand);
}

.score-bar-fill.fill-ok {
    background: #eab308;
}

.score-bar-fill.fill-weak {
    background: #ef4444;
}

/* Verdict text block */
.verdict-block {
    font-size: 13px;
    color: var(--neutral-600);
    line-height: 1.7;
}

.verdict-block p+p {
    margin-top: 8px;
}

/* ── Related Articles ─────────────────────────────────────── */
.related-section {
    padding: 0 24px 64px;
}

.related-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.related-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.related-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border-color: var(--gray-300);
}

.related-thumb {
    width: 80px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--zinc);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-meta {
    flex: 1;
    min-width: 0;
}

.related-category {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 4px;
}

.related-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-800);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-title:hover {
    color: var(--primary-brand);
}

.related-date {
    font-size: 11px;
    color: var(--neutral-600);
    margin-top: 4px;
}

/* ── Responsive (Listing) ──────────────────────────────────── */
@media (max-width: 768px) {
    .product-card-body {
        grid-template-columns: 200px 1fr;
    }

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

@media (max-width: 480px) {
    .product-card-body {
        grid-template-columns: 1fr;
    }

    .product-image-col {
        border-right: none;
        border-bottom: 1px solid var(--warm-border);
        padding: 20px;
    }

    .product-image-wrap {
        max-width: 240px;
        margin: 0 auto;
    }

    .buy-section {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }

    .score-categories {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .producer-logo-wrap {
        display: none;
    }
}

@media (min-width: 1024px) {

    .listing-section,
    .related-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .producer-header {
        padding: 48px 40px 44px;
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   PRODUCT PAGE — widok pojedynczego produktu
   ============================================================ */

/* ── Product Hero ─────────────────────────────────────────── */
.product-hero {
    background: #fff;
    border-bottom: 1px solid var(--warm-border);
    padding: 40px 24px;
}

.product-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform var(--transition-slide);
}

.gallery-main:hover img {
    transform: scale(1.03);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 72px;
    height: 52px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--zinc);
    flex-shrink: 0;
    transition: border-color var(--transition-base);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary-brand);
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--header-height) + 3px + 49px);
    /* header + gradient + anchor-nav */
}

.product-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
}

.badge-panel {
    background: #eff6ff;
    color: #2563eb;
}

.badge-back {
    background: #f0fdf4;
    color: #16a34a;
}

.badge-system {
    background: #fef3c7;
    color: #92400e;
}

.product-name {
    font-size: clamp(24px, 3vw, 26px);
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.product-subtitle {
    font-size: 14px;
    color: var(--neutral-600);
    margin-top: -12px;
}

/* Score hero */
.score-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.score-hero-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary-brand);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.score-hero-circle .val {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-brand);
}

.score-hero-circle .max {
    font-size: 10px;
    color: var(--neutral-600);
}

.score-hero-circle.sc-great {
    border-color: #22c55e;
}

.score-hero-circle.sc-great .val {
    color: #22c55e;
}

.score-hero-circle.sc-good {
    border-color: var(--primary-brand);
}

.score-hero-circle.sc-good .val {
    color: var(--primary-brand);
}

.score-hero-circle.sc-ok {
    border-color: #eab308;
}

.score-hero-circle.sc-ok .val {
    color: #eab308;
}

.score-hero-circle.sc-weak {
    border-color: #ef4444;
}

.score-hero-circle.sc-weak .val {
    color: #ef4444;
}

.score-hero-text .label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--neutral-600);
    margin-bottom: 4px;
}

.score-hero-text .verdict-short {
    font-size: 13px;
    color: var(--neutral-700);
    line-height: 1.5;
}

/* Size selector (product page) */
.pp-size-selector .label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--neutral-600);
    margin-bottom: 8px;
}

.pp-size-buttons {
    display: flex;
    gap: 8px;
}

.pp-size-btn {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--neutral-700);
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
}

.pp-size-btn:hover {
    border-color: var(--primary-brand);
    color: var(--primary-brand);
}

.pp-size-btn.active {
    border-color: var(--primary-brand);
    background: var(--primary-brand);
    color: var(--white);
}

/* Buy panel */
.buy-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.store-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.buy-panel-store {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.store-logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    line-height: 1.3;
}

.buy-panel-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.buy-panel-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1;
}

.buy-panel-price-old {
    font-size: 14px;
    color: var(--neutral-600);
    text-decoration: line-through;
}

.buy-panel-currency {
    font-size: 15px;
    font-weight: 500;
    color: var(--neutral-600);
    margin-left: 2px;
}

.buy-panel-note {
    font-size: 12px;
    color: var(--neutral-600);
}

.btn-buy-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-brand);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
    text-align: center;
}

.btn-buy-primary:hover {
    background: var(--primary-brand-dark);
    transform: translateY(-1px);
}

/* Other stores */
.other-stores {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--neutral-600);
    padding: 6px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-base), color var(--transition-base);
}

.store-link:hover {
    border-color: var(--primary-brand);
    color: var(--primary-brand);
}

/* ── Anchor Nav ───────────────────────────────────────────── */
.anchor-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 90;
    background: rgba(250, 248, 246, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--warm-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.anchor-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.anchor-nav-inner::-webkit-scrollbar {
    display: none;
}

.anchor-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--neutral-600);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition-base), border-color var(--transition-base);
}

.anchor-link:hover {
    color: var(--primary-brand);
    border-bottom-color: var(--primary-brand);
}

.anchor-link.active {
    color: var(--primary-brand);
    border-bottom-color: var(--primary-brand);
    font-weight: 700;
}

/* ── Content wrapper ─────────────────────────────────────── */
.product-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Content Section ─────────────────────────────────────── */
.content-section {
    /* padding: 48px 0; */
    border-bottom: 1px solid var(--gray-200);
}

.content-section:last-of-type {
    border-bottom: none;
}

.product-content .content-section h1 {
    margin-top: 0;
    margin-bottom: 16px;
}

.product-content .content-section h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.product-content .content-section h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.product-content .content-section h4 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.product-content .content-section h5,
.product-content .content-section h6 {
    margin-top: 16px;
    margin-bottom: 8px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.cs-title {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: var(--neutral-800);
    letter-spacing: -0.3px;
}

.cs-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}

.cs-score-badge.great {
    background: #dcfce7;
    color: #16a34a;
}

.cs-score-badge.good {
    background: #fff7ed;
    color: var(--primary-brand-dark);
}

.cs-score-badge.ok {
    background: #fefce8;
    color: #a16207;
}

.cs-score-badge.weak {
    background: #fef2f2;
    color: #dc2626;
}

/* ── Verdict section ─────────────────────────────────────── */
.verdict-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--neutral-700);
}

.verdict-text p+p {
    margin-top: 14px;
}

.verdict-text>img,
.verdict-text>p img {
    display: none;
}

.verdict-expand-btn {
    border: 1px solid var(--gray-200);
    max-width: 100%;
    height: auto;
    display: block;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-brand);
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-sans);
    padding: 0;
    transition: gap var(--transition-base);
}

.verdict-expand-btn:hover {
    gap: 10px;
}

.verdict-hidden {
    display: none;
}

.verdict-hidden.visible {
    display: block;
}

/* ── Pros / Cons ─────────────────────────────────────────── */
.pros-cons-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pros-col,
.cons-col {
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}

.pros-col {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.cons-col {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.pros-cons-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-col .pros-cons-heading {
    color: #16a34a;
}

.cons-col .pros-cons-heading {
    color: #dc2626;
}

.pros-cons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pros-cons-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--neutral-700);
}

.pros-cons-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.pros-col .pros-cons-icon {
    background: #bbf7d0;
    color: #16a34a;
}

.cons-col .pros-cons-icon {
    background: #fecaca;
    color: #dc2626;
}

.pros-cons-item-content {
    display: flex;
    flex-direction: column;
}

/* ── 9-score grid ─────────────────────────────────────────── */
.score9-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.score9-card {
    padding: 14px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.score9-emoji {
    font-size: 18px;
    line-height: 1;
}

.score9-val {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-800);
}

.score9-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.score9-fill {
    height: 100%;
    border-radius: 2px;
}

.score9-fill.great {
    background: #22c55e;
}

.score9-fill.good {
    background: var(--primary-brand);
}

.score9-fill.ok {
    background: #eab308;
}

.score9-fill.weak {
    background: #ef4444;
}

.score9-label {
    font-size: 12px;
    color: var(--neutral-600);
    line-height: 1.3;
}

/* ── Detailed Score Sections ─────────────────────────────── */
.detail-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.detail-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-800);
    flex: 1;
}

.detail-score {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-weight: 700;
}

.detail-score .num {
    font-size: 28px;
}

.detail-score .den {
    font-size: 14px;
    color: var(--neutral-600);
}

.detail-score.great .num {
    color: #22c55e;
}

.detail-score.good .num {
    color: var(--primary-brand);
}

.detail-score.ok .num {
    color: #eab308;
}

.detail-score.weak .num {
    color: #ef4444;
}

.detail-score-bar {
    width: 120px;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.detail-score-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.detail-score-bar-fill.great {
    background: #22c55e;
}

.detail-score-bar-fill.good {
    background: var(--primary-brand);
}

.detail-score-bar-fill.ok {
    background: #eab308;
}

.detail-score-bar-fill.weak {
    background: #ef4444;
}

.detail-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: start;
}

.detail-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--neutral-700);
}

.detail-text p+p {
    margin-top: 10px;
}

/* Measurement table (sidebar of detail section) */
.measure-table {
    background: var(--neutral-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.measure-table-title {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--neutral-600);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.measure-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    font-size: 13px;
    border-bottom: 1px solid var(--gray-200);
    gap: 8px;
}

.measure-row:last-child {
    border-bottom: none;
}

.measure-key {
    color: var(--neutral-600);
    flex: 1;
}

.measure-val {
    font-weight: 600;
    color: var(--neutral-800);
    text-align: right;
}

.measure-val.good {
    color: #16a34a;
}

.measure-val.bad {
    color: #dc2626;
}

/* ── Specs section ────────────────────────────────────────── */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.spec-group {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.spec-group--full {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
}

.spec-group-title {
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--neutral-600);
    background: var(--neutral-50);
    border-bottom: 1px solid var(--gray-200);
}

.spec-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 18px;
    border-bottom: 1px solid var(--gray-200);
    gap: 12px;
    font-size: 13px;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-key {
    flex: 0 0 48%;
    color: var(--neutral-600);
    line-height: 1.4;
}

.spec-val {
    flex: 1;
    font-weight: 500;
    color: var(--neutral-800);
    line-height: 1.4;
}

/* Check / X icons in specs */
.check {
    color: #16a34a;
    font-weight: 700;
}

.cross {
    color: #dc2626;
}

/* ── Where to buy (price history) ────────────────────────── */
.buy-section-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.stores-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    gap: 12px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.store-card>div {
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-card>div svg {
    width: 100%;

    /*filter: grayscale(1) brightness(0.7);*/
    transition: filter var(--transition-base);
}

.store-card:hover>div svg {
    filter: none;
}

.store-card:hover {
    border-color: var(--primary-brand);
    box-shadow: 0 2px 12px rgba(255, 104, 16, 0.1);
}

.store-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-800);
}

.store-card-note {
    font-size: 12px;
    color: var(--neutral-600);
}

.store-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-800);
    white-space: nowrap;
}

.store-card-price.best {
    color: #16a34a;
}

.btn-store-visit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary-brand);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition-base);
    text-decoration: none;
}

.btn-store-visit:hover {
    background: var(--primary-brand-dark);
}

/* Price history mini-chart */
.price-history {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 20px;
}

.price-history-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--neutral-700);
    margin-bottom: 16px;
}

.price-history-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-history-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.ph-date {
    color: var(--neutral-600);
    min-width: 88px;
}

.ph-bar-wrap {
    flex: 1;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.ph-bar {
    height: 100%;
    border-radius: 4px;
    background: var(--primary-brand);
}

.ph-bar.best {
    background: #22c55e;
}

.ph-price {
    font-weight: 600;
    color: var(--neutral-800);
    min-width: 68px;
    text-align: right;
}

.ph-price.best {
    color: #16a34a;
}

/* ── Competing TVs ───────────────────────────────────────── */
.competing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.competing-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.competing-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-300);
}

.competing-img {
    height: 120px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.competing-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.competing-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.competing-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1.3;
}

.competing-score-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.competing-score {
    font-size: 20px;
    font-weight: 700;
}

.cs-great {
    color: #22c55e;
}

.cs-good {
    color: var(--primary-brand);
}

.cs-ok {
    color: #eab308;
}

.cs-weak {
    color: #ef4444;
}

.competing-score-label {
    font-size: 11px;
    color: var(--neutral-600);
}

.competing-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-700);
}

.competing-verdict {
    font-size: 12px;
    color: var(--neutral-600);
    line-height: 1.5;
}

.competing-cta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-brand);
    padding: 10px 14px;
    border-top: 1px solid var(--gray-200);
    transition: background var(--transition-base);
}

.competing-cta:hover {
    background: var(--zinc);
}

/* ── Authors ─────────────────────────────────────────────── */
.authors-section {
    padding: 40px 0;
    border-top: 2px solid var(--gray-200);
}

.authors-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.author-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex: 1;
    min-width: 260px;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--warm-border);
    background: #fff;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--zinc);
    border: 2px solid var(--gray-200);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info .name {
    font-size: 15px;
    font-weight: 700;
    color: var(--neutral-800);
}

.author-info .role {
    font-size: 12px;
    color: var(--neutral-600);
    margin-bottom: 6px;
}

.author-socials {
    display: flex;
    gap: 8px;
}

.author-social {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--zinc);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-600);
    transition: background var(--transition-base), color var(--transition-base);
}

.author-social:hover {
    background: var(--primary-brand);
    color: var(--white);
}

.author-social svg {
    width: 12px;
    height: 12px;
}

.author-dates {
    margin-top: 8px;
    font-size: 11px;
    color: var(--neutral-600);
}

/* Apps availability */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--neutral-700);
}

.app-item.available {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.app-item.unavailable {
    background: #fef2f2;
    border-color: #fecaca;
    color: var(--neutral-600);
}

.app-check {
    font-size: 12px;
}

/* ── Responsive (Product) ─────────────────────────────────── */
@media (max-width: 768px) {
    .product-hero-inner {
        grid-template-columns: 1fr;
    }

    .product-info {
        position: static;
    }

    .detail-body {
        grid-template-columns: 1fr;
    }

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

    .buy-section-full {
        grid-template-columns: 1fr;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

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

    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .competing-grid {
        grid-template-columns: 1fr;
    }

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

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

    .product-hero {
        padding: 20px 16px;
    }

    .product-content {
        padding: 0 16px;
    }

    .anchor-nav-inner {
        padding: 0 16px;
    }
}

@media (min-width: 1024px) {
    .product-hero {
        padding: 48px 40px;
    }

    .product-hero-inner {
        max-width: 1100px;
    }

    .product-content {
        padding: 0 40px;
    }

    .anchor-nav-inner {
        padding: 0 40px;
    }
}

[id] {
    scroll-margin-top: 60px;
}

@media (min-width: 768px) {
    [id] {
        scroll-margin-top: 150px;
    }
}

/* ─── HERO ─── */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.12;
    pointer-events: none;
}

.hero-glow-1 {
    top: -200px;
    right: -100px;
    background: var(--accent-cyan);
}

.hero-glow-2 {
    bottom: -300px;
    left: -200px;
    background: var(--accent-amber);
    opacity: 0.1;
}

.hero-inner {
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    border-radius: 100px;
    background: var(--accent-cyan-dim);
    border: 1px solid rgba(0, 212, 232, 0.25);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease both;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero h1 {
    font-family: var(--font-display);
    color: var(--text-white);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero h1 em {
    font-style: italic;
    color: var(--primary-brand);
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.45s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    background: var(--primary-brand);
    color: var(--text-white);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 232, 0.35);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-svg-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Energy flow animation for hero SVG */
@keyframes energyFlow {
    0% {
        stroke-dashoffset: 200;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes chargeLevel {
    0% {
        height: 0;
    }

    100% {
        height: var(--target-h);
    }
}

.float-anim {
    animation: floatSlow 6s ease-in-out infinite;
}


/* ─── CATEGORIES ─── */
.categories {
    padding: 100px 40px;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.cat-card {
    background: #3399FF;
    border: 1px solid var(--warm-border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        background 0.35s ease,
        border-color 0.35s ease;
}

.cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.cat-card:hover {
    background: #277acc;
    border-color: var(--gray-300);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 60px rgba(51, 153, 255, 0.25), 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cat-card:hover::after {
    opacity: 1;
}

.cat-card:hover svg {
    transform: scale(1.1) rotate(-3deg);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cat-card svg {
    margin-bottom: 24px;
}

.cat-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    color: #fff;
}

.cat-card p {
    font-size: 14px;
    color: #F0EDE6;
    line-height: 1.65;
}

.cat-card .cat-count {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    color: #F0EDE6ff;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ─── PRICE CTA ─── */
.price-cta {
    padding: 100px 40px;
    background: var(--bg-black);
}

.price-cta-inner {
    max-width: 1320px;
    margin: 0 auto;
    background: var(--bg-dark);
    border-radius: 24px;
    padding: 72px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.price-cta-inner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--amber);
    border-radius: 50%;
    filter: blur(160px);
    opacity: .06;
}

.price-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 3.5vw, 48px);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--text-light);
}

.price-cta h2 em {
    color: var(--amber);
    font-style: italic;
}

.price-cta p {
    font-size: 16px;
    color: var(--text-light-dark);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 440px;
}

.price-chart-mock {
    background: var(--bg-dark-sec);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 32px;
}


/* ─── RANKING (dark) ─── */
.ranking {
    padding: 100px 40px;
    background: var(--bg-dark);
    color: var(--text-light);
}

.ranking-table {
    margin-top: 48px;
}

.rank-row {
    display: grid;
    grid-template-columns: 52px 72px 1.5fr 1fr 110px 130px 170px;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid #2A2A3C;
    transition: background 0.35s ease, transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.rank-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-brand);
    transform: scaleY(0);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 0 3px 3px 0;
}

.rank-row:hover {
    background: #1A1A28;
}

.rank-row:hover::before {
    transform: scaleY(1);
}

.rank-row:hover .rank-img {
    transform: scale(1.08);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.rank-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6A6680;
    border-bottom: 2px solid #3A3A50;
}

.rank-header:hover {
    background: transparent;
}

.rank-pos {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text-light);
}

.rank-pos.gold {
    color: #FFBA42;
}

.rank-pos.silver {
    color: #C0C0C0;
}

.rank-pos.bronze {
    color: #CD7F32;
}

.rank-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-product h4 {
    font-size: 17px;
    letter-spacing: -.3px;
    margin-bottom: 2px;
    transition: color .25s;
}

.rank-product h4:hover {
    color: var(--primary-brand);

}

.rank-product span {
    font-size: 12px;
    color: var(--text-light-sec);
}

.rank-score-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-score-bar .bar-bg {
    flex: 1;
    height: 6px;
    background: var(--bg-dark);
    border-radius: 3px;
    overflow: hidden;
}

.rank-score-bar .bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--primary-brand);
    width: 0;
    transition: width 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}

.rank-score-bar .bar-fill.animated {
    width: var(--target-width, 92%);
}

.rank-score-bar .score-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    min-width: 32px;
}

.rank-price {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.rank-specs {
    font-size: 12px;
    color: var(--text-light-sec);
}

.rank-buy {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rank-buy-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: var(--primary-brand);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all .25s;
}

.rank-buy-btn:hover {
    background: var(--accent-dark);
}

.rank-more-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    color: var(--text-light-sec);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
    font-size: 14px;
    font-family: var(--font-body);
}

.rank-more-btn:hover {
    background: var(--bg-dark-card-h);
    border-color: var(--border-dark-l);
}

.rank-stores-dropdown {
    display: none;
    grid-column: 1/-1;
    padding: 8px 24px 16px 140px;
}

.rank-stores-dropdown.open {
    display: block;
}

.rank-store-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    margin: 0 8px 8px 0;
    font-size: 12px;
    color: var(--text-light-sec);
    transition: all .25s;
    cursor: pointer;
}

.rank-store-chip:hover {
    border-color: var(--accent);
    color: var(--text-light);
}

.rank-store-chip .chip-price {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-light);
}


/* ─── REVIEWS ─── */
.reviews {
    padding: 100px 40px;
    background: #fff;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: #fcfcfc;
    border: 1px solid #eae9e9;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.35s ease;
}

.review-card:hover {
    border-color: #d0cfcf;
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.05);
}

.review-card:hover .review-img img {
    transform: scale(1.05);
}

.review-img img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.review-img {
    height: 200px;
    background: var(--bg-warm);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

.review-badge-score {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
}

.score-high {
    background: var(--green);
    color: #fff;
}

.score-mid {
    background: var(--amber);
    color: #fff;
}

.review-badge-score small {
    font-size: 9px;
    font-weight: 500;
    opacity: .8;
}

.review-body {
    padding: 22px 24px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.review-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.review-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: -.3px;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.25;
}

.review-excerpt {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.review-specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.review-read-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 12px 18px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    background: var(--primary-brand);
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.review-read-btn:hover {
    background: var(--primary-brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(51, 153, 255, 0.35);
}

.review-read-btn::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-top: -2px;
}

.review-stores-chips-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 8px;
}

.review-stores-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.review-store-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 999px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.review-store-chip:hover {
    border-color: var(--primary-brand);
    color: var(--primary-brand);
    background: rgba(51, 153, 255, 0.06);
}

.spec-tag {
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 6px;
    background: #F6F5F2;
    color: #44434A;
    border: 1px solid #F6F5F2;
}

/* ─── PRICING ─── */
.review-pricing {
    border-top: 1px solid var(--border-light);
    padding: 16px 24px;
}

.promoted-store {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--promoted-dim);
    border: 1.5px solid rgba(255, 107, 44, .18);
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
    gap: 12px;
}

.promoted-label {
    position: absolute;
    top: -9px;
    left: 14px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #FF5A00;
    background: var(--bg-white);
    padding: 0 6px;
}

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

.store-info-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.store-logo {
    width: 90px;
    height: auto;
    border-radius: 7px;
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-body);
}

.store-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.store-name small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
}

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

.price-current {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-old {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.other-store-row .btn-buy,
.review-pricing .btn-buy {
    border: none;
}

.btn-buy-promoted {
    background: #FF5A00;
    color: #fff;
    border-color: #FF5A00;
}

.btn-buy-promoted:hover {
    background: #e55a1f;
}

.review-stores-detail {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 8px;
}

.review-stores-detail.is-open {
    display: flex;
}

.review-pricing .review-stores-detail .store-card {
    padding: 10px 12px;
    gap: 10px;
}

.review-pricing .review-stores-detail .store-card>div {
    width: 100px;
    min-width: 100px;
    height: 32px;
}

.review-pricing .review-stores-detail .btn-store-visit {
    padding: 6px 10px;
    font-size: 11px;
}

.other-store-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #E4E2DC;
    margin-bottom: 6px;
    background: #fff;
    gap: 10px;
}

.btn-buy-other {
    background: #F6F5F2;
    color: #10111b;
    border: 1px solid #D1CFC8
}



.btn-buy-other:hover {
    background: var(--border-light);
}

.toggle-stores {
    width: 100%;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-brand);
    background: none;
    border: 1px dashed var(--primary-brand);
    border-radius: 8px;
    cursor: pointer;
    transition: all .25s;
}

.toggle-stores:hover {
    background: var(--primary-brand);
    border-color: var(--primary-brand);
    color: var(--white);
    transition: all .25s;
}


/* ─── BLOG ─── */
.blog {
    padding: 100px 40px;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-top: 56px;
}

.blog-featured {
    background: #fcfcfc;
    border: 1px solid #eae9e9;
    border-radius: 16px;
    overflow: hidden;
    transition: all .35s;
    grid-row: span 2;
}

.blog-featured:hover {
    border-color: #dddcdc;
    background: #f2f2f2;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
}

.blog-featured-img {
    height: 280px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-sec) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-featured-body {
    padding: 32px;
}

.blog-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-featured h3 {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: -.5px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.blog-featured p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

.blog-side {
    background: #fcfcfc;
    border: 1px solid #eae9e9;
    border-radius: 16px;
    padding: 26px;
    display: flex;
    gap: 18px;
    transition: all .35s;
    cursor: pointer;
}

.blog-side:hover {
    border-color: #dddcdc;
    background: #f2f2f2;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
}

.blog-side-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-side h4 {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: -.3px;
    margin-bottom: 5px;
    line-height: 1.25;
    color: var(--text-dark);
}

.blog-side p {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.55;
}


/* ─── TRENDING (dark) ─── */
.trending {
    padding: 100px 40px;
    background: var(--bg-black);
    color: var(--text-light);
}

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.trending-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.carousel-btn--dark {
    background: #1e1e2a;
    border-color: #2A2A3C;
    color: var(--text-light);
}

.carousel-btn--dark:hover {
    background: var(--primary-brand);
    border-color: var(--primary-brand);
    color: var(--white);
}

.carousel-btn--dark:disabled {
    opacity: 0.25;
    pointer-events: none;
}

.trending-carousel-wrap {
    position: relative;
}

.carousel-btn--side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.carousel-btn--side-left {
    left: -22px;
}

.carousel-btn--side-right {
    right: -22px;
}

@media (max-width: 768px) {
    .carousel-btn--side {
        display: none;
    }
}

.trending-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.trending-grid::-webkit-scrollbar {
    display: none;
}

.trend-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
    background: #16161F;
    border: 1px solid #2A2A3C;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.trend-card:hover {
    transform: translateY(-6px);
    border-color: rgba(51, 153, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(51, 153, 255, 0.08);
}

.trend-card:hover .trend-img img {
    transform: scale(1.05);
}

.trend-img img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (max-width: 1024px) {
    .trend-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .trend-card {
        flex: 0 0 calc(85% - 12px);
    }
}

.trend-card:hover {
    border-color: #3A3A50;
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.trend-img {
    height: 190px;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-body {
    padding: 24px;
}

.trend-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.trend-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.tag-new {
    background: rgba(0, 212, 232, .1);
    color: var(--accent);
}

.tag-hot {
    background: rgba(251, 113, 133, .1);
    color: var(--rose);
}

.tag-eco {
    background: rgba(52, 211, 153, .1);
    color: var(--green);
}

.trend-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: -.3px;
    margin-bottom: 8px;
    line-height: 1.25;
}

.trend-card p {
    font-size: 13px;
    color: var(--text-light-sec);
    line-height: 1.6;
    margin-bottom: 14px;
}

.trend-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-brand);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .3s;
}

.trend-link:hover {
    gap: 12px;
    color: var(--primary-brand-dark);
}


/* ─── BLOG HERO (dark full-width) ─── */
.blog-hero {
    opacity: 1;
    padding: 140px 40px 80px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(200px);
    opacity: .06;
}

.blog-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.blog-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
}

.blog-tag-cat {
    background: var(--accent-dim);
    color: var(--accent);
}

.blog-tag-type {
    background: rgba(255, 186, 66, .1);
    color: var(--amber);
}

.blog-hero-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #fff;
    letter-spacing: .5px;
}

.blog-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -2px;
    color: var(--text-light);
    margin-bottom: 22px;
}

.blog-hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.blog-hero-excerpt {
    font-size: 19px;
    line-height: 1.65;
    color: #fff;
    max-width: 640px;
    margin-bottom: 36px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 28px;
    border-top: 1px solid var(--border-dark);
}

.blog-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-dark-card);
    border: 2px solid var(--border-dark-l);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
}

.blog-author-info .name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
}

.blog-author-info .role {
    font-size: 13px;
    color: var(--text-light-muted);
}

.blog-reading-time {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-light-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── ARTICLE LAYOUT ─── */
.article-layout {
    max-width: 1320px;
    margin: 0 auto;
    padding: 64px 40px 80px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: start;
}

/* Sidebar / TOC */
.article-sidebar {
    position: sticky;
    top: 96px;
}

.toc-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.toc a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 0 8px 16px;
    border-left: 2px solid var(--border-light);
    transition: all .25s;
    line-height: 1.4;
}

.toc a:hover,
.toc a.active {
    color: var(--text-dark);
    border-left-color: var(--accent);
}

.toc a.active {
    font-weight: 600;
}

.sidebar-share {
    margin-top: 40px;
}

.sidebar-share-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.share-btns {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s;
}

.share-btn:hover {
    background: var(--bg-warm);
    border-color: var(--border-med);
}

/* ─── ARTICLE CONTENT ─── */
.article-content {
    max-width: 740px;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 56px 0 20px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.article-content h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: -.5px;
    margin: 36px 0 14px;
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 20px;
}

.article-content p strong {
    color: var(--text-dark);
}

.article-content a {
    color: var(--primary-brand);
    font-weight: 600;
    text-underline-offset: 3px;
    transition: text-decoration-color .2s;
}

.article-content a:hover {
    text-decoration-color: var(--primary-brand-dark);
}

/* Highlight callout */
.callout {
    padding: 24px 28px;
    border-radius: 14px;
    margin: 32px 0;
    position: relative;
    padding-left: 52px;
}

.callout::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 26px;
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.callout-info {
    background: #effdff;
    border: 1px solid rgba(0, 212, 232, .15);
}

.callout-info::before {
    background: var(--accent);
}

.callout-warning {
    background: rgba(255, 186, 66, .08);
    border: 1px solid rgba(255, 186, 66, .15);
}

.callout-warning::before {
    background: var(--amber);
}

.callout p {
    margin-bottom: 0;
    font-size: 15px;
}

/* Image placeholder */
.article-img {
    margin: 36px 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
}

.article-img-inner {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.article-img-caption {
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    background: var(--bg-white);
}

/* Inline product card */
.inline-product {
    margin: 36px 0;
    border-radius: 16px;
    background: #fcfcfc;
    border: 1px solid #eae9e9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
}

.inline-product-inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

.inline-product-img {
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

.inline-product-img .ip-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--amber);
    color: #fff;
}

.inline-product-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inline-product-body .ip-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.inline-product-body h4 {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: -.3px;
    margin-bottom: 6px;
}

.inline-product-body .ip-excerpt {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.55;
    margin-bottom: 14px;
}

.inline-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ip-score-price {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ip-score {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    background: var(--green-dim);
    color: var(--green);
    padding: 4px 10px;
    border-radius: 6px;
}

.ip-price {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
}

.ip-price-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.ip-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all .25s;
}

.ip-btn:hover {
    background: var(--accent-dark);
}

.ip-stores-toggle {
    width: 100%;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bg-dark);
    background: var(--white);
    border: 1px dashed #eae9e9;
    border-top: 1px solid #eae9e9;
    cursor: pointer;
    transition: all .25s;
}

.ip-stores-toggle:hover {
    background: var(--primary-brand-dark);
    color: var(--white);
}

.ip-stores {
    display: none;
    border-top: 1px solid var(--border-light);
}

.ip-stores.open {
    display: block;
}

.ip-store-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}

.ip-store-row:last-child {
    border-bottom: none;
}

.ip-store-name {
    font-weight: 600;
}

.ip-store-price {
    font-family: var(--font-mono);
    font-weight: 700;
}

.ip-store-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-med);
    cursor: pointer;
    transition: all .2s;
}

.ip-store-btn:hover {
    background: var(--bg-warm);
}

/* Comparison table */
.comparison-table {
    margin: 36px 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table thead {
    background: var(--bg-dark);
    color: var(--text-light);
}

.comparison-table th {
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.comparison-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.comparison-table tbody tr:hover {
    background: var(--bg-warm);
}

.comparison-table .winner {
    color: var(--green);
    font-weight: 700;
}

.comparison-table .highlight-row {
    background: var(--green-dim) !important;
}

/* ─── ARTICLE BOTTOM ─── */
.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--border-light);
}

.article-tag-item {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted) !important;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--warm-surface);
    border: 1px solid var(--warm-surface);
    transition: all .2s;
    cursor: pointer;
}

.article-tag-item:hover {
    background: var(--bg-warm);
    color: var(--text-dark);
}

/* Author card */
.author-card {
    margin-top: 48px;
    padding: 32px;
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    display: flex;
    gap: 20px;
}

.author-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--bg-warm);
    border: 2px solid var(--border-med);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-dark);
}

.author-card-info h4 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: -.3px;
    margin-bottom: 4px;
}

.author-card-info .author-role {
    font-size: 13px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.author-card-info p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

/* ─── RELATED POSTS (dark) ─── */
.related-posts {
    background: var(--bg-dark);
    padding: 80px 40px;
    color: var(--text-light);
}

.related-posts-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.related-posts h2 {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: -.5px;
    margin-bottom: 36px;
}

.rp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rp-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    overflow: hidden;
    transition: all .35s;
}

.rp-card:hover {
    border-color: var(--border-dark-l);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.rp-card-img {
    height: 160px;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-card-body {
    padding: 22px;
}

.rp-card-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-light-muted);
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.rp-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: -.3px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.rp-card p {
    font-size: 13px;
    color: var(--text-light-sec);
    line-height: 1.55;
}


/* RESPONSIVE */
@media(max-width:1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .article-sidebar {
        position: static;
        display: flex;
        gap: 32px;
        padding-bottom: 40px;
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 40px;
    }

    .sidebar-share {
        margin-top: 0;
    }

    .inline-product-inner {
        grid-template-columns: 160px 1fr;
    }

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

@media(max-width:768px) {
    .nav-inner {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .blog-hero {
        padding: 110px 20px 60px;
    }

    .blog-hero h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .article-layout {
        padding: 40px 20px 60px;
    }

    .article-sidebar {
        flex-direction: column;
        gap: 20px;
    }

    .inline-product-inner {
        grid-template-columns: 1fr;
    }

    .inline-product-img {
        height: 160px;
    }

    .comparison-table {
        overflow-x: auto;
    }

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

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

    .blog-reading-time {
        margin-left: 0;
    }

    .related-posts {
        padding: 60px 20px;
    }
}

.fade-in {
    animation: fadeUp .7s ease both;
}

/* ============================================================
   SMOOTH REVEAL ANIMATION SYSTEM
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-blur {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-blur.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Stagger delay utility classes */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* ============================================================
   KEYFRAMES — NEW ANIMATIONS
   ============================================================ */

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes gentleBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(51, 153, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 40px rgba(51, 153, 255, 0.3);
    }
}

@keyframes barGrow {
    from {
        width: 0;
    }

    to {
        width: var(--fill);
    }
}

@keyframes countPop {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-4px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-4px) rotate(0.5deg);
    }

    66% {
        transform: translateY(2px) rotate(-0.5deg);
    }
}

@keyframes drawLine {
    from {
        stroke-dashoffset: var(--line-length, 1000);
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* ============================================================
   ENHANCED BUTTON & LINK INTERACTIONS
   ============================================================ */

.btn-primary,
.btn-secondary,
.btn-secondary-light,
.btn-secondary-dark {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before,
.btn-secondary-light::before,
.btn-secondary-dark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-secondary-light:hover::before,
.btn-secondary-dark:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary svg,
.btn-secondary svg,
.trend-link svg,
.rank-buy-btn svg {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover svg,
.trend-link:hover svg {
    transform: translateX(4px);
}

/* Enhanced link hover with underline animation */
.trend-link {
    position: relative;
}

.trend-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-brand);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.trend-link:hover::after {
    width: 100%;
}

/* Footer link animations */
.footer-col a {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary-brand);
    transform: translateX(4px);
}

.social-link {
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        background 0.3s ease,
        border-color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Blog featured card enhancements */
.blog-featured {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.35s ease !important;
}

.blog-featured:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.blog-featured:hover img,
.blog-side:hover img {
    transform: scale(1.05);
}

.blog-featured img,
.blog-side img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.blog-side {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        background 0.3s ease !important;
}

.blog-side:hover {
    transform: translateX(6px) !important;
}

/* Product card animations for category page */
.product-card {
    transition: border-color 0.4s ease,
        box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover {
    border-color: rgba(51, 153, 255, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.04);
}

.product-image-wrap img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Section label shimmer */
.section-label {
    position: relative;
    overflow: hidden;
}

.section-label::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(51, 153, 255, 0.08), transparent);
    animation: shimmer 4s ease infinite;
}

/* Price CTA glow */
.price-cta-inner {
    transition: box-shadow 0.5s ease;
}

.price-cta-inner:hover {
    box-shadow: 0 0 80px rgba(0, 212, 232, 0.06);
}

/* Smooth header scroll behavior */
.site-header {
    transition: background 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.4s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Nav link hover animation */
.nav-link {
    position: relative;
}

.main-nav>.nav-link::after,
.main-nav>.nav-item>.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-brand);
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1), left 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 1px;
}

.main-nav>.nav-link:hover::after,
.main-nav>.nav-item:hover>.nav-link::after {
    width: 100%;
    left: 0;
}

/* Breadcrumb separator animation */
.breadcrumb-sep {
    display: inline-block;
    transition: transform 0.3s ease;
}

a:hover+.breadcrumb-sep {
    transform: translateX(2px);
}

/* Stores dropdown smooth open */
.stores-dropdown {
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
}

/* Store card hover */
.store-card {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.3s ease !important;
}

.store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Review badge score pop in */
.review-badge-score {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.review-card:hover .review-badge-score {
    transform: scale(1.1);
}

/* Smooth page content area */
main,
.listing-section,
.reviews,
.categories,
.ranking,
.blog,
.trending {
    will-change: auto;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Hero */
.contact-hero {
    background: var(--bg-black);
    padding: 80px 24px 96px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(0, 212, 232, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-hero .section-label {
    color: var(--accent-cyan);
    margin-bottom: 20px;
    display: block;
}

.contact-hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-hero-title em {
    color: var(--accent-cyan);
    font-style: italic;
}

.contact-hero-desc {
    font-size: 17px;
    color: var(--text-light-dark);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* Main section */
.contact-section {
    background: var(--warm-bg);
    padding: 64px 24px 80px;
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* Form card */
.contact-form-card {
    background: #fff;
    border: 1px solid var(--warm-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--warm-border);
}

.contact-form-header h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.contact-form-header p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Form elements */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

.form-label .form-required {
    color: var(--primary-brand);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--warm-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--warm-bg);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(51, 153, 255, 0.12);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6460' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group-checkbox {
    margin-top: 4px;
}

.form-checkbox-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-brand);
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox-label span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.form-checkbox-label a {
    color: var(--primary-brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-checkbox-label a:hover {
    color: #1a7de6;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--primary-brand);
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s ease;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.form-submit-btn:hover {
    background: #1a7de6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(51, 153, 255, 0.3);
}

.form-submit-btn svg {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

.form-submit-btn:hover svg {
    transform: translateX(3px);
}

/* Contact info card */
.contact-info-card {
    background: #fff;
    border: 1px solid var(--warm-border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(51, 153, 255, 0.1);
    color: var(--primary-brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light-dark);
    margin-bottom: 3px;
}

.contact-info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

a.contact-info-value:hover {
    color: var(--primary-brand);
}

.contact-info-divider {
    height: 1px;
    background: var(--warm-border);
    margin: 4px 0;
}

.contact-social-row {
    display: flex;
    gap: 10px;
}

.contact-info-card .social-link {
    background: var(--warm-bg);
    border-color: var(--warm-border);
    color: var(--text-muted);
}

.contact-info-card .social-link svg {
    stroke: var(--text-muted);
    fill: none;
}

.contact-info-card .social-link:hover {
    background: var(--primary-brand);
    border-color: var(--primary-brand);
    color: #fff;
}

.contact-info-card .social-link:hover svg {
    stroke: #fff;
}

.contact-quicklinks {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-quicklink {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 4px;
    border-radius: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-quicklink:hover {
    color: var(--primary-brand);
    transform: translateX(3px);
}

.contact-quicklink svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--text-light-dark);
}

.contact-quicklink:hover svg {
    transform: translateX(2px);
    color: var(--primary-brand);
}

/* FAQ section */
.contact-faq-section {
    background: #fff;
    border-top: 1px solid var(--warm-border);
    padding: 80px 24px;
}

.contact-faq-inner {
    max-width: 760px;
    margin: 0 auto;
}

.contact-faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-faq-header .section-label {
    margin-bottom: 12px;
    display: block;
}

.contact-faq-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Contact form success/error state */
.contact-alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-alert-success {
    background: rgba(47, 180, 123, 0.1);
    border: 1px solid rgba(47, 180, 123, 0.25);
    color: #1a7a55;
}

.contact-alert-error {
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.2);
    color: #c0392b;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        position: static;
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .contact-info-block {
        flex: 1 1 200px;
    }

    .contact-info-divider {
        display: none;
    }

    .contact-social-row,
    .contact-quicklinks {
        flex-basis: 100%;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 56px 20px 64px;
    }

    .contact-section {
        padding: 40px 16px 56px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-faq-section {
        padding: 56px 16px;
    }

    .form-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-info-card {
        flex-direction: column;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-blur {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
