/* ============================================
   天枢便签官网 — 学术竞赛风格设计
   ============================================ */

/* --- CSS Variables --- */
:root {
    --c-primary: #3b82f6;
    --c-primary-light: #60a5fa;
    --c-primary-lighter: #93c5fd;
    --c-primary-bg: #eff6ff;
    --c-accent: #6366f1;
    --c-accent-bg: #eef2ff;

    --c-text: #1e293b;
    --c-text-secondary: #475569;
    --c-text-muted: #94a3b8;
    --c-text-inverse: #f8fafc;

    --c-bg: #ffffff;
    --c-bg-alt: #f8fafc;
    --c-bg-subtle: #f1f5f9;
    --c-border: #e2e8f0;
    --c-border-light: #f1f5f9;

    --font-display: 'Noto Serif SC', 'Georgia', serif;
    --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.10);
    --shadow-glow: 0 0 60px rgba(59,130,246,0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --max-width: 1200px;
    --nav-height: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
    position: relative;
}

/* --- Particles Background --- */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

::selection {
    background: var(--c-primary);
    color: white;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--c-border-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    color: var(--c-text);
    transition: opacity 0.2s;
}

.nav-brand:hover {
    opacity: 0.8;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--c-primary);
    background: var(--c-primary-bg);
}

.nav-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-btn span {
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 32px 60px;
    overflow: hidden;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 40%, #f0f9ff 100%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -5%;
    background: rgba(59,130,246,0.12);
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -5%;
    background: rgba(14,165,233,0.08);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--c-text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    font-size: 38px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.9;
    color: var(--c-text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-fill {
    background: var(--c-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.btn-fill:hover {
    background: var(--c-primary-light);
    box-shadow: 0 4px 16px rgba(37,99,235,0.4);
    transform: translateY(-1px);
}

.btn-ghost {
    background: var(--c-bg);
    color: var(--c-text);
    border: 1.5px solid var(--c-border);
}

.btn-ghost:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: var(--c-primary-bg);
}

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--c-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--c-text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--c-border);
}

/* --- Hero Visual --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-screenshot-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
}

.screenshot-frame {
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    overflow: hidden;
    border: 1px solid var(--c-border-light);
    position: relative;
    z-index: 2;
}

.frame-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--c-bg-subtle);
    border-bottom: 1px solid var(--c-border-light);
}

.frame-dots {
    display: flex;
    gap: 6px;
}

.fd {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.fd-r { background: #f87171; }
.fd-y { background: #fbbf24; }
.fd-g { background: #34d399; }

.frame-title {
    font-size: 12px;
    color: var(--c-text-muted);
    font-weight: 500;
}

.screenshot-img {
    width: 100%;
    display: block;
}

.screenshot-float {
    position: absolute;
    z-index: 3;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid white;
    transition: transform 0.4s ease;
}

.screenshot-float-2 {
    bottom: -30px;
    right: -40px;
    width: 220px;
}

.screenshot-float-2 img {
    width: 100%;
    display: block;
}

/* --- Scroll Hint --- */
.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--c-text-muted);
    animation: float-hint 2s ease-in-out infinite;
}

.scroll-arrow {
    opacity: 0.5;
}

@keyframes float-hint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Section Common --- */
.section {
    padding: 100px 32px;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.section-label.center {
    justify-content: center;
}

.label-line {
    width: 24px;
    height: 1.5px;
    background: var(--c-primary);
    opacity: 0.4;
}

.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--c-text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--c-text-muted);
    margin-bottom: 56px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Overview Section --- */
.section-overview {
    background: var(--c-bg);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.overview-heading {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 20px;
    color: var(--c-text);
}

.overview-desc {
    font-size: 15px;
    color: var(--c-text-secondary);
    line-height: 1.85;
    margin-bottom: 16px;
}

.overview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.tag {
    padding: 5px 14px;
    background: var(--c-bg-subtle);
    border: 1px solid var(--c-border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-secondary);
    transition: all 0.2s;
}

.tag:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: var(--c-primary-bg);
}

/* --- Overview Cards --- */
.overview-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ov-card {
    padding: 24px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.ov-card:hover {
    border-color: var(--c-primary-lighter);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.ov-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    color: var(--c-primary);
}

.ov-card-1 .ov-card-icon { background: var(--c-primary-bg); }
.ov-card-2 .ov-card-icon { background: #fef3c7; color: #d97706; }
.ov-card-3 .ov-card-icon { background: #d1fae5; color: #059669; }

.ov-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ov-card p {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* --- Features Section --- */
.section-features {
    background: var(--c-bg-alt);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.feature-block-text {
    padding: 8px 0;
}

.feature-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--c-primary);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.feature-block-text h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--c-text);
}

.feature-block-text p {
    font-size: 15px;
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 14px;
    color: var(--c-text-secondary);
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-primary-lighter);
}

/* --- Feature Images --- */
.feature-block-img {
    display: flex;
    justify-content: center;
}

.feature-block-img-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.feature-block-img-dual .img-frame {
    max-width: 280px;
}

.feature-block-img-dual .img-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-block-img-triple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: start;
}

.feature-block-img-triple .img-frame {
    max-width: 200px;
}

.feature-block-img-triple .img-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.img-frame {
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--c-border-light);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-frame:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.img-frame img {
    width: 100%;
    display: block;
}

.img-frame-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--c-border-light);
}

.img-frame-dual img {
    width: 100%;
    display: block;
}

/* --- Highlights Section --- */
.section-highlights {
    background: var(--c-bg);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hl-card {
    padding: 32px 28px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.hl-card:hover {
    border-color: var(--c-primary-lighter);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hl-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--c-primary-bg);
    color: var(--c-primary);
    margin-bottom: 20px;
}

.hl-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--c-text);
}

.hl-card p {
    font-size: 14px;
    color: var(--c-text-secondary);
    line-height: 1.75;
}

/* --- Tech Section --- */
.section-tech {
    background: var(--c-bg-alt);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.tech-card {
    padding: 24px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--c-primary-lighter);
    box-shadow: var(--shadow-md);
}

.tech-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tech-lang {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-primary);
}

.tech-type {
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-muted);
    padding: 3px 10px;
    background: var(--c-bg-subtle);
    border-radius: 100px;
}

.tech-card p {
    font-size: 14px;
    color: var(--c-text-secondary);
    line-height: 1.7;
}

/* --- Tech Screenshots --- */
.tech-screenshots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tech-ss-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: var(--c-bg);
    transition: all 0.3s ease;
}

.tech-ss-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tech-ss-item img {
    width: 100%;
    display: block;
}

.tech-ss-label {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-secondary);
    border-top: 1px solid var(--c-border-light);
}

/* --- Video Section --- */
.section-video {
    background: var(--c-bg-alt);
}

.video-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

.video-card {
    display: block;
    text-decoration: none;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.video-card:hover {
    border-color: var(--c-primary-lighter);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(126, 87, 194, 0.2);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #3b82f6 50%, #60a5fa 75%, #0f172a 100%);
    animation: gradientShift 8s ease infinite;
    background-size: 300% 300%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.video-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.play-icon {
    position: relative;
    width: 90px;
    height: 90px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 22px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.video-card:hover .play-icon {
    transform: scale(1.15) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.video-info {
    padding: 32px;
    text-align: left;
}

.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-primary);
    margin-bottom: 16px;
}

.video-info h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 10px;
}

.video-info p {
    font-size: 15px;
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background: var(--c-text);
    color: var(--c-text-muted);
    padding: 56px 32px 28px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 240px;
}

.footer-cols {
    display: flex;
    gap: 56px;
}

.footer-col h5 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--c-text-muted);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 13px;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Different reveal types */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-rotate {
    opacity: 0;
    transform: rotate(-3deg) translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-rotate.visible {
    opacity: 1;
    transform: rotate(0) translateY(0);
}

/* Stagger children */
.features-showcase .reveal:nth-child(2) { transition-delay: 0.05s; }
.features-showcase .reveal:nth-child(3) { transition-delay: 0.1s; }
.features-showcase .reveal:nth-child(4) { transition-delay: 0.15s; }
.features-showcase .reveal:nth-child(5) { transition-delay: 0.2s; }
.features-showcase .reveal:nth-child(6) { transition-delay: 0.25s; }

.highlights-grid .hl-card:nth-child(2) { transition-delay: 0.06s; }
.highlights-grid .hl-card:nth-child(3) { transition-delay: 0.12s; }
.highlights-grid .hl-card:nth-child(4) { transition-delay: 0.18s; }
.highlights-grid .hl-card:nth-child(5) { transition-delay: 0.24s; }
.highlights-grid .hl-card:nth-child(6) { transition-delay: 0.3s; }

.tech-grid .tech-card:nth-child(2) { transition-delay: 0.05s; }
.tech-grid .tech-card:nth-child(3) { transition-delay: 0.1s; }
.tech-grid .tech-card:nth-child(4) { transition-delay: 0.15s; }

/* --- Enhanced hover effects --- */
.hl-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hl-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.hl-card .hl-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hl-card:hover .hl-icon {
    transform: scale(1.15) rotate(5deg);
}

.tech-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.ov-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ov-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* --- Button enhancements --- */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(126, 87, 194, 0.3);
}

/* --- Scroll progress indicator --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* --- Pulse animation for CTA --- */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(59, 130, 246, 0);
    }
}

.btn-fill {
    animation: pulse 2.5s ease-in-out infinite;
}

/* Video Button Special Styling */
.btn-video {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.04));
    border-color: rgba(59, 130, 246, 0.25);
    color: #3b82f6;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-video:hover {
    border-color: rgba(59, 130, 246, 0.45);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.06));
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.btn-video:hover::before {
    opacity: 1;
}

.btn-video svg {
    transition: transform 0.3s ease;
}

.btn-video:hover svg {
    transform: scale(1.15);
}

/* --- Hero glow animation --- */
@keyframes glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-glow {
    animation: glow 4s ease-in-out infinite;
}

.hero-glow-2 {
    animation-delay: -2s;
}

/* ========== Get Section (Download) — Editorial Grid ========== */
.section-get {
    position: relative;
    background: var(--c-bg);
    padding: 120px 32px;
}

.get-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: var(--max-width);
    margin: 48px auto 0;
}

/* --- Get Card --- */
.get-card {
    position: relative;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.get-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-primary-lighter);
}

.get-card-primary {
    border-color: var(--c-primary-lighter);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 4px 16px rgba(59, 130, 246, 0.08);
}

.get-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 40% at 20% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.get-card:hover .get-card-glow {
    opacity: 1;
}

.get-card-inner {
    position: relative;
    z-index: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

/* --- Card Head --- */
.get-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.get-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.get-card:hover .get-card-icon {
    transform: scale(1.05);
}

.get-icon-windows {
    background: #eff6ff;
    color: #3b82f6;
}

.get-icon-linux {
    background: #fff7ed;
    color: #ea580c;
}

.get-icon-github {
    background: #f5f3ff;
    color: #6366f1;
}

.get-card-platform {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.3;
}

.get-card-version {
    display: block;
    font-size: 12px;
    color: var(--c-text-muted);
    font-weight: 400;
}

.get-card-badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    background: #eff6ff;
    color: #3b82f6;
    letter-spacing: 0.02em;
}

/* --- Card Description --- */
.get-card-desc {
    font-size: 14px;
    color: var(--c-text-secondary);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* --- Buttons --- */
.get-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    width: 100%;
}

.get-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.get-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, #4f93f7 0%, #3573ee 100%);
}

.get-btn-ghost {
    background: var(--c-bg);
    color: var(--c-text-secondary);
    border: 1px solid var(--c-border);
}

.get-btn-ghost:hover {
    background: var(--c-bg-subtle);
    border-color: var(--c-primary-lighter);
    color: var(--c-text);
    transform: translateY(-2px);
}

/* --- Disk Selector --- */
.disk-selector {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: var(--c-bg-subtle);
}

.disk-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--c-text-muted);
    transition: all 0.25s ease;
    position: relative;
}

.disk-tab:first-child {
    border-right: 1px solid var(--c-border);
}

.disk-tab:hover {
    color: var(--c-text);
    background: rgba(59, 130, 246, 0.04);
}

.disk-tab.active {
    background: var(--c-primary);
    color: #fff;
    font-weight: 600;
}

.disk-tab-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: filter 0.25s ease;
}

/* --- Extract Code --- */
.get-card-extract {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--c-bg-subtle);
    border-radius: 8px;
    border: 1px solid var(--c-border-light);
}

.extract-label {
    font-size: 12px;
    color: var(--c-text-muted);
    font-weight: 500;
}

.extract-code {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: 0.06em;
    background: none;
    padding: 0;
}

.extract-copy {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--c-border);
    background: var(--c-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    transition: all 0.2s ease;
}

.extract-copy:hover {
    background: var(--c-primary-bg);
    border-color: var(--c-primary-lighter);
    color: var(--c-primary);
}

.extract-copy.copied {
    background: #d1fae5;
    border-color: #86efac;
    color: #059669;
}

/* --- Meta Strip --- */
.get-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.get-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--c-text-muted);
    font-weight: 500;
}

.get-meta-item svg {
    color: var(--c-primary-lighter);
}

.get-meta-dot {
    color: var(--c-border);
    font-weight: 300;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .get-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-get {
        padding: 80px 20px;
    }

    .get-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 32px;
    }

    .get-card-inner {
        padding: 22px;
    }

    .get-meta {
        gap: 8px;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .get-card-platform {
        font-size: 16px;
    }

    .get-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-title-accent {
        font-size: 30px;
    }

    .overview-grid {
        gap: 40px;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-block {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--c-bg);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--c-border);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-mobile-btn {
        display: flex;
    }

    .nav-mobile-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-mobile-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-mobile-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: calc(var(--nav-height) + 24px) 20px 48px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-title-accent {
        font-size: 26px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .screenshot-float-2 {
        right: -10px;
        bottom: -20px;
        width: 160px;
    }

    .section {
        padding: 72px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-block,
    .feature-block-left,
    .feature-block-right {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-block-img {
        order: -1;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-screenshots {
        grid-template-columns: 1fr;
    }
.footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-cols {
        gap: 32px;
        flex-wrap: wrap;
    }

    .scroll-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-title-accent {
        font-size: 22px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-num {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .overview-heading {
        font-size: 26px;
    }
}
