/* ============================================
   FoundLocal — Design System
   Colors: Navy #0f1b2d, Accent #2563eb, Warm #f97316
   ============================================ */

:root {
    --navy: #0f1b2d;
    --navy-light: #1a2b45;
    --blue: #2563eb;
    --blue-hover: #1d4ed8;
    --orange: #f97316;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-warm: #fffbf5;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }

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

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35); }

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

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo span { color: var(--blue); }

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: white; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: var(--bg);
}

.hero-content { max-width: 720px; }

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero h1 { margin-bottom: 24px; color: var(--navy); }
.highlight { color: var(--blue); }

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    color: var(--navy);
    font-weight: 800;
}
.stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

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

/* Sections */
section { padding: 100px 0; }

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    margin-bottom: 12px;
}

section h2 { margin-bottom: 48px; color: var(--navy); }

/* Problem */
.problem { background: var(--bg-soft); }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.problem-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.problem-card h3 { margin-bottom: 8px; }
.problem-card p { color: var(--text-light); font-size: 0.95rem; }

/* Services */
.services { background: var(--bg); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}

.service-card.featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}

.service-tag {
    position: absolute;
    top: -12px;
    left: 24px;
    padding: 4px 14px;
    background: var(--blue);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.service-card h3 { margin-bottom: 12px; color: var(--navy); }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; }

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text);
    padding-left: 24px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dbeafe;
    border: 2px solid var(--blue);
}

/* Process */
.process { background: var(--navy); color: white; }
.process .section-label { color: var(--orange); }
.process h2 { color: white; }

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.step {
    flex: 1;
    padding: 32px;
    background: var(--navy-light);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 12px;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

.step-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
    padding-top: 48px;
    flex-shrink: 0;
}

/* Work / Testimonials */
.work { background: var(--bg-soft); }

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

.testimonial-card {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stars {
    color: var(--orange);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

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

.author-info strong {
    display: block;
    font-size: 0.9rem;
}
.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--blue) 0%, #1e40af 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}
.cta h2 { color: white; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.1rem; max-width: 520px; margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.cta .btn-primary {
    background: white;
    color: var(--blue);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cta .btn-primary:hover { background: #f0f4ff; }

/* Contact */
.contact { background: var(--bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-light); margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item strong { display: block; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item span { font-size: 1rem; color: var(--text); }

.contact-form {
    background: var(--bg-soft);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

textarea { resize: vertical; }

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--text-muted);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .logo { color: white; }
.footer p { font-size: 0.85rem; }

/* ============ Responsive ============ */

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .mobile-toggle { display: flex; }

    .hero { padding: 110px 0 60px; }
    .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
    .stat-divider { width: 48px; height: 1px; }

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

    .process-steps { flex-direction: column; }
    .step-arrow { display: none; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
