/* OnlyClaw Official Site */
:root {
    --primary: #e85d26;
    --primary-light: #ff7a45;
    --primary-dark: #c44b1c;
    --primary-bg: rgba(232, 93, 38, 0.06);
    --primary-glow: rgba(232, 93, 38, 0.15);
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #f8fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-w: 1200px;
    --content-w: 880px;
    --sidebar-w: 240px;
    --header-h: 64px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-hero: linear-gradient(135deg, #e85d26 0%, #ff7a45 50%, #ff9a6c 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(232,93,38,0.08) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(255,122,69,0.06) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(232,93,38,0.04) 0px, transparent 50%);
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --bg-dark: #020617;
    --bg-card: #1e293b;
    --text: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
    --border: #334155;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.5);
    --primary-glow: rgba(232, 93, 38, 0.25);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.5em; }
li { margin-bottom: 0.5em; }

/* Header */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow);
    border-bottom-color: var(--primary);
}
[data-theme="dark"] .header {
    background: rgba(15,23,42,0.92);
}
.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    transition: var(--transition);
}
.logo:hover {
    color: var(--text);
    transform: translateY(-1px);
}
.logo-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(232,93,38,0.3);
    flex-shrink: 0;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.05);
    box-shadow: 0 4px 16px rgba(232,93,38,0.4);
}
.nav { display: flex; align-items: center; gap: var(--space-xs); }
.nav a {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav a:hover, .nav a.active {
    color: var(--primary);
    background: var(--primary-bg);
    transform: translateY(-1px);
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); font-size: 24px; }
.theme-toggle {
    background: var(--bg-alt); border: 1px solid var(--border); cursor: pointer;
    padding: 6px 10px; border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: 16px;
    transition: var(--transition);
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); transform: rotate(20deg); }

/* Hero */
.hero {
    padding: calc(var(--header-h) + var(--space-xl)) 24px var(--space-xl);
    text-align: center;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
    background-image: var(--gradient-mesh);
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background:
        radial-gradient(circle at 50% 50%, rgba(232,93,38,0.1) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(232,93,38,0.03) 19px, rgba(232,93,38,0.03) 20px),
        repeating-linear-gradient(60deg, transparent, transparent 19px, rgba(232,93,38,0.03) 19px, rgba(232,93,38,0.03) 20px),
        repeating-linear-gradient(120deg, transparent, transparent 19px, rgba(232,93,38,0.03) 19px, rgba(232,93,38,0.03) 20px);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    background:
        radial-gradient(circle at 80% 80%, rgba(16,185,129,0.06) 0%, transparent 40%),
        radial-gradient(circle at 20% 20%, rgba(232,93,38,0.06) 0%, transparent 40%);
    border-radius: 50%;
}
.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero-content > * { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.hero-badge span { color: var(--primary); font-weight: 700; font-size: 16px; }
.hero-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px var(--primary-glow);
    transform: translateY(-2px);
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}
.hero h1 .highlight {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}
.stat-item {
    text-align: center;
    transition: var(--transition);
    padding: 12px 20px;
    border-radius: var(--radius);
}
.stat-item:hover {
    background: var(--primary-bg);
    transform: translateY(-4px);
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.stat-item:hover .stat-number {
    filter: drop-shadow(0 0 12px rgba(232,93,38,0.4));
}
.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 500;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn:hover::before {
    left: 100%;
}
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(232,93,38,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,93,38,0.4), 0 0 20px rgba(232,93,38,0.2);
    color: #fff;
}
.btn-outline {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* CTA Section */
.cta-section {
    text-align: center;
}
.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}
.cta-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Sections */
.section {
    padding: var(--space-xl) 24px;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}
.section-alt {
    background: var(--bg-alt);
    background-image: var(--gradient-mesh);
}
.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.section-header .tag {
    display: inline-block;
    padding: 6px 20px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(232,93,38,0.15);
    letter-spacing: 0.02em;
    cursor: default;
    position: relative;
    overflow: hidden;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}
.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    align-items: stretch;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.feature-card:hover::before {
    box-shadow: 0 0 15px rgba(232,93,38,0.3);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 30px var(--primary-glow);
    border-color: var(--primary);
}
.feature-card:hover::before {
    transform: scaleX(1);
}
.feature-icon {
    width: 56px; height: 56px;
    background: var(--primary-bg);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: var(--space-sm);
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(232,93,38,0.35);
}
.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    transition: var(--transition);
}
.feature-card:hover h3 {
    color: var(--primary);
}
.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    align-items: stretch;
}
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tech-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}
.tech-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 30px var(--primary-glow);
    border-color: transparent;
    color: #fff;
}
.tech-card:hover::after {
    opacity: 1;
}
.tech-card:hover h4,
.tech-card:hover p {
    color: #fff;
}
.tech-icon {
    width: 64px; height: 64px;
    margin: 0 auto var(--space-sm);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    transition: var(--transition);
}
.tech-card:hover .tech-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    background: var(--primary-bg);
}
.tech-card h4 { font-size: 16px; margin-bottom: var(--space-xs); transition: var(--transition); font-weight: 600; }
.tech-card p { font-size: 13px; color: var(--text-secondary); transition: var(--transition); line-height: 1.5; margin: 0; }

/* Page Hero (sub-pages) */
.page-hero {
    padding: calc(var(--header-h) + var(--space-xl)) 24px var(--space-xl);
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: var(--gradient-mesh);
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}
.page-hero p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}
.page-hero-icon {
    font-size: 80px;
    opacity: 0.15;
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

/* Content */
.content {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: var(--space-lg) 24px var(--space-xl);
}
.content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.content a:hover {
    border-bottom-color: var(--primary);
}
.content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 48px 0 16px;
    padding-bottom: 10px;
    position: relative;
}
.content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: var(--space-md) 0 12px;
    color: var(--primary);
}
.content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: var(--space-md) 0 var(--space-xs);
}
.content p { margin-bottom: var(--space-sm); }
.content ul, .content ol {
    margin-bottom: var(--space-sm);
    padding-left: 1.5em;
}
.content li {
    margin-bottom: var(--space-xs);
    line-height: 1.7;
}
.content li:last-child { margin-bottom: 0; }

/* Code */
code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    background: var(--bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-dark);
    border: 1px solid var(--border);
    transition: var(--transition);
}
code:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}
[data-theme="dark"] code { color: var(--primary-light); }
pre {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: var(--space-md);
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: var(--space-md);
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    border: 1px solid #334155;
    transition: var(--transition);
}
pre:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(232,93,38,0.1);
}
pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
    border: none;
}
.code-block {
    position: relative;
    margin-bottom: var(--space-md);
}
.code-block .lang-tag {
    position: absolute;
    top: 8px; right: 12px;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.code-block .copy-btn {
    position: absolute;
    top: 8px; right: 60px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}
.code-block .copy-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
.code-block .copy-btn.copied {
    background: rgba(16,185,129,0.2);
    color: #6ee7b7;
    border-color: rgba(16,185,129,0.3);
}

/* Tables */
.table-wrap {
    overflow-x: auto;
    margin-bottom: var(--space-md);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
th {
    background: linear-gradient(135deg, var(--bg-alt), var(--primary-bg));
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
td {
    transition: var(--transition);
}
tr:hover td { background: var(--primary-bg); }
tr { transition: var(--transition); }
tr:hover { transform: scale(1.01); }
tr:last-child td { border-bottom: none; }

/* Info boxes */
.info-box {
    padding: var(--space-sm) 20px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    font-size: 14px;
    border-left: 4px solid;
    line-height: 1.6;
    transition: var(--transition);
}
.info-box:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.info-box.tip {
    background: rgba(16,185,129,0.06);
    border-color: #10b981;
    color: #065f46;
}
[data-theme="dark"] .info-box.tip { color: #6ee7b7; background: rgba(16,185,129,0.1); }
.info-box.warn {
    background: rgba(245,158,11,0.06);
    border-color: #f59e0b;
    color: #92400e;
}
[data-theme="dark"] .info-box.warn { color: #fcd34d; background: rgba(245,158,11,0.1); }
.info-box.info {
    background: rgba(59,130,246,0.06);
    border-color: #3b82f6;
    color: #1e40af;
}
[data-theme="dark"] .info-box.info { color: #93c5fd; background: rgba(59,130,246,0.1); }
.info-box strong { display: block; margin-bottom: var(--space-xs); }
.info-box a { color: inherit; text-decoration: underline; }
.info-box ul { margin: var(--space-xs) 0 0; padding-left: 1.5em; }
.info-box li { margin-bottom: var(--space-xs); }

/* Sidebar Nav (for guide/api pages) */
.page-layout {
    display: flex;
    gap: var(--space-lg);
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px var(--space-xl);
}
.page-sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-h) + var(--space-md));
    align-self: flex-start;
    max-height: calc(100vh - var(--header-h) - var(--space-lg));
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-sm) var(--space-xs);
    box-shadow: var(--shadow-sm);
}
.page-sidebar h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
    padding: 0 12px;
    margin-top: var(--space-sm);
}
.page-sidebar h4:first-child {
    margin-top: 0;
}
.page-sidebar a {
    display: block;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 2px;
    transition: var(--transition);
    border-left: 2px solid transparent;
}
.page-sidebar a:hover, .page-sidebar a.active {
    color: var(--primary);
    background: var(--primary-bg);
    border-left-color: var(--primary);
    transform: translateX(4px);
}
.page-content {
    flex: 1;
    min-width: 0;
    max-width: var(--content-w);
}

/* Steps */
.steps { counter-reset: step; margin-bottom: var(--space-md); }
.step {
    counter-increment: step;
    padding: var(--space-md) var(--space-md) var(--space-md) 72px;
    position: relative;
    margin-bottom: var(--space-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.step:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow), 0 0 15px var(--primary-glow);
    transform: translateX(4px);
}
.step::before {
    content: counter(step);
    position: absolute;
    left: var(--space-md); top: var(--space-md);
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(232,93,38,0.3);
}
.step h4 { margin-top: 0; }

/* Breadcrumb — left-aligned with header logo */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    padding: 4px 14px;
    background: var(--bg-alt);
    border-radius: 999px;
    border: 1px solid var(--border);
    position: absolute;
    top: calc(var(--header-h) + var(--space-lg));
    left: calc(50% - var(--max-w) / 2 + 24px);
    z-index: 1;
}
.breadcrumb a { color: var(--text-secondary); transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary); transform: translateX(2px); }
.breadcrumb .sep { color: var(--text-light); font-size: 11px; }

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-dark), #020617);
    color: #94a3b8;
    padding: var(--space-xl) 24px var(--space-lg);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary) 20%,
        var(--primary-light) 50%,
        var(--primary) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}
.footer a { color: #94a3b8; transition: var(--transition); position: relative; }
.footer a:hover { color: #e2e8f0; transform: translateX(2px); }
.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}
.footer a:hover::after {
    width: 100%;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 20px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: var(--space-sm);
}
.footer-logo .logo-icon {
    background: var(--gradient-primary);
}
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
    max-width: 360px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}
.footer-links-title {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.footer-copy {
    font-size: 13px;
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(232,93,38,0.3);
    z-index: 99;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(232,93,38,0.4);
}
.back-to-top.visible {
    animation: fadeInUp 0.3s ease-out;
}

/* Loading Animation */
body {
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.loaded {
    opacity: 1;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .back-to-top,
    .theme-toggle,
    .copy-btn {
        display: none !important;
    }
    .content {
        max-width: 100%;
        padding: 0;
    }
    pre {
        white-space: pre-wrap;
        word-wrap: break-word;
    }
}

/* Download Page */
.download-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px var(--space-xl);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    perspective: 1000px;
    align-items: stretch;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.download-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.download-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 0 30px var(--primary-glow);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(232,93,38,0.02) 100%);
    position: relative;
}
.download-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}
.download-card.featured:hover::after {
    opacity: 0.05;
}

.download-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 20px var(--primary-glow);
}
.download-card.featured:hover {
    box-shadow: var(--shadow-xl), 0 0 40px var(--primary-glow);
    transform: translateY(-8px);
}
.download-card:hover::before {
    transform: scaleX(1);
}

.download-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.download-icon {
    font-size: 48px;
    margin-bottom: var(--space-sm);
    transition: var(--transition);
    display: inline-block;
}
.download-card:hover .download-icon {
    transform: scale(1.15) translateY(-4px) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.download-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
    transition: var(--transition);
}
.download-card:hover h3 {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.download-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
    transition: var(--transition);
}
.download-card:hover .download-desc {
    color: var(--text);
    transform: translateY(-1px);
}

.download-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.download-features span {
    background: var(--bg-alt);
    padding: var(--space-xs) 12px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: default;
}
.download-features span:hover {
    background: var(--primary-bg);
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.download-actions {
    margin-bottom: var(--space-sm);
    transition: var(--transition);
    width: 100%;
}
.download-actions .btn {
    min-width: 160px;
    width: 100%;
    max-width: 240px;
}
.download-card:hover .download-actions {
    transform: translateY(-2px);
}

.download-requirement {
    font-size: 12px;
    color: var(--text-light);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
    transition: var(--transition);
    margin-top: auto;
    width: 100%;
}

.download-card:hover .download-requirement {
    border-top-color: var(--primary);
    color: var(--text-secondary);
    transform: translateY(-1px);
}

.download-requirement strong {
    color: var(--text-secondary);
    transition: var(--transition);
}
.download-card:hover .download-requirement strong {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Quick Start Section */
.download-quickstart {
    background: var(--bg-alt);
    background-image: var(--gradient-mesh);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    margin-bottom: 0;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.download-quickstart:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}
.download-quickstart::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(232,93,38,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.download-quickstart h2 {
    font-size: 1.6rem;
    margin-bottom: var(--space-xs);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
}

.download-quickstart > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 16px;
}

.quickstart-steps {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.quickstart-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition);
}
.quickstart-step:hover {
    transform: translateY(-4px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(232,93,38,0.3);
    transition: var(--transition);
    line-height: 1;
}
.quickstart-step:hover .step-number {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(232,93,38,0.4);
}

.step-content {
    text-align: left;
    transition: var(--transition);
}
.quickstart-step:hover .step-content h4 {
    color: var(--primary);
}

.step-content h4 {
    font-size: 16px;
    margin-bottom: 2px;
    font-weight: 600;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Section Divider */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: var(--space-lg) 0;
}

/* Versions Section */
.download-versions {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.download-versions:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.download-versions h2 {
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
    text-align: center;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
}

.download-versions .table-wrap {
    margin-bottom: 0;
}

/* Responsive Tablet */
@media (max-width: 960px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .download-grid .download-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-inner > div:first-child {
        grid-column: 1 / -1;
    }
    .footer-copy {
        grid-column: 1 / -1;
    }
}
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
    .download-grid .download-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .download-quickstart {
        padding: var(--space-md);
    }

    .quickstart-steps {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .quickstart-step {
        flex-direction: column;
        text-align: center;
    }

    .step-content {
        text-align: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    :root { --header-h: 56px; }
    .page-hero-icon { display: none; }
    .nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: var(--space-sm);
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(20px);
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px var(--space-sm); width: 100%; }
    .nav-toggle { display: block; }
    .hero { padding: calc(var(--header-h) + var(--space-lg)) 24px var(--space-lg); }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 15px; }
    .hero-stats { gap: var(--space-md); flex-wrap: wrap; }
    .stat-number { font-size: 2rem; }
    .section { padding: var(--space-lg) 24px; }
    .section-header { margin-bottom: var(--space-md); }
    .page-layout { flex-direction: column; gap: var(--space-md); }
    .page-sidebar {
        width: 100%;
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-xs);
        max-height: none;
        padding: var(--space-sm);
        background: var(--bg-alt);
        border-radius: var(--radius);
        margin-bottom: var(--space-md);
    }
    .page-sidebar h4 { width: 100%; margin-top: var(--space-xs); }
    .page-sidebar a {
        flex: none;
        padding: var(--space-xs) 12px;
        font-size: 13px;
    }
    .features-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }
    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-md);
    }
    .footer-desc { margin-top: 0; }
    .content h2 { font-size: 1.4rem; }
    .content h3 { font-size: 1.1rem; }
    .step { padding: 20px 20px 20px 60px; }
    .step::before { left: 16px; top: 16px; }
}

@media (max-width: 480px) {
    .tech-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: var(--space-sm); }
    .stat-item { min-width: 80px; padding: var(--space-sm); }
    .features-grid { gap: var(--space-sm); }
    .feature-card { padding: var(--space-md); }
    .page-hero { padding: calc(var(--header-h) + var(--space-md)) 24px var(--space-md); }
    .download-container { padding: 0 16px var(--space-lg); }
}

/* ==========================================
   Smart Intelligence Effects
   ========================================== */

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: var(--gradient-primary);
    z-index: 101;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px rgba(232,93,38,0.6), 0 0 30px rgba(232,93,38,0.2);
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,93,38,0.12) 0%, rgba(232,93,38,0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: none;
    will-change: transform;
    mix-blend-mode: screen;
}

/* Toast Notification */
.smart-toast {
    position: fixed;
    top: calc(var(--header-h) + 16px);
    right: 24px;
    background: var(--bg-card);
    color: var(--text);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg), 0 0 20px rgba(232,93,38,0.15);
    border: 1px solid var(--border);
    border-left: 3px solid #10b981;
    z-index: 9999;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.smart-toast.visible {
    opacity: 1;
    transform: translateX(0);
}
.smart-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
    animation: toastPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes toastPop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* AI Pulse Dot on Feature Icons */
.ai-pulse-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    animation: aiPulse 2s ease-in-out infinite;
}
@keyframes aiPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); transform: scale(1); }
    50% { box-shadow: 0 0 0 8px rgba(16,185,129,0), 0 0 12px rgba(16,185,129,0.3); transform: scale(1.3); }
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Card 3D Tilt Reset */
.feature-card,
.download-card,
.tech-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Glowing Ring on Interactive Elements */
.btn-primary:hover,
.btn-outline:hover {
    box-shadow: 0 0 0 3px rgba(232,93,38,0.2), 0 4px 15px rgba(232,93,38,0.3);
}

/* Hero Typing Cursor */
.hero-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--primary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.8s ease-in-out infinite;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Smart Grid Background for Hero */
.hero-content::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background-image:
        linear-gradient(rgba(232,93,38,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,93,38,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

/* Neural Connection Lines Between Sections */
.section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(232,93,38,0.2), transparent);
    z-index: 1;
}

/* Smart Hover State for Nav Links */
.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}
.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* Stat Counter Glow Animation */
@keyframes statGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(232,93,38,0.3); }
    50% { text-shadow: 0 0 20px rgba(232,93,38,0.6), 0 0 40px rgba(232,93,38,0.2); }
}
.stat-number[data-count] {
    animation: statGlow 3s ease-in-out infinite;
}

/* Feature Card Hover Glow Border */
.feature-card:hover,
.tech-card:hover {
    border-color: rgba(232,93,38,0.3);
    box-shadow: 0 8px 30px rgba(232,93,38,0.12), 0 0 0 1px rgba(232,93,38,0.1);
}

/* Magnetic Button Effect */
.btn-primary {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary:active {
    transform: scale(0.95);
}

/* Scroll-triggered Section Glow */
.section.visible::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: sectionReveal 0.8s ease-out;
}
@keyframes sectionReveal {
    0% { width: 0; opacity: 0; }
    100% { width: 200px; opacity: 1; }
}

/* Glowing Border Effect on Focus */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

/* Animated Gradient Border for Featured Card */
.download-card.featured::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-light), #ff9a6c, var(--primary));
    background-size: 300% 300%;
    z-index: -2;
}
.download-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    z-index: -1;
}

/* Animated Section Tag */
.section-header .tag {
    position: relative;
    overflow: hidden;
}

/* Stat Number Glow on Scroll */
.stat-number {
    filter: drop-shadow(0 0 0 transparent);
    transition: filter 0.5s ease;
}
.stat-item:hover .stat-number {
    filter: drop-shadow(0 0 12px rgba(232,93,38,0.4));
}

/* Sidebar Progress Indicator */
.page-sidebar {
    position: relative;
}
.page-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0%;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: height 0.3s ease;
}

/* Hover Sparkle Effect on Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover::after {
    opacity: 1;
}

/* Code Block Line Highlight on Hover */
pre:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(232,93,38,0.1), inset 0 0 30px rgba(232,93,38,0.02);
}

/* Smooth Table Row Highlight */
tr {
    position: relative;
}
tr::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
tr:hover::after {
    width: 100%;
}

/* Info Box Icon Animation */
.info-box {
    position: relative;
}

/* ==========================================
   Advanced Tech / Sci-Fi Effects
   ========================================== */

/* Scanning Line Effect on Page Hero */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    animation: scanLine 3s ease-in-out infinite;
    opacity: 0.6;
}
@keyframes scanLine {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* Holographic Card Effect */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(232,93,38,0.03) 45%,
        rgba(255,122,69,0.05) 50%,
        rgba(16,185,129,0.03) 55%,
        transparent 60%
    );
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.4s, background-position 0.4s;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}
.feature-card:hover::after {
    opacity: 1;
    background-position: 100% 100%;
}

/* Neon Pulse Border on Featured Card */
.download-card.featured {
    box-shadow: 0 0 0 1px var(--primary), 0 0 20px rgba(232,93,38,0.2);
}

/* Data Flow Lines Between Sections */
.section-inner::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom,
        rgba(232,93,38,0.3),
        rgba(232,93,38,0.1),
        transparent
    );
    z-index: 2;
}
.section-inner::before {
    content: '';
    position: absolute;
    bottom: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(232,93,38,0.5);
    z-index: 3;
}
.section-inner {
    position: relative;
}

/* Digital Clock Style on Stats */
.stat-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(232,93,38,0.3);
}
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s;
}
.stat-item:hover::before {
    opacity: 1;
}
.stat-item {
    position: relative;
}

/* Circuit Board Pattern + Gradient on Page Hero */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232,93,38,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,93,38,0.04) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(232,93,38,0.06) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(232,93,38,0.06) 1px, transparent 1px),
        radial-gradient(circle at 20% 50%, rgba(232,93,38,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(16,185,129,0.06) 0%, transparent 50%);
    background-size: 40px 40px, 40px 40px, 80px 80px, 80px 80px, 100% 100%, 100% 100%;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Tech Card Icon Glow */
.tech-icon {
    transition: var(--transition);
    position: relative;
}
.tech-card:hover .tech-icon {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(232,93,38,0.2);
}

/* Hero Badge Status Indicator */
.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 4px;
}

/* Tag Hover Tech Effect */
.section-header .tag::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.section-header .tag:hover::after {
    width: 200px;
    height: 200px;
}

/* Button Ripple Effect */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}
.btn:focus::after {
    animation: ripple 0.6s ease-out;
}
@keyframes ripple {
    0% { transform: scale(0, 0); opacity: 1; }
    100% { transform: scale(40, 40); opacity: 0; }
}

/* Smooth Color Transition on Scroll for Header */
.header {
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* Feature Card Number Badge */
.feature-card h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover h3::before {
    opacity: 1;
}

/* Section Header Divider */
.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin: var(--space-sm) auto 0;
    border-radius: 1px;
    transition: width 0.3s;
}
.section-header:hover::after {
    width: 100px;
}

/* Footer Grid Pattern & Tech Bar */
.footer {
    position: relative;
    overflow: hidden;
}
.footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(0deg, rgba(232,93,38,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,93,38,0.15) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(232,93,38,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16,185,129,0.04) 0%, transparent 50%);
    background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.footer > * {
    position: relative;
    z-index: 1;
}

/* ==========================================
   AI Intelligence Ambient Effects
   ========================================== */

/* AI Status Indicator */
.ai-status {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-secondary);
    z-index: 50;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}
.ai-status.visible {
    opacity: 1;
    transform: translateY(0);
}
.ai-status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

/* Smart Link Hover Glow */
.content a:hover,
.footer a:hover {
    text-shadow: 0 0 8px rgba(232,93,38,0.3);
}

/* Data Stream Lines on Sidebar */
.page-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(232,93,38,0.15) 20%,
        rgba(232,93,38,0.3) 50%,
        rgba(232,93,38,0.15) 80%,
        transparent 100%
    );
    background-size: 1px 200%;
}

/* Smart Hover Effect on Stat Items */
.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.stat-item:hover::after {
    width: 60%;
}

/* Neural Network Dots Pattern */
.hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(232,93,38,0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at 30% 50%, black 10%, transparent 50%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 10%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

/* Smart Card Hover Lift Shadow */
.feature-card:hover,
.tech-card:hover,
.download-card:hover {
    transform: translateY(-6px);
}

/* Animated Gradient Border on Focus */
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232,93,38,0.3), 0 0 20px rgba(232,93,38,0.15);
}

/* Section Tag Smart Badge */
.section-header .tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    box-shadow: 0 0 6px rgba(232,93,38,0.3);
}

/* Smart Toast Slide-in Animation */
@keyframes toastSlideIn {
    0% { transform: translateX(100%) scale(0.8); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}
.smart-toast.visible {
    animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hero Badge Holographic Shimmer */
.hero-badge {
    position: relative;
    overflow: hidden;
}

/* Smart Progress Dots on Page Hero */
.page-hero-icon {
    position: relative;
}
.page-hero-icon::before,
.page-hero-icon::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
}
.page-hero-icon::before {
    top: -8px;
    right: -8px;
}
.page-hero-icon::after {
    bottom: -8px;
    left: -8px;
}

/* Smart Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
    mix-blend-mode: screen;
}

/* Feature Card Icon Background Animation */
.feature-icon {
    position: relative;
    overflow: hidden;
}
.feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(232,93,38,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover .feature-icon::after {
    opacity: 1;
}

/* ==========================================
   Advanced AI Ambient Effects
   ========================================== */

/* Data Flow Lines on Page Edges */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    width: 1px;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
body::before {
    left: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(232,93,38,0.05) 20%,
        rgba(232,93,38,0.1) 50%,
        rgba(232,93,38,0.05) 80%,
        transparent 100%
    );
    background-size: 1px 300%;
}
body::after {
    right: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(16,185,129,0.05) 20%,
        rgba(16,185,129,0.1) 50%,
        rgba(16,185,129,0.05) 80%,
        transparent 100%
    );
    background-size: 1px 300%;
}

/* Neural Network Connection Nodes */
.section-inner::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(232,93,38,0.4);
    z-index: 3;
}

/* Smart Cursor Context */
.btn:hover { cursor: pointer; }
.feature-card:hover { cursor: default; }
a:hover { cursor: pointer; }

/* Progress Ring on Logo */
.logo-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 16px;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--primary-light);
    opacity: 0;
    transition: opacity 0.3s;
}
.logo:hover .logo-icon::before {
    opacity: 0.6;
}

/* Ambient Glow on Scroll */
.section.visible::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(232,93,38,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: sectionGlow 1s ease-out;
}
@keyframes sectionGlow {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/* Tech Card Icon Pulse */
.tech-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid var(--primary);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}
.tech-card:hover .tech-icon::after {
    opacity: 0.3;
    transform: scale(1);
}

/* Download Card Featured Glow */
.download-card.featured::before {
    background: linear-gradient(135deg, var(--primary), var(--primary-light), #ff9a6c, var(--primary));
    background-size: 300% 300%;
}

/* Smart Section Divider */
.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    z-index: 1;
}


/* Smart Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Highlight */
::selection {
    background: rgba(232,93,38,0.2);
    color: var(--text);
}

/* Hide particles on mobile */
@media (max-width: 768px) {
    .particle-canvas { display: none; }
    .cursor-glow { display: none; }
    .reading-progress { height: 2px; }
    .smart-toast { right: 16px; left: 16px; }
    .page-sidebar::before { display: none; }
    .page-sidebar::after { display: none; }
    .hero-content::before { display: none; }
    .hero-content::after { display: none; }
    .section::after { display: none; }
    .section-inner::after,
    .section-inner::before { display: none; }
    .page-hero::before { display: none; }
    .page-hero::after { display: none; }
    .ai-status { display: none; }
    .cursor-trail { display: none; }
    body::before,
    body::after { display: none; }
    .hero::before { display: none; }
    .logo-icon::before { display: none; }
    .hero-stats { gap: var(--space-lg); }
    .stat-number { font-size: 2rem; }
}

/* ==========================================
   Enhanced Smart Feel Effects
   ========================================== */

/* Hero Highlight Text Shimmer */
.hero h1 .highlight {
    position: relative;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 30%,
        rgba(255,255,255,0.15) 50%,
        transparent 70%,
        transparent 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
}

/* Smart Reading Progress Bar */
.reading-progress {
    background: linear-gradient(90deg, var(--primary), var(--primary-light), #ff9a6c) !important;
    box-shadow: 0 0 10px rgba(232,93,38,0.4);
}

/* Header Bottom Glow on Scroll */
.header.scrolled::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

/* Enhanced Back-to-Top Button */
.back-to-top {
    background: var(--gradient-primary) !important;
    box-shadow: 0 4px 20px rgba(232,93,38,0.3) !important;
    border: none !important;
    color: #fff !important;
    font-size: 18px !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.back-to-top:hover {
    transform: translateY(-4px) scale(1.1) !important;
    box-shadow: 0 8px 30px rgba(232,93,38,0.4) !important;
}

/* Smart AI Thinking Dots */
@keyframes thinkDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}
.thinking-dots span:nth-child(1) { animation: thinkDot 1.4s infinite 0s; }
.thinking-dots span:nth-child(2) { animation: thinkDot 1.4s infinite 0.2s; }
.thinking-dots span:nth-child(3) { animation: thinkDot 1.4s infinite 0.4s; }


/* Enhanced Card Hover Glow */
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(232,93,38,0.15), 0 0 80px rgba(232,93,38,0.05);
    border-color: var(--primary);
}
.tech-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(232,93,38,0.15);
    border-color: transparent;
    color: #fff;
}

/* Enhanced Section Header */
.section-header h2 {
    position: relative;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-header:hover h2::after {
    width: 80px;
}

/* Smart Link Hover Effect */
.content a {
    position: relative;
}
.content a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.content a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Enhanced Code Block */
pre {
    position: relative;
}
pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), #10b981);
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}
pre:hover::before {
    opacity: 1;
}

/* Smart Table Header */
th {
    position: relative;
}
th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

/* Enhanced Info Box */
.info-box {
    position: relative;
    overflow: hidden;
}
.info-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232,93,38,0.02));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.info-box:hover::after {
    opacity: 1;
}

/* Smart Breadcrumb Hover */
.breadcrumb a {
    position: relative;
}
.breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.breadcrumb a:hover::after {
    transform: scaleX(1);
}

/* Smart Download Card */
.download-card {
    position: relative;
}
.download-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.download-card:hover::after {
    width: 60%;
}

/* Enhanced Contact Card */
.contact-card {
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-card:hover::before {
    transform: scaleX(1);
}

/* Smart FAQ Item */
.faq-item summary {
    position: relative;
}
.faq-item summary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: height 0.3s ease;
}
.faq-item[open] summary::before {
    height: 60%;
}

/* Enhanced About Tech Item */
.about-tech-item {
    position: relative;
    overflow: hidden;
}
.about-tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}
.about-tech-item:hover::before {
    transform: scaleY(1);
}

/* Smart Hero Badge Glow */
.hero-badge {
    position: relative;
}
.hero-badge::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
    filter: blur(8px);
}
.hero-badge:hover::after {
    opacity: 0.3;
}

/* Enhanced Feature Card Icon */
.feature-icon {
    position: relative;
}
.feature-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
    filter: blur(6px);
}
.feature-card:hover .feature-icon::before {
    opacity: 0.4;
}

/* Smart Page Hero Icon */
.page-hero-icon {
    transition: transform 0.3s ease;
}
.page-hero:hover .page-hero-icon {
    transform: translateY(-50%) scale(1.1);
}

/* Enhanced Logo */
.logo-icon {
    position: relative;
    overflow: hidden;
}
.logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255,255,255,0.15) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s ease;
}
.logo:hover .logo-icon::after {
    transform: rotate(45deg) translateY(100%);
}

/* ==========================================
   About Page
   ========================================== */

.about-container {
    max-width: 100%;
}

.about-story {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.about-story p {
    margin-bottom: 16px;
}
.about-story strong {
    color: var(--text);
}

/* About Tech */
.about-tech {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.about-tech-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.about-tech-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.about-tech-item h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}
.about-tech-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}
.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 30px var(--primary-glow);
}
.contact-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}
.contact-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}
.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}
.contact-card .btn {
    display: inline-block;
}
.wechat-qr {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border);
    margin-top: 4px;
}

/* FAQ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}
.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item p {
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Responsive */
@media (max-width: 768px) {
    .about-tech {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing-section {
    padding: var(--space-xl) 24px;
    background: var(--bg-alt);
    background-image: var(--gradient-mesh);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 30px var(--primary-glow);
    border-color: var(--primary);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 0 30px var(--primary-glow);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(232,93,38,0.02) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-icon {
    font-size: 48px;
    margin-bottom: var(--space-sm);
    transition: var(--transition);
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.15) translateY(-4px) rotate(-5deg);
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    font-weight: 700;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
}

.pricing-card .price-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Download Card Price */
.download-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.download-price span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Bundle Price Highlight */
.bundle-highlight {
    background: linear-gradient(135deg, rgba(232,93,38,0.08) 0%, rgba(16,185,129,0.08) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    margin-top: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.bundle-highlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    pointer-events: none;
}

.bundle-highlight h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
    position: relative;
}

.bundle-highlight .bundle-price {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.bundle-highlight .bundle-price span {
    font-size: 1.2rem;
    font-weight: 500;
}

.bundle-highlight .bundle-savings {
    color: #10b981;
    font-weight: 600;
    margin-top: var(--space-xs);
    position: relative;
}
