:root {
    /* Viral Velocity palette */
    --primary: #FE2C55;
    --primary-600: #e41d47;
    --primary-100: #ffe4ea;
    --secondary: #25F4EE;
    --secondary-600: #12c7c1;
    --secondary-100: #d4fbfa;
    --tertiary: #010101;
    --neutral: #F8F9FA;
    --neutral-200: #eceef1;
    --neutral-300: #dfe2e6;
    --neutral-500: #8b9096;
    --neutral-700: #4a5056;

    --text: #010101;
    --text-soft: #2a2d31;
    --muted: #6b7076;
    --border: #e5e7eb;
    --border-soft: #eef0f3;
    --bg: #ffffff;
    --bg-soft: var(--neutral);
    --primary-text: #ffffff;

    --container: 1360px;
    --container-wide: 1480px;
    --radius: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;
    --header-h: 76px;

    --shadow-sm: 0 1px 2px rgba(1, 1, 1, 0.04);
    --shadow-md: 0 10px 30px rgba(1, 1, 1, 0.08);
    --shadow-lg: 0 24px 48px rgba(1, 1, 1, 0.12);
    --shadow-primary: 0 12px 28px rgba(254, 44, 85, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-feature-settings: "cv11", "ss01", "ss03";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.02em;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.container--wide {
    width: min(100% - 40px, var(--container-wide));
    margin-inline: auto;
}

@media (max-width: 640px) {
    .container,
    .container--wide {
        width: min(100% - 24px, var(--container));
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--primary);
    color: var(--primary-text);
    border-radius: 8px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid transparent;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--border-soft);
    box-shadow: 0 4px 20px rgba(1, 1, 1, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 32px;
}

/* Logo */
.site-logo {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    transition: opacity 0.2s ease;
}

.site-logo:hover {
    opacity: 0.75;
}

.site-logo__title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Menu */
.main-menu,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.main-menu > li > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a,
.main-menu > li.current_page_item > a {
    color: var(--primary);
}

.main-menu > li > a:hover::after,
.main-menu > li.current-menu-item > a::after,
.main-menu > li.current_page_item > a::after {
    transform: scaleX(1);
}

/* Header actions */
.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.header-cta,
.btn,
.btn--primary,
.mobile-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-pill);
    padding: 12px 22px;
    background: var(--primary);
    color: var(--primary-text);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    border: 1px solid transparent;
    box-shadow: var(--shadow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.btn:hover,
.btn--primary:hover,
.mobile-cta a:hover {
    transform: translateY(-1px);
    background: var(--primary-600);
    box-shadow: 0 16px 32px rgba(254, 44, 85, 0.38);
}

.btn--secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    box-shadow: none;
}

.btn--secondary:hover {
    background: var(--primary-100);
    color: var(--primary-600);
    box-shadow: none;
}

.btn--inverted {
    background: var(--tertiary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(1, 1, 1, 0.2);
}

.btn--inverted:hover {
    background: #1a1a1a;
    box-shadow: 0 14px 28px rgba(1, 1, 1, 0.28);
}

.btn--outlined {
    background: transparent;
    color: var(--tertiary);
    border: 1.5px solid var(--tertiary);
    box-shadow: none;
}

.btn--outlined:hover {
    background: var(--tertiary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(1, 1, 1, 0.2);
}

.header-cta {
    padding: 12px 26px;
    font-size: 14px;
    gap: 8px;
}

.header-cta__icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.header-cta:hover .header-cta__icon {
    transform: scale(1.12) rotate(-6deg);
}

.header-cta--block {
    width: 100%;
    padding: 14px 20px;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
    background: var(--bg-soft);
    border-color: #d1d5db;
}

.nav-toggle__box {
    position: relative;
    width: 18px;
    height: 14px;
    display: inline-block;
}

.nav-toggle__box span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 6px; }
.nav-toggle__box span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

/* Mobile menu drawer */
.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(1, 1, 1, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.mobile-menu[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__panel {
    background: #fff;
    border-top: 1px solid var(--border-soft);
    padding: 20px 20px 28px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.25s ease;
}

.mobile-menu[data-open="true"] .mobile-menu__panel {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    gap: 2px;
}

.mobile-menu__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-radius: 12px;
    color: var(--text);
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s ease;
}

.mobile-menu__list a:hover,
.mobile-menu__list .current-menu-item > a {
    background: var(--bg-soft);
}

.mobile-menu__list .sub-menu {
    list-style: none;
    padding: 4px 0 8px 12px;
    margin: 0;
    border-left: 2px solid var(--border-soft);
    margin-left: 14px;
}

body.has-mobile-menu-open {
    overflow: hidden;
}

.site-main {
    min-height: 60vh;
}

.hero {
    position: relative;
    padding: 80px 0 96px;
    background:
        radial-gradient(circle at 80% -10%, rgba(254, 44, 85, 0.18), transparent 50%),
        radial-gradient(circle at 10% 110%, rgba(37, 244, 238, 0.14), transparent 55%),
        linear-gradient(160deg, #fff 0%, #fff5f7 55%, #ffeaef 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(254, 44, 85, 0.14), transparent 70%);
    top: -280px;
    right: -160px;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(37, 244, 238, 0.10), transparent 70%);
    bottom: -260px;
    left: -120px;
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(1, 1, 1, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(1, 1, 1, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.6;
}

.hero .container,
.hero .container--wide {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-copy {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--border-soft);
    box-shadow: 0 6px 16px rgba(1, 1, 1, 0.04);
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 24px;
}

.hero-badge svg {
    color: var(--primary);
}

.hero-badge--live strong {
    color: var(--primary);
    font-weight: 700;
}

.hero-badge__pulse {
    position: relative;
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.hero-badge__pulse::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.45);
    animation: heroPulse 1.6s ease-out infinite;
}

@keyframes heroPulse {
    0%   { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.hero-title {
    margin: 0 0 20px;
    font-size: clamp(36px, 5.4vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--text);
}

.hero-title__gradient {
    display: block;
    margin-top: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, #ff6b8a 50%, var(--secondary-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title__sub {
    display: block;
    margin-top: 6px;
    font-size: 0.45em;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0;
}

.hero-dot {
    display: inline-block;
    transform: translateY(-2px);
    color: var(--primary);
    margin: 0 4px;
}

.hero-lead {
    margin: 0 0 28px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.65;
    max-width: 520px;
}

.hero-lead strong {
    color: var(--text);
    font-weight: 700;
}

.hero-stats {
    list-style: none;
    margin: 0 0 30px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(1, 1, 1, 0.05);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: 520px;
}

.hero-stats li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 0 12px;
    border-left: 1px solid var(--border-soft);
}

.hero-stats li:first-child {
    border-left: 0;
}

.hero-stats strong {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg, var(--primary), #ff6b8a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-stats strong span {
    -webkit-text-fill-color: initial;
    color: var(--primary);
    font-size: 0.65em;
    font-weight: 700;
}

.hero-stats__label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.hero-cta {
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(254, 44, 85, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(254, 44, 85, 0.42);
}

.hero-cta__shine {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
    transform: skewX(-20deg);
    animation: heroShine 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroShine {
    0%, 60% { left: -75%; }
    100%    { left: 130%; }
}

.hero-trust {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
}

.hero-trust svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Large button variant */
.btn--lg {
    padding: 15px 28px;
    font-size: 15px;
}

/* Ghost button with play icon */
.btn--ghost {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(1, 1, 1, 0.04);
}

.btn--ghost:hover {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.15);
    transform: translateY(-1px);
}

.btn__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    color: var(--text);
    padding-left: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.btn--ghost:hover .btn__play {
    color: var(--primary);
    border-color: var(--primary);
}

/* Social proof */
.hero-social {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px 12px 12px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(1, 1, 1, 0.05);
}

.hero-social__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
}

.hero-rating__stars {
    display: inline-flex;
    color: #f6c445;
    gap: 1px;
}

.hero-rating strong {
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
}

.hero-rating span {
    color: var(--muted);
}

.hero-avatars {
    display: inline-flex;
}

.hero-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--tertiary);
    box-shadow: 0 2px 6px rgba(1, 1, 1, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-avatar + .hero-avatar {
    margin-left: -12px;
}

.hero-avatar::before,
.hero-avatar::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(3px);
}

.hero-avatar::before {
    width: 14px;
    height: 14px;
    background: var(--primary);
    top: 6px;
    left: 6px;
    opacity: 0.85;
}

.hero-avatar::after {
    width: 12px;
    height: 12px;
    background: var(--secondary);
    bottom: 6px;
    right: 6px;
    opacity: 0.7;
    mix-blend-mode: screen;
}

.hero-social__text {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.4;
}

.hero-social__text strong {
    color: var(--text);
    font-weight: 700;
}

/* Hero visual with floating coins */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

/* Glow halo phía sau ảnh */
.hero-glow {
    position: absolute;
    inset: 8% -4% 8% -4%;
    background: radial-gradient(ellipse at center,
        rgba(254, 44, 85, 0.22) 0%,
        rgba(254, 44, 85, 0.08) 35%,
        transparent 70%);
    filter: blur(40px);
    z-index: 0;
    animation: heroGlowPulse 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.06); }
}

/* Khung ảnh nhấp nhô đa chiều */
.hero-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(1, 1, 1, 0.18),
        0 20px 40px rgba(254, 44, 85, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: heroFrameBob 6s ease-in-out infinite;
    will-change: transform;
}

.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.hero-frame__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-frame__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px;
    text-align: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(254, 44, 85, 0.18), transparent 55%),
        radial-gradient(circle at 80% 90%, rgba(37, 244, 238, 0.18), transparent 60%),
        linear-gradient(160deg, #fff 0%, #fff5f7 100%);
}

.hero-frame__placeholder span {
    width: 92px;
    height: 92px;
    display: inline-flex;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18));
}

.hero-frame__placeholder p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

@keyframes heroFrameBob {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    25%      { transform: translate(6px, -8px) rotate(-1deg); }
    50%      { transform: translate(0, -16px) rotate(0deg); }
    75%      { transform: translate(-6px, -8px) rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-frame,
    .hero-glow,
    .hero-cta__shine,
    .hero-badge__pulse::before { animation: none; }
}

/* Floating stat bubbles */
.hero-bubble {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(1, 1, 1, 0.1);
    animation: heroBubbleFloat 5.5s ease-in-out infinite;
}

.hero-bubble--top {
    top: 14%;
    left: -2%;
    animation-delay: -1s;
}

.hero-bubble--bottom {
    bottom: 10%;
    right: -2%;
    animation-delay: -3s;
}

.hero-bubble__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-100);
    color: var(--primary);
    flex-shrink: 0;
}

.hero-bubble__icon--success {
    background: #dcfce7;
    color: #16a34a;
}

.hero-bubble strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.01em;
}

.hero-bubble small {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 500;
}

@keyframes heroBubbleFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bubble { animation: none; }
}

.hero-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f6c445;
    box-shadow: 0 0 12px rgba(246, 196, 69, 0.85);
    opacity: 0.9;
    animation: heroTwinkle 2.4s ease-in-out infinite;
    z-index: 5;
}

.hero-sparkle--1 { top: 8%;  right: 24%; animation-delay: 0s; }
.hero-sparkle--2 { bottom: 22%; left: 18%; width: 4px; height: 4px; animation-delay: -0.6s; }
.hero-sparkle--3 { top: 48%; right: 12%; width: 5px; height: 5px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.7); animation-delay: -1.2s; }
.hero-sparkle--4 { top: 70%; left: 30%; width: 4px; height: 4px; background: var(--secondary); box-shadow: 0 0 10px rgba(37, 244, 238, 0.7); animation-delay: -1.8s; }

@keyframes heroTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50%      { opacity: 1;   transform: scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-sparkle { animation: none; }
}

/* Hero v2 responsive tweaks */
@media (max-width: 1100px) {
    .hero--v2 .hero-stats strong {
        font-size: 22px;
    }

    .hero-bubble {
        padding: 8px 12px;
    }

    .hero-bubble strong {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero--v2 {
        padding: 56px 0 64px;
    }

    .hero-pattern {
        display: none;
    }

    .hero-copy {
        max-width: 100%;
        text-align: center;
    }

    .hero-stats {
        margin-inline: auto;
        padding: 14px 12px;
    }

    .hero-stats li {
        padding: 0 8px;
    }

    .hero-stats strong {
        font-size: 20px;
    }

    .hero-stats__label {
        font-size: 11px;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-social {
        margin-inline: auto;
    }

    .hero-frame {
        max-width: 360px;
    }

    .hero-bubble {
        padding: 7px 10px;
        gap: 7px;
    }

    .hero-bubble__icon {
        width: 28px;
        height: 28px;
    }

    .hero-bubble strong {
        font-size: 13px;
    }

    .hero-bubble small {
        font-size: 10.5px;
    }

    .hero-bubble--top    { left: 0; top: 8%; }
    .hero-bubble--bottom { right: 0; bottom: 8%; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(28px, 8vw, 38px);
    }

    .hero-trust {
        gap: 6px 14px;
        font-size: 12.5px;
    }

    .hero-trust li {
        font-size: 12.5px;
    }

    .hero-social {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        text-align: center;
    }

    .hero-frame {
        max-width: 300px;
    }

    .hero-bubble--top    { top: 6%; }
    .hero-bubble--bottom { bottom: 6%; }
}

.hero-card,
.card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 28px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-100);
    box-shadow: 0 20px 40px rgba(254, 44, 85, 0.12);
}

.card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.section {
    padding: 64px 0;
}

.section-header {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-header h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.03em;
}

.section-header p {
    color: var(--muted);
    margin: 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.post-list {
    display: grid;
    gap: 20px;
    padding: 48px 0;
}

.post-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.site-footer {
    padding: 64px 0 48px;
    background: var(--tertiary);
    color: #d1d5db;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: var(--primary);
}

.mobile-cta {
    display: none;
}

@media (max-width: 960px) {
    .main-navigation {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-logo__tag {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-cta {
        padding: 10px 16px;
        font-size: 13.5px;
    }

    .hero-grid,
    .grid-3,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 48px 0;
    }

    .section {
        padding: 48px 0;
    }

    .mobile-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 50;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .mobile-cta a {
        border-radius: 12px;
    }
}

@media (min-width: 961px) {
    .mobile-menu {
        display: none !important;
    }
}

.content-narrow {
    max-width: 760px;
}

.entry-content h2 {
    margin-top: 40px;
    font-size: 28px;
}

.entry-content h3 {
    margin-top: 32px;
    font-size: 22px;
}

.entry-content p,
.entry-content li {
    font-size: 18px;
}

.entry-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover {
    color: var(--primary-600);
}

.featured-image {
    margin-bottom: 32px;
    border-radius: var(--radius);
    overflow: hidden;
}

.post-meta {
    color: var(--muted);
}

/* ==========================================================================
   Section: Ưu đãi đặc biệt (Offers)
   ========================================================================== */

.section--offers {
    position: relative;
    padding: 88px 0 96px;
    background:
        radial-gradient(1100px 480px at 50% -120px, rgba(254, 44, 85, 0.08), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #fff7f9 100%);
    overflow: hidden;
}

.section--offers::before,
.section--offers::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
    z-index: 0;
}

.section--offers::before {
    width: 320px;
    height: 320px;
    top: 8%;
    left: -120px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.18), transparent 70%);
}

.section--offers::after {
    width: 360px;
    height: 360px;
    bottom: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.12), transparent 70%);
}

.section--offers > .container--wide {
    position: relative;
    z-index: 1;
}

.section-header--center {
    margin-inline: auto;
    text-align: center;
    max-width: 820px;
    margin-bottom: 44px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.offers-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-600);
}

.offers-title__brand {
    background: linear-gradient(90deg, var(--primary), #ff6a8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.offers-intro {
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.7;
    max-width: 720px;
}

.offers-intro strong {
    color: var(--primary-600);
    font-weight: 700;
}

.offers-intro em {
    font-style: normal;
    color: var(--text);
    font-weight: 600;
}

/* Table card */
.offers-table {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 30px 60px -25px rgba(254, 44, 85, 0.18),
        0 12px 32px rgba(1, 1, 1, 0.05);
}

.offers-table__head {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.4fr;
    background: linear-gradient(135deg, var(--primary) 0%, #ff4d6f 60%, var(--primary-600) 100%);
    color: #fff;
}

.offers-table__th {
    padding: 18px 24px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.2;
}

.offers-table__th--offer {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.offers-table__body {
    display: flex;
    flex-direction: column;
}

.offers-row {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.4fr;
    border-top: 1px solid var(--border-soft);
    transition: background 0.2s ease;
}

.offers-row:nth-child(odd) {
    background: #fffafb;
}

.offers-row:hover {
    background: linear-gradient(90deg, #fff1f4, #fff);
}

.offers-cell {
    padding: 18px 24px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 14px;
}

.offers-cell--offer {
    font-weight: 600;
    color: var(--text);
    border-right: 1px solid var(--border-soft);
}

.offers-cell--benefit {
    color: var(--neutral-700);
}

.offers-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--primary-100);
    color: var(--primary);
    transition: transform 0.2s ease;
}

.offers-row:hover .offers-icon {
    transform: scale(1.06) rotate(-3deg);
}

.offers-icon--accent {
    background: linear-gradient(135deg, #ffefa3, #f6c445);
    color: #8a5a05;
}

.offers-text {
    flex: 1;
}

/* Highlights inside text */
.hl {
    display: inline-block;
    padding: 1px 8px;
    margin: 0 1px;
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    color: #fff;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.96em;
    letter-spacing: 0.01em;
}

.hl-soft {
    color: var(--primary-600);
    font-weight: 700;
    background: linear-gradient(180deg, transparent 65%, var(--primary-100) 65%);
    padding: 0 3px;
}

/* Featured row */
.offers-row--featured {
    background: linear-gradient(90deg, #fff5e6, #fffaf0) !important;
    position: relative;
}

.offers-row--featured::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f6c445, var(--primary));
}

/* Note callout */
.offers-note {
    margin-top: 28px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: linear-gradient(90deg, #fff7e0, #fff);
    border: 1px dashed #f6c445;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(246, 196, 69, 0.12);
}

.offers-note__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fde9a4;
    color: #8a5a05;
}

.offers-note p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.65;
}

.offers-note strong {
    color: var(--primary-600);
}

.offers-cta {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* Responsive: dưới 760px chuyển bảng thành dạng card xếp dọc */
@media (max-width: 760px) {
    .section--offers {
        padding: 56px 0 64px;
    }

    .offers-table__head {
        display: none;
    }

    .offers-table {
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
        display: grid;
        gap: 14px;
    }

    .offers-row {
        display: block;
        background: #fff !important;
        border: 1px solid var(--border-soft);
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(1, 1, 1, 0.05);
        overflow: hidden;
    }

    .offers-row + .offers-row {
        border-top: 1px solid var(--border-soft);
    }

    .offers-row:hover {
        background: #fff !important;
    }

    .offers-cell {
        padding: 14px 18px;
        border-right: 0 !important;
        position: relative;
    }

    .offers-cell--offer {
        background: linear-gradient(90deg, #fff5f7, #fff);
        font-size: 16px;
        font-weight: 700;
    }

    .offers-cell--benefit {
        border-top: 1px solid var(--border-soft);
        font-size: 14.5px;
    }

    .offers-cell--benefit::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--primary);
        margin-bottom: 6px;
    }

    .offers-row--featured::before {
        width: 100%;
        height: 4px;
        bottom: auto;
    }
}

/* ==========================================================================
   Section: Ưu điểm & Nhược điểm – So sánh nạp xu TikTok
   ========================================================================== */

.section--compare {
    position: relative;
    padding: 88px 0 96px;
    background:
        radial-gradient(900px 420px at 80% -120px, rgba(37, 244, 238, 0.08), transparent 60%),
        radial-gradient(900px 420px at 0% 110%, rgba(254, 44, 85, 0.07), transparent 60%),
        linear-gradient(180deg, #fff 0%, #f7fafc 100%);
    overflow: hidden;
}

.section--compare > .container--wide {
    position: relative;
    z-index: 1;
}

.compare-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
}

.compare-title__brand {
    background: linear-gradient(90deg, var(--primary), #ff6a8a 50%, var(--secondary-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.compare-intro {
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.75;
    max-width: 780px;
}

.compare-intro strong {
    color: var(--primary-600);
    font-weight: 700;
}

/* VS Battle layout */
.vs-battle {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 8px;
}

.vs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    padding: 32px 28px 28px;
    box-shadow: 0 18px 40px rgba(1, 1, 1, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vs-card:hover {
    transform: translateY(-4px);
}

.vs-card--pro {
    border-color: rgba(254, 44, 85, 0.25);
    background:
        linear-gradient(180deg, #fff5f7 0%, #fff 38%),
        #fff;
    box-shadow:
        0 30px 60px -25px rgba(254, 44, 85, 0.35),
        0 12px 32px rgba(254, 44, 85, 0.08);
}

.vs-card--pro::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(140deg, var(--primary), transparent 55%, var(--secondary) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

.vs-card--con {
    border-color: var(--neutral-300);
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 50%);
}

.vs-card__head {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-soft);
    position: relative;
    z-index: 1;
}

.vs-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.vs-card__badge--pro {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 14px rgba(254, 44, 85, 0.3);
}

.vs-card__badge--pro::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
    animation: vsPulse 1.6s ease-in-out infinite;
}

@keyframes vsPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.vs-card__badge--con {
    background: var(--neutral-200);
    color: var(--neutral-700);
}

.vs-card__title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
}

.vs-card--pro .vs-card__title {
    color: var(--primary-600);
}

.vs-card__sub {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.vs-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 14px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.vs-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-soft);
}

.vs-list strong {
    color: var(--text);
    font-weight: 700;
}

.vs-list em {
    font-style: normal;
    color: var(--primary-600);
    font-weight: 600;
}

.vs-icon {
    flex-shrink: 0;
    margin-top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vs-icon--check {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(254, 44, 85, 0.32);
}

.vs-icon--cross {
    background: var(--neutral-200);
    color: var(--neutral-700);
}

.vs-card__foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.vs-score__num {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vs-score--low .vs-score__num {
    background: linear-gradient(135deg, var(--neutral-500), var(--neutral-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vs-score__sub {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

/* VS Divider chip */
.vs-divider {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-divider__chip {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tertiary), #1a2036);
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow:
        0 12px 28px rgba(1, 1, 1, 0.25),
        0 0 0 4px rgba(254, 44, 85, 0.12);
}

/* Compare table */
.compare-table-wrap {
    margin-top: 56px;
}

.compare-table-title {
    margin: 0 0 20px;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    text-align: center;
    color: var(--text);
}

.compare-table {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(1, 1, 1, 0.05);
}

.compare-table__head {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1.4fr;
    background: linear-gradient(135deg, #1a1f2e 0%, var(--tertiary) 100%);
    color: #fff;
}

.compare-table__th {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.compare-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.compare-pill--pro {
    background: var(--primary);
    color: #fff;
}

.compare-pill--con {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.compare-row {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1.4fr;
    border-top: 1px solid var(--border-soft);
    transition: background 0.2s ease;
}

.compare-row:nth-child(odd) {
    background: #fafbfc;
}

.compare-row:hover {
    background: #fff5f7;
}

.compare-cell {
    padding: 16px 20px;
    font-size: 14.5px;
    line-height: 1.55;
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid var(--border-soft);
}

.compare-cell:last-child {
    border-right: 0;
}

.compare-cell--criteria {
    font-weight: 700;
    color: var(--text);
}

.compare-cell--pro {
    color: var(--text-soft);
    background: linear-gradient(90deg, rgba(254, 44, 85, 0.04), transparent);
}

.compare-cell--con {
    color: var(--neutral-700);
}

.compare-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.compare-mark--pro {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(254, 44, 85, 0.3);
}

.compare-mark--con {
    background: var(--neutral-200);
    color: var(--neutral-700);
}

/* Conclusion + CTA */
.compare-conclusion {
    margin-top: 36px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 28px;
    background: linear-gradient(135deg, var(--primary-100), #fff);
    border: 1px solid rgba(254, 44, 85, 0.18);
    border-radius: 18px;
    box-shadow: 0 16px 36px -20px rgba(254, 44, 85, 0.25);
}

.compare-conclusion__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(254, 44, 85, 0.32);
}

.compare-conclusion h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-600);
}

.compare-conclusion p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-soft);
}

.compare-conclusion strong {
    color: var(--primary-600);
}

.compare-cta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 960px) {
    .vs-battle {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vs-divider {
        order: 1;
        margin: -8px 0;
    }

    .vs-card--con {
        order: 2;
    }

    .vs-divider__chip {
        width: 52px;
        height: 52px;
        font-size: 15px;
    }
}

@media (max-width: 760px) {
    .section--compare {
        padding: 56px 0 100px;
    }

    .section--compare::after {
        height: 140px;
    }

    .section--reviews {
        margin-top: -56px;
        padding: 110px 0 72px;
        border-top-left-radius: 36px;
        border-top-right-radius: 36px;
    }

    .compare-table__head {
        display: none;
    }

    .compare-table {
        background: transparent;
        border: 0;
        box-shadow: none;
        display: grid;
        gap: 14px;
    }

    .compare-row {
        display: grid;
        grid-template-columns: 1fr;
        background: #fff !important;
        border: 1px solid var(--border-soft);
        border-radius: 14px;
        overflow: hidden;
    }

    .compare-cell {
        padding: 12px 16px;
        border-right: 0;
        border-top: 1px solid var(--border-soft);
        position: relative;
    }

    .compare-cell:first-child {
        border-top: 0;
    }

    .compare-cell--criteria {
        background: linear-gradient(90deg, #1a1f2e, var(--tertiary));
        color: #fff;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .compare-cell--pro::before,
    .compare-cell--con::before {
        content: attr(data-label);
        position: absolute;
        top: 8px;
        right: 12px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .compare-cell--pro::before {
        color: var(--primary);
    }

    .compare-conclusion {
        flex-direction: column;
        padding: 20px;
    }
}

/* ==========================================================================
   Section: Đánh giá khách hàng – Wall of Love
   ========================================================================== */

/* Outro của section compare: fade nhẹ ở đáy để chuyển mượt sang reviews */
.section--compare {
    padding-bottom: 140px;
}

.section--compare::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 24, 42, 0.06) 60%, rgba(20, 24, 42, 0.12) 100%);
    pointer-events: none;
    z-index: 0;
}

.section--reviews {
    position: relative;
    margin-top: -80px;
    padding: 160px 0 110px;
    background:
        /* Glow tím-hồng ở đỉnh để bridge tone từ light → dark */
        radial-gradient(ellipse 75% 38% at 50% 0%, rgba(254, 44, 85, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 55% 30% at 50% 0%, rgba(106, 60, 140, 0.55) 0%, transparent 70%),
        /* Body gradient: đi từ tím đậm xuống navy */
        linear-gradient(180deg, #1a1428 0%, #14182a 35%, #0b0f1c 100%);
    color: #e7eaf1;
    overflow: hidden;
    isolation: isolate;
    border-top-left-radius: 56px;
    border-top-right-radius: 56px;
    box-shadow:
        0 -30px 80px -20px rgba(11, 15, 28, 0.35),
        0 -1px 0 rgba(255, 255, 255, 0.04) inset;
}

/* Floating background blobs */
.reviews-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.reviews-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

/* Blob 1 chuyển sang vị trí giữa-trên để hỗ trợ glow transition */
.reviews-blob--1 {
    width: 520px;
    height: 360px;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(254, 44, 85, 0.5), transparent 70%);
    opacity: 0.7;
}

.reviews-blob--2 {
    width: 520px;
    height: 520px;
    top: 30%;
    right: -160px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.32), transparent 70%);
    opacity: 0.4;
}

.reviews-blob--3 {
    width: 380px;
    height: 380px;
    bottom: -120px;
    left: 30%;
    background: radial-gradient(circle, rgba(255, 138, 200, 0.35), transparent 70%);
    opacity: 0.35;
}

/* Subtle dot pattern overlay – mask 2 đầu để mềm hơn */
.section--reviews::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 26px 26px;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 80%, transparent 100%);
}

/* Highlight glow tinh tế ngay đỉnh cong của section reviews */
.section--reviews::after {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
    z-index: 1;
}

.reviews-container {
    position: relative;
    z-index: 1;
}

.section--reviews .eyebrow {
    background: rgba(254, 44, 85, 0.18);
    color: #ffd0db;
    border: 1px solid rgba(254, 44, 85, 0.35);
}

.reviews-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.reviews-title__num {
    background: linear-gradient(135deg, #f6c445, #ff6a8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reviews-title__brand {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.reviews-intro {
    margin: 0 auto;
    color: #b9bfcd;
    font-size: 16px;
    line-height: 1.75;
    max-width: 760px;
}

/* Stats bar */
.reviews-stats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.reviews-stat {
    padding: 22px 20px;
    text-align: center;
    background: rgba(20, 24, 42, 0.7);
    transition: background 0.25s ease;
}

.reviews-stat:hover {
    background: rgba(254, 44, 85, 0.1);
}

.reviews-stat__value {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
}

.reviews-stat__num {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #ffd0db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.reviews-stat__suffix {
    font-size: 18px;
    font-weight: 800;
    color: #ff6a8a;
}

.reviews-stars {
    display: inline-flex;
    gap: 2px;
    color: #f6c445;
    margin-top: 6px;
    margin-bottom: 4px;
}

.reviews-stat__label {
    margin-top: 8px;
    font-size: 13px;
    color: #9aa1b3;
    font-weight: 500;
}

/* Featured review */
.review-featured {
    position: relative;
    margin-top: 56px;
    padding: 36px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(254, 44, 85, 0.18) 0%, rgba(37, 244, 238, 0.08) 100%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.review-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.7), transparent 50%, rgba(37, 244, 238, 0.5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.review-featured__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.review-featured__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    box-shadow:
        0 20px 40px rgba(254, 44, 85, 0.45),
        inset 0 -8px 20px rgba(0, 0, 0, 0.2),
        inset 0 4px 12px rgba(255, 255, 255, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.review-featured__avatar::after {
    content: "";
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid #14182a;
    box-shadow: 0 0 12px rgba(37, 244, 238, 0.6);
}

.review-featured__verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(37, 244, 238, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(37, 244, 238, 0.3);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
}

.review-featured__body {
    position: relative;
}

.review-quote-mark {
    position: absolute;
    top: -50px;
    left: -8px;
    font-size: 140px;
    line-height: 1;
    color: rgba(254, 44, 85, 0.18);
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
}

.review-stars {
    display: inline-flex;
    gap: 2px;
    color: #f6c445;
}

.review-stars--lg {
    margin-bottom: 14px;
}

.review-stars .is-off {
    color: rgba(255, 255, 255, 0.18);
}

.review-featured__quote {
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.7;
    color: #f0f2f7;
    font-weight: 500;
    quotes: none;
    position: relative;
}

.review-featured__quote strong {
    color: #ffb6c7;
    font-weight: 700;
}

.review-featured__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.review-name {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.review-role {
    margin: 2px 0 0;
    font-size: 13px;
    color: #9aa1b3;
}

.review-featured__meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #b9bfcd;
}

.review-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
}

.review-platform svg {
    color: #ff6a8a;
}

.review-date {
    color: #9aa1b3;
}

/* Wall of Love – masonry-ish staggered grid */
.reviews-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.review-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px 22px 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    will-change: transform;
}

.review-card--tilt-l {
    transform: rotate(-1.4deg);
}

.review-card--tilt-r {
    transform: rotate(1.4deg);
}

.review-card:nth-child(2) { margin-top: 28px; }
.review-card:nth-child(5) { margin-top: 24px; }

.review-card:hover {
    transform: translateY(-6px) rotate(0);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(254, 44, 85, 0.4);
    box-shadow: 0 20px 40px rgba(254, 44, 85, 0.15);
    z-index: 2;
}

/* Color accent strip per card */
.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    opacity: 0.85;
}

.review-card--pink::before   { background: linear-gradient(90deg, var(--primary), #ff6a8a); }
.review-card--cyan::before   { background: linear-gradient(90deg, var(--secondary), #6bf4f0); }
.review-card--gold::before   { background: linear-gradient(90deg, #f6c445, #ffd779); }
.review-card--purple::before { background: linear-gradient(90deg, #a06cff, #d4b1ff); }

.review-card__head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
    box-shadow: inset 0 -3px 8px rgba(0, 0, 0, 0.18), inset 0 2px 4px rgba(255, 255, 255, 0.18);
}

.review-avatar--pink   { background: linear-gradient(135deg, var(--primary), #ff8aa6); }
.review-avatar--cyan   { background: linear-gradient(135deg, var(--secondary-600), #6bf4f0); }
.review-avatar--gold   { background: linear-gradient(135deg, #d99b18, #f6c445); }
.review-avatar--purple { background: linear-gradient(135deg, #6e3fcf, #a06cff); }

.review-card__who {
    min-width: 0;
}

.review-card__who .review-name {
    font-size: 14.5px;
}

.review-card__who .review-role {
    font-size: 12px;
}

.review-card__quote {
    margin: 0 0 14px;
    font-size: 14.5px;
    line-height: 1.65;
    color: #d6dae5;
}

.review-card__quote::before {
    content: "“";
    color: rgba(254, 44, 85, 0.45);
    font-size: 24px;
    font-family: Georgia, serif;
    line-height: 0;
    margin-right: 4px;
    vertical-align: -8px;
}

.review-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review-card__foot .review-date {
    font-size: 12px;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Bottom trust bar */
.reviews-trust {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.reviews-trust__text {
    margin: 0;
    color: #b9bfcd;
    font-size: 14.5px;
    line-height: 1.65;
    flex: 1;
    min-width: 280px;
}

.reviews-trust__text strong {
    color: #fff;
    font-weight: 700;
}

.section--reviews .btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.section--reviews .btn--ghost:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 960px) {
    .reviews-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-featured {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px;
    }

    .review-featured__media {
        flex-direction: row;
        justify-content: center;
    }

    .review-featured__avatar {
        width: 96px;
        height: 96px;
        font-size: 34px;
    }

    .review-quote-mark {
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 100px;
    }

    .review-featured__foot {
        justify-content: center;
        text-align: left;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-card:nth-child(n) {
        margin-top: 0;
        transform: none;
    }
}

@media (max-width: 640px) {
    .section--reviews {
        margin-top: -40px;
        padding: 90px 0 64px;
        border-top-left-radius: 28px;
        border-top-right-radius: 28px;
    }

    .reviews-stats {
        grid-template-columns: 1fr 1fr;
    }

    .review-featured__quote {
        font-size: 16px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-trust {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* ==========================================================================
   Section: FAQ – Câu hỏi thường gặp (nối tone dark từ section reviews)
   ========================================================================== */

.section--faq {
    position: relative;
    padding: 80px 0 120px;
    background:
        radial-gradient(800px 380px at 90% 100%, rgba(37, 244, 238, 0.08), transparent 60%),
        radial-gradient(600px 360px at 0% 0%, rgba(254, 44, 85, 0.08), transparent 60%),
        linear-gradient(180deg, #0b0f1c 0%, #0a0d18 100%);
    color: #e7eaf1;
    overflow: hidden;
}

.faq-container {
    position: relative;
    z-index: 1;
}

.faq-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 56px;
    align-items: start;
}

.faq-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.eyebrow--dark {
    background: rgba(254, 44, 85, 0.18);
    color: #ffd0db;
    border: 1px solid rgba(254, 44, 85, 0.35);
}

.faq-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    letter-spacing: -0.02em;
}

.faq-title__brand {
    background: linear-gradient(90deg, var(--primary), #ff6a8a 50%, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-intro {
    margin: 0 0 24px;
    color: #b9bfcd;
    font-size: 15px;
    line-height: 1.7;
}

.faq-intro strong {
    color: #fff;
    font-weight: 700;
}

.faq-aside__cta {
    display: grid;
    gap: 14px;
}

.faq-aside__cta .btn--primary {
    justify-content: center;
}

.faq-aside__phone {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.faq-aside__phone:hover {
    background: rgba(254, 44, 85, 0.12);
    border-color: rgba(254, 44, 85, 0.35);
    color: #fff;
}

.faq-aside__phone-label {
    font-size: 11px;
    color: #9aa1b3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.faq-aside__phone strong {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

/* Accordion list */
.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(254, 44, 85, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.faq-item[open] {
    background: linear-gradient(180deg, rgba(254, 44, 85, 0.08), rgba(255, 255, 255, 0.04));
    border-color: rgba(254, 44, 85, 0.4);
    box-shadow: 0 12px 32px rgba(254, 44, 85, 0.12);
}

.faq-item__summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__summary::marker {
    display: none;
    content: "";
}

.faq-item__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(254, 44, 85, 0.12);
    color: #ff6a8a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-item__num {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 14px rgba(254, 44, 85, 0.35);
}

.faq-item__q {
    min-width: 0;
}

.faq-item__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: transform 0.3s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item:hover .faq-item__icon {
    background: rgba(254, 44, 85, 0.2);
}

.faq-item[open] .faq-item__icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(135deg);
}

/* Answer */
.faq-item__answer {
    padding: 0 22px 22px 74px;
    color: #c8cdd9;
    font-size: 15px;
    line-height: 1.75;
    animation: faqFade 0.3s ease;
}

.faq-item__answer p {
    margin: 0;
}

.faq-item__answer strong {
    color: #ffb6c7;
    font-weight: 700;
}

@keyframes faqFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive FAQ */
@media (max-width: 960px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .faq-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .section--faq {
        padding: 56px 0 80px;
    }

    .faq-item__summary {
        font-size: 15px;
        padding: 16px 18px;
        gap: 12px;
    }

    .faq-item__num {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .faq-item__answer {
        padding: 0 18px 18px 60px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Footer – nâng cấp gọn nhẹ
   ========================================================================== */

.site-footer {
    position: relative;
    background:
        radial-gradient(600px 280px at 80% 0%, rgba(254, 44, 85, 0.12), transparent 60%),
        linear-gradient(180deg, #050710 0%, var(--tertiary) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col--brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-logo__title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.footer-tagline {
    margin: 0 0 18px;
    color: #a8aebc;
    font-size: 14px;
    line-height: 1.7;
}

.footer-tagline strong {
    color: #fff;
    font-weight: 700;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-menu li a {
    display: inline-flex;
    align-items: center;
    color: #a8aebc;
    font-size: 14.5px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-menu li a::before {
    content: "";
    width: 0;
    height: 2px;
    background: var(--primary);
    margin-right: 0;
    transition: width 0.25s ease, margin-right 0.25s ease;
}

.footer-menu li a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-menu li a:hover::before {
    width: 12px;
    margin-right: 8px;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.footer-contact li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: start;
    color: #a8aebc;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact li svg {
    margin-top: 3px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact a {
    color: #fff;
    transition: color 0.2s ease;
}

.footer-contact a strong {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-contact a span {
    color: #a8aebc;
    font-weight: 500;
    font-size: 13px;
    margin-left: 4px;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 24px;
}

.footer-copy {
    margin: 0;
    color: #8b9096;
    font-size: 13.5px;
}

.footer-copy strong {
    color: #fff;
    font-weight: 700;
}

.footer-legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px 22px;
}

.footer-legal a {
    color: #8b9096;
    font-size: 13.5px;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* ==========================================================================
   Page: Bảng giá nạp xu TikTok
   ========================================================================== */

/* Small button variant cho table action */
.btn--sm {
    padding: 8px 14px;
    font-size: 12.5px;
    border-radius: 10px;
}

/* Hero của page Bảng giá */
.pricing-hero {
    position: relative;
    padding: 76px 0 64px;
    background: linear-gradient(160deg, #fff 0%, #fff5f7 55%, #ffeaef 100%);
    overflow: hidden;
}

.pricing-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pricing-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.pricing-hero__blob--1 {
    width: 520px;
    height: 520px;
    top: -200px;
    right: -120px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.4), transparent 70%);
}

.pricing-hero__blob--2 {
    width: 380px;
    height: 380px;
    bottom: -160px;
    left: -100px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.3), transparent 70%);
    opacity: 0.35;
}

.pricing-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.pricing-hero__title {
    margin: 16px 0 14px;
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.pricing-hero__title-sub {
    display: block;
    margin-top: 10px;
    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 600;
    color: var(--primary-600);
    letter-spacing: 0;
}

.pricing-hero__lead {
    margin: 0 auto 24px;
    max-width: 780px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-soft);
}

.pricing-hero__lead strong {
    color: var(--primary-600);
    font-weight: 700;
}

.pricing-trust {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pricing-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(1, 1, 1, 0.04);
}

.pricing-trust li svg {
    color: var(--primary);
}

.pricing-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pricing-meta__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(1, 1, 1, 0.04);
    color: var(--text-soft);
    font-size: 12.5px;
    border-radius: var(--radius-pill);
}

.pricing-meta__chip svg {
    color: var(--primary);
}

.pricing-meta__chip strong {
    color: var(--text);
    font-weight: 700;
}

/* Section pricing grid */
.section--pricing {
    padding: 56px 0 64px;
    background: #fff;
}

.pricing-tabs {
    display: inline-flex;
    margin: 0 auto 32px;
    padding: 6px;
    background: var(--bg-soft);
    border-radius: var(--radius-pill);
    box-shadow: inset 0 0 0 1px var(--border-soft);
    width: 100%;
    max-width: 460px;
    justify-content: space-between;
}

.section--pricing .container--wide {
    text-align: center;
}

.pricing-tab {
    flex: 1;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-soft);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.pricing-tab:hover {
    color: var(--primary);
}

.pricing-tab.is-active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(254, 44, 85, 0.3);
}

.pricing-grid {
    text-align: left;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pricing-card {
    position: relative;
    padding: 24px 22px 22px;
    background: #fff;
    border: 1.5px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(1, 1, 1, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(254, 44, 85, 0.4);
    box-shadow: 0 18px 36px rgba(254, 44, 85, 0.12);
}

.pricing-card.is-hidden {
    display: none;
}

.pricing-card--featured {
    background: linear-gradient(180deg, #fff5f7 0%, #fff 100%);
    border-color: var(--primary);
    box-shadow:
        0 18px 40px -10px rgba(254, 44, 85, 0.3),
        0 0 0 1px var(--primary) inset;
}

.pricing-card--featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff6a8a, var(--secondary));
}

/* Bonus % corner ribbon */
.pricing-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(254, 44, 85, 0.32);
    letter-spacing: 0.02em;
}

.pricing-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: flex-start;
}

.pricing-card__tag--custom {
    background: rgba(37, 244, 238, 0.14);
    color: var(--secondary-600);
}

/* Coin display */
.pricing-card__coin {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pricing-card__coin-svg {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
}

.pricing-card__coin-svg--lg {
    background: var(--primary-100);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.pricing-card__coin-amount {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.pricing-card__coin-amount strong {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text);
}

.pricing-card__coin-amount span {
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-card__bonus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 6px 10px;
    background: linear-gradient(90deg, rgba(37, 244, 238, 0.14), transparent);
    color: var(--secondary-600);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-card__bonus strong {
    color: var(--secondary-600);
    font-weight: 800;
}

.pricing-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

.pricing-card__price-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.01em;
}

.pricing-card--featured .pricing-card__price-num {
    color: var(--primary-600);
}

.pricing-card__price-unit {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 600;
}

.pricing-card__cta {
    margin-top: auto;
    padding: 12px 18px;
    font-size: 13px;
    border-radius: 12px;
    width: 100%;
}

.pricing-card__custom-text {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.pricing-card--custom {
    border-style: dashed;
    border-color: var(--border);
    background: var(--bg-soft);
}

.pricing-card--custom:hover {
    border-color: var(--secondary);
    background: var(--secondary-100);
}

/* Full price table */
.section--price-table {
    padding: 64px 0;
    background: var(--bg-soft);
}

.price-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(1, 1, 1, 0.05);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    min-width: 720px;
}

.price-table thead {
    background: linear-gradient(135deg, #1a1f2e, var(--tertiary));
    color: #fff;
}

.price-table th {
    padding: 14px 18px;
    text-align: left;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-table tbody tr {
    border-top: 1px solid var(--border-soft);
    transition: background 0.15s ease;
}

.price-table tbody tr:hover {
    background: #fff5f7;
}

.price-table tbody tr.is-featured {
    background: linear-gradient(90deg, rgba(254, 44, 85, 0.05), transparent);
}

.price-table tbody tr.is-featured:hover {
    background: rgba(254, 44, 85, 0.08);
}

.price-table td {
    padding: 14px 18px;
    color: var(--text-soft);
    vertical-align: middle;
}

.price-table__name {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    font-weight: 700;
}

.price-table__tag {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 8px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.price-table__bonus {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: rgba(37, 244, 238, 0.14);
    color: var(--secondary-600);
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 800;
}

.price-table__muted {
    color: var(--muted);
}

.price-table__action {
    text-align: right;
}

/* Price info section */
.section--price-info {
    padding: 64px 0;
    background: #fff;
}

.price-info-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.price-info h2 {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: var(--text);
}

.price-info p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.75;
}

.price-info p strong {
    color: var(--primary-600);
}

.price-info p em {
    font-style: normal;
    color: var(--text);
    font-weight: 600;
}

.price-info__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.price-info__list li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.6;
}

.price-info__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.18);
}

.price-info-card {
    padding: 28px;
    background: linear-gradient(160deg, var(--tertiary) 0%, #1a2036 100%);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(1, 1, 1, 0.18);
    display: flex;
    flex-direction: column;
}

.price-info-card__chip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 5px 12px;
    background: rgba(254, 44, 85, 0.18);
    color: #ffd0db;
    border: 1px solid rgba(254, 44, 85, 0.35);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.price-info-card h3 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
}

.price-info-card__rows {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
    flex: 1;
}

.price-info-card__rows > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #b9bfcd;
    font-size: 14px;
}

.price-info-card__rows strong {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.is-line-through {
    text-decoration: line-through;
    color: #9aa1b3;
    font-weight: 600;
    font-size: 16px !important;
}

.is-highlight {
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-info-card__save {
    background: linear-gradient(90deg, rgba(37, 244, 238, 0.14), transparent) !important;
    border-color: rgba(37, 244, 238, 0.3) !important;
}

.price-info-card__save strong {
    color: var(--secondary) !important;
}

/* Pricing FAQ – tone sáng (khác FAQ dark trên trang chủ) */
.section--pricing-faq {
    padding: 64px 0 72px;
    background: var(--bg-soft);
}

.section--pricing-faq .faq-list {
    max-width: 880px;
    margin: 0 auto;
}

.section--pricing-faq .faq-item {
    background: #fff;
    border-color: var(--border-soft);
}

.section--pricing-faq .faq-item:hover {
    border-color: rgba(254, 44, 85, 0.3);
    background: #fff;
}

.section--pricing-faq .faq-item[open] {
    background: linear-gradient(180deg, #fff5f7, #fff);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(254, 44, 85, 0.12);
}

.section--pricing-faq .faq-item__summary {
    color: var(--text);
}

.section--pricing-faq .faq-item__num {
    background: var(--primary-100);
    color: var(--primary-600);
}

.section--pricing-faq .faq-item__icon {
    background: var(--bg-soft);
    color: var(--text-soft);
}

.section--pricing-faq .faq-item__answer {
    color: var(--text-soft);
}

.section--pricing-faq .faq-item__answer strong {
    color: var(--primary-600);
}

/* CTA band */
.pricing-cta-band {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--tertiary) 0%, #1a2036 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.pricing-cta-band::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.35), transparent 70%);
    pointer-events: none;
}

.pricing-cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.pricing-cta-band h2 {
    margin: 0 0 6px;
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    color: #fff;
}

.pricing-cta-band p {
    margin: 0;
    color: #b9bfcd;
    font-size: 15px;
}

.pricing-cta-band__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pricing-cta-band .btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.pricing-cta-band .btn--ghost:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Responsive */
@media (max-width: 960px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pricing-hero {
        padding: 48px 0 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card__coin-amount strong {
        font-size: 28px;
    }

    .pricing-tabs {
        max-width: 100%;
    }

    .price-table {
        min-width: 600px;
        font-size: 13.5px;
    }

    .price-table th,
    .price-table td {
        padding: 11px 12px;
    }

    .pricing-cta-band__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Page: Giới thiệu TikNap
   ========================================================================== */

.about-page {
    color: var(--text);
}

/* ----- Hero ----- */
.about-hero {
    position: relative;
    padding: 80px 0 72px;
    background: linear-gradient(160deg, #fff 0%, #fff5f7 55%, #ffeaef 100%);
    overflow: hidden;
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.about-hero__blob--1 {
    width: 520px;
    height: 520px;
    top: -200px;
    right: -120px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.4), transparent 70%);
}

.about-hero__blob--2 {
    width: 380px;
    height: 380px;
    bottom: -160px;
    left: -100px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.3), transparent 70%);
    opacity: 0.35;
}

.about-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-hero__title {
    margin: 16px 0 18px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--text);
}

.about-hero__title em {
    font-style: italic;
    color: var(--primary-600);
    font-weight: 800;
}

.about-hero__brand {
    background: linear-gradient(90deg, var(--primary), #ff6a8a 50%, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-hero__lead {
    margin: 0 0 24px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.75;
}

.about-hero__lead strong {
    color: var(--primary-600);
    font-weight: 700;
}

.about-hero__chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    font-size: 13px;
    color: var(--text-soft);
    box-shadow: 0 4px 14px rgba(1, 1, 1, 0.04);
}

.about-hero__chips strong {
    color: var(--primary-600);
    font-weight: 800;
}

.about-hero__visual {
    position: relative;
}

.about-hero__image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(254, 44, 85, 0.12), 0 12px 28px rgba(1, 1, 1, 0.08);
}

.about-hero__placeholder,
.about-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary-100), #fff);
    border: 2px dashed rgba(254, 44, 85, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 28px;
    color: var(--primary-600);
}

.about-placeholder strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.about-placeholder span {
    font-size: 14px;
    color: var(--text-soft);
}

.about-hero__placeholder-coin {
    width: 80px;
    height: 80px;
    display: inline-flex;
}

.about-hero__placeholder p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
}

/* ----- Story ----- */
.about-story {
    padding: 72px 0;
    background: #fff;
}

.about-story__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-story__copy h2 {
    margin: 14px 0 22px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
}

.about-story__copy p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 16.5px;
    line-height: 1.85;
}

.about-story__copy p strong {
    color: var(--primary-600);
    font-weight: 700;
}

.about-story__copy p em {
    font-style: italic;
    color: var(--text);
    font-weight: 600;
}

.about-story__quote {
    margin-top: 24px;
    padding: 22px 26px;
    background: linear-gradient(135deg, var(--primary-100), #fff);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    display: flex;
    gap: 14px;
}

.about-story__quote svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.about-story__quote p {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
}

.about-story__visual {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.about-story__visual img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 24px 48px rgba(1, 1, 1, 0.08);
}

/* ----- Mission & Vision ----- */
.about-mvp {
    padding: 72px 0;
    background: var(--bg-soft);
}

.about-mvp__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.about-mvp__card {
    position: relative;
    padding: 36px 32px 32px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(1, 1, 1, 0.05);
    overflow: hidden;
}

.about-mvp__card--mission {
    background: linear-gradient(180deg, #fff5f7 0%, #fff 60%);
    border-color: rgba(254, 44, 85, 0.25);
}

.about-mvp__card--mission::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff6a8a);
}

.about-mvp__card--vision {
    background: linear-gradient(180deg, #f0fdfd 0%, #fff 60%);
    border-color: rgba(37, 244, 238, 0.3);
}

.about-mvp__card--vision::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-600));
}

.about-mvp__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 18px;
}

.about-mvp__card--mission .about-mvp__icon {
    background: var(--primary-100);
    color: var(--primary);
}

.about-mvp__card--vision .about-mvp__icon {
    background: var(--secondary-100);
    color: var(--secondary-600);
}

.about-mvp__card h3 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}

.about-mvp__card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.75;
}

.about-mvp__card p strong {
    color: var(--text);
    font-weight: 700;
}

.about-mvp__card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.about-mvp__card li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 1.6;
}

.about-mvp__card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.12);
}

.about-mvp__card--mission li::before {
    background: var(--primary);
}

.about-mvp__card--vision li::before {
    background: var(--secondary-600);
    box-shadow: 0 0 0 3px rgba(37, 244, 238, 0.18);
}

.about-mvp__card li strong {
    color: var(--primary-600);
    font-weight: 700;
}

.about-mvp__card--vision li strong {
    color: var(--secondary-600);
}

/* ----- Core values ----- */
.about-values {
    padding: 72px 0;
    background: #fff;
}

.about-values__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.about-value {
    padding: 28px 26px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-value:hover {
    transform: translateY(-4px);
    border-color: rgba(254, 44, 85, 0.3);
    box-shadow: 0 18px 36px rgba(254, 44, 85, 0.1);
}

.about-value__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(254, 44, 85, 0.25);
}

.about-value h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

.about-value p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ----- Timeline (dark section) ----- */
.section--dark {
    background: linear-gradient(180deg, #0b0f1c 0%, #14182a 100%);
    color: #e7eaf1;
    position: relative;
    overflow: hidden;
}

.section--dark .section-header h2 {
    color: #fff;
}

.section--dark .section-header p {
    color: #b9bfcd;
}

.about-timeline {
    padding: 80px 0 88px;
}

.about-timeline::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.25), transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.timeline {
    list-style: none;
    margin: 48px auto 0;
    padding: 0;
    position: relative;
    max-width: 880px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 100px;
    top: 12px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), rgba(255, 255, 255, 0.1));
}

.timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 86px 1fr;
    column-gap: 40px;
    padding: 6px 0 26px 0;
    align-items: start;
}

.timeline__year {
    text-align: right;
    padding-right: 4px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.4;
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary);
}

.timeline__item::after {
    content: "";
    position: absolute;
    left: 100px;
    top: 14px;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #14182a;
    box-shadow: 0 0 0 4px rgba(254, 44, 85, 0.25);
    z-index: 2;
}

.timeline__item--current::after {
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(37, 244, 238, 0.3), 0 0 16px var(--secondary);
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}

.timeline__content {
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.timeline__content h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}

.timeline__content p {
    margin: 0;
    color: #b9bfcd;
    font-size: 14.5px;
    line-height: 1.7;
}

.timeline__content p strong {
    color: #ffb6c7;
}

/* ----- Stats ----- */
.about-stats {
    padding: 72px 0;
    background: var(--bg-soft);
}

.about-stats__grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.about-stat {
    padding: 26px 22px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(254, 44, 85, 0.1);
}

.about-stat strong {
    display: block;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.about-stat span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
}

/* ----- Team ----- */
.about-team {
    padding: 72px 0;
    background: #fff;
}

.about-team__grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.about-team__card {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-team__card:hover {
    transform: translateY(-4px);
    border-color: rgba(254, 44, 85, 0.3);
    box-shadow: 0 18px 36px rgba(254, 44, 85, 0.08);
}

.about-team__photo {
    margin: 0 auto 16px;
    width: 96px;
    height: 96px;
}

.about-team__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    color: #fff;
    font-size: 36px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(254, 44, 85, 0.3);
}

.about-team__card:nth-child(2) .about-team__avatar { background: linear-gradient(135deg, var(--secondary-600), #6bf4f0); }
.about-team__card:nth-child(3) .about-team__avatar { background: linear-gradient(135deg, #d99b18, #f6c445); }
.about-team__card:nth-child(4) .about-team__avatar { background: linear-gradient(135deg, #6e3fcf, #a06cff); }

.about-team__card h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
}

.about-team__role {
    margin: 0 0 12px;
    color: var(--primary-600);
    font-size: 13px;
    font-weight: 700;
}

.about-team__bio {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.about-team__bio strong {
    color: var(--text);
    font-weight: 700;
}

/* ----- Process ----- */
.about-process {
    padding: 72px 0;
    background: var(--bg-soft);
}

.about-process__list {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: about-process;
}

.about-process__step {
    position: relative;
    padding: 32px 26px 28px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-process__step:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(254, 44, 85, 0.08);
}

.about-process__num {
    position: absolute;
    top: -18px;
    left: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #ff6a8a);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 22px rgba(254, 44, 85, 0.3);
}

.about-process__step h3 {
    margin: 14px 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

.about-process__step p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.7;
}

.about-process__step a {
    color: var(--primary-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ----- Commitment ----- */
.about-commit {
    padding: 72px 0;
    background: #fff;
}

.about-commit__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-commit__copy h2 {
    margin: 14px 0 18px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
}

.about-commit__copy > p {
    margin: 0 0 22px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.8;
}

.about-commit__copy > p strong {
    color: var(--primary-600);
}

.about-commit__copy > p em {
    font-style: italic;
    color: var(--text);
    font-weight: 600;
}

.about-commit__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.about-commit__list li {
    position: relative;
    padding: 12px 16px 12px 44px;
    background: var(--bg-soft);
    border-radius: 12px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.65;
}

.about-commit__list li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 4px 10px rgba(254, 44, 85, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.about-commit__list li strong {
    color: var(--text);
    font-weight: 700;
}

.about-commit__card {
    padding: 28px;
    background: linear-gradient(160deg, var(--tertiary) 0%, #1a2036 100%);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(1, 1, 1, 0.18);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.about-commit__card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.about-commit__card p {
    margin: 0 0 18px;
    color: #b9bfcd;
    font-size: 14.5px;
    line-height: 1.7;
}

.about-commit__card ul {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.about-commit__card li {
    color: #b9bfcd;
    font-size: 14px;
}

.about-commit__card li strong {
    color: #fff;
}

.about-commit__card a {
    color: var(--secondary);
}

.about-commit__card .btn {
    width: 100%;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
    .about-hero__inner,
    .about-story__grid,
    .about-commit__grid,
    .about-mvp__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-story__visual,
    .about-commit__card {
        position: static;
    }

    .about-values__grid,
    .about-team__grid,
    .about-process__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: 56px 0 48px;
    }

    .about-story,
    .about-mvp,
    .about-values,
    .about-stats,
    .about-team,
    .about-process,
    .about-commit {
        padding: 56px 0;
    }

    .about-timeline {
        padding: 56px 0 64px;
    }

    .about-values__grid,
    .about-team__grid,
    .about-process__list,
    .about-stats__grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        margin-top: 36px;
    }

    .timeline::before {
        left: 14px;
        top: 6px;
        bottom: 18px;
    }

    .timeline__item {
        display: block;
        padding: 0 0 24px 36px;
    }

    .timeline__year {
        text-align: left;
        padding-right: 0;
        margin-bottom: 6px;
        font-size: 18px;
    }

    .timeline__item::after {
        left: 14px;
        top: 8px;
        width: 14px;
        height: 14px;
        border-width: 2.5px;
    }
}

/* ==========================================================================
   Blog System (home / archive / single / search)
   ========================================================================== */

.blog-page {
    color: var(--text);
    background: #fff;
}

/* ----- Breadcrumb ----- */
.breadcrumb {
    margin: 0 0 18px;
}

.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb li + li::before {
    content: "/";
    color: var(--border-soft);
    margin-right: 0;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb [aria-current="page"] {
    color: var(--text);
    font-weight: 600;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ----- Blog Hero ----- */
.blog-hero {
    position: relative;
    padding: 56px 0 48px;
    background: linear-gradient(160deg, #fff 0%, #fff5f7 60%, #ffeaef 100%);
    overflow: hidden;
}

.blog-hero--archive,
.blog-hero--search {
    padding-bottom: 36px;
}

.blog-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blog-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.blog-hero__blob--1 {
    width: 460px;
    height: 460px;
    top: -180px;
    right: -100px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.32), transparent 70%);
}

.blog-hero__blob--2 {
    width: 320px;
    height: 320px;
    bottom: -140px;
    left: -80px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.25), transparent 70%);
}

.blog-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.blog-hero__title {
    margin: 12px 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--text);
}

.blog-hero__title strong {
    color: var(--primary-600);
}

.blog-hero__lead {
    margin: 0 0 22px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.75;
    max-width: 720px;
}

.blog-hero__lead strong {
    color: var(--primary-600);
    font-weight: 700;
}

/* ----- Blog Search ----- */
.blog-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 18px;
    background: #fff;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    box-shadow: 0 18px 40px rgba(254, 44, 85, 0.10);
    max-width: 640px;
}

.blog-search svg {
    flex-shrink: 0;
    color: var(--muted);
}

.blog-search input[type="search"] {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
    color: var(--text);
    padding: 10px 0;
    font-family: inherit;
}

.blog-search input[type="search"]::placeholder {
    color: var(--muted);
}

.blog-search .btn {
    flex-shrink: 0;
    padding: 9px 18px;
}

.blog-search--inline {
    box-shadow: 0 6px 14px rgba(1, 1, 1, 0.04);
    max-width: 100%;
}

/* ----- Category bar ----- */
.blog-catbar {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}

.blog-catbar__inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none;
}

.blog-catbar__inner::-webkit-scrollbar {
    display: none;
}

.blog-catbar__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-soft);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}

.blog-catbar__chip small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #fff;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
}

.blog-catbar__chip:hover {
    background: var(--primary-100);
    color: var(--primary-600);
    border-color: rgba(254, 44, 85, 0.2);
}

.blog-catbar__chip.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(254, 44, 85, 0.3);
}

.blog-catbar__chip.is-active small {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ----- Blog featured ----- */
.blog-featured {
    padding: 48px 0 8px;
}

.blog-featured__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.blog-featured__main .post-card--featured {
    height: 100%;
}

.blog-featured__main .post-card__media {
    aspect-ratio: 16 / 10;
    border-radius: 24px 24px 0 0;
}

.blog-featured__main .post-card__title {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.3;
}

.blog-featured__side {
    display: grid;
    gap: 14px;
    grid-auto-rows: 1fr;
}

.post-card--compact {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    background: #fff;
    transition: all 0.25s;
}

.post-card--compact:hover {
    border-color: rgba(254, 44, 85, 0.25);
    transform: translateX(2px);
    box-shadow: 0 12px 28px rgba(254, 44, 85, 0.08);
}

.post-card--compact .post-card__media {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    margin: 0;
}

.post-card--compact .post-card__cat--floating {
    display: none;
}

.post-card--compact .post-card__body {
    padding: 4px 4px 4px 0;
}

.post-card--compact .post-card__title {
    font-size: 15px;
    margin-bottom: 6px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.post-card--compact .post-card__meta {
    font-size: 12px;
    color: var(--muted);
}

/* ----- Post grid (main) ----- */
.blog-main {
    padding: 56px 0 80px;
}

.blog-main__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.blog-main__layout--with-toc {
    grid-template-columns: 260px minmax(0, 1fr) 320px;
    gap: 32px;
}

.blog-main__head {
    margin-bottom: 26px;
}

.blog-main__head h2 {
    margin: 0 0 6px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    color: var(--text);
}

.blog-main__head p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.post-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ----- Post card (default) ----- */
.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.28s ease;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(254, 44, 85, 0.25);
    box-shadow: 0 22px 40px rgba(254, 44, 85, 0.10);
}

.post-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-100), #fff);
    text-decoration: none;
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-card__media img {
    transform: scale(1.06);
}

.post-card__media-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.post-card__media-fallback .coin__svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

.post-card__cat--floating {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--primary-600);
    font-size: 11.5px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(1, 1, 1, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.post-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.post-card__cat {
    display: inline-flex;
    width: fit-content;
    padding: 4px 10px;
    background: var(--primary-100);
    color: var(--primary-600);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-pill);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.post-card__cat:hover {
    background: var(--primary);
    color: #fff;
}

.post-card__title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.post-card__title a:hover {
    color: var(--primary);
}

.post-card__excerpt {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12.5px;
}

.post-card__dot {
    color: var(--border-soft);
}

.post-card--featured .post-card__excerpt {
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

/* ----- Pagination ----- */
.blog-pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.blog-pagination .nav-links,
.blog-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--text-soft);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
}

.blog-pagination .page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 14px rgba(254, 44, 85, 0.3);
}

.blog-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* ----- Empty state ----- */
.blog-empty {
    padding: 60px 24px;
    text-align: center;
    background: var(--bg-soft);
    border-radius: 20px;
    border: 1px dashed var(--border-soft);
}

.blog-empty h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--text);
}

.blog-empty p {
    margin: 0 0 18px;
    color: var(--text-soft);
}

.blog-empty__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}

/* ----- Sidebar ----- */
.blog-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: calc(var(--header-h, 76px) + 20px);
    max-height: calc(100vh - var(--header-h, 76px) - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    align-self: start;
    /* spacing để scrollbar không sát mép card */
    padding-right: 6px;
    margin-right: -6px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-soft) transparent;
}

.blog-sidebar::-webkit-scrollbar {
    width: 6px;
}

.blog-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-soft);
    border-radius: 4px;
}

.blog-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

/* Mobile / tablet: bỏ sticky, để sidebar nằm tự nhiên */
@media (max-width: 1024px) {
    .blog-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        padding-right: 0;
        margin-right: 0;
    }
}

.blog-widget {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
}

.blog-widget__title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-soft);
}

/* CTA widget */
.blog-widget--cta {
    background: linear-gradient(160deg, var(--tertiary) 0%, #1a2036 100%);
    color: #fff;
    text-align: center;
    border-color: transparent;
    overflow: hidden;
    position: relative;
}

.blog-widget--cta::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.4), transparent 70%);
    border-radius: 50%;
}

.blog-widget--cta .blog-widget__icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    position: relative;
    z-index: 1;
}

.blog-widget--cta .blog-widget__icon svg {
    width: 100%;
    height: 100%;
}

.blog-widget--cta h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.blog-widget--cta p {
    margin: 0 0 16px;
    color: #b9bfcd;
    font-size: 13.5px;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.blog-widget--cta .btn {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Categories list */
.blog-widget__cats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.blog-widget__cats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
}

.blog-widget__cats a:hover {
    background: var(--primary-100);
    color: var(--primary-600);
}

.blog-widget__cats small {
    min-width: 26px;
    text-align: center;
    padding: 2px 8px;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    border-radius: var(--radius-pill);
}

/* Recent posts */
.blog-widget__recent {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.blog-widget__recent a {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    text-decoration: none;
    align-items: center;
}

.blog-widget__recent-thumb {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--primary-100);
    flex-shrink: 0;
}

.blog-widget__recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-widget__recent-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.blog-widget__recent-fallback svg {
    width: 28px;
    height: 28px;
    opacity: 0.6;
}

.blog-widget__recent-meta {
    display: grid;
    gap: 4px;
}

.blog-widget__recent-meta strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.blog-widget__recent a:hover strong {
    color: var(--primary);
}

.blog-widget__recent-meta small {
    color: var(--muted);
    font-size: 12px;
}

/* Quick links */
.blog-widget__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.blog-widget__links a {
    display: block;
    padding: 8px 12px;
    color: var(--text-soft);
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.blog-widget__links a:hover {
    background: var(--primary-100);
    color: var(--primary-600);
}

/* ==========================================================================
   Single post
   ========================================================================== */

.single-hero {
    position: relative;
    padding: 48px 0 36px;
    background: linear-gradient(160deg, #fff 0%, #fff5f7 60%, #ffeaef 100%);
    overflow: hidden;
}

.single-hero__inner {
    max-width: 880px;
    position: relative;
    z-index: 1;
}

.single-hero__cat {
    display: inline-flex;
    padding: 5px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-pill);
    text-decoration: none;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(254, 44, 85, 0.25);
}

.single-hero__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--text);
}

.single-hero__excerpt {
    margin: 0 0 22px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.7;
}

.single-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.single-meta__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 600;
}

.single-meta__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.single-hero__dot {
    color: var(--border-soft);
}

/* Cover image */
.single-cover {
    background: linear-gradient(180deg, #ffeaef 0%, #fff 100%);
    padding-bottom: 32px;
}

.single-cover img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(1, 1, 1, 0.12);
}

/* Article content */
.single-article {
    background: transparent;
    border: 0;
}

.single-content {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text);
}

.single-content > * {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.single-content h2 {
    margin-top: 1.8em;
    margin-bottom: 0.7em;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text);
}

.single-content h3 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    font-size: clamp(19px, 2vw, 22px);
    font-weight: 800;
    line-height: 1.35;
}

.single-content h4 {
    margin-top: 1.4em;
    margin-bottom: 0.5em;
    font-size: 17px;
    font-weight: 700;
}

.single-content p {
    color: var(--text-soft);
}

.single-content a {
    color: var(--primary-600);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: all 0.2s;
}

.single-content a:hover {
    color: var(--primary);
    text-decoration-thickness: 2.5px;
}

.single-content strong {
    color: var(--text);
    font-weight: 700;
}

.single-content ul,
.single-content ol {
    padding-left: 1.4em;
    color: var(--text-soft);
}

.single-content ul li,
.single-content ol li {
    margin-bottom: 0.5em;
}

.single-content blockquote {
    margin: 1.6em 0;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--primary-100), #fff);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    color: var(--text);
    font-style: italic;
    font-size: 17px;
}

.single-content blockquote p:last-child {
    margin-bottom: 0;
}

.single-content img,
.single-content figure {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.single-content code {
    padding: 2px 8px;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    font-size: 0.92em;
    color: var(--primary-600);
}

.single-content pre {
    padding: 18px 22px;
    background: var(--tertiary);
    color: #e7eaf1;
    border-radius: 14px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}

.single-content pre code {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
}

.single-content hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid var(--border-soft);
}

.single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 14.5px;
}

.single-content table th,
.single-content table td {
    padding: 12px 14px;
    border: 1px solid var(--border-soft);
    text-align: left;
}

.single-content table th {
    background: var(--bg-soft);
    font-weight: 700;
    color: var(--text);
}

/* Tags */
.single-tags {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.single-tags strong {
    color: var(--text);
    margin-right: 4px;
}

.single-tags a {
    padding: 5px 12px;
    background: var(--bg-soft);
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.single-tags a:hover {
    background: var(--primary);
    color: #fff;
}

/* Share */
.single-share {
    margin-top: 24px;
    padding: 18px 22px;
    background: var(--bg-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.single-share > span {
    font-weight: 700;
    color: var(--text);
    font-size: 14px;
    margin-right: 6px;
}

.single-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--text-soft);
    border: 1px solid var(--border-soft);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.single-share__btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.single-share__btn.is-copied {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.single-share__btn {
    position: relative;
}

.copy-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 6px 10px;
    background: #111418;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    z-index: 5;
}

.copy-tip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #111418;
}

.copy-tip.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Author box */
.single-author {
    margin-top: 36px;
    padding: 24px;
    background: var(--bg-soft);
    border-radius: 18px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: start;
}

.single-author__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.single-author__label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.single-author__name {
    display: block;
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.single-author p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.65;
}

/* Inline CTA */
.single-cta {
    margin-top: 32px;
    padding: 26px 28px;
    background: linear-gradient(135deg, var(--primary), #ff6a8a 70%, var(--secondary));
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 24px 48px rgba(254, 44, 85, 0.25);
}

.single-cta > div {
    flex: 1;
    min-width: 240px;
}

.single-cta h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.single-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14.5px;
    line-height: 1.6;
}

.single-cta .btn {
    background: #fff;
    color: var(--primary-600);
    flex-shrink: 0;
}

.single-cta .btn:hover {
    background: var(--text);
    color: #fff;
}

/* Comments */
.single-comments {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
}

/* Related */
.section--related {
    background: var(--bg-soft);
    padding: 64px 0 80px;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .blog-main__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .blog-sidebar {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-widget--cta {
        grid-column: 1 / -1;
    }

    .blog-featured__grid {
        grid-template-columns: 1fr;
    }

    .post-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .blog-hero {
        padding: 40px 0 32px;
    }

    .blog-main {
        padding: 40px 0 64px;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-grid--3 {
        grid-template-columns: 1fr;
    }

    .post-card--compact {
        grid-template-columns: 100px 1fr;
        gap: 12px;
        padding: 10px;
    }

    .single-hero {
        padding: 32px 0 24px;
    }

    .single-cover {
        padding-bottom: 24px;
    }

    .single-cover img {
        border-radius: 16px;
    }

    .single-content {
        font-size: 16px;
    }

    .single-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .single-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .single-author {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .single-author__avatar {
        margin: 0 auto;
    }

    .breadcrumb [aria-current="page"] {
        max-width: 200px;
    }
}

/* ==========================================================================
   Table of Contents (TOC) – mục lục bên trái cho single post
   ========================================================================== */

.blog-toc-col {
    position: relative;
    align-self: stretch;
    height: 100%;
}

.single-toc {
    position: sticky;
    top: calc(var(--header-h, 72px) + 20px);
    max-height: calc(100vh - var(--header-h, 72px) - 40px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(1, 1, 1, 0.04);
}

.single-toc__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fff5f7, #fff);
    border-bottom: 1px solid var(--border-soft);
    flex-shrink: 0;
}

.single-toc__title {
    flex: 1;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
}

.single-toc__toggle,
.single-toc__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    color: var(--text-soft);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    font-family: inherit;
    line-height: 1;
}

.single-toc__close {
    display: none;
    font-size: 22px;
    font-weight: 700;
}

.single-toc__toggle:hover,
.single-toc__close:hover {
    background: var(--primary-100);
    color: var(--primary-600);
    border-color: var(--primary);
}

.single-toc__toggle svg {
    transition: transform 0.25s ease;
}

.single-toc[data-collapsed="true"] .single-toc__toggle svg {
    transform: rotate(-90deg);
}

.single-toc__list {
    list-style: none;
    margin: 0;
    padding: 10px 8px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--border-soft) transparent;
}

.single-toc__list::-webkit-scrollbar {
    width: 6px;
}

.single-toc__list::-webkit-scrollbar-thumb {
    background: var(--border-soft);
    border-radius: 4px;
}

.single-toc__list::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

.single-toc[data-collapsed="true"] .single-toc__list {
    display: none;
}

.single-toc__item {
    margin: 0;
    padding: 0;
}

.single-toc__item a {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px 9px 14px;
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.5;
    text-decoration: none;
    border-radius: 10px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.single-toc__item a:hover {
    background: var(--primary-100);
    color: var(--primary-600);
}

.single-toc__item a.is-current {
    background: linear-gradient(90deg, rgba(254, 44, 85, 0.08), transparent);
    color: var(--primary-600);
    border-left-color: var(--primary);
    font-weight: 600;
}

.single-toc__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    background: var(--bg-soft);
    color: var(--muted);
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    transition: all 0.2s;
}

.single-toc__item a.is-current .single-toc__num,
.single-toc__item a:hover .single-toc__num {
    background: var(--primary);
    color: #fff;
}

.single-toc__text {
    flex: 1;
    overflow-wrap: anywhere;
}

/* Sub items (H3) */
.single-toc__item--lv3 a {
    padding-left: 36px;
    font-size: 12.5px;
}

.single-toc__item--lv3 .single-toc__num {
    display: none;
}

.single-toc__item--lv3 a::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--border-soft);
    transform: translateY(-50%);
}

/* Smooth scroll offset for fixed header */
.single-content [id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Floating button (mobile) */
.single-toc-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(254, 44, 85, 0.4);
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.single-toc-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(254, 44, 85, 0.5);
}

.single-toc-fab svg {
    flex-shrink: 0;
}

/* ===== Responsive ===== */

/* Tablet hẹp: TOC xuống dưới breadcrumb thành box collapsible */
@media (max-width: 1180px) {
    .blog-main__layout--with-toc {
        grid-template-columns: 1fr 320px;
    }

    .blog-toc-col {
        grid-column: 1 / -1;
        order: -1;
    }

    .single-toc {
        position: relative;
        top: 0;
        max-height: none;
    }

    .single-toc[data-collapsed="true"] .single-toc__list {
        display: none;
    }
}

/* Tablet mất sidebar */
@media (max-width: 1024px) {
    .blog-main__layout--with-toc {
        grid-template-columns: 1fr;
    }
}

/* Mobile: TOC dạng overlay khi mở từ FAB */
@media (max-width: 760px) {
    .single-toc-fab {
        display: inline-flex;
    }

    .blog-toc-col {
        position: fixed;
        inset: 0;
        z-index: 100;
        background: rgba(1, 1, 1, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        padding: 0;
        margin: 0;
    }

    .blog-toc-col.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .blog-toc-col .single-toc {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        max-height: 100vh;
        width: min(86vw, 360px);
        border-radius: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .blog-toc-col.is-open .single-toc {
        transform: translateX(0);
    }

    .single-toc__close {
        display: inline-flex;
        order: -1;
    }

    .single-toc__toggle {
        display: none;
    }

    .single-toc__head {
        padding: 18px;
    }
}

/* ==========================================================================
   Page: Liên hệ TikNap (page-lien-he.php)
   ========================================================================== */

.contact-page {
    color: var(--text);
}

/* ----- Hero ----- */
.contact-hero {
    position: relative;
    padding: 76px 0 56px;
    background: linear-gradient(160deg, #fff 0%, #fff5f7 55%, #ffeaef 100%);
    overflow: hidden;
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.contact-hero__blob--1 {
    width: 460px;
    height: 460px;
    top: -180px;
    right: -100px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.4), transparent 70%);
}

.contact-hero__blob--2 {
    width: 360px;
    height: 360px;
    bottom: -160px;
    left: -100px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.3), transparent 70%);
    opacity: 0.35;
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 880px;
}

.contact-hero__inner .eyebrow {
    margin-inline: auto;
}

.contact-hero__title {
    margin: 14px 0 16px;
    font-size: clamp(28px, 4.4vw, 46px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.contact-hero__brand {
    background: linear-gradient(90deg, var(--primary), var(--secondary-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero__title em {
    font-style: normal;
    color: var(--primary);
}

.contact-hero__lead {
    margin: 0 auto;
    max-width: 720px;
    font-size: clamp(15px, 1.6vw, 17px);
    color: var(--text-soft);
}

.contact-hero__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.contact-hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    color: var(--text-soft);
    box-shadow: var(--shadow-sm);
}

.contact-hero__chips strong {
    color: var(--primary);
    font-weight: 800;
}

/* ----- Channels grid ----- */
.contact-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-channel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 24px 22px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

a.contact-channel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(254, 44, 85, 0.35);
}

.contact-channel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary-100);
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-channel--zalo .contact-channel__icon      { background: #e6f1ff; color: #0068ff; }
.contact-channel--facebook .contact-channel__icon  { background: #e7f0ff; color: #1877F2; }
.contact-channel--telegram .contact-channel__icon  { background: #e0f3ff; color: #229ED9; }
.contact-channel--email .contact-channel__icon     { background: var(--secondary-100); color: var(--secondary-600); }
.contact-channel--address .contact-channel__icon   { background: #fff5e6; color: #f59e0b; }

.contact-channel h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}

.contact-channel__value {
    margin: 2px 0 4px;
    font-size: 15px;
    color: var(--text);
}

.contact-channel__value strong {
    font-weight: 700;
}

.contact-channel__desc {
    margin: 0 0 12px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.55;
}

.contact-channel__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--primary);
}

a.contact-channel:hover .contact-channel__cta {
    gap: 10px;
}

/* ----- Form + Sidebar ----- */
.contact-main-section {
    background: var(--bg-soft);
}

.contact-main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: start;
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrap .section-header {
    text-align: left;
    margin-bottom: 22px;
}

.contact-form-wrap .section-header h2 {
    font-size: clamp(22px, 2.6vw, 28px);
}

.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14.5px;
    line-height: 1.55;
}

.contact-alert p {
    margin: 0;
}

.contact-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.contact-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.contact-form__honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.contact-form__field:last-of-type {
    margin-bottom: 0;
}

.contact-form__field label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
}

.contact-form__field label span[aria-hidden="true"] {
    color: var(--primary);
    margin-left: 2px;
}

.contact-form__field input[type="text"],
.contact-form__field input[type="email"],
.contact-form__field input[type="tel"],
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.55;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(254, 44, 85, 0.12);
}

.contact-form__field input:invalid:not(:placeholder-shown),
.contact-form__field textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.contact-form__field--check {
    margin-top: 4px;
}

.contact-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.55;
    cursor: pointer;
}

.contact-check input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.contact-check a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px dashed var(--border-soft);
}

.contact-form__actions .btn {
    min-width: 200px;
    justify-content: center;
}

.contact-form__note {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.contact-form__note strong {
    color: var(--text);
}

/* Info card sidebar */
.contact-info-card {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    background: linear-gradient(160deg, #1a1d24 0%, #0c0e13 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.4), transparent 70%);
    pointer-events: none;
}

.contact-info-card > * {
    position: relative;
    z-index: 1;
}

.contact-info-card__head {
    text-align: center;
    margin-bottom: 22px;
}

.contact-info-card__coin {
    display: inline-block;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.contact-info-card__coin .coin__svg {
    width: 100%;
    height: 100%;
}

.contact-info-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.contact-info-card__head p {
    margin: 0;
    font-size: 14px;
    color: #c5cad4;
    line-height: 1.55;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.contact-info-list__label {
    color: #b9bfcd;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-info-list a,
.contact-info-list span {
    color: #fff;
}

.contact-info-list strong {
    font-weight: 700;
}

.contact-info-card__cta {
    width: 100%;
    justify-content: center;
}

.contact-info-card__small {
    margin: 18px 0 0;
    font-size: 12.5px;
    color: #9aa1ad;
    text-align: center;
    line-height: 1.6;
}

/* ----- Office / Map ----- */
.section--alt {
    background: var(--bg-soft);
}

.contact-office__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.contact-office__map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
    background: #fff;
    min-height: 400px;
}

.contact-office__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    display: block;
}

.contact-office__info {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.contact-office__info h3 {
    margin: 0 0 20px;
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 800;
}

.contact-office__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-office__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-office__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--primary-100);
    color: var(--primary);
}

.contact-office__list strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14.5px;
    font-weight: 700;
}

.contact-office__list p {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.55;
}

.contact-office__list a {
    color: var(--primary);
    font-weight: 600;
}

.contact-office__list a:hover {
    text-decoration: underline;
}

.contact-office__direction {
    width: 100%;
    justify-content: center;
}

/* ----- FAQ Liên hệ (re-use .faq-item from pricing) ----- */
.contact-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 920px;
    margin-inline: auto;
}

.contact-faq .faq-item {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-faq .faq-item:hover {
    border-color: rgba(254, 44, 85, 0.25);
    box-shadow: var(--shadow-sm);
}

.contact-faq .faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.contact-faq .faq-item__summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15.5px;
}
.contact-faq .faq-item__summary .faq-item__q  {
    color: var(--text);
}
.contact-faq .faq-item__answer strong {
    color: #ef4444;
}
.contact-faq .faq-item__summary::-webkit-details-marker {
    display: none;
}

.contact-faq .faq-item__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-100);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.contact-faq .faq-item__q {
    flex: 1;
}

.contact-faq .faq-item__icon {
    flex-shrink: 0;
    color: var(--muted);
    transition: transform 0.25s ease;
}

.contact-faq .faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
    color: #000;
}

.contact-faq .faq-item__answer {
    padding: 0 20px 20px 70px;
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 1.65;
}

.contact-faq .faq-item__answer p {
    margin: 0;
}

.contact-faq .faq-item__answer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ----- Responsive ----- */
@media (max-width: 1080px) {
    .contact-channels {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        position: static;
    }

    .contact-office__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .contact-hero {
        padding: 56px 0 40px;
    }

    .contact-hero__chips span {
        font-size: 12.5px;
        padding: 6px 12px;
    }

    .contact-channels {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-form-wrap {
        padding: 24px 20px;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form__actions .btn {
        width: 100%;
    }

    .contact-form__note {
        text-align: center;
    }

    .contact-info-card {
        padding: 26px 20px;
    }

    .contact-info-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .contact-office__info {
        padding: 24px 20px;
    }

    .contact-office__map,
    .contact-office__map iframe {
        min-height: 300px;
    }

    .contact-faq .faq-item__summary {
        padding: 14px 16px;
        font-size: 14.5px;
    }

    .contact-faq .faq-item__answer {
        padding: 0 16px 18px 16px;
    }
}

/* ==========================================================================
   LEGAL PAGES — Điều khoản / Bảo mật / Hoàn tiền
   Template: page-legal.php
   ========================================================================== */

/* ── Hero ──────────────────────────────────────────────────────────────── */
.legal-hero {
    position: relative;
    padding: 80px 0 72px;
    background:
        radial-gradient(circle at 75% -10%, rgba(254, 44, 85, 0.12), transparent 50%),
        radial-gradient(circle at 15% 110%, rgba(37, 244, 238, 0.10), transparent 55%),
        linear-gradient(160deg, #fff 0%, #fff5f7 55%, #ffeaef 100%);
    overflow: hidden;
    text-align: center;
}

.legal-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.legal-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
}

.legal-hero__blob--1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.28), transparent 70%);
    top: -200px;
    right: -120px;
}

.legal-hero__blob--2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.22), transparent 70%);
    bottom: -180px;
    left: -80px;
}

.legal-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.legal-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 24px rgba(254, 44, 85, 0.14);
    color: var(--primary);
    margin-bottom: 8px;
}

.legal-hero .eyebrow {
    margin-bottom: 0;
}

.legal-hero__title {
    margin: 0;
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 680px;
}

.legal-hero__meta {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0;
}

/* Breadcrumb */
.legal-breadcrumb {
    margin-top: 4px;
}

.legal-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13.5px;
    color: var(--muted);
    flex-wrap: wrap;
}

.legal-breadcrumb ol li + li::before {
    content: "›";
    margin-right: 6px;
    opacity: 0.5;
}

.legal-breadcrumb ol a {
    color: var(--primary);
    font-weight: 600;
    transition: opacity 0.2s;
}

.legal-breadcrumb ol a:hover {
    opacity: 0.75;
}

/* ── Two-column layout ──────────────────────────────────────────────────── */
.legal-content-wrap {
    padding: 64px 0 80px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Table of Contents sidebar ─────────────────────────────────────────── */
.legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.legal-toc__inner {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 20px 20px 22px;
}

.legal-toc__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 14px;
}

.legal-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-link {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
    line-height: 1.4;
    transition: background 0.18s ease, color 0.18s ease;
    border-left: 2px solid transparent;
}

.toc-link:hover {
    background: rgba(254, 44, 85, 0.06);
    color: var(--primary);
}

.toc-link.is-active {
    background: var(--primary-100);
    color: var(--primary);
    font-weight: 700;
    border-left-color: var(--primary);
}

.toc-link--h3 {
    padding-left: 20px;
    font-size: 13px;
    opacity: 0.85;
}

/* ── Main content typography ────────────────────────────────────────────── */
.legal-content {
    min-width: 0;
}

.legal-content h2 {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 48px 0 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    color: var(--text);
}

.legal-content h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 700;
    margin: 28px 0 10px;
    color: var(--text);
}

.legal-content p {
    font-size: 15.5px;
    line-height: 1.78;
    color: var(--text-soft);
    margin: 0 0 16px;
}

.legal-content strong {
    color: var(--text);
    font-weight: 700;
}

.legal-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.legal-content a:hover {
    opacity: 0.75;
}

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-content li {
    font-size: 15.5px;
    line-height: 1.72;
    color: var(--text-soft);
}

.legal-content li strong {
    color: var(--text);
}

.legal-content blockquote {
    margin: 24px 0;
    padding: 18px 20px 18px 24px;
    background: var(--primary-100);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 15px;
    color: var(--text-soft);
}

.legal-content blockquote p {
    margin: 0;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    margin: 20px 0;
}

.legal-content th {
    background: var(--bg-soft);
    font-weight: 700;
    color: var(--text);
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--border);
}

.legal-content td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    color: var(--text-soft);
    vertical-align: top;
}

.legal-content tr:nth-child(even) td {
    background: var(--bg-soft);
}

/* ── Related legal links ─────────────────────────────────────────────── */
.legal-related {
    padding: 56px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
}

.legal-related__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.legal-related__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.legal-related__card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.legal-related__card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(254, 44, 85, 0.12);
    transform: translateY(-2px);
}

.legal-related__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-100);
    color: var(--primary);
    flex-shrink: 0;
}

.legal-related__card > div {
    flex: 1;
    min-width: 0;
}

.legal-related__card strong {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.legal-related__card p {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.5;
}

.legal-related__arrow {
    flex-shrink: 0;
    color: var(--muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.legal-related__card:hover .legal-related__arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .legal-layout {
        grid-template-columns: 220px 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 56px 0 52px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
        order: -1;
    }

    .legal-toc__inner {
        padding: 16px;
    }

    .legal-toc__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .toc-link {
        padding: 6px 12px;
        border-radius: 999px;
        border-left: none;
        background: #fff;
        border: 1px solid var(--border-soft);
        font-size: 13px;
    }

    .toc-link.is-active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .toc-link--h3 {
        padding-left: 12px;
    }

    .legal-content-wrap {
        padding: 40px 0 56px;
    }

    .legal-related__grid {
        grid-template-columns: 1fr;
    }

    .legal-content h2 {
        font-size: 20px;
        margin-top: 36px;
    }
}

@media (max-width: 480px) {
    .legal-hero__icon {
        width: 60px;
        height: 60px;
    }

    .legal-related__card {
        padding: 16px;
        gap: 12px;
    }
}
