/* 码枪堂 - 静态样式文件 */

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

html {
    background: #050508;
    overscroll-behavior-y: none;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    min-height: 100%;
    background:
        radial-gradient(circle at 50% 12%, rgba(139, 92, 246, 0.18), transparent 28%),
        linear-gradient(180deg, #08080f 0%, #050508 100%);
    background-color: #050508;
    color: #ffffff;
    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;
}

/* 直播弹幕飘屏 */
.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: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
    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(236, 72, 153, 0.14);
    border-color: rgba(236, 72, 153, 0.22);
    text-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6, #6366f1);
    border-radius: 10px;
}

/* 选择文本样式 */
::selection {
    background-color: rgba(139, 92, 246, 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: 1fr auto 1fr;
    align-items: center;
    min-height: 58px;
}

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

.nav-capsule {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    gap: 0.2rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(18, 18, 28, 0.72);
    box-shadow: 0 14px 52px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

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

.nav-capsule a:first-child,
.nav-capsule a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    justify-self: end;
    min-height: 44px;
    padding: 0 1.15rem;
    border-radius: 0.85rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.34);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 62px rgba(139, 92, 246, 0.46);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 24px),
        linear-gradient(120deg, transparent 38%, rgba(99, 102, 241, 0.32) 40%, transparent 43%),
        linear-gradient(28deg, transparent 68%, rgba(236, 72, 153, 0.24) 70%, transparent 73%);
    background-size: 120px 120px, 180% 180%, 180% 180%;
    opacity: 0.62;
    animation: backgroundDrift 18s linear infinite;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: -40vh 0;
    pointer-events: none;
    background: #050508;
    z-index: -3;
}

.glass-card {
    background: rgba(18, 18, 28, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.18);
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.24);
}

/* 文字渐变 */
.text-gradient {
    background: linear-gradient(110deg, #8b5cf6, #ec4899, #22d3ee, #8b5cf6);
    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(72px);
    opacity: 0.38;
    z-index: -1;
}

/* 动画 */
@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);
    }
}

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

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

.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(34, 211, 238, 0.12), transparent 18%),
        radial-gradient(circle at 72% 24%, rgba(139, 92, 246, 0.16), transparent 20%),
        radial-gradient(circle at 50% 72%, rgba(236, 72, 153, 0.12), 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(139, 92, 246, 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: #22d3ee;
    animation-delay: 420ms;
}

.spark-c {
    right: 8%;
    top: 18%;
    color: #ec4899;
    animation-delay: 900ms;
}

.spark-d {
    right: 28%;
    bottom: 18%;
    color: #a78bfa;
    animation-delay: 1.3s;
}

.section-reveal {
    opacity: 0;
    transform: translateY(42px);
    filter: blur(6px);
    transition:
        opacity 780ms ease,
        transform 780ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 780ms ease;
}

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

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

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

.glass-card:hover {
    border-color: rgba(139, 92, 246, 0.42);
    box-shadow: 0 28px 92px rgba(139, 92, 246, 0.18);
}

/* Feature Ticker */
.feature-ticker {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    background: rgba(139, 92, 246, 0.04);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    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, #050508, transparent);
}

.feature-ticker::after {
    right: 0;
    background: linear-gradient(270deg, #050508, 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: #8b5cf6;
}

.ticker-sep {
    font-size: 0.5rem;
    color: rgba(139, 92, 246, 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(139, 92, 246, 0.25);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.collab-qrcode:hover .collab-qr-wrapper {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 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(139, 92, 246, 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: rgba(18, 18, 28, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    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: #8b5cf6;
}

.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(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.75rem;
}

@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;
    }

    .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(139, 92, 246, 0.18), rgba(34, 197, 94, 0.06));
    border: 1px solid rgba(139, 92, 246, 0.45);
    position: relative;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.2);
}

.pricing-us::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 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: #a78bfa;
}

.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, #c084fc, #f472b6, #fbbf24);
    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: #a78bfa;
}

.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(139, 92, 246, 0.18);
    border: 2px solid rgba(139, 92, 246, 0.4);
    color: #a78bfa;
    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: rgba(18, 18, 28, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.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(18, 18, 28, 0.85), rgba(30, 27, 50, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 1.5rem;
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.08),
        0 24px 64px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.14),
        0 28px 72px rgba(139, 92, 246, 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(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.hero-btn-outline {
    color: #fff;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.35);
}

.hero-btn-outline:hover {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 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, #8b5cf6, #ec4899);
    border: none;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35);
}

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

/* Hero Divider */
.hero-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 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;
}

.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;
}

.download-card {
    padding: 2.35rem;
    border-radius: 1.6rem;
}

.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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
    min-height: 58px;
    min-width: 188px;
    padding: 0.78rem 1.25rem;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

.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;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(14px);
}

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

.download-tip-dialog {
    position: relative;
    width: min(100%, 460px);
    padding: 1.65rem;
    border: 1px solid rgba(139, 92, 246, 0.45);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
    color: #fff;
    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);
}

.download-tip-actions {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.download-tip-primary,
.download-tip-secondary,
.download-tip-help,
.download-tip-versions,
.download-tip-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    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 rgba(192, 132, 252, 0.75);
    background: linear-gradient(90deg, #8b5cf6 0%, #6366f1 48%, #ec4899 100%);
    color: #fff;
    box-shadow: 0 16px 36px rgba(139, 92, 246, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.download-tip-secondary {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.download-tip-help {
    border: 1px solid rgba(245, 158, 11, 0.6);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.24), rgba(245, 158, 11, 0.12));
    color: #fde68a;
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.12);
}

.download-tip-versions {
    border: 1px solid rgba(34, 211, 238, 0.55);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.2), rgba(14, 165, 233, 0.1));
    color: #67e8f9;
    box-shadow: 0 12px 26px rgba(6, 182, 212, 0.1);
}

.download-tip-primary:hover,
.download-tip-secondary:hover,
.download-tip-help:hover,
.download-tip-versions:hover,
.download-tip-video:hover,
.download-tip-primary:focus-visible,
.download-tip-secondary: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, #a78bfa 0%, #818cf8 48%, #f472b6 100%);
    box-shadow: 0 20px 44px rgba(139, 92, 246, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.download-tip-secondary:hover,
.download-tip-secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.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(34, 211, 238, 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);
}

.download-tip-video-note {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

@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: #8b5cf6; }
.text-green-400 { color: #4ade80; }
.text-yellow-400 { color: #facc15; }
.text-purple-100 { color: #f3e8ff; }
.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: #0a0a0f; }
.bg-darker { background-color: #050507; }
.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: #8b5cf6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0)); }
.from-secondary { --tw-gradient-from: #6366f1; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(99, 102, 241, 0)); }
.to-accent { --tw-gradient-to: #ec4899; }
.to-secondary { --tw-gradient-to: #6366f1; }
.to-primary { --tw-gradient-to: #8b5cf6; }

.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: #8b5cf6; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:bg-primary\/20:hover { background-color: rgba(139, 92, 246, 0.2); }
.hover\:border-primary:hover { border-color: #8b5cf6; }
.hover\:border-primary\/50:hover { border-color: rgba(139, 92, 246, 0.5); }
.hover\:border-primary\/60:hover { border-color: rgba(139, 92, 246, 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(139, 92, 246, 0.05); }
.bg-primary\/10 { background-color: rgba(139, 92, 246, 0.1); }
.bg-primary\/20 { background-color: rgba(139, 92, 246, 0.2); }
.bg-secondary\/20 { background-color: rgba(99, 102, 241, 0.2); }
.bg-accent\/20 { background-color: rgba(236, 72, 153, 0.2); }
.bg-accent { background-color: #ec4899; }

.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(139, 92, 246, 0.2); }
.border-primary\/30 { border-color: rgba(139, 92, 246, 0.3); }
.border-primary\/40 { border-color: rgba(139, 92, 246, 0.4); }
.border-primary\/50 { border-color: rgba(139, 92, 246, 0.5); }

.shadow-primary\/30 { box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.3), 0 10px 10px -5px rgba(139, 92, 246, 0.3); }
.shadow-primary\/50 { box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.5), 0 10px 10px -5px rgba(139, 92, 246, 0.5); }
.shadow-secondary\/20 { box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.2), 0 10px 10px -5px rgba(99, 102, 241, 0.2); }
.shadow-accent\/20 { box-shadow: 0 20px 25px -5px rgba(236, 72, 153, 0.2), 0 10px 10px -5px rgba(236, 72, 153, 0.2); }

.text-purple-100\/80 { color: rgba(243, 232, 255, 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(139, 92, 246, 0.05), var(--tw-gradient-to, rgba(139, 92, 246, 0)); }

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

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

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

.from-primary\/40 { --tw-gradient-from: rgba(139, 92, 246, 0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0)); }
.from-secondary\/40 { --tw-gradient-from: rgba(99, 102, 241, 0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(99, 102, 241, 0)); }

.w-px { width: 1px; }

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

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

@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-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;
    }

    .nav-download {
        display: none;
    }

    #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 {
        animation: none;
    }

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