/* ClutchLead - Modern Landing Page Styles */
/* Inspired by removal.ai design aesthetic */

:root {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --primary-bg: #F5F3FF;
    --gradient: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --bg-dark: #111827;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border);
}

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-icon {
    font-size: 1.25rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.75rem;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    padding: 10px 20px !important;
    background: var(--gradient) !important;
    color: white !important;
    border-radius: var(--radius-full) !important;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 24px 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: inline-flex;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.phone-mockup {
    width: 320px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    background: white;
    border-radius: 32px;
    padding: 24px;
    min-height: 400px;
}

.chat-bubble {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    animation: fadeInUp 0.5s ease;
}

.chat-bubble.customer {
    flex-direction: row-reverse;
}

.bubble-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.bubble-content {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 200px;
}

.chat-bubble.ai .bubble-content {
    background: var(--bg-gray);
}

.chat-bubble.customer .bubble-content {
    background: var(--gradient);
    color: white;
}

.bubble-content p {
    font-size: 0.875rem;
    line-height: 1.4;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-gray);
    border-radius: 16px;
    width: fit-content;
    margin-left: 48px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Problem/Solution Section */
.problem-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.problem-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.problem-card, .solution-card {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.problem-card {
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.solution-card {
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
}

.problem-icon, .solution-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    color: #DC2626;
    margin-bottom: 12px;
}

.solution-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.arrow-icon {
    font-size: 2rem;
    color: var(--text-muted);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--bg-gray);
}

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

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 16px auto 0;
}

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

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

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

.feature-card.highlight {
    background: var(--gradient);
    color: white;
    border: none;
}

.feature-card.highlight h3 {
    color: white;
}

.feature-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-white);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    padding: 32px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 52px;
}

/* Audience Section */
.audience-section {
    padding: 100px 0;
    background: var(--bg-gray);
}

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

.audience-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

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

.audience-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.audience-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.audience-card h3 {
    margin-bottom: 8px;
}

.audience-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.audience-benefits {
    list-style: none;
}

.audience-benefits li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.audience-benefits li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.pricing-amount {
    margin-bottom: 24px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    color: var(--text-secondary);
}

.price {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    color: var(--text-muted);
    font-size: 1rem;
}

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

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-gray);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
}

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

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

.pricing-card .btn {
    width: 100%;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-gray);
}

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

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

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

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

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

.cta-subtext {
    font-size: 0.875rem !important;
    margin-bottom: 0 !important;
}

/* Footer */
.footer {
    padding: 60px 0 24px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 6px 0;
    transition: color 0.2s;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        padding: 32px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .problem-grid {
        flex-direction: column;
    }

    .arrow-icon {
        transform: rotate(90deg);
    }

    .step-connector {
        display: none;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .audience-card.featured {
        transform: none;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .phone-mockup {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}
