﻿/* HKoc电竞调试 - 静态样式文件 */

/* 哑黑金主题变量（改这里即可全局自适应） */
:root {
    --bg: #0e0c09;
    --bg-mid: #16130e;
    --bg-deep: #0a0907;
    --surface: rgba(24, 20, 14, 0.45);
    --primary: #e0c078;
    --primary-rgb: 224, 192, 120;
    --secondary: #c9a85e;
    --secondary-rgb: 201, 168, 94;
    --accent: #b8944e;
    --accent-rgb: 184, 148, 78;
    --gold-light: #f0d89a;
    --gold-muted: #d4b86a;
    --text: #faf6ec;
    --text-muted: #d0c09a;

    /* 透明玻璃组件 */
    --glass-bg: rgba(255, 248, 230, 0.065);
    --glass-bg-mid: rgba(255, 248, 230, 0.1);
    --glass-bg-strong: rgba(255, 248, 230, 0.14);
    --glass-bg-gold: rgba(var(--primary-rgb), 0.18);
    --glass-border: rgba(255, 248, 230, 0.18);
    --glass-border-gold: rgba(var(--primary-rgb), 0.4);
    --glass-border-hover: rgba(var(--primary-rgb), 0.62);
    --glass-blur: 14px;
    --glass-blur-strong: 20px;
    --glass-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.14);
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--bg);
    overscroll-behavior-y: none;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    min-height: 100%;
    background:
        radial-gradient(ellipse 85% 48% at 50% -8%, rgba(var(--primary-rgb), 0.28), transparent 58%),
        radial-gradient(ellipse 55% 38% at 100% 42%, rgba(var(--accent-rgb), 0.16), transparent 52%),
        radial-gradient(ellipse 48% 32% at 0% 78%, rgba(var(--secondary-rgb), 0.14), transparent 50%),
        linear-gradient(180deg, var(--bg-mid) 0%, var(--bg) 48%, var(--bg-deep) 100%);
    background-color: var(--bg);
    color: var(--text);
    overscroll-behavior-y: none;
    overflow-x: hidden;
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 移除所有链接的下划线 */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* 背景光轨：叠在原背景之上，不含参考图 logo */
.bg-streaks {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-streaks-photo {
    position: absolute;
    inset: -2%;
    width: 104%;
    height: 104%;
    object-fit: cover;
    object-position: center 42%;
    opacity: 0.95;
    mix-blend-mode: screen;
    image-rendering: -webkit-optimize-contrast;
}

body > section,
body > footer {
    position: relative;
    z-index: 1;
}

/* 直播弹幕飘屏 */
.danmaku-layer {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.danmaku-item {
    position: absolute;
    left: 110%;
    white-space: nowrap;
    font-weight: 700;
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--glass-bg-gold);
    border: 1px solid var(--glass-border-gold);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow: var(--glass-inset);
    text-shadow: 0 0 12px rgba(var(--primary-rgb), 0.35);
    animation: danmakuFloat linear both;
    user-select: none;
    will-change: transform;
}

@keyframes danmakuFloat {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.8);
    }
    6% {
        opacity: var(--opacity, 0.7);
    }
    88% {
        opacity: var(--opacity, 0.7);
    }
    100% {
        opacity: 0;
        transform: translateY(var(--float-y, -180px)) translateX(var(--drift-x, 40px)) scale(1.0);
    }
}

.danmaku-item:nth-child(odd) {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: rgba(var(--accent-rgb), 0.22);
    text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.35);
}

.danmaku-item:nth-child(3n) {
    background: rgba(184, 148, 74, 0.1);
    border-color: rgba(184, 148, 74, 0.2);
    text-shadow: 0 0 12px rgba(184, 148, 74, 0.35);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050507;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

/* 选择文本样式 */
::selection {
    background-color: rgba(var(--primary-rgb), 0.3);
    color: white;
}

/* 玻璃效果 */
.site-nav {
    top: 24px;
    left: 50%;
    width: min(calc(100% - 40px), 80rem);
    transform: translateX(-50%);
}

.nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    min-height: 58px;
}

.nav-spacer {
    justify-self: end;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: start;
    min-width: 0;
}

.nav-brand span {
    white-space: nowrap;
    font-size: clamp(1rem, 1.6vw, 1.5rem);
}

.brand-logo {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
    /* 原图黑标：反相成浅色，不重绘边缘 */
    filter: invert(1);
}

.brand-logo-nav {
    width: 56px;
    height: auto;
    filter: invert(1) drop-shadow(0 6px 16px rgba(255, 255, 255, 0.18));
    transition: transform 220ms ease, filter 220ms ease;
}

.nav-brand:hover .brand-logo-nav {
    transform: translateY(-1px) scale(1.04);
    filter: invert(1) drop-shadow(0 10px 22px rgba(255, 255, 255, 0.28));
}

.brand-logo-hero {
    width: clamp(140px, 26vw, 200px);
    height: auto;
    filter: invert(1) drop-shadow(0 10px 24px rgba(255, 255, 255, 0.14));
}

.brand-logo-footer {
    width: 48px;
    height: auto;
    filter: invert(1) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.12));
}

.nav-capsule {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    gap: 0.2rem;
    padding: 0.32rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 248, 230, 0.06);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    max-width: 100%;
    overflow-x: auto;
}

.nav-capsule a {
    min-width: 92px;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-capsule a:hover,
.nav-capsule a.active {
    color: #fff8e6;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-capsule a.active {
    color: #fff8e6;
    background: rgba(var(--primary-rgb), 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 0 0 1px rgba(var(--primary-rgb), 0.2);
}

.nav-download {
    display: none;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 52px;
    padding: 0 1.7rem;
    border-radius: 999px;
    color: #fff7e8;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 248, 230, 0.1);
    backdrop-filter: blur(18px) saturate(155%);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-cta-order {
    color: #1c160a;
    border-color: rgba(255, 240, 200, 0.55);
    background: linear-gradient(
        180deg,
        rgba(255, 236, 190, 0.82) 0%,
        rgba(224, 192, 120, 0.72) 100%
    );
    box-shadow:
        0 10px 28px rgba(var(--primary-rgb), 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(120, 90, 30, 0.12);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.hero-cta-toolbox {
    color: #fff4d8;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 248, 230, 0.08);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 248, 230, 0.14);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-cta-order:hover {
    color: #141008;
    border-color: rgba(255, 245, 210, 0.7);
    background: linear-gradient(
        180deg,
        rgba(255, 242, 205, 0.9) 0%,
        rgba(232, 200, 130, 0.8) 100%
    );
    box-shadow:
        0 14px 32px rgba(var(--primary-rgb), 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero-cta-toolbox:hover {
    color: #fffaf0;
    background: rgba(255, 248, 230, 0.14);
}

.hero-tagline {
    margin-top: 1.5rem;
    text-align: center;
}

.hero-tagline-main {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.hero-tagline-sub {
    margin: 0.7rem 0 0;
    color: var(--gold-muted);
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-size: clamp(0.82rem, 1.5vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.7;
}

.hero-tagline-stat {
    margin: 0.85rem 0 0;
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-size: clamp(0.78rem, 1.4vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    box-shadow:
        var(--glass-inset),
        0 0 12px rgba(34, 197, 94, 0.35),
        0 0 28px rgba(34, 197, 94, 0.2);
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.55);
    animation: taglineGlow 2.4s ease-in-out infinite;
}

@keyframes taglineGlow {
    0%, 100% {
        box-shadow:
            var(--glass-inset),
            0 0 10px rgba(34, 197, 94, 0.28),
            0 0 22px rgba(34, 197, 94, 0.14);
        text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
        border-color: rgba(34, 197, 94, 0.38);
    }
    50% {
        box-shadow:
            var(--glass-inset),
            0 0 18px rgba(34, 197, 94, 0.55),
            0 0 36px rgba(34, 197, 94, 0.28);
        text-shadow: 0 0 16px rgba(34, 197, 94, 0.75);
        border-color: rgba(34, 197, 94, 0.65);
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(28deg, rgba(var(--primary-rgb), 0.045) 0 1px, transparent 1px 24px),
        linear-gradient(120deg, transparent 38%, rgba(var(--primary-rgb), 0.22) 40%, transparent 43%),
        linear-gradient(28deg, transparent 68%, rgba(var(--accent-rgb), 0.18) 70%, transparent 73%);
    background-size: 120px 120px, 180% 180%, 180% 180%;
    opacity: 0.48;
    animation: backgroundDrift 18s linear infinite;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: -40vh 0;
    pointer-events: none;
    background: var(--bg-deep);
    z-index: -3;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur-strong)) saturate(145%);
    -webkit-backdrop-filter: blur(var(--glass-blur-strong)) saturate(145%);
    border: 1px solid var(--glass-border-gold);
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-mid);
    box-shadow: 0 28px 92px rgba(var(--primary-rgb), 0.16), var(--glass-inset);
}

/* 文字渐变 */
.text-gradient {
    background: linear-gradient(110deg, var(--primary), var(--accent), var(--gold-muted), var(--primary));
    background-size: 240% 240%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 7s ease-in-out infinite;
}

/* 背景光球 */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(56px);
    opacity: 0.32;
    z-index: -1;
    will-change: transform;
}

/* 动画 */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

@keyframes float-logo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55), 0 0 0 0 rgba(249, 115, 22, 0.35);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(239, 68, 68, 0), 0 0 0 6px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0), 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.animate-pulse-ring {
    animation: pulse-ring 2.2s ease-out infinite;
}

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

@keyframes enterUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes enterScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes enterFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.enter {
    opacity: 0;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-duration: 0.9s;
    animation-delay: var(--enter-delay, 0ms);
}

.enter-up { animation-name: enterUp; }
.enter-down { animation-name: enterDown; }
.enter-scale { animation-name: enterScale; }
.enter-fade { animation-name: enterFade; }

.hero-enter .enter-up,
.hero-enter .enter-scale {
    animation-duration: 1s;
}

.animate-float {
    animation: float 28s infinite ease-in-out;
}

.animate-float-logo {
    animation: float-logo 4.5s infinite ease-in-out;
}

.logo-enter-wrap {
    animation: enterScale 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--enter-delay, 0.28s);
}

.logo-enter-wrap .animate-float-logo {
    animation: float-logo 4.5s infinite ease-in-out;
    animation-delay: 1.2s;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.dynamic-bg::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 22% 32%, rgba(var(--primary-rgb), 0.14), transparent 18%),
        radial-gradient(circle at 72% 24%, rgba(var(--accent-rgb), 0.12), transparent 20%),
        radial-gradient(circle at 50% 72%, rgba(var(--secondary-rgb), 0.1), transparent 18%);
    animation: auroraShift 16s ease-in-out infinite alternate;
}

.hero-title {
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 36px rgba(var(--primary-rgb), 0.26);
}

.title-spark {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    color: #ffffff;
    pointer-events: none;
    animation: titleSpark 2.6s ease-in-out infinite;
}

.title-spark::before,
.title-spark::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 999px;
    background: currentColor;
}

.title-spark::before {
    width: 2px;
    height: 10px;
}

.title-spark::after {
    width: 10px;
    height: 2px;
}

.spark-a {
    top: -8px;
    left: 15%;
    color: #fde047;
}

.spark-b {
    top: 36%;
    left: 31%;
    color: var(--gold-muted);
    animation-delay: 420ms;
}

.spark-c {
    right: 8%;
    top: 18%;
    color: var(--accent);
    animation-delay: 900ms;
}

.spark-d {
    right: 28%;
    bottom: 18%;
    color: var(--primary);
    animation-delay: 1.3s;
}

.section-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 560ms ease,
        transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-reveal .reveal-child,
.section-reveal .reveal-scale {
    opacity: 0;
}

.section-reveal.is-visible .reveal-child {
    animation: enterUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--enter-delay, 0ms);
}

.section-reveal.is-visible .reveal-scale {
    animation: enterScale 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--enter-delay, 120ms);
}

.hero-section.section-reveal {
    opacity: 1;
    transform: none;
    filter: none;
}

.icon-lite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    height: 1.25em;
    font-weight: 800;
    line-height: 1;
}

.icon-lite.icon-svg svg {
    display: block;
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
}

.feature-icon-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}

/* Feature Ticker */
.feature-ticker {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    position: relative;
}

.feature-ticker::before,
.feature-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.feature-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-deep), transparent);
}

.feature-ticker::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-deep), transparent);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
    width: max-content;
}

.ticker-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: #cbd5e1;
    padding: 0 1.5rem;
    transition: color 0.3s ease;
}

.ticker-item:hover {
    color: var(--primary);
}

.ticker-sep {
    font-size: 0.5rem;
    color: rgba(var(--primary-rgb), 0.4);
    flex-shrink: 0;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.feature-ticker:hover .ticker-track {
    animation-play-state: paused;
}

/* Collaboration Section */
.collab-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.collab-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 2.5rem 3rem;
    border-radius: 1.25rem;
    max-width: 48rem;
    margin: 0 auto;
}

.collab-text {
    flex: 1;
}

.collab-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.collab-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #94a3b8;
}

.collab-qrcode {
    flex-shrink: 0;
    text-align: center;
}

.collab-qr-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(var(--primary-rgb), 0.25);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.collab-qrcode:hover .collab-qr-wrapper {
    border-color: rgba(var(--primary-rgb), 0.6);
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.25);
}

.collab-qr-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collab-qr-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collab-qrcode:hover .collab-qr-overlay {
    opacity: 1;
}

.collab-qr-label {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

@media (max-width: 768px) {
    .collab-card {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }

    .collab-title {
        font-size: 1.35rem;
    }

    .collab-desc {
        font-size: 0.9rem;
    }

    .collab-qr-wrapper {
        width: 140px;
        height: 140px;
    }
}

/* Pain Points Section */
.pain-points-section {
    padding-top: 3.25rem;
    padding-bottom: 3.75rem;
    background: linear-gradient(180deg, transparent 0%, rgba(var(--primary-rgb), 0.03) 50%, transparent 100%);
}

.pain-points-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.pain-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pain-stat-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    box-shadow: var(--glass-inset);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    border-left: 3px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pain-stat-card:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.border-l-red {
    border-left-color: #ef4444;
}

.border-l-orange {
    border-left-color: #f97316;
}

.border-l-purple {
    border-left-color: var(--primary);
}

.border-l-blue {
    border-left-color: #3b82f6;
}

.pain-stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    min-width: 2.5rem;
}

.pain-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.4;
}

.pain-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pain-hook {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.pain-desc {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #94a3b8;
}

.pain-conclusion {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.7;
    color: #cbd5e1;
    margin-top: 0.5rem;
    padding: 1rem 1.25rem;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 0.75rem;
}

/* Action Modules */
.action-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem 1.15rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    border: 1px solid var(--glass-border);
    border-radius: 0.85rem;
    box-shadow: var(--glass-inset);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.action-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.12);
}

.action-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.action-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1.2;
}

.action-sub {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

/* Price Tier Comparison Strip */
.price-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.25rem 0 0.5rem;
    flex-wrap: wrap;
}

.price-compare-item {
    background: var(--glass-bg-mid);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.6rem;
    padding: 0.5rem 0.9rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.price-compare-item:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.5);
}

.price-tag {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f87171;
}

.price-unit {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
}

.price-compare-sep {
    font-size: 1.2rem;
    font-weight: 900;
    color: #475569;
    min-width: 1rem;
    text-align: center;
}

.price-compare-label {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pain-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .pain-stat-card {
        padding: 1rem 1.15rem;
        gap: 0.75rem;
    }

    .pain-stat-label {
        font-size: 0.72rem;
        min-width: auto;
    }

    .pain-stat-value {
        font-size: 0.95rem;
    }

    .pain-hook {
        font-size: 1.35rem;
    }

    .pain-desc {
        font-size: 0.92rem;
    }

    .action-modules {
        gap: 0.5rem;
    }

    .action-card {
        padding: 0.75rem 0.9rem;
    }

    .action-title {
        font-size: 0.92rem;
    }

    .action-sub {
        font-size: 0.65rem;
    }

    .price-compare {
        gap: 0.35rem;
    }

    .price-compare-item {
        padding: 0.4rem 0.7rem;
    }

    .price-tag {
        font-size: 1rem;
    }

    .price-unit {
        font-size: 0.62rem;
    }

    .price-compare-sep {
        font-size: 1rem;
    }

    .price-compare-label {
        font-size: 0.72rem;
    }

    .pain-points-section {
        padding-top: 2.5rem;
        padding-bottom: 2.7rem;
    }
}

/* Pricing Comparison Section */
.pricing-section {
    padding-top: 3.25rem;
    padding-bottom: 3.75rem;
}

.pricing-card {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    overflow: hidden;
}

.pricing-vs {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}

.pricing-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
}

.pricing-them {
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.22);
    position: relative;
}

.pricing-them::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, transparent 40%, rgba(239, 68, 68, 0.1));
    pointer-events: none;
}

.pricing-us {
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.18), rgba(34, 197, 94, 0.06));
    border: 1px solid rgba(var(--primary-rgb), 0.45);
    position: relative;
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.2);
}

.pricing-us::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), transparent 60%);
    pointer-events: none;
}

.pricing-side-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

.pricing-them .pricing-side-label {
    color: #f87171;
}

.pricing-us .pricing-side-label {
    color: var(--primary);
}

.pricing-price-old {
    font-size: 2.8rem;
    font-weight: 900;
    color: #f87171;
    text-decoration: line-through;
    text-decoration-color: rgba(248, 113, 113, 0.6);
    text-decoration-thickness: 3px;
    line-height: 1.1;
}

.pricing-price-new {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(110deg, var(--gold-light), var(--gold-muted), var(--primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 6s ease-in-out infinite;
}

.pricing-unit {
    font-size: 1rem;
    font-weight: 600;
    -webkit-text-fill-color: #f87171;
}

.pricing-unit-new {
    font-size: 1.1rem;
    font-weight: 600;
    -webkit-text-fill-color: var(--primary);
}

.pricing-tenure {
    font-size: 1.15rem;
    font-weight: 700;
    -webkit-text-fill-color: #cbd5e1;
}

.pricing-note {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
}

.pricing-breakdown {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.pricing-breakdown strong {
    color: #fbbf24;
    font-weight: 800;
}

.pricing-vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    flex-shrink: 0;
    z-index: 2;
}

.pricing-vs-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.18);
    border: 2px solid rgba(var(--primary-rgb), 0.4);
    color: var(--primary);
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.pricing-tagline {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-tagline p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .pricing-vs {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pricing-vs-divider {
        padding: 0.25rem 0;
    }

    .pricing-vs-text {
        width: 36px;
        height: 36px;
        font-size: 0.7rem;
    }

    .pricing-price-old {
        font-size: 2.2rem;
    }

    .pricing-price-new {
        font-size: 2.6rem;
    }

    .pricing-side {
        padding: 1.5rem 1rem;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .pricing-section {
        padding-top: 2.5rem;
        padding-bottom: 2.7rem;
    }
}

/* Slogan + Live Stats */
.pain-bottom {
    margin-top: 3rem;
    text-align: center;
}

.pain-slogan {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 1.75rem;
    letter-spacing: 0.04em;
}

.pain-live-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    border: 1px solid var(--glass-border-gold);
    border-radius: 1rem;
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.live-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: livePulse 1.5s ease-in-out infinite;
}

.live-dot-hero {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
    animation: livePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Premium Hero Card */
.hero-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: linear-gradient(160deg, rgba(255, 248, 230, 0.07), rgba(var(--primary-rgb), 0.08));
    backdrop-filter: blur(var(--glass-blur-strong)) saturate(145%);
    -webkit-backdrop-filter: blur(var(--glass-blur-strong)) saturate(145%);
    border: 1px solid var(--glass-border-gold);
    border-radius: 1.5rem;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.hero-card:hover {
    border-color: rgba(var(--primary-rgb), 0.45);
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.14),
        0 28px 72px rgba(var(--primary-rgb), 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Hero Buttons */
.hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.hero-btn-ghost {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--primary-rgb), 0.5);
    transform: translateY(-2px);
}

.hero-btn-outline {
    color: #fff;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.35);
}

.hero-btn-outline:hover {
    background: rgba(var(--primary-rgb), 0.18);
    border-color: rgba(var(--primary-rgb), 0.6);
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.25);
    transform: translateY(-2px);
}

.hero-btn-video {
    color: #fff;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.hero-btn-video:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
}

.hero-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.35);
}

.hero-btn-primary:hover {
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.5);
    transform: translateY(-2px);
}

/* Hero Divider */
.hero-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.25), transparent);
    margin: 1.75rem 0;
}

/* Hero Stats */
.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .hero-card {
        padding: 1.5rem 1rem;
        border-radius: 1.15rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stat-value {
        font-size: 1.25rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-divider {
        margin: 1.25rem 0;
    }
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

.live-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
}

.live-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.live-unit {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
}

.live-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    .pain-slogan {
        font-size: 1.3rem;
    }

    .pain-live-stats {
        gap: 1.25rem;
        padding: 0.85rem 1.5rem;
    }

    .live-value {
        font-size: 1.1rem;
    }
}

.preview-section {
    padding-top: 3.25rem;
    padding-bottom: 3.75rem;
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.preview-heading {
    margin-bottom: 1.35rem;
}

.preview-heading h2 {
    font-size: 1.95rem;
    line-height: 1.18;
    margin-bottom: 0.65rem;
}

.preview-heading p {
    font-size: 0.98rem;
    line-height: 1.65;
}

.preview-window {
    max-width: 58rem;
}

.preview-window > .relative {
    aspect-ratio: 16 / 9;
}

#imageCarousel {
    height: 100%;
}

.preview-slide {
    height: 100%;
    padding: 0.85rem 1rem 1.15rem;
}

.preview-slide > .relative {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.preview-slide img {
    display: block;
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.download-section {
    padding-top: 4.25rem;
    padding-bottom: 5rem;
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

.download-card {
    padding: 2.35rem;
    border-radius: 1.6rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-gold);
    backdrop-filter: blur(var(--glass-blur-strong)) saturate(145%);
    -webkit-backdrop-filter: blur(var(--glass-blur-strong)) saturate(145%);
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.download-title {
    margin-bottom: 0.9rem;
    font-size: 2.35rem;
    line-height: 1.15;
    font-weight: 800;
}

.download-copy {
    margin-bottom: 1.75rem;
    font-size: 1.02rem;
    line-height: 1.75;
}

.download-actions {
    gap: 0.9rem;
}

.download-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
    min-height: 54px;
    min-width: 188px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 750;
    text-align: center;
    font-family: inherit;
    line-height: inherit;
    color: #fff4d8 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 999px;
    background: rgba(255, 248, 230, 0.1) !important;
    backdrop-filter: blur(16px) saturate(155%);
    -webkit-backdrop-filter: blur(16px) saturate(155%);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.download-action:hover,
.download-action:focus-visible {
    transform: translateY(-2px);
    color: #fffaf0 !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    background: rgba(255, 248, 230, 0.16) !important;
    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.36);
    outline: none;
}

#downloadSoftwareButton {
    color: #1c160a !important;
    border-color: rgba(255, 240, 200, 0.5) !important;
    background: linear-gradient(
        180deg,
        rgba(255, 236, 190, 0.82) 0%,
        rgba(224, 192, 120, 0.72) 100%
    ) !important;
    box-shadow:
        0 8px 22px rgba(var(--primary-rgb), 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#downloadSoftwareButton:hover,
#downloadSoftwareButton:focus-visible {
    color: #141008 !important;
    border-color: rgba(255, 245, 210, 0.7) !important;
    background: linear-gradient(
        180deg,
        rgba(255, 242, 205, 0.9) 0%,
        rgba(232, 200, 130, 0.8) 100%
    ) !important;
    box-shadow:
        0 12px 28px rgba(var(--primary-rgb), 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

#downloadSoftwareButton .absolute.inset-0 {
    display: none;
}

.download-action .download-sub {
    color: rgba(255, 244, 216, 0.72) !important;
}

#downloadSoftwareButton .download-sub {
    color: rgba(28, 22, 10, 0.7) !important;
}

.download-action-backup {
    color: #fff4d8 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 248, 230, 0.1) !important;
}

.download-action-backup:hover,
.download-action-backup:focus-visible {
    color: #fffaf0 !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    background: rgba(255, 248, 230, 0.16) !important;
}

.download-action-text {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    line-height: 1.2;
}

.download-sub {
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
}

.download-tip-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(7, 6, 5, 0.55);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.download-tip-modal.hidden {
    display: none;
}

.download-tip-dialog {
    position: relative;
    width: 100%;
    max-width: 902px;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    padding: 2rem;
    border: 1px solid var(--glass-border-gold);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(255, 248, 230, 0.08), rgba(var(--primary-rgb), 0.1));
    backdrop-filter: blur(var(--glass-blur-strong)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--glass-blur-strong)) saturate(150%);
    box-shadow: var(--glass-shadow), var(--glass-inset);
    color: var(--text);
    text-align: left;
}

.download-tip-dialog h3 {
    margin: 0 2rem 0.65rem 0;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 800;
}

.download-tip-dialog > p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.7;
}

.download-tip-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.download-tip-close:hover,
.download-tip-close:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: var(--primary);
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
}

.image-modal.hidden {
    display: none;
}

.image-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 248, 230, 0.12);
    color: #fff;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.image-modal-close:hover,
.image-modal-close:focus-visible {
    transform: scale(1.05);
    color: var(--gold-light);
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 248, 230, 0.18);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    outline: none;
}

@media (max-width: 768px) {
    .image-modal-close {
        top: 0.85rem;
        right: 0.85rem;
        width: 46px;
        height: 46px;
    }
}

.image-modal-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 56rem);
    max-height: min(90vh, 920px);
    overflow: auto;
    padding: 3.25rem 1rem 1rem;
}

.image-modal-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: min(80rem, 96vw);
    margin: 0 auto;
    border-radius: 0.85rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    background: #fff;
}

.image-modal-image--compact {
    width: min(320px, 78vw);
    max-width: min(320px, 78vw);
}

.image-modal-single {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-modal-pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.image-modal-pair-title {
    margin: 0 0 0.85rem;
}

.image-modal-pair-title.hidden {
    display: none;
}

.image-modal-pair-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
}

.image-modal-pair-grid--triple .image-modal-qr-card img {
    width: min(220px, 28vw);
}

.image-modal-qr-card.hidden {
    display: none;
}

.image-modal-qr-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.image-modal-qr-card img {
    display: block;
    width: min(280px, 42vw);
    height: auto;
    border-radius: 0.85rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
    background: #fff;
}

.image-modal-caption {
    margin: 0 0 0.85rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    background: rgba(18, 16, 12, 0.72);
    color: var(--gold-light);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-inset);
}

.image-modal-qr-card .image-modal-caption,
.image-modal-qr-card .image-modal-qr-label {
    margin: 0;
}

@media (max-width: 640px) {
    .image-modal-qr-card img {
        width: min(240px, 78vw);
    }

    .image-modal-pair-grid--triple .image-modal-qr-card img {
        width: min(200px, 72vw);
    }
}

.download-tip-actions {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.download-tip-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.download-tip-step {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0.85rem;
    border-radius: 0.9rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    box-shadow: var(--glass-inset);
}

.download-tip-step figcaption {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 800;
}

.download-tip-step figcaption span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.88rem;
}

.download-tip-step img {
    display: block;
    width: 100%;
    height: 209px;
    margin-top: auto;
    object-fit: contain;
    border-radius: 0.55rem;
    background: var(--glass-bg-mid);
}

.download-tip-primary,
.download-tip-help,
.download-tip-versions,
.download-tip-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 1rem 1.4rem;
    border-radius: 999px;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.download-tip-primary {
    border: 1px solid var(--glass-border-gold);
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.38), rgba(var(--secondary-rgb), 0.28), rgba(var(--accent-rgb), 0.22));
    color: #fff;
    backdrop-filter: blur(14px) saturate(145%);
    -webkit-backdrop-filter: blur(14px) saturate(145%);
    box-shadow: 0 16px 36px rgba(var(--primary-rgb), 0.28), var(--glass-inset);
}

.download-tip-help {
    border: 1px solid var(--glass-border-gold);
    background: var(--glass-bg-gold);
    color: var(--gold-light);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    box-shadow: var(--glass-inset);
}

.download-tip-versions {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    box-shadow: var(--glass-inset);
}

.download-tip-primary:hover,
.download-tip-help:hover,
.download-tip-versions:hover,
.download-tip-video:hover,
.download-tip-primary:focus-visible,
.download-tip-help:focus-visible,
.download-tip-versions:focus-visible,
.download-tip-video:focus-visible {
    transform: translateY(-1px);
}

.download-tip-primary:hover,
.download-tip-primary:focus-visible {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 48%, var(--gold-muted) 100%);
    box-shadow: 0 20px 44px rgba(var(--primary-rgb), 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.download-tip-help:hover,
.download-tip-help:focus-visible {
    border-color: rgba(245, 158, 11, 0.85);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.32), rgba(245, 158, 11, 0.18));
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.2);
}

.download-tip-versions:hover,
.download-tip-versions:focus-visible {
    border-color: rgba(184, 148, 74, 0.85);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.3), rgba(14, 165, 233, 0.16));
    box-shadow: 0 14px 30px rgba(6, 182, 212, 0.18);
}

.download-tip-video {
    border: 1px solid rgba(52, 211, 153, 0.55);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    color: #6ee7b7;
    box-shadow: 0 12px 26px rgba(16, 185, 129, 0.1);
}

.download-tip-video:hover,
.download-tip-video:focus-visible {
    border-color: rgba(52, 211, 153, 0.85);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.16));
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.18);
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes backgroundDrift {
    0% { background-position: 0 0, 0% 0%, 100% 0%; }
    100% { background-position: 120px 120px, 100% 100%, 0% 100%; }
}

@keyframes auroraShift {
    0% { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.75; }
    100% { transform: translate3d(2%, 2%, 0) scale(1.05); opacity: 1; }
}

@keyframes titleSpark {
    0%, 100% {
        opacity: 0.22;
        transform: translate3d(0, 0, 0) scale(0.72) rotate(0deg);
        filter: drop-shadow(0 0 4px currentColor);
    }
    48% {
        opacity: 1;
        transform: translate3d(4px, -6px, 0) scale(1.25) rotate(45deg);
        filter: drop-shadow(0 0 14px currentColor);
    }
}

/* 布局工具类 */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
    .container { max-width: 768px; }
}

@media (min-width: 1024px) {
    .container { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1280px) {
    .container { max-width: 1280px; }
}

/* 常用工具类 */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-w-full { min-width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }

.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-center { text-align: center; }
.text-white { color: #ffffff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-primary { color: var(--primary); }
.text-green-400 { color: #4ade80; }
.text-yellow-400 { color: #facc15; }
.text-purple-100 { color: #f5edd8; }
.text-yellow-300 { color: #fde047; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }

.uppercase { text-transform: uppercase; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }

.bg-dark { background-color: var(--bg); }
.bg-darker { background-color: var(--bg-deep); }
.bg-black { background-color: #000000; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }

.from-primary { --tw-gradient-from: var(--primary); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(var(--primary-rgb), 0)); }
.from-secondary { --tw-gradient-from: var(--secondary); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(var(--secondary-rgb), 0)); }
.to-accent { --tw-gradient-to: var(--accent); }
.to-secondary { --tw-gradient-to: var(--secondary); }
.to-primary { --tw-gradient-to: var(--primary); }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-hidden { overflow-x: hidden; }

.cursor-pointer { cursor: pointer; }

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

.hover\:text-white:hover { color: #ffffff; }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:bg-primary\/20:hover { background-color: rgba(var(--primary-rgb), 0.2); }
.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:border-primary\/50:hover { border-color: rgba(var(--primary-rgb), 0.5); }
.hover\:border-primary\/60:hover { border-color: rgba(var(--primary-rgb), 0.6); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:scale-110:hover { transform: scale(1.1); }

.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:opacity-40 { opacity: 0.4; }
.group:hover .group-hover\:opacity-0 { opacity: 0; }
.group:hover .group-hover\:scale-\[1\.02\] { transform: scale(1.02); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:translate-x-full { transform: translateX(100%); }
.group:hover .group-hover\:animate-bounce { animation: bounce 1s infinite; }

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* 响应式 */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:block { display: block; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:block { display: block; }
    .md\:w-1\/2 { width: 50%; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:text-right { text-align: right; }
}

@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:pt-48 { padding-top: 12rem; }
    .lg\:pb-32 { padding-bottom: 8rem; }
}

/* 特殊样式 */
.min-h-screen { min-height: 100vh; }
.max-h-\[90vh\] { max-height: 90vh; }
.w-2 { width: 0.5rem; }
.h-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }
.h-20 { height: 5rem; }

.opacity-0 { opacity: 0; }
.opacity-60 { opacity: 0.6; }

.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-full { transform: translateX(-100%); }

.top-0 { top: 0; }
.top-6 { top: 1.5rem; }
.top-1\/2 { top: 50%; }
.right-0 { right: 0; }
.right-6 { right: 1.5rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }

.-top-20 { top: -5rem; }
.-left-20 { left: -5rem; }
.-top-40 { top: -10rem; }
.-right-40 { right: -10rem; }
.-bottom-40 { bottom: -10rem; }
.-left-40 { left: -10rem; }

.w-\[500px\] { width: 500px; }
.h-\[500px\] { height: 500px; }
.w-\[400px\] { width: 400px; }
.h-\[400px\] { height: 400px; }
.w-\[600px\] { width: 600px; }
.h-\[600px\] { height: 600px; }

.pointer-events-none { pointer-events: none; }

.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

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

.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.ml-6 { margin-left: 1.5rem; }
.ml-10 { margin-left: 2.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }

.bg-red-500\/80 { background-color: rgba(239, 68, 68, 0.8); }
.bg-yellow-500\/80 { background-color: rgba(234, 179, 8, 0.8); }
.bg-green-500\/80 { background-color: rgba(34, 197, 94, 0.8); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-black\/90 { background-color: rgba(0, 0, 0, 0.9); }
.bg-primary\/5 { background-color: rgba(var(--primary-rgb), 0.05); }
.bg-primary\/10 { background-color: rgba(var(--primary-rgb), 0.1); }
.bg-primary\/20 { background-color: rgba(var(--primary-rgb), 0.2); }
.bg-secondary\/20 { background-color: rgba(var(--secondary-rgb), 0.2); }
.bg-accent\/20 { background-color: rgba(var(--accent-rgb), 0.2); }
.bg-accent { background-color: var(--accent); }

.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-primary\/20 { border-color: rgba(var(--primary-rgb), 0.2); }
.border-primary\/30 { border-color: rgba(var(--primary-rgb), 0.3); }
.border-primary\/40 { border-color: rgba(var(--primary-rgb), 0.4); }
.border-primary\/50 { border-color: rgba(var(--primary-rgb), 0.5); }

.shadow-primary\/30 { box-shadow: 0 20px 25px -5px rgba(var(--primary-rgb), 0.3), 0 10px 10px -5px rgba(var(--primary-rgb), 0.3); }
.shadow-primary\/50 { box-shadow: 0 20px 25px -5px rgba(var(--primary-rgb), 0.5), 0 10px 10px -5px rgba(var(--primary-rgb), 0.5); }
.shadow-secondary\/20 { box-shadow: 0 20px 25px -5px rgba(var(--secondary-rgb), 0.2), 0 10px 10px -5px rgba(var(--secondary-rgb), 0.2); }
.shadow-accent\/20 { box-shadow: 0 20px 25px -5px rgba(var(--accent-rgb), 0.2), 0 10px 10px -5px rgba(var(--accent-rgb), 0.2); }

.text-purple-100\/80 { color: rgba(245, 237, 216, 0.8); }

.border-opacity-50 { --tw-border-opacity: 0.5; }

.delay-100 { transition-delay: 100ms; }

.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0)); }
.via-white\/20 { --tw-gradient-stops: var(--tw-gradient-from), rgba(255, 255, 255, 0.2), var(--tw-gradient-to, rgba(255, 255, 255, 0)); }
.to-transparent { --tw-gradient-to: transparent; }
.via-primary\/5 { --tw-gradient-stops: var(--tw-gradient-from), rgba(var(--primary-rgb), 0.05), var(--tw-gradient-to, rgba(var(--primary-rgb), 0)); }

.text-\[11px\] { font-size: 11px; }

.blur-\[100px\] { filter: blur(100px); }

.rounded-\[40px\] { border-radius: 40px; }

.from-primary\/40 { --tw-gradient-from: rgba(var(--primary-rgb), 0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(var(--primary-rgb), 0)); }
.from-secondary\/40 { --tw-gradient-from: rgba(var(--secondary-rgb), 0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(var(--secondary-rgb), 0)); }

.w-px { width: 1px; }

@media (min-width: 640px) {
    .sm\:hidden { display: none; }
}

@media (min-width: 768px) {
    .md\:hidden { display: none; }
}

@media (max-width: 1100px) {
    .nav-capsule a {
        min-width: auto;
        padding: 0.7rem 0.85rem;
        font-size: 0.85rem;
    }

    .nav-download {
        padding: 0 0.9rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .site-nav {
        top: 14px;
        width: min(calc(100% - 24px), 80rem);
    }

    .nav-shell {
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
    }

    .nav-spacer {
        display: none;
    }

    .nav-brand span {
        display: none;
    }

    .nav-capsule {
        justify-self: end;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-capsule::-webkit-scrollbar {
        display: none;
    }

    .nav-capsule a {
        min-width: auto;
        padding: 0.68rem 0.78rem;
        white-space: nowrap;
        font-size: 0.82rem;
    }

    .hero-cta-row {
        gap: 0.75rem;
        margin-top: 1.35rem;
    }

    .hero-cta {
        min-height: 50px;
        padding: 0 1.35rem;
        font-size: 0.95rem;
    }

    .hero-tagline {
        margin-top: 1.2rem;
    }

    #features.py-24 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    #features .mb-16 {
        margin-bottom: 1.8rem;
    }

    #features .text-4xl {
        font-size: 1.75rem;
        line-height: 1.22;
    }

    #features .grid {
        gap: 1rem;
    }

    #features .glass-card {
        padding: 1.15rem;
        border-radius: 1rem;
    }

    #features .w-14,
    #features .h-14 {
        width: 2.75rem;
        height: 2.75rem;
    }

    #features .mb-6 {
        margin-bottom: 0.9rem;
    }

    #features h3 {
        margin-bottom: 0.55rem;
        font-size: 1.12rem;
        line-height: 1.35;
    }

    #features p {
        font-size: 0.92rem;
        line-height: 1.58;
    }

    .preview-section {
        padding-top: 2.5rem;
        padding-bottom: 2.7rem;
    }

    .preview-heading {
        margin-bottom: 1rem;
    }

    .preview-heading h2 {
        font-size: 1.7rem;
    }

    .preview-heading p {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .preview-window {
        border-radius: 0.9rem;
    }

    .preview-window .h-12 {
        height: 2.25rem;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .preview-window .w-3,
    .preview-window .h-3 {
        width: 0.55rem;
        height: 0.55rem;
    }

    .preview-window .ml-6 {
        margin-left: 0.75rem;
    }

    .preview-slide {
        padding: 0.45rem 0.45rem 0.7rem;
    }

    .preview-slide img {
        width: auto;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 0.65rem;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    }

    .preview-section .absolute.bottom-4 {
        bottom: 0.45rem;
    }

    .download-section {
        padding-top: 3.5rem;
        padding-bottom: 4rem;
    }

    .download-card {
        padding: 1.65rem;
        border-radius: 1.25rem;
    }

    .download-title {
        font-size: 1.85rem;
    }

    .download-action {
        width: 100%;
        max-width: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body::before,
    .dynamic-bg::before,
    .text-gradient,
    .animate-float,
    .animate-float-logo,
    .animate-pulse,
    .animate-fade-in-up,
    .title-spark,
    .enter,
    .enter-up,
    .enter-down,
    .enter-scale,
    .enter-fade,
    .logo-enter-wrap,
    .hero-tagline-stat,
    .section-reveal.is-visible .reveal-child,
    .section-reveal.is-visible .reveal-scale {
        animation: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }

    .section-reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

@media (max-width: 640px) {
    .download-tip-modal {
        align-items: flex-start;
        padding: 0.75rem;
    }

    .download-tip-dialog {
        max-height: calc(100vh - 1.5rem);
        padding: 1.25rem 1rem;
        border-radius: 0.9rem;
    }

    .download-tip-dialog h3 {
        font-size: 1.25rem;
    }

    .download-tip-steps {
        grid-template-columns: 1fr;
    }

    .download-tip-step:last-child {
        grid-column: auto;
    }

    .download-tip-step img {
        height: auto;
        max-height: 360px;
    }

    .download-tip-actions {
        gap: 0.7rem;
    }

    .download-tip-primary,
    .download-tip-help,
    .download-tip-versions,
    .download-tip-video {
        min-height: 52px;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}

/* Feedback Carousel */
.feedback-section {
    padding: 3.5rem 0;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 1px 520px;
}

.feedback-carousel-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

.feedback-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: feedback-scroll 60s linear infinite;
    position: relative;
}

.feedback-track::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.feedback-track:hover {
    animation-play-state: paused;
}

.feedback-track-reverse {
    animation-name: feedback-scroll-reverse;
    animation-duration: 70s;
}

@keyframes feedback-scroll-reverse {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.feedback-rate-note {
    margin: 0.65rem auto 0;
    color: #4ade80;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 0 14px rgba(74, 222, 128, 0.35);
}

.effect-note {
    margin: 0.75rem auto 0;
    max-width: 36rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.effect-empty {
    margin: 0 auto;
    padding: 1.5rem;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
}

.feedback-item {
    flex-shrink: 0;
    width: 260px;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-inset);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feedback-item:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.18);
}

.feedback-item img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: top center;
}

.effect-section .feedback-item {
    width: 400px;
}

.effect-section .feedback-item img {
    max-height: 480px;
}

@keyframes feedback-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .feedback-section {
        padding: 2.5rem 0;
    }

    .feedback-track {
        gap: 0.75rem;
    }

    .feedback-item {
        width: 200px;
    }

    .feedback-item img {
        max-height: 320px;
    }

    .effect-section .feedback-item {
        width: 280px;
    }

    .effect-section .feedback-item img {
        max-height: 380px;
    }

    @keyframes feedback-scroll {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(-50%);
        }
    }
}


.border-accent\/50 { border-color: rgba(var(--accent-rgb), 0.5); }
.hover\:border-accent:hover { border-color: var(--accent); }
.hover\:shadow-primary\/40:hover { box-shadow: 0 10px 15px -3px rgba(var(--primary-rgb), 0.4), 0 4px 6px -2px rgba(var(--primary-rgb), 0.25); }
.hover\:shadow-accent\/30:hover { box-shadow: 0 10px 15px -3px rgba(var(--accent-rgb), 0.3), 0 4px 6px -2px rgba(var(--accent-rgb), 0.2); }
.shadow-primary\/40 { box-shadow: 0 20px 25px -5px rgba(var(--primary-rgb), 0.4), 0 10px 10px -5px rgba(var(--primary-rgb), 0.25); }


/* footer glass */
footer.py-12 {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    border-top: 1px solid var(--glass-border-gold) !important;
    box-shadow: var(--glass-inset);
}

/* download action glass — handled above in .download-action */

/* preview window glass polish */
.preview-window.glass-card {
    background: var(--glass-bg);
}

/* hero buttons glass */
.hero-btn-ghost,
.hero-btn-outline,
.hero-btn-video {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 248, 230, 0.1) !important;
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-btn-primary {
    color: #1c160a !important;
    border: 1px solid rgba(255, 240, 200, 0.5) !important;
    background: linear-gradient(
        180deg,
        rgba(255, 236, 190, 0.82) 0%,
        rgba(224, 192, 120, 0.72) 100%
    ) !important;
    backdrop-filter: blur(16px) saturate(155%);
    -webkit-backdrop-filter: blur(16px) saturate(155%);
    box-shadow:
        0 8px 22px rgba(var(--primary-rgb), 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
