/* ═══════════════════════════════════════════════════════════════════
   flavor starter – Main Stylesheet
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-heading: #f8fafc;
    --border: #334155;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.3), 0 2px 4px -2px rgba(0,0,0,.3);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -4px rgba(0,0,0,.4);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.5), 0 8px 10px -6px rgba(0,0,0,.5);
    --transition: .25s ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --container: 1280px;
    --header-h: 72px;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-heading); line-height: 1.3; }

/* ── Container ────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-align: center; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary-light); border-color: var(--primary-light); }
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn-ghost:hover { color: var(--text); background: var(--bg-card); }

/* ── Promo Banner ─────────────────────────────────────────────── */
.promo-banner { background: linear-gradient(90deg, var(--primary-dark), var(--secondary)); padding: 10px 0; text-align: center; position: relative; z-index: 100; }
.promo-banner .container { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.promo-text { color: #fff; font-size: .9rem; }
.promo-cta { background: #fff; color: var(--primary-dark); padding: 4px 16px; border-radius: 20px; font-weight: 700; font-size: .85rem; }
.promo-cta:hover { background: var(--accent); color: #fff; }
.promo-close { background: none; border: none; color: rgba(255,255,255,.7); font-size: 1.2rem; cursor: pointer; padding: 0 8px; }

/* ── Header ───────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 99; background: rgba(15,23,42,.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); height: var(--header-h); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.header-logo { flex-shrink: 0; }
.site-title-link { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; color: var(--text-heading); }
.site-title-link:hover { color: var(--primary-light); }
.logo-icon { font-size: 1.6rem; color: var(--primary-light); }
.logo-text { font-family: var(--font-heading); }

.header-nav { flex: 1; }
.nav-menu { display: flex; gap: 4px; }
.nav-menu li a { padding: 8px 14px; border-radius: var(--radius-sm); color: var(--text); font-size: .9rem; font-weight: 500; transition: all var(--transition); }
.nav-menu li a:hover, .nav-menu li.current-menu-item a { color: var(--primary-light); background: rgba(79,70,229,.1); }

.header-search { position: relative; }
.search-form-mini { display: flex; align-items: center; background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border); overflow: hidden; }
.search-form-mini input { background: transparent; border: none; padding: 8px 14px; color: var(--text); font-size: .85rem; width: 220px; outline: none; }
.search-form-mini input::placeholder { color: var(--text-muted); }
.search-form-mini button { background: none; border: none; color: var(--text-muted); padding: 8px 12px; cursor: pointer; }
.search-form-mini button:hover { color: var(--primary-light); }

.search-results-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-xl); display: none; max-height: 400px; overflow-y: auto; z-index: 100; }
.search-results-dropdown.active { display: block; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--transition); }
.search-result-item:hover { background: var(--bg-card-hover); }
.search-result-item img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.search-result-item .result-info { flex: 1; }
.search-result-item .result-title { font-size: .85rem; font-weight: 600; color: var(--text-heading); }
.search-result-item .result-cat { font-size: .75rem; color: var(--text-muted); }

.header-account { display: flex; gap: 8px; flex-shrink: 0; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ── Sections ─────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 40px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero-section { position: relative; padding: 100px 0 80px; overflow: hidden; background: linear-gradient(135deg, var(--bg) 0%, #1a1040 50%, var(--bg) 100%); }
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: .1; }
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--secondary); bottom: -50px; left: -50px; }
.shape-3 { width: 200px; height: 200px; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-title { font-size: 3rem; font-weight: 900; margin-bottom: 20px; line-height: 1.15; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.hero-features { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-feature { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text); background: rgba(255,255,255,.05); padding: 6px 14px; border-radius: 20px; }
.hero-feature i { color: var(--success); }
.hero-cta { font-size: 1rem; }

/* Hero Illustration */
.hero-illustration { position: relative; min-height: 400px; }
.floating-card { position: absolute; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 24px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.floating-card i { font-size: 1.5rem; color: var(--primary-light); }
.card-1 { top: 20%; left: 10%; animation-delay: 0s; }
.card-2 { top: 50%; right: 5%; animation-delay: 2s; }
.card-3 { bottom: 10%; left: 25%; animation-delay: 4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* ── Trust Bar ────────────────────────────────────────────────── */
.trust-bar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-items { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.trust-item i { color: var(--success); font-size: 1rem; }

/* ── Product Cards ────────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.product-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.product-card-thumb { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; }
.product-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.product-card:hover .product-card-thumb img { transform: scale(1.05); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.placeholder-img { display: flex; align-items: center; justify-content: center; height: 100%; background: linear-gradient(135deg, var(--bg-card-hover), var(--bg)); color: var(--primary-light); font-size: 3rem; }
.product-card-body { padding: 16px; }
.product-card-title { font-size: .95rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.product-card-title a { color: var(--text-heading); }
.product-card-title a:hover { color: var(--primary-light); }
.product-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .8rem; color: var(--text-muted); flex-wrap: wrap; }
.version { background: rgba(79,70,229,.15); color: var(--primary-light); padding: 2px 8px; border-radius: 4px; font-size: .75rem; }
.download-count { font-size: .75rem; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.product-card-price { display: flex; align-items: center; gap: 8px; }
.price-tag { font-size: 1.1rem; font-weight: 800; color: var(--success); }
.price-discount { background: rgba(16,185,129,.15); color: var(--success); padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 700; }

/* Star Rating */
.star-rating { display: inline-flex; gap: 2px; }
.star-rating i { color: var(--accent); font-size: .8rem; }

/* ── Pricing Cards ────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1200px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
.pricing-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; position: relative; transition: all var(--transition); }
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.pricing-card-popular { border-color: var(--primary); }
.pricing-card-premium { border-color: var(--accent); background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245,158,11,.05) 100%); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 4px 20px; border-radius: 20px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pricing-card-premium .popular-badge { background: var(--accent); color: var(--bg); }
.pricing-card-header { text-align: center; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.pricing-label { font-size: 1rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 12px; }
.pricing-price { display: flex; align-items: flex-start; justify-content: center; gap: 2px; }
.price-currency { font-size: 1.2rem; font-weight: 700; margin-top: 4px; }
.price-amount { font-size: 3rem; font-weight: 900; line-height: 1; color: var(--text-heading); }
.price-period { font-size: .9rem; color: var(--text-muted); align-self: flex-end; margin-bottom: 4px; }
.price-original { text-decoration: line-through; color: var(--text-muted); font-size: .9rem; align-self: center; margin-right: 8px; }
.pricing-features { margin-bottom: 28px; }
.pricing-features li { padding: 8px 0; display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text); }
.pricing-features li i.fa-check { color: var(--success); margin-top: 3px; }
.pricing-features li i.fa-star { color: var(--accent); margin-top: 3px; }
.pricing-btn { margin-top: auto; }

/* ── Features ─────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: all var(--transition); }
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(79,70,229,.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.4rem; color: var(--primary-light); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .9rem; }

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-section { background: var(--bg-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.testimonial-stars { margin-bottom: 12px; }
.testimonial-text { font-size: .95rem; font-style: italic; color: var(--text); margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(79,70,229,.2); display: flex; align-items: center; justify-content: center; }
.author-avatar i { font-size: 1.5rem; color: var(--primary-light); }
.testimonial-author strong { display: block; font-size: .9rem; color: var(--text-heading); }
.testimonial-author span { font-size: .8rem; color: var(--text-muted); }

/* ── Stats ────────────────────────────────────────────────────── */
.stats-section { background: linear-gradient(135deg, var(--primary-dark), var(--secondary)); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-number { font-size: 2.8rem; font-weight: 900; color: #fff; font-family: var(--font-heading); }
.stat-label { font-size: .9rem; color: rgba(255,255,255,.8); margin-top: 4px; }

/* ── Blog Cards ───────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.blog-card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-thumb { display: flex; align-items: center; justify-content: center; background: var(--bg-card-hover); color: var(--primary-light); font-size: 3rem; }
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: .8rem; color: var(--text-muted); margin-bottom: 8px; display: block; }
.blog-card-body h3 { font-size: 1rem; margin-bottom: 8px; }
.blog-card-body h3 a { color: var(--text-heading); }
.blog-card-body h3 a:hover { color: var(--primary-light); }
.blog-card-body p { font-size: .9rem; color: var(--text-muted); }
.read-more { font-size: .85rem; font-weight: 600; color: var(--primary-light); margin-top: 8px; display: inline-block; }

/* ── CTA Section ──────────────────────────────────────────────── */
.cta-section { background: var(--bg-light); }
.cta-inner { text-align: center; padding: 60px 40px; background: linear-gradient(135deg, rgba(79,70,229,.15), rgba(14,165,233,.15)); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.cta-inner h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-inner p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.1rem; }

/* ── Auth Section ─────────────────────────────────────────────── */
.auth-section { min-height: calc(100vh - var(--header-h) - 100px); display: flex; align-items: center; }
.auth-card { max-width: 480px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header h1 { font-size: 1.6rem; margin-bottom: 8px; }
.auth-header p { color: var(--text-muted); }
.auth-form .form-group { margin-bottom: 20px; }
.auth-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.auth-form label i { margin-right: 4px; color: var(--text-muted); }
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] { width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: .95rem; transition: border-color var(--transition); }
.auth-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.2); }
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; }
.form-row { display: flex; gap: 16px; }
.form-row-between { justify-content: space-between; align-items: center; margin-bottom: 20px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted); cursor: pointer; }
.checkbox-label input { width: 16px; height: 16px; }
.form-link { font-size: .85rem; color: var(--primary-light); }
.auth-footer { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.auth-footer p { font-size: .9rem; color: var(--text-muted); }
.auth-messages { margin-bottom: 16px; }
.auth-messages .msg-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: var(--danger); padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; }
.auth-messages .msg-success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: var(--success); padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; }

/* Password Strength */
.password-strength { margin-top: 6px; height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.password-strength .strength-bar { height: 100%; border-radius: 2px; transition: width .3s ease, background .3s ease; width: 0; }

/* ── Dashboard ────────────────────────────────────────────────── */
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.dashboard-welcome h1 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dashboard-welcome p { color: var(--text-muted); }
.dashboard-actions { display: flex; gap: 12px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 32px; }
.dash-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; gap: 16px; }
.dash-card-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(79,70,229,.15); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary-light); flex-shrink: 0; }
.dash-card-label { font-size: .8rem; color: var(--text-muted); display: block; }
.dash-card-value { font-size: 1.1rem; font-weight: 700; color: var(--text-heading); }

.membership-badge { padding: 4px 12px; border-radius: 20px; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.badge-free { background: var(--bg-card-hover); color: var(--text-muted); }
.badge-basic { background: rgba(14,165,233,.15); color: var(--secondary); }
.badge-elite { background: rgba(79,70,229,.15); color: var(--primary-light); }
.badge-worldclass { background: rgba(16,185,129,.15); color: var(--success); }
.badge-gladiator { background: rgba(245,158,11,.15); color: var(--accent); }

.upgrade-banner { background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(14,165,233,.1)); border: 1px solid var(--primary); border-radius: var(--radius); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.upgrade-content h3 { font-size: 1.1rem; margin-bottom: 4px; }
.upgrade-content p { color: var(--text-muted); font-size: .9rem; }

.dashboard-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.panel-title { font-size: 1.1rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.downloads-table-wrap { overflow-x: auto; }
.downloads-table { width: 100%; border-collapse: collapse; }
.downloads-table th, .downloads-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
.downloads-table th { color: var(--text-muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; }
.downloads-table td a { color: var(--primary-light); }

.empty-state { text-align: center; padding: 40px 20px; }
.empty-state i { font-size: 2.5rem; color: var(--text-muted); margin-bottom: 12px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); }

.account-info .info-row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.info-label { font-weight: 600; color: var(--text-muted); min-width: 140px; font-size: .9rem; }
.info-value { color: var(--text); font-size: .9rem; }
.text-success { color: var(--success); }
.text-muted { color: var(--text-muted); }
.text-danger { color: #ef4444; }

/* ── API Key Panel ────────────────────────────────────────────── */
.api-key-panel .panel-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.api-key-display { margin-bottom: 20px; }
.api-key-field { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.api-key-input { flex: 1; min-width: 200px; background: var(--bg-body); border: 1px solid var(--border); border-radius: 6px; padding: 10px 14px; font-family: 'Courier New', monospace; font-size: .85rem; color: var(--text); letter-spacing: .5px; }
.api-key-message { margin-top: 8px; font-size: .85rem; }
.api-key-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 20px; }
.api-meta-item { display: flex; align-items: center; gap: 8px; font-size: .88rem; padding: 8px 12px; background: var(--bg-body); border-radius: 6px; }
.api-meta-item .meta-label { color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.api-meta-item .meta-value { color: var(--text); }
.api-usage-guide { background: var(--bg-body); border-radius: var(--radius); padding: 16px 20px; }
.api-usage-guide h4 { font-size: .95rem; margin-bottom: 12px; }
.api-endpoint { margin-bottom: 8px; font-size: .85rem; }
.api-endpoint strong { color: var(--primary-light); margin-right: 6px; }
.api-endpoint code { background: rgba(79,70,229,.08); padding: 4px 8px; border-radius: 4px; font-size: .8rem; word-break: break-all; }
.btn-danger { color: #ef4444 !important; border-color: #ef4444 !important; }
.btn-danger:hover { background: #ef4444 !important; color: #fff !important; }

/* ── OTP Verification ─────────────────────────────────────────── */
.otp-group { display: flex; gap: 8px; align-items: flex-start; }
.otp-group input { flex: 1; }
.otp-code-group { margin-top: 12px; }
#otpMessage { margin-top: 6px; font-size: .85rem; }

/* ── Single Product ───────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); }

.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.product-single-media { border-radius: var(--radius); overflow: hidden; position: relative; }
.product-single-media img { width: 100%; }
.product-badge-large { font-size: .9rem; padding: 6px 16px; }
.placeholder-img-large { min-height: 300px; font-size: 5rem; }
.product-single-title { font-size: 1.8rem; margin-bottom: 16px; }
.product-single-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--text-muted); }
.product-single-price-box { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.price-current { font-size: 2rem; font-weight: 900; color: var(--success); }
.product-single-price-box .price-original { font-size: 1.2rem; }
.product-single-description { margin-bottom: 28px; color: var(--text-muted); line-height: 1.8; }
.product-actions { margin-bottom: 28px; }
.action-note { font-size: .85rem; color: var(--text-muted); margin-top: 8px; text-align: center; }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); font-size: .9rem; display: flex; align-items: flex-start; gap: 8px; }
.alert-warning { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: var(--accent); }
.product-changelog { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.product-changelog h3 { margin-bottom: 12px; }
.changelog-content { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.related-products { padding-top: 48px; }

/* ── Archive ──────────────────────────────────────────────────── */
.archive-header { margin-bottom: 32px; }
.archive-title { font-size: 2rem; margin-bottom: 8px; }
.archive-subtitle { color: var(--text-muted); }
.archive-filters { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-tab { padding: 8px 16px; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 500; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); transition: all var(--transition); }
.filter-tab:hover, .filter-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-search { position: relative; }
.filter-search input { padding: 10px 16px 10px 36px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: .9rem; width: 240px; }
.filter-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* ── Pagination ───────────────────────────────────────────────── */
.pagination-wrap { margin-top: 40px; text-align: center; }
.pagination { display: inline-flex; gap: 4px; }
.pagination li a, .pagination li span { padding: 8px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: .9rem; transition: all var(--transition); display: block; }
.pagination li a:hover, .pagination li span.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Post Single ──────────────────────────────────────────────── */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.post-header { margin-bottom: 28px; }
.post-header h1 { font-size: 2rem; margin-bottom: 12px; }
.post-meta { display: flex; gap: 20px; color: var(--text-muted); font-size: .85rem; flex-wrap: wrap; }
.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-featured-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.entry-content { font-size: 1rem; line-height: 1.8; color: var(--text); }
.entry-content h2 { margin-top: 32px; margin-bottom: 12px; }
.entry-content h3 { margin-top: 24px; margin-bottom: 10px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 16px 0; padding-left: 24px; }
.entry-content li { margin-bottom: 8px; list-style: disc; }
.entry-content img { border-radius: var(--radius-sm); margin: 16px 0; }
.entry-content blockquote { border-left: 4px solid var(--primary); padding: 16px 20px; margin: 20px 0; background: rgba(79,70,229,.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.post-tags { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-muted); }
.post-navigation { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.post-nav-prev a, .post-nav-next a { color: var(--primary-light); font-size: .9rem; }

/* Sidebar */
.sidebar-wrap .widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.widget-title { font-size: 1rem; margin-bottom: 12px; }

/* ── 404 ──────────────────────────────────────────────────────── */
.error-404 { padding: 60px 20px; }
.error-code { font-size: 8rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 16px; }
.error-404 h2 { font-size: 1.8rem; margin-bottom: 8px; }
.error-404 p { color: var(--text-muted); margin-bottom: 24px; }
.error-actions { display: flex; gap: 12px; justify-content: center; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer { background: var(--bg-light); border-top: 1px solid var(--border); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-heading { font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-card); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all var(--transition); }
.footer-socials a:hover { background: var(--primary); color: #fff; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: var(--text-muted); font-size: .9rem; }
.footer-links li a:hover { color: var(--primary-light); }
.footer-col p { color: var(--text-muted); font-size: .85rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-col p i { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; }
.copyright { font-size: .85rem; color: var(--text-muted); margin-bottom: 8px; }
.footer-legal { font-size: .75rem; color: var(--text-muted); opacity: .7; max-width: 800px; margin: 0 auto; line-height: 1.6; }

/* ── GPL Disclaimer ───────────────────────────────────────────── */
.gpl-disclaimer { margin-top: 48px; padding: 24px; background: rgba(79,70,229,.05); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.gpl-disclaimer p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-illustration { display: none; }
    .hero-features { justify-content: center; }
    .product-single { grid-template-columns: 1fr; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-nav, .header-search { display: none; }
    .mobile-toggle { display: flex; }
    .header-inner { flex-wrap: wrap; }
    .header-nav.mobile-open { display: block; width: 100%; order: 10; padding: 16px 0; }
    .header-nav.mobile-open .nav-menu { flex-direction: column; }
    .header-search.mobile-open { display: block; width: 100%; order: 11; padding-bottom: 16px; }
    .header-search.mobile-open .search-form-mini input { width: 100%; }
    .section { padding: 50px 0; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-header { flex-direction: column; align-items: flex-start; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .upgrade-banner { flex-direction: column; text-align: center; gap: 16px; }
    .auth-card { padding: 24px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .trust-items { flex-direction: column; align-items: center; gap: 12px; }
    .header-account .btn { padding: 6px 10px; font-size: .8rem; }
    .stat-number { font-size: 2rem; }
}
