/* =====================================================
   SalesScraper Pro — Landing Page Stylesheet
   ===================================================== */

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

:root {
    --bg:        #f8fafc;
    --bg2:       #ffffff;
    --bg3:       #f1f5f9;
    --border:    #e2e8f0;
    --accent:    #2563eb;
    --accent2:   #4f46e5;
    --gold:      #d97706;
    --text:      #0f172a;
    --muted:     #64748b;
    --green:     #16a34a;
    --red:       #dc2626;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.accent { color: var(--accent); }

.gradient-text {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2563eb;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.btn-primary.btn-full { display: flex; justify-content: center; width: 100%; }
.btn-primary.btn-xl { font-size: 18px; padding: 18px 40px; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

.btn-nav {
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-nav:hover { background: #1d4ed8; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

/* ── NAV ─────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #0f172a;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1e293b;
    transition: background 0.3s;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 34px; height: 34px; border-radius: 50%; }
.nav-logo-text { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; color: #f1f5f9; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: #94a3b8; transition: color 0.2s; }
.nav-links a:hover { color: #f1f5f9; }

/* ── HERO ────────────────────────────────────────── */
.hero {
    padding: 140px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    background: #f8fafc;
}
.hero-badge {
    display: inline-block;
    background: rgba(217,119,6,0.08);
    border: 1px solid rgba(217,119,6,0.25);
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 32px;
    display: inline-flex;
    margin-bottom: 60px;
}
.proof-item { display: flex; flex-direction: column; align-items: center; padding: 0 28px; }
.proof-num { font-size: 24px; font-weight: 800; color: var(--accent); }
.proof-label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* Extension mockup */
.hero-visual { display: flex; justify-content: center; }
.popup-mockup {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
}
.popup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg3);
    border-bottom: 1px solid var(--border);
}
.popup-dots { display: flex; gap: 5px; }
.popup-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.popup-title { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: auto; }
.popup-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.popup-stat { background: var(--bg3); border-radius: 8px; padding: 12px; text-align: center; }
.popup-stat-label { font-size: 10px; letter-spacing: 0.8px; color: var(--muted); margin-bottom: 4px; }
.popup-stat-num { font-size: 36px; font-weight: 800; color: var(--accent); }
.popup-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,0.06);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--accent);
}
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1s ease-in-out infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.popup-btn-blue { background: var(--accent); color: #fff; border-radius: 6px; padding: 10px; font-size: 12px; font-weight: 700; text-align: center; }
.popup-btn-row { display: flex; gap: 8px; }
.popup-btn-outline { flex:1; border: 1px solid var(--border); border-radius: 6px; padding: 8px; font-size: 11px; text-align: center; color: var(--muted); }
.popup-btn-red-text { color: var(--red); border: 1px solid var(--border); border-radius: 6px; padding: 8px; font-size: 11px; text-align: center; }

/* ── DEMO SECTION ────────────────────────────────── */
.demo-section { padding: 100px 0; background: var(--bg); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.demo-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: left; }
.demo-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.demo-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.loom-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.loom-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ── PAIN ────────────────────────────────────────── */
.pain {
    padding: 100px 0;
    background: var(--bg2);
    text-align: center;
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.pain-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 22px;
    transition: border-color 0.3s, transform 0.3s;
}
.pain-card:hover { border-color: rgba(220,38,38,0.3); transform: translateY(-3px); }
.pain-icon { font-size: 32px; margin-bottom: 12px; }
.pain-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── SOLUTION ────────────────────────────────────── */
.solution { padding: 100px 0; }
.solution-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.solution-desc { font-size: 16px; color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
.solution-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.solution-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.check { color: var(--green); font-weight: 700; font-size: 18px; flex-shrink: 0; }

.csv-mockup {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.csv-header {
    display: flex;
    align-items: center;
    background: var(--bg3);
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}
.csv-tab { font-size: 12px; color: var(--muted); flex: 1; }
.csv-controls { display: flex; gap: 6px; }
.csv-controls span { width: 12px; height: 12px; border-radius: 50%; background: var(--border); }
.csv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.csv-table th { background: rgba(37,99,235,0.06); padding: 10px 14px; text-align: left; font-weight: 700; color: var(--accent); font-size: 12px; border-bottom: 1px solid var(--border); }
.csv-row td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.csv-row:nth-child(even) { background: var(--bg3); }
.csv-dim td { color: var(--muted); font-style: italic; }

/* ── FEATURES ────────────────────────────────────── */
.features {
    padding: 100px 0;
    background: var(--bg2);
    text-align: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.feature-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: left;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── HOW IT WORKS ────────────────────────────────── */
.how-it-works { padding: 100px 0; text-align: center; }
.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 50px;
    justify-content: center;
}
.step {
    flex: 1;
    max-width: 280px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: left;
}
.step-num {
    font-size: 40px;
    font-weight: 900;
    color: rgba(37,99,235,0.15);
    line-height: 1;
    margin-bottom: 12px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.step-arrow { font-size: 28px; color: var(--border); padding-top: 48px; flex-shrink: 0; }

/* ── PRICING ─────────────────────────────────────── */
.pricing {
    padding: 100px 0;
    background: var(--bg2);
    text-align: center;
}
.pricing-sub { font-size: 17px; color: var(--muted); margin-bottom: 48px; }
.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.pricing-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    width: 340px;
    text-align: left;
    transition: transform 0.3s;
}
.pricing-card.featured {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: scale(1.03);
}
.pricing-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 16px;
}
.pricing-amount { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 4px; }
.price-currency { font-size: 28px; font-weight: 800; padding-top: 8px; }
.price-main { font-size: 64px; font-weight: 900; line-height: 1; }
.pricing-original { font-size: 14px; color: var(--muted); text-decoration: line-through; margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: 14px; color: var(--text); }
.pricing-secure { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}
.trust-item {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.refund-note {
    max-width: 640px;
    margin: 0 auto;
    font-size: 13px;
    color: var(--muted);
    background: rgba(220,38,38,0.04);
    border: 1px solid rgba(220,38,38,0.12);
    border-radius: 8px;
    padding: 14px 18px;
    line-height: 1.6;
    text-align: left;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq { padding: 100px 0; text-align: center; }
.faq-list { max-width: 720px; margin: 40px auto 0; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg3); }
.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--accent); }
.faq-q.open::after { content: '−'; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}
.faq-a.open { max-height: 800px; padding: 0 20px 18px; }

/* ── FINAL CTA ───────────────────────────────────── */
.final-cta {
    padding: 100px 24px;
    text-align: center;
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}
.final-cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 16px; }
.final-cta p { font-size: 18px; color: var(--muted); margin-bottom: 36px; }
.final-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ── FOOTER ──────────────────────────────────────── */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.footer-logo { width: 30px; height: 30px; border-radius: 50%; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { text-align: center; font-size: 13px; color: var(--muted); }

/* ── SCROLL REVEAL ───────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .solution-inner { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); padding: 0; }
    .pricing-card.featured { transform: none; }
    .pricing-card { width: 100%; max-width: 400px; }
    .hero-proof { flex-direction: column; gap: 12px; }
    .proof-divider { width: 60px; height: 1px; }
    .demo-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
}
