/* ============================================
   RELOKANT — Design System
   Font: Outfit (headings) + JetBrains Mono (accents)
   Theme: Dark cyberpunk-minimal
   ============================================ */

:root {
    --bg: #0a0b0f;
    --bg-elevated: #12131a;
    --bg-card: #16171f;
    --bg-card-hover: #1c1d27;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    
    --text: #f0f0f5;
    --text-secondary: #8a8b9e;
    --text-muted: #5a5b6e;
    
    --accent: #00E5A0;
    --accent-dim: rgba(0,229,160,0.12);
    --accent-glow: rgba(0,229,160,0.25);
    --accent-secondary: #00B4D8;
    
    --gradient: linear-gradient(135deg, #00E5A0 0%, #00B4D8 100%);
    --gradient-text: linear-gradient(135deg, #00E5A0 0%, #00D4E8 50%, #7B61FF 100%);
    
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    
    --font: 'Outfit', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --nav-height: 72px;
    --container: 1200px;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.hide-mobile { display: inline; }

/* ============================================
   Typography
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    background: rgba(10,11,15,0.8);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(10,11,15,0.95);
    border-color: var(--border-hover);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--text);
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--bg);
    background: var(--accent);
    padding: 10px 22px;
    border-radius: 100px;
    transition: all 0.2s;
    cursor: pointer;
}

.nav-cta:hover {
    background: #00ffb3;
    transform: translateY(-1px);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    z-index: 999;
    background: rgba(18,19,26,0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    cursor: pointer;
}

.mobile-cta {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--bg);
    background: var(--accent);
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    cursor: pointer;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    font-size: 16px;
    color: var(--bg);
    background: var(--accent);
    padding: 16px 32px;
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
    background: #00ffb3;
    box-shadow: 0 0 50px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 16px 32px;
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.03);
}

.btn-outline {
    font-size: 15px;
    color: var(--text);
    padding: 14px 28px;
    border: 1px solid var(--border);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.btn-lg {
    font-size: 18px;
    padding: 20px 40px;
}

/* ============================================
   Hero
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -100px;
    opacity: 0.08;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: #7B61FF;
    bottom: -100px;
    left: -100px;
    opacity: 0.06;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-size: clamp(44px, 8vw, 88px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 40px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat-unit {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Trust Logos
   ============================================ */

.trust {
    padding: 48px 0 80px;
    border-bottom: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.trust-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 100px;
    transition: all 0.2s;
    cursor: default;
}

.trust-item:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

/* ============================================
   Features
   ============================================ */

.features {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.feature-card-lg {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,229,160,0.05) 0%, rgba(0,180,216,0.03) 100%);
    border-color: rgba(0,229,160,0.12);
}

.feature-card-lg:hover {
    border-color: rgba(0,229,160,0.25);
}

.feature-card-lg .feature-title {
    font-size: 28px;
}

.feature-card-lg .feature-desc {
    font-size: 17px;
    max-width: 480px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: var(--radius-sm);
    color: var(--accent);
    flex-shrink: 0;
    margin-bottom: 20px;
}

.feature-card-lg .feature-icon {
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 6px 14px;
    border-radius: 100px;
    white-space: nowrap;
    align-self: center;
}

/* ============================================
   Compare Section
   ============================================ */

.compare {
    padding: 120px 0;
    background: var(--bg-elevated);
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.compare-card {
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.3s ease;
}

.compare-card-dim {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
}

.compare-card-accent {
    grid-column: 2;
    grid-row: 1 / 3;
    background: linear-gradient(180deg, rgba(0,229,160,0.08) 0%, rgba(0,229,160,0.02) 100%);
    border: 1.5px solid var(--accent);
    box-shadow: 0 0 40px rgba(0,229,160,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compare-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.compare-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.compare-card-accent .compare-title {
    color: var(--accent);
}

.compare-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
}

.compare-list li {
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.compare-list-bad li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d6a;
}

.compare-list-good li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.compare-card-accent .compare-list li {
    color: var(--text);
}

/* ============================================
   How It Works
   ============================================ */

.how {
    padding: 120px 0;
    background: var(--bg-elevated);
}

.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 30px;
    flex-shrink: 0;
}

/* ============================================
   Use Cases
   ============================================ */

.usecases {
    padding: 120px 0;
}

.usecases-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.usecase {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 14px 28px;
    transition: all 0.25s;
    cursor: default;
}

.usecase:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.usecase-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 50%;
    color: var(--accent);
    flex-shrink: 0;
}

.usecase-icon svg {
    width: 18px;
    height: 18px;
}

.usecase-title {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================
   Pricing
   ============================================ */

.pricing {
    padding: 120px 0;
    background: var(--bg-elevated);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.toggle-label {
    font-size: 15px;
    color: var(--text-muted);
    transition: color 0.2s;
    cursor: pointer;
}

.toggle-label.toggle-active {
    color: var(--text);
}

.toggle-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 3px 8px;
    border-radius: 100px;
    vertical-align: middle;
}

.toggle-switch {
    width: 52px;
    height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-switch:hover {
    border-color: var(--border-hover);
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-switch.active .toggle-thumb {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: all 0.3s;
    position: relative;
}

.price-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.price-card-popular {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(0,229,160,0.06) 0%, var(--bg-card) 100%);
}

.price-card-popular:hover {
    border-color: var(--accent);
}

.price-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--bg);
    background: var(--accent);
    padding: 4px 16px;
    border-radius: 100px;
}

.price-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.price-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 32px;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-value {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-family: var(--font-mono);
    line-height: 1;
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
    margin-left: 4px;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.price-features li {
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.price-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 2px solid var(--accent);
}

.price-btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 40px;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    padding: 120px 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    font-family: var(--font);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.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;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */

.cta {
    padding: 60px 0 120px;
}

.cta-card {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.06;
    filter: blur(100px);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}

.cta-title {
    position: relative;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-desc {
    position: relative;
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo-text {
    font-size: 22px;
    margin-bottom: 12px;
    display: block;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
    cursor: pointer;
}

.footer-link:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Animations
   ============================================ */

[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .mobile-menu { display: flex; }
    
    .nav-inner { padding: 12px 16px; }
    
    .hero { padding-top: calc(var(--nav-height) + 20px); }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px 32px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-lg {
        grid-column: 1;
        grid-row: auto;
    }

    .feature-card-lg .feature-title {
        font-size: 22px;
    }

    .feature-card-lg .feature-desc {
        font-size: 15px;
    }

    .feature-tag {
        justify-self: center;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }
    
    .usecases-grid {
        gap: 10px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .footer-inner {
        flex-direction: column;
    }
    
    .cta-card {
        padding: 48px 24px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .features, .how, .usecases, .pricing, .faq, .download, .compare {
        padding: 80px 0;
    }

    .compare-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Download Section
   ============================================ */

.download {
    padding: 120px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.download-icon {
    color: var(--accent);
    margin-bottom: 20px;
}

.download-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.download-btn {
    width: 100%;
    justify-content: center;
}

.download-guide-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.download-guide-link:hover {
    color: var(--accent);
}

/* ============================================
   Article Page (shared by setup-*.html, blog)
   ============================================ */

.article-page {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    min-height: 100vh;
}

.article-header {
    margin-bottom: 48px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.article-back:hover {
    color: var(--accent);
}

.article-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-content {
    max-width: 720px;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 32px 0 12px;
}

.article-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover {
    color: var(--text);
}

.article-content ul, .article-content ol {
    color: var(--text-secondary);
    padding-left: 24px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content .step-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin: 24px 0;
}

.article-content .step-box h3 {
    margin-top: 0;
    color: var(--accent);
}

.article-content .step-box p {
    margin-bottom: 0;
}

.article-content .download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg);
    padding: 12px 24px;
    border-radius: var(--radius-xs);
    text-decoration: none;
    font-weight: 600;
    margin: 16px 0;
    transition: all 0.2s;
}

.article-content .download-link:hover {
    filter: brightness(1.1);
    color: var(--bg);
}

.article-content .note {
    background: rgba(0,229,160,0.08);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    margin: 24px 0;
}

.article-content .note p {
    margin-bottom: 0;
    color: var(--text);
}

/* ============================================
   Blog List Page
   ============================================ */

.blog-list {
    display: grid;
    gap: 24px;
}

.blog-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.blog-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.blog-card-tag {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: var(--radius-xs);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.blog-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-card-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Hero stats with icons */
.stat-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

/* ============================================
   Responsive: download, article
   ============================================ */

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .article-title {
        font-size: 1.8rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-animate] {
        opacity: 1;
        transform: none;
    }
}
