/* Color Palette and Variables */
:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav { 
    display: flex; 
    align-items: center; 
    gap: 32px; 
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--primary); }

.nav-btn-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 99px;
    transition: all 0.2s;
}

.nav-btn-highlight:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Mobile Menu Toggle Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
}

/* Light, Bluehost-style Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #fdfdfe 0%, #eef2f9 40%, #d4e3f4 100%);
    color: var(--text-main);
    padding: 120px 0;
    overflow: hidden;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 24px 0;
}

.hero-text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.hero-actions { display: flex; justify-content: center; gap: 16px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-lg { padding: 16px 32px; font-size: 18px; }

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* Services Section */
.section { padding: 96px 0; }
.section-heading { margin-bottom: 64px; }
.section-heading h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin: 0 0 12px 0; }
.section-heading p { font-size: 18px; color: var(--text-muted); margin: 0; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: #bfdbfe;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 14px;
    margin-bottom: 24px;
}

.card h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px 0; }
.card p { color: var(--text-muted); margin: 0; font-size: 15px; line-height: 1.7; }

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
}

.process-step {
    padding: 32px;
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: #cbd5e1;
    margin-bottom: 16px;
    line-height: 1;
    letter-spacing: -2px;
}

.process-step h3 { margin: 0 0 12px 0; font-size: 20px; }
.process-step p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* SQLCop Banner */
.sqlcop-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 0;
    color: white;
}

.sqlcop-inner {
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 64px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.sqlcop-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 24px;
}

.sqlcop-content h2 { font-size: 36px; margin: 0 0 20px 0; letter-spacing: -1px; }
.sqlcop-content p { font-size: 18px; color: #94a3b8; max-width: 600px; margin: 0 auto 40px auto; }

/* Contact Section */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper h2 { font-size: 36px; margin: 0 0 16px 0; letter-spacing: -1px; }
.contact-wrapper p { font-size: 18px; color: var(--text-muted); margin: 0 0 48px 0; }

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    padding: 24px 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: left;
    flex: 1;
    min-width: 250px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-method h4 { margin: 0 0 4px 0; font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-method a, .contact-method span { color: var(--text-main); font-weight: 600; font-size: 18px; text-decoration: none; }
.contact-method a:hover { color: var(--primary); }

/* Footer */
.site-footer {
    background: white;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand .brand-text { font-size: 20px; font-weight: 800; color: var(--text-main); }
.footer-brand p { margin: 4px 0 0 0; color: var(--text-muted); font-size: 14px; }
.footer-links p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* --- Responsive Adjustments & Mobile Menu --- */
@media (max-width: 768px) {
    /* Show Hamburger Button */
    .mobile-menu-btn { display: block; }
    
    /* Hide normal nav and style it for dropdown */
    .nav { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        background: white; 
        padding: 24px; 
        border-bottom: 1px solid var(--border); 
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        gap: 20px;
    }
    
    /* Class to toggle menu via JS */
    .nav.active { display: flex; }

    .nav-btn-highlight { justify-content: center; }

    /* Fix Layouts for Mobile */
    .hero { padding: 80px 0; }
    .hero h1 { font-size: 36px; }
    .hero-actions { flex-direction: column; }
    
    .sqlcop-inner { padding: 32px 20px; }
    .sqlcop-content h2 { font-size: 28px; }
    
    .contact-method { width: 100%; justify-content: flex-start; }
    .footer-inner { flex-direction: column; text-align: center; }
}