/* ============================================
   TG群发工具 - 主样式表
   深色科技风格 · 响应式设计
   ============================================ */

/* === CSS Variables === */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f35;
    --bg-card-hover: #222842;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1e1b4b 50%, #0a0e1a 100%);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-width: 1200px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--accent-blue); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-purple); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Gradient Text === */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.45);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
}
.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.08);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; }

/* === Section Styles === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

.site-header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon { font-size: 1.5rem; }
.logo-text { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-list a:hover { color: var(--text-primary); }

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}
.nav-list a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 40px) 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Mockup */
.hero-mockup {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.mockup-title {
    margin-left: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mockup-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    min-height: 280px;
}

.mockup-sidebar {
    padding: 12px 0;
    border-right: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.15);
}

.mockup-item {
    padding: 10px 16px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    cursor: default;
    transition: all 0.2s;
}
.mockup-item.active {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-blue);
    border-left: 3px solid var(--accent-blue);
}

.mockup-main { padding: 20px; }

.mockup-stat-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.mockup-stat {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}
.mockup-stat .num {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-blue);
}
.mockup-stat .label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.progress-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: progressAnim 2s ease-in-out;
}
@keyframes progressAnim { from { width: 0; } }
.progress-text {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.mockup-log { margin-top: 16px; }
.log-item {
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 4px;
}
.log-item.success { background: rgba(34, 197, 94, 0.08); color: #86efac; }
.log-item.sending { background: rgba(59, 130, 246, 0.08); color: #93c5fd; }

/* ==========================================
   STATS
   ========================================== */
.stats {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   AUDIENCE
   ========================================== */
.audience {
    padding: 120px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.audience-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.35s ease;
}

.audience-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.12);
}

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.audience-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.audience-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ==========================================
   FEATURES
   ========================================== */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ==========================================
   ANTI-BAN SYSTEM
   ========================================== */
.anti-ban {
    padding: 120px 0;
}

.anti-ban-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.anti-ban-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.35s ease;
    min-height: 0;
}

.anti-ban-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}

.anti-ban-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 12px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.15);
    flex-shrink: 0;
}

.anti-ban-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.anti-ban-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.55;
}

/* ==========================================
   HOW IT WORKS / WORKFLOWS
   ========================================== */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.workflow-item {
    margin-bottom: 32px;
    padding: 36px 40px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.workflow-item:last-child {
    margin-bottom: 0;
}

.workflow-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--accent-blue);
    text-align: center;
    letter-spacing: 0.02em;
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 20px;
    min-width: 130px;
    flex: 0 0 auto;
}

.workflow-step:hover .workflow-icon {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.12);
    transform: scale(1.1);
}

.workflow-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
    background: rgba(139, 92, 246, 0.06);
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.3s;
}

.workflow-step span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.workflow-step small {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    white-space: nowrap;
}

.workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--accent-purple);
    font-weight: 700;
    flex-shrink: 0;
    opacity: 0.6;
}

/* ==========================================
   PRICING
   ========================================== */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.pricing-card.featured {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-6px);
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li.disabled { opacity: 0.4; }
.check { color: #22c55e; font-weight: 700; }
.cross { color: var(--text-muted); }

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
    padding: 120px 0;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color 0.3s;
}

.faq-item.active {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--accent-blue); }

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* ==========================================
   CTA
   ========================================== */
.cta {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 60%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    padding: 80px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent-blue); }

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

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

/* ==========================================
   BLOG / INDEX
   ========================================== */
.page-banner {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: var(--bg-secondary);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-banner h1 { font-size: 2.5rem; font-weight: 800; }
.page-banner p { color: var(--text-secondary); margin-top: 12px; }

.blog-layout {
    padding: 80px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.post-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.35s ease;
}
.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
}

.post-card-thumb {
    height: 200px;
    background: var(--bg-secondary);
    overflow: hidden;
}
.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-body {
    padding: 24px;
}

.post-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.post-card-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.post-card-body h2 a {
    color: var(--text-primary);
    transition: color 0.3s;
}
.post-card-body h2 a:hover { color: var(--accent-blue); }

.post-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
}
.read-more:hover { gap: 10px; }

/* Single Post */
.single-post-layout {
    padding: calc(var(--header-height) + 60px) 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.nav-prev, .nav-next {
    flex: 1;
    max-width: 48%;
}

.nav-next { text-align: right; }

.nav-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.post-navigation a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
    line-height: 1.5;
}

.post-navigation a:hover {
    color: var(--accent-blue);
}
.single-post-layout .entry-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.35;
}
.entry-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.entry-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}
.entry-content h2, .entry-content h3 {
    color: var(--text-primary);
    margin: 40px 0 16px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
}
.entry-content a { color: var(--accent-blue); text-decoration: underline; }
.entry-content ul, .entry-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.entry-content li {
    margin-bottom: 8px;
    list-style: disc;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.pagination .current {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* ==========================================
   DOWNLOAD PAGE (Redesigned)
   ========================================== */
.dl-hero {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 60px;
    text-align: center;
    overflow: hidden;
}
.dl-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1e1b4b 0%, var(--bg-primary) 100%);
    z-index: 0;
}
.dl-hero-bg::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 65%);
    border-radius: 50%;
}
.dl-hero-content {
    position: relative;
    z-index: 1;
}
.dl-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 20px;
}
.dl-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.dl-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.dl-main {
    padding: 0 0 100px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.dl-card {
    max-width: 680px;
    margin: 0 auto 48px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 60px rgba(59, 130, 246, 0.08);
}

.dl-card-header {
    padding: 28px 32px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.dl-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dl-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    border-radius: 14px;
    flex-shrink: 0;
}

.dl-product-info h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.dl-ver {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

.dl-product-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.dl-card-body {
    padding: 28px 32px 32px;
}

.dl-meta-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.dl-meta-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.dl-meta-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.dl-meta-chip small {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dl-meta-chip strong {
    font-size: 0.82rem;
    color: var(--text-primary);
}

.dl-btn {
    width: 100%;
    text-align: center;
    padding: 18px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    letter-spacing: 0.02em;
}

.dl-password {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 12px;
}

.dl-password code {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

/* Info Grid */
.dl-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.dl-info-card {
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.dl-info-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.dl-info-card ul,
.dl-info-card ol {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dl-info-card ul li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
    list-style: none;
}

.dl-info-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.dl-info-card ol {
    padding-left: 18px;
}

.dl-info-card ol li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    list-style: decimal;
}

/* Changelog */
.dl-changelog {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.dl-changelog h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.dl-changelog-content {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .dl-hero h1 { font-size: 1.8rem; }
    .dl-meta-row { grid-template-columns: repeat(2, 1fr); }
    .dl-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .dl-card-body { padding: 20px; }
    .dl-card-header { padding: 20px; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.8rem; }
    .hero-visual { display: none; }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .anti-ban-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-6px); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.active {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 26, 0.98);
        z-index: 999;
        padding: 32px 24px;
    }
    .main-nav.active .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    .main-nav.active .nav-list a { font-size: 1.2rem; }
    .mobile-toggle { display: flex; }
    .header-actions .btn { display: none; }

    .hero { min-height: auto; padding-top: calc(var(--header-height) + 60px); padding-bottom: 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }

    .section-header h2 { font-size: 1.8rem; }
    .audience-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .anti-ban-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .workflow-steps { flex-direction: column; }
    .workflow-arrow { transform: rotate(90deg); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta h2 { font-size: 1.8rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .section-header h2 { font-size: 1.5rem; }
    .stat-number { font-size: 1.6rem; }
    .pricing-card { padding: 28px 20px; }
}
