/* ==========================================
   LEADSCRAPER PRO - MAIN STYLESHEET
   Modern, Clean, Conversion-Focused Design
   ========================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    
    /* Accent Colors */
    --accent: #10b981;
    --accent-dark: #059669;
    
    /* Neutrals */
    --dark: #1f2937;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    position: relative;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 15px;
    text-align: center;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* ==========================================
   SECTIONS
   ========================================== */

.features,
.products-preview,
.products-section,
.pricing-section,
.contact-section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
}

/* ==========================================
   FEATURES GRID
   ========================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================
   PRODUCTS
   ========================================== */

.products-list {
    display: grid;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.product-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--dark);
}

.product-info p {
    color: var(--gray);
    font-size: 14px;
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Product Detail Pages */
.product-detail {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.product-detail:hover {
    box-shadow: var(--shadow-lg);
}

.product-detail-icon {
    font-size: 60px;
    flex-shrink: 0;
}

.product-detail-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--dark);
}

.product-description {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-detail-content h4 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: var(--dark);
}

.data-list {
    list-style: none;
    margin-bottom: 32px;
}

.data-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray);
}

.data-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ==========================================
   PRICING
   ========================================== */

.pricing-intro {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-intro p {
    font-size: 18px;
    color: var(--gray);
    font-weight: 500;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

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

.pricing-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--dark);
}

.pricing-description {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 24px;
    min-height: 40px;
}

.pricing-price {
    margin: 32px 0;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray);
    vertical-align: top;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark);
}

.price-period {
    font-size: 16px;
    color: var(--gray);
    display: block;
    margin-top: -8px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--gray);
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-btn {
    width: 100%;
}

.pricing-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.pricing-note {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--light-gray);
    border-radius: 12px;
}

.note-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.note-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--dark);
}

.note-content p {
    font-size: 14px;
    color: var(--gray);
}

.faq-section {
    margin-top: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.faq-item {
    padding: 24px;
    background: var(--light-gray);
    border-radius: 12px;
}

.faq-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dark);
}

.faq-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.page-header {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--light-gray);
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.page-subtitle {
    font-size: 18px;
    color: var(--gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-form-container h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-form-container > p {
    color: var(--gray);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    margin-top: 24px;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-success p {
    color: var(--gray);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--dark);
}

.contact-method {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-method-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--dark);
}

.contact-method-content p {
    color: var(--gray);
    font-size: 14px;
}

.contact-method-content a {
    color: var(--primary);
    text-decoration: none;
}

.contact-method-content a:hover {
    text-decoration: underline;
}

.contact-note {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
}

.contact-cta {
    background: var(--light-gray);
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
}

.contact-cta h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-cta p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.contact-faqs {
    margin-top: 60px;
}

.contact-faqs h3 {
    font-size: 32px;
    margin-bottom: 32px;
    text-align: center;
    color: var(--dark);
}

.faq-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.faq-quick-item {
    padding: 24px;
    background: var(--light-gray);
    border-radius: 12px;
}

.faq-quick-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dark);
}

.faq-quick-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.faq-quick-item a {
    color: var(--primary);
    text-decoration: none;
}

.faq-quick-item a:hover {
    text-decoration: underline;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h5 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 968px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 16px;
        z-index: 999;
    }
    
    .nav.active {
        display: flex !important;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-detail {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
