/* ProPlum Network - Main Styles */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --radius: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 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);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

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

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

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

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

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

.btn-emergency {
    background: var(--danger);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
}

.btn-emergency:hover {
    background: #dc2626;
}

/* Hero */
.hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--secondary);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top right, rgba(37,99,235,0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(245,158,11,0.2) 0%, transparent 50%);
}

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

.hero-badge {
    display: inline-block;
    background: rgba(239,68,68,0.2);
    color: #fca5a5;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(239,68,68,0.3);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    max-width: 640px;
    margin: 0 auto 40px;
}

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

.stat {
    text-align: center;
}

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

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

.hero-search {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.hero-search input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.hero-search input::placeholder {
    color: var(--gray-400);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

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

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

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
}

/* States Grid */
.states-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.state-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    text-decoration: none;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

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

.state-flag {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.state-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.state-info p {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.state-meta {
    font-size: 0.875rem;
    color: var(--gray-400);
}

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

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

/* Plumber CTA */
.plumber-cta {
    padding: 80px 0;
    background: var(--gray-50);
}

.cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

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

.cta-features li {
    padding: 8px 0;
    color: var(--gray-600);
}

.phone-mockup {
    background: var(--gray-900);
    border-radius: 32px;
    padding: 12px;
    max-width: 280px;
    margin: 0 auto;
}

.phone-screen {
    background: var(--gray-800);
    border-radius: 24px;
    padding: 24px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification {
    background: var(--gray-700);
    border-radius: var(--radius);
    padding: 16px;
    border-left: 4px solid var(--danger);
}

.notif-title {
    display: block;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.notif-body {
    display: block;
    color: var(--gray-300);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.notif-time {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Trust */
.trust {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.trust-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 24px;
}

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

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    margin-top: 12px;
    font-weight: 400;
}

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

.footer-links a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 0.75rem !important;
}

/* State Page Styles */
.state-hero {
    padding: 120px 0 60px;
    background: var(--secondary);
    color: var(--white);
}

.state-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.state-hero p {
    color: var(--gray-300);
    margin-top: 8px;
}

.cities-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.city-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

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

.city-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.city-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

/* Contractor Cards */
.contractors-section {
    padding: 60px 0;
}

.contractors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.contractor-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.contractor-card:hover {
    box-shadow: var(--shadow-lg);
}

.contractor-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.contractor-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.license-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.contractor-info {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.contractor-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success);
    color: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.contractor-phone:hover {
    background: #059669;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}
