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

/* ========== THEME VARIABLES ========== */
:root {
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --primary: #0066FF;
    --primary-light: #3388FF;
    --primary-dark: #0052CC;
    --primary-glow: rgba(0, 102, 255, 0.15);
    --accent-cyan: #00A3FF;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.2s ease;
}

/* Dark (default) */
[data-theme="dark"] {
    --bg: #0d1117;
    --bg-alt: #161b22;
    --bg-elevated: #1c2128;
    --bg-card: #161b22;
    --bg-card-hover: #1c2128;
    --border: #30363d;
    --border-light: #3d444d;
    --text: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --nav-bg: rgba(13, 17, 23, 0.85);
    --terminal-bg: #0d1117;
    --code-bg: #161b22;
}

/* Light - 参考 CoPaw 风格 */
[data-theme="light"] {
    --bg: #fafafa;
    --bg-alt: #f5f5f5;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --border: #e5e5e5;
    --border-light: #d4d4d4;
    --text: #171717;
    --text-secondary: #525252;
    --text-muted: #a3a3a3;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --terminal-bg: #0d1117;
    --code-bg: #161b22;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background .3s, color .3s;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

/* Lucide icon sizing */
[data-lucide] {
    width: 18px;
    height: 18px;
    stroke-width: 2
}

/* ========== NAV ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background .3s
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 0;
}

.brand-count {
    color: var(--text);
    transition: color var(--transition);
}

.brand-bot {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    transition: all var(--transition);
}

[data-theme="dark"] .brand-bot {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo:hover .brand-count {
    color: var(--primary-light);
}

.nav-logo:hover .brand-bot {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .nav-logo:hover .brand-bot {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition)
}

.nav-links a:hover {
    color: var(--text)
}

.nav-link-doc {
    color: var(--primary-light) !important;
    font-weight: 500
}

.nav-btn-gh {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition)
}

.nav-btn-gh:hover {
    border-color: var(--text-muted);
    background: var(--bg-elevated)
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer
}

.nav-mobile {
    display: none
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: all var(--transition)
}

.theme-toggle:hover {
    color: var(--text);
    border-color: var(--text-muted)
}

[data-theme="dark"] .icon-sun {
    display: block
}

[data-theme="dark"] .icon-moon {
    display: none
}

[data-theme="light"] .icon-sun {
    display: none
}

[data-theme="light"] .icon-moon {
    display: block
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden
}

.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 70% 50% at 50% 50%, black 30%, transparent 100%)
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    background: var(--bg-elevated)
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4em;
}

.hero-brand {
    display: block;
    font-size: 0.85em;
    font-weight: 800;
}

.hero-brand .brand-count {
    color: var(--text);
}

.hero-brand .brand-bot {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

[data-theme="dark"] .hero-brand .brand-bot {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-line {
    font-size: 0.35em;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.hero-highlight {
    color: var(--primary-light)
}

[data-theme="light"] .hero-highlight {
    color: #525252;
}

[data-theme="dark"] .hero-highlight {
    color: #a3a3a3;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 56px;
    margin-top: 36px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 36px;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: none
}

.btn [data-lucide] {
    width: 16px;
    height: 16px
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.25)
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px)
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border-light)
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    background: var(--bg-card)
}

/* Terminal — always dark */
.hero-terminal {
    max-width: 620px;
    margin: 0 auto;
    border: 1px solid #1e1e24;
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
    background: #0e0e12
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #141418;
    border-bottom: 1px solid #1e1e24
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%
}

.terminal-dot.red {
    background: #ef4444
}

.terminal-dot.yellow {
    background: #eab308
}

.terminal-dot.green {
    background: #22c55e
}

.terminal-title {
    font-size: 12px;
    color: #64647a;
    margin-left: auto
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 2;
    color: #e0e0e8
}

.terminal-body code {
    display: block;
    white-space: pre
}

.t-prompt {
    color: var(--primary-light);
    margin-right: 8px
}

.t-output {
    color: #64647a
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0
}

.section-alt {
    background: var(--bg-alt)
}

.section-header {
    text-align: center;
    margin-bottom: 64px
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-light);
    background: var(--primary-glow);
    border: 1px solid rgba(37, 99, 235, 0.18);
    margin-bottom: 16px
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== PHILOSOPHY ========== */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.phil-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all .3s
}

.phil-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px)
}

.phil-icon {
    margin-bottom: 16px;
    color: var(--primary-light)
}

.phil-icon [data-lucide] {
    width: 32px;
    height: 32px
}

.phil-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px
}

.phil-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7
}

.phil-card code {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--primary-light);
    background: var(--primary-glow);
    padding: 2px 6px;
    border-radius: 4px
}

/* ========== FEATURES ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.feature-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s
}

.feature-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-2px)
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent, #2563eb) 10%, transparent);
    color: var(--accent, #2563eb);
    margin-bottom: 16px
}

.feature-icon [data-lucide] {
    width: 22px;
    height: 22px
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6
}

/* ========== ARCHITECTURE VISUAL ========== */
.arch-visual {
    max-width: 900px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0
}

.arch-layer {
    width: 100%
}

.arch-layer-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-align: center
}

.arch-nodes {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.arch-node {
    padding: 12px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 100px;
    transition: all .3s
}

.arch-node:hover {
    border-color: var(--primary);
    transform: translateY(-2px)
}

.node-icon {
    margin-bottom: 4px;
    color: var(--text-secondary)
}

.node-icon [data-lucide] {
    width: 20px;
    height: 20px
}

.node-text {
    font-size: 13px;
    font-weight: 600
}

.node-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px
}

.arch-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0
}

.arch-arrow-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px
}

/* Core Box */
.arch-core-box {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.06)
}

.arch-core-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.core-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: var(--primary-glow);
    color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.2)
}

.core-badge-alt {
    background: rgba(16, 185, 129, 0.08);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.2)
}

/* Agent Loop */
.arch-agent-loop {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 16px
}

.loop-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 12px;
    text-align: center
}

.loop-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap
}

.loop-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-width: 80px
}

.loop-step-icon {
    color: var(--primary-light)
}

.loop-step-icon [data-lucide] {
    width: 18px;
    height: 18px
}

.loop-step-text {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap
}

.loop-arrow-h {
    color: var(--primary-light);
    display: flex;
    align-items: center
}

.loop-arrow-h [data-lucide] {
    width: 16px;
    height: 16px
}

/* Modules */
.arch-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.arch-mod {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-alt)
}

.mod-label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px
}

.mod-label [data-lucide] {
    width: 14px;
    height: 14px
}

.mod-items {
    font-size: 11px;
    color: var(--text-muted)
}

.mod-tools .mod-label {
    color: #d97706
}

.mod-memory .mod-label {
    color: #059669
}

.mod-skills .mod-label {
    color: #2563eb
}

.mod-extra .mod-label {
    color: #0891b2
}

/* Bottom nodes */
.arch-bottom-nodes {
    display: flex;
    gap: 24px;
    justify-content: center
}

.node-data {
    border-color: #d97706
}

.node-data:hover {
    border-color: #d97706
}

.node-llm {
    border-color: var(--primary)
}

.node-llm:hover {
    border-color: var(--primary)
}

/* Stats */
.arch-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap
}

.stat {
    text-align: center
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-light)
}

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

/* ========== CHANNELS ========== */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px
}

.channel-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s
}

.channel-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px)
}

.channel-icon {
    margin-bottom: 12px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary)
}

.channel-icon [data-lucide] {
    width: 28px;
    height: 28px
}

.channel-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px
}

.channel-card p {
    font-size: 12px;
    color: var(--text-muted)
}

/* ========== STEPS ========== */
.steps {
    max-width: 700px;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
    gap: 32px
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start
}

.step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 700
}

.step-content {
    flex: 1
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px
}

.step-code {
    background: #0e0e12;
    border: 1px solid #1e1e24;
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 2;
    color: #e0e0e8
}

.step-code code {
    display: block
}

.step-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px
}

.quickstart-cta {
    text-align: center;
    display: flex;
    gap: 12px;
    justify-content: center
}

/* ========== TECH ========== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.tech-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tech-tag {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition)
}

.tech-tag:hover {
    border-color: var(--primary);
    color: var(--primary-light)
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px
}

.footer-links {
    display: flex;
    gap: 64px
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 16px
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: color var(--transition)
}

.footer-col a:hover {
    color: var(--text)
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border)
}

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

.footer-domain {
    color: var(--primary-light);
    text-decoration: none;
    transition: all var(--transition);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--primary-glow);
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: inline-block;
}

.footer-domain:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

/* ========== RESPONSIVE ========== */
@media(max-width:1024px) {

    .features-grid,
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .tech-grid {
        grid-template-columns: 1fr
    }

    .arch-modules {
        grid-template-columns: 1fr
    }
}

@media(max-width:768px) {
    .nav-links {
        display: none
    }

    .nav-mobile-toggle {
        display: block
    }

    .nav-mobile.open {
        display: flex;
        flex-direction: column;
        padding: 16px 24px;
        border-top: 1px solid var(--border)
    }

    .nav-mobile a {
        padding: 10px 0;
        font-size: 15px;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border)
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto
    }

    .hero-title {
        font-size: 36px
    }

    .hero-desc {
        font-size: 16px
    }

    .hero-actions {
        flex-direction: column;
        align-items: center
    }

    .features-grid,
    .philosophy-grid {
        grid-template-columns: 1fr
    }

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

    .arch-stats {
        gap: 24px
    }

    .stat-num {
        font-size: 28px
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px
    }

    .footer-links {
        flex-direction: column;
        gap: 32px
    }

    .step {
        flex-direction: column;
        gap: 12px
    }

    .loop-flow {
        gap: 4px
    }

    .loop-step {
        min-width: 60px;
        padding: 6px 8px
    }

    .arch-bottom-nodes {
        flex-direction: column;
        align-items: center
    }
}


/* ========== 654321 COUNTDOWN STEPS ========== */
.hero-countdown {
    font-family: var(--font-mono);
    font-size: 1em;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--primary-light);
    display: inline-block;
}

[data-theme="light"] .hero-countdown {
    color: #2563eb;
}

[data-theme="dark"] .hero-countdown {
    color: #60a5fa;
}

@keyframes countdown-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

.countdown-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 2.5rem 0;
}

.countdown-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 110px;
    transition: all var(--transition);
}

.countdown-step:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--primary-glow);
}

.countdown-num {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    box-shadow: 0 3px 10px var(--primary-glow);
}

.countdown-step h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.countdown-step p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

.countdown-arrow {
    color: var(--primary);
    font-size: 1.25rem;
    opacity: 0.5;
}

.countdown-arrow [data-lucide] {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .countdown-steps {
        flex-direction: column;
        gap: 1.25rem;
    }

    .countdown-arrow {
        transform: rotate(90deg);
    }

    .hero-countdown {
        font-size: 0.8em;
        letter-spacing: 0.2em;
    }

    .countdown-step {
        min-width: 130px;
    }

    .hero-subtitle-line {
        font-size: 0.3em;
    }
}

/* Enhanced hero subtitle */
.hero-subtitle {
    animation: fade-in-up 0.8s ease-out 0.6s both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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