/* SellerLens - Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #a855f7;
    --success: #10b981;
    --bg: #060614;
    --surface: #0d0d2b;
    --card: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --text: #f8fafc;
    --muted: #94a3b8;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

/* CONTAINER */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    background: rgba(6, 6, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; transition: opacity 0.2s; }
.logo:hover { opacity: 0.85; }
.logo-icon { font-size: 22px; }
.logo-text { font-size: 20px; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
    padding: 10px 22px; background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px;
    transition: all 0.2s; box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(99,102,241,0.4); }

/* HERO */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 120px 0 80px; overflow: hidden;
}
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta,
.hero-stats { max-width: 560px; }
.hero .container { width: 100%; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
    position: absolute; border-radius: 50%; filter: blur(80px);
    animation: orb-float 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: rgba(99,102,241,0.15); top: -100px; right: -150px; animation-delay: 0s; }
.orb-2 { width: 350px; height: 350px; background: rgba(168,85,247,0.12); bottom: 0; left: -100px; animation-delay: 3s; }
.orb-3 { width: 250px; height: 250px; background: rgba(99,102,241,0.08); top: 50%; left: 30%; animation-delay: 6s; }
@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
    padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
    color: #a5b4fc; margin-bottom: 28px;
}
.pulse-dot {
    width: 8px; height: 8px; background: var(--success); border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero-title {
    font-size: clamp(42px, 6vw, 76px); font-weight: 900;
    line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 24px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #f472b6 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 18px; line-height: 1.7; color: var(--muted); margin-bottom: 40px; max-width: 540px; }

.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: 16px;
    box-shadow: 0 10px 40px rgba(99,102,241,0.35); transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 60px rgba(99,102,241,0.5); }
.btn-primary.btn-large { padding: 20px 40px; font-size: 18px; border-radius: 20px; }
.btn-ghost { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.2s; }
.btn-ghost:hover { color: var(--text); }

.hero-stats { display: flex; align-items: center; gap: 32px; }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 22px; font-weight: 800; }
.stat-desc { font-size: 12px; color: var(--muted); }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border); }

/* WIDGET PREVIEW */
.widget-preview {
    position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
    z-index: 10;
}
.widget-glow {
    position: absolute; inset: -30px; background: radial-gradient(ellipse, rgba(99,102,241,0.15), transparent);
    filter: blur(20px); z-index: -1;
}
.widget-mockup {
    width: 300px; background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5); border-radius: 28px;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5);
    overflow: hidden; animation: widget-float 6s ease-in-out infinite;
}
@keyframes widget-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}
.wm-header {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    padding: 16px 20px; color: white;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 800; font-size: 15px;
}
.wm-pro { background: linear-gradient(135deg, #f59e0b, #d97706); padding: 2px 8px; border-radius: 6px; font-size: 10px; margin-left: 6px; }
.wm-close { font-size: 20px; opacity: 0.7; cursor: pointer; }
.wm-body { padding: 20px; color: #1f2937; }
.wm-tabs { display: flex; gap: 4px; background: rgba(0,0,0,0.05); padding: 4px; border-radius: 12px; margin-bottom: 18px; }
.wm-tab { flex: 1; padding: 7px; border: none; background: transparent; border-radius: 8px; font-weight: 700; font-size: 12px; cursor: pointer; color: #6b7280; transition: all 0.2s; }
.wm-tab.active { background: white; color: #6366f1; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.wm-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13px; }
.wm-label { color: #6b7280; font-weight: 500; }
.wm-val { font-weight: 700; }
.wm-input-block { background: rgba(99,102,241,0.05); border: 1px solid rgba(99,102,241,0.12); border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.wm-input-block label { display: block; font-size: 9px; font-weight: 800; color: #6366f1; letter-spacing: 0.8px; margin-bottom: 6px; }
.wm-input { background: white; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 14px; color: #1f2937; }
.wm-health { margin-bottom: 14px; }
.wm-bar-bg { height: 8px; background: rgba(0,0,0,0.06); border-radius: 6px; margin-top: 6px; overflow: hidden; }
.wm-bar { height: 100%; background: linear-gradient(90deg, #10b981, #34d399); border-radius: 6px; transition: width 1s; }
.profit-row .wm-profit { color: #10b981; font-size: 18px; font-weight: 800; }
.wm-badge { display: inline-block; background: #fef3c7; color: #92400e; border-radius: 20px; padding: 5px 12px; font-size: 11px; font-weight: 700; margin: 10px 0; }
.wm-btn { width: 100%; padding: 12px; background: #6366f1; color: white; border: none; border-radius: 14px; font-weight: 700; font-size: 13px; cursor: pointer; margin-top: 10px; transition: all 0.2s; }
.wm-btn:hover { background: #4f46e5; transform: translateY(-1px); }

/* SECTIONS COMMON */
.section-label {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    color: var(--primary); margin-bottom: 16px;
}
.section-title {
    font-size: clamp(32px, 4vw, 52px); font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 60px;
}

/* FEATURES */
.features { padding: 120px 0; }
.section-subtitle { font-size: 16px; color: var(--muted); margin-top: -40px; margin-bottom: 60px; max-width: 600px; }

.features-tier { margin-bottom: 60px; }
.tier-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 22px; border-radius: 30px; font-size: 14px; font-weight: 800;
    letter-spacing: 0.5px; margin-bottom: 28px;
}
.tier-free {
    background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: #34d399;
}
.tier-pro {
    background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.35); color: #a5b4fc;
}

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

/* Compact cards for PRO grid */
.features-grid-pro .feature-card {
    padding: 20px 18px;
    border-radius: 18px;
}
.features-grid-pro .fc-icon { font-size: 26px; margin-bottom: 10px; }
.features-grid-pro .feature-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 7px; line-height: 1.3; }
.features-grid-pro .feature-card p { font-size: 12px; line-height: 1.65; }
.features-grid-pro .fc-pro-badge { font-size: 8px; padding: 2px 6px; top: 12px; right: 12px; }

.feature-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 24px;
    padding: 28px; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); position: relative;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.06); }
.card-highlight { border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.06); }

.feature-pro {
    border-color: rgba(99,102,241,0.25);
    background: linear-gradient(135deg, rgba(99,102,241,0.07), rgba(168,85,247,0.05));
}
.feature-pro:hover { border-color: rgba(168,85,247,0.5); background: rgba(99,102,241,0.12); }

.fc-pro-badge {
    position: absolute; top: 16px; right: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; font-size: 9px; font-weight: 800; letter-spacing: 1px;
    padding: 3px 8px; border-radius: 8px;
}
.fc-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.feature-card p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.feature-card p code { background: rgba(99,102,241,0.15); color: #a5b4fc; padding: 1px 5px; border-radius: 4px; font-size: 11px; }

/* HOW */
.how { padding: 120px 0; background: var(--surface); }
.steps { display: flex; align-items: center; gap: 0; }
.step { flex: 1; padding: 40px; background: var(--card); border: 1px solid var(--border); border-radius: 24px; }
.step-connector { width: 60px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); flex-shrink: 0; }
.step-num { font-size: 48px; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; line-height: 1; }
.step-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step-content p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* PRICING */
.pricing { padding: 120px 0; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto 32px; }
.plan-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 28px;
    padding: 40px; position: relative; transition: all 0.3s;
}
.plan-pro { border-color: rgba(99,102,241,0.4); background: rgba(99,102,241,0.07); }
.plan-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; padding: 6px 20px; border-radius: 20px; font-size: 11px; font-weight: 800; letter-spacing: 1px; white-space: nowrap;
}
.plan-name { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.plan-price { font-size: 48px; font-weight: 900; margin-bottom: 28px; letter-spacing: -0.03em; }
.plan-price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-features li { font-size: 14px; font-weight: 500; }
.plan-features li.disabled { color: var(--muted); }
.btn-plan {
    display: block; padding: 16px; text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border-radius: 16px; text-decoration: none; font-weight: 700;
    transition: all 0.2s; box-shadow: 0 8px 20px rgba(99,102,241,0.3);
}
.btn-plan:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(99,102,241,0.4); }
.btn-plan-ghost {
    display: block; padding: 16px; text-align: center;
    border: 1px solid var(--border); color: var(--muted);
    border-radius: 16px; text-decoration: none; font-weight: 700;
    transition: all 0.2s;
}
.btn-plan-ghost:hover { border-color: var(--primary); color: var(--text); }
.pricing-note {
    text-align: center; font-size: 14px; color: var(--muted);
    background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2);
    padding: 14px 24px; border-radius: 16px; max-width: 500px; margin: 0 auto;
}

/* CTA */
.install-cta { padding: 120px 0; }
.cta-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.1));
    border: 1px solid rgba(99,102,241,0.25); border-radius: 40px;
    padding: 80px; text-align: center; position: relative; overflow: hidden;
}
.cta-card h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.cta-card p { font-size: 18px; color: var(--muted); margin-bottom: 40px; }
.orb-cta-1 { width: 300px; height: 300px; background: rgba(99,102,241,0.1); top: -100px; left: -100px; }
.orb-cta-2 { width: 200px; height: 200px; background: rgba(168,85,247,0.1); bottom: -80px; right: -80px; }
.cta-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* FOOTER */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { padding: 120px 0; background: var(--surface); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--card); border: 1px solid var(--border); border-radius: 20px;
    overflow: hidden; transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(99,102,241,0.4); }
.faq-item[open] .faq-question { color: var(--text); }
.faq-question {
    list-style: none; padding: 22px 28px; font-size: 16px; font-weight: 600;
    color: var(--muted); cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    transition: color 0.2s; user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+'; font-size: 22px; font-weight: 300; color: var(--primary);
    transition: transform 0.3s; flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-question:hover { color: var(--text); }
.faq-answer {
    padding: 0 28px 22px; font-size: 15px; line-height: 1.75; color: var(--muted);
    border-top: 1px solid var(--border); padding-top: 18px;
}
.faq-answer strong { color: var(--text); }

/* SCROLL ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:nth-child(2) { transition-delay: 0.05s; }
.feature-card:nth-child(3) { transition-delay: 0.1s; }
.feature-card:nth-child(4) { transition-delay: 0.15s; }
.feature-card:nth-child(5) { transition-delay: 0.2s; }
.feature-card:nth-child(6) { transition-delay: 0.25s; }
.feature-card:nth-child(7) { transition-delay: 0.3s; }
.feature-card:nth-child(8) { transition-delay: 0.35s; }

.nav.scrolled { box-shadow: 0 8px 32px rgba(0,0,0,0.3); }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid-pro { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
    .widget-preview { display: none; }
    .hero-badge, .hero-title, .hero-subtitle, .hero-cta, .hero-stats { max-width: 100%; }
    .hero-title { font-size: 52px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .features-grid-pro { grid-template-columns: repeat(2, 1fr); }
    .steps { flex-direction: column; }
    .step-connector { width: 2px; height: 40px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 40px 24px; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ====== WIDGET MOCKUP UPDATES ====== */
.wm-toggle-group {
    display: flex; gap: 4px; align-items: center; margin-bottom: 8px;
}
.wm-toggle {
    flex: 1; padding: 5px 8px; border: 1px solid rgba(99,102,241,0.25);
    border-radius: 8px; background: transparent; font-size: 11px;
    font-weight: 700; color: #6b7280; cursor: default;
}
.wm-toggle.active {
    background: #6366f1; color: white; border-color: #6366f1;
}
.wm-tip {
    display: inline-flex; align-items: center; justify-content: center;
    width: 13px; height: 13px; border-radius: 50%;
    background: rgba(99,102,241,0.2); color: #6366f1;
    font-size: 8px; font-weight: 800; cursor: default;
    border: 1px solid rgba(99,102,241,0.3); vertical-align: middle; margin-left: 2px;
}
.wm-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wm-input-unit {
    display: flex; align-items: center; gap: 4px;
    padding: 5px 8px; background: #f8fafc; border-radius: 8px;
    border: 1px solid #e2e8f0; font-size: 12px; font-weight: 700;
}
.wm-unit { color: #94a3b8; font-weight: 500; }
.wm-profit-block {
    background: linear-gradient(135deg,rgba(99,102,241,0.08),rgba(168,85,247,0.06));
    border: 1px solid rgba(99,102,241,0.2); border-radius: 10px;
    padding: 8px; text-align: center; margin: 6px 0;
}
.wm-profit-label { font-size: 9px; font-weight: 700; color: #94a3b8; letter-spacing: 0.05em; }
.wm-profit { font-size: 20px; font-weight: 800; color: #10b981; }
.wm-stock-row {
    display: flex; gap: 6px; align-items: center; margin: 6px 0;
}
.wm-stock-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 10px; background: #fef3c7; color: #92400e;
    border-radius: 16px; font-size: 10px; font-weight: 700;
    border: 1px solid rgba(245,158,11,0.3); flex-shrink: 0;
}
.wm-sku-btn {
    padding: 5px 10px; border: 1px solid rgba(99,102,241,0.3);
    border-radius: 16px; background: rgba(99,102,241,0.06);
    font-size: 10px; color: #6366f1; cursor: default; font-weight: 600;
}

/* AI кнопка — пульс после расчёта */
@keyframes wm-pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(99,102,241,0.3); }
    50%       { box-shadow: 0 4px 30px rgba(99,102,241,0.7); transform: translateY(-1px); }
}
.wm-btn-pulse { animation: wm-pulse-glow 1.8s ease-in-out infinite; }
