/* ═══════════════════════════════════════════
   ScrapeMails.pro — Main Stylesheet
   Theme: UpGrow-inspired (Light Pink/Purple)
═══════════════════════════════════════════ */

:root {
    --primary: #E91E8C;
    --primary-dark: #BE185D;
    --accent: #8B5CF6;
    --accent-2: #F59E0B;
    --accent-3: #FBBF24;
    --dark: #0F172A;
    --text: #1E293B;
    --muted: #64748B;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --success: #10B981;
    --danger: #EF4444;
    --grad-pink: linear-gradient(135deg, #E91E8C 0%, #8B5CF6 100%);
    --grad-yellow: linear-gradient(135deg, #FBBF24 0%, #FB923C 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(233,30,140,0.15);
    --radius: 16px;
    --radius-sm: 10px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

button {
    cursor: pointer;
    font-family: inherit;
}

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

/* ═══ TOP BAR ═══ */
.topbar {
    background: var(--grad-pink);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.topbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.topbar-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.topbar-text {
    font-weight: 500;
    opacity: 0.95;
}

.topbar-counter {
    font-weight: 500;
    opacity: 0.95;
}

.topbar-counter strong {
    color: #FEF3C7;
}

/* ═══ NAVBAR ═══ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--grad-pink);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
}

.logo-text small {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.logo-badge {
    background: var(--dark);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a {
    color: var(--text);
    transition: color 0.2s;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
}

/* ═══ BUTTONS ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--grad-pink);
    color: white;
    box-shadow: 0 4px 14px rgba(233,30,140,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233,30,140,0.4);
}

.btn-hero {
    background: var(--grad-pink);
    color: white;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(233,30,140,0.35);
    border-radius: 14px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233,30,140,0.45);
}

.btn-hero-secondary {
    background: white;
    color: var(--dark);
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 700;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 14px;
}

.btn-hero-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ═══ AD SLOTS ═══ */
.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #F8FAFC;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    min-height: 76px;
}

.ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: 70px;
    background: repeating-linear-gradient(
        45deg,
        #F1F5F9,
        #F1F5F9 10px,
        #E2E8F0 10px,
        #E2E8F0 20px
    );
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ═══ HERO ═══ */
.hero {
    position: relative;
    padding: 36px 0 44px;
    overflow: hidden;
    background: linear-gradient(180deg, #FDF2F8 0%, #FFF7ED 40%, #FFFFFF 100%);
}

.hero-bg-grad {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(233,30,140,0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hero-badge {
    background: white;
    border: 1px solid rgba(233,30,140,0.2);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.grad-text {
    background: var(--grad-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wave {
    display: inline-block;
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-15deg); }
}

.hero-sub {
    font-size: 19px;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.hero-sub strong {
    color: var(--text);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 14px;
}

.stars {
    color: #FBBF24;
    font-size: 18px;
    letter-spacing: 2px;
}

/* ═══ HERO DEMO ═══ */
.hero-demo {
    max-width: 640px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    text-align: left;
}

.demo-tab {
    background: #F8FAFC;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green { background: #28C840; }

.demo-tab-title {
    margin-left: 12px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.demo-body {
    padding: 24px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px;
}

.demo-input {
    background: #F1F5F9;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.demo-prompt {
    color: var(--primary);
    font-weight: 700;
}

.demo-url {
    color: var(--dark);
}

.demo-cursor {
    color: var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.demo-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-result {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.demo-result.done {
    background: #D1FAE5;
    color: #065F46;
}

.demo-result.loading {
    background: #FEF3C7;
    color: #92400E;
}

/* ═══ TRUST BAR ═══ */
.trust-bar {
    padding: 20px 0;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.trust-item span {
    font-size: 18px;
}

/* ═══ TRUSTED BY ═══ */
.trusted-by {
    padding: 28px 0;
    background: white;
    text-align: center;
}

.trusted-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.55;
}

.trusted-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

/* ═══ SECTIONS ═══ */
.how, .features, .testimonials, .faq {
    padding: 44px 0;
}

.how { background: white; }
.features { background: var(--light); }
.testimonials { background: white; }
.faq { background: var(--light); }

.section-badge {
    display: table;
    width: fit-content;
    margin: 0 auto 14px;
    background: rgba(233,30,140,0.08);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    text-align: center;
}

.section-sub {
    font-size: 17px;
    color: var(--muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.how .section-title, .how .section-sub,
.features .section-title, .features .section-sub,
.testimonials .section-title,
.faq .section-title {
    display: block;
    text-align: center;
}

.testimonials .section-title,
.faq .section-title {
    margin-bottom: 28px;
}

/* ═══ STEPS ═══ */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    background: white;
    border: 2px solid rgba(0,0,0,0.04);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--grad-pink);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(233,30,140,0.4);
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

.step-arrow {
    font-size: 32px;
    color: var(--primary);
    font-weight: 800;
}

/* ═══ FEATURES GRID ═══ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(233,30,140,0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
}

/* ═══ TESTIMONIALS ═══ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--light);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
}

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

.testimonial-card .stars {
    font-size: 16px;
    margin-bottom: 16px;
    display: block;
}

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

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-pink);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
}

.testimonial-author small {
    font-size: 13px;
    color: var(--muted);
}

/* ═══ FAQ ═══ */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(233,30,140,0.2);
}

.faq-item summary {
    padding: 22px 28px;
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    font-weight: 400;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 28px 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ═══ FINAL CTA ═══ */
.final-cta {
    padding: 52px 0;
    background: linear-gradient(135deg, #FDF2F8 0%, #FEF3C7 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(233,30,140,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(251,191,36,0.15) 0%, transparent 50%);
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 36px;
}

/* ═══ FOOTER ═══ */
.footer {
    background: var(--dark);
    color: #CBD5E1;
    padding: 60px 0 20px;
}

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

.footer .logo {
    color: white;
    margin-bottom: 16px;
}

.footer .logo-text small {
    color: var(--primary);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #94A3B8;
    max-width: 320px;
}

.footer-col h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-col a {
    display: block;
    color: #94A3B8;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #64748B;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .nav-links, .nav-cta {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .step-arrow {
        display: none;
    }
    .step-card {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .topbar-inner {
        gap: 8px;
        font-size: 12px;
        text-align: center;
    }
    .topbar-text {
        display: none;
    }
    .hero {
        padding: 50px 0 70px;
    }
    .hero-sub {
        font-size: 16px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-hero, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    .trust-grid {
        justify-content: center;
    }
    .trusted-logos {
        gap: 24px;
    }
    .trusted-logo {
        font-size: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .ad-slot {
        padding: 12px;
        min-height: 70px;
    }
    .ad-placeholder {
        height: 60px;
        font-size: 11px;
    }
}
