/* ==========================================================================
   ZSM Digital – Local SEO Pages Stylesheet
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --bg-color: #050505;
    --card-bg-top: #0a0a0b;
    --card-bg-bottom: #111113;
    --accent-glow: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent-color: #ffffff;
    --section-gap: 100px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.seo-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Navbar (mirrors index) ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.85);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}
.logo {
    display: flex; align-items: center; gap: 12px;
    color: white; text-decoration: none; font-weight: 600; font-size: 16px;
}
.logo-icon {
    width: 32px; height: 32px;
    background: url('https://zsm.digital/static/cleaned_transparent_image.png') center/contain no-repeat;
    filter: brightness(1.2);
}
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a {
    color: #999; text-decoration: none; font-weight: 400; font-size: 14px;
    transition: all 0.3s ease; letter-spacing: 0.01em;
}
.nav-links a:hover { color: white; }
.nav-buttons { display: flex; align-items: center; gap: 16px; }
.login-btn {
    color: #999; text-decoration: none; font-weight: 400; font-size: 14px;
    transition: color 0.3s ease;
}
.login-btn:hover { color: white; }
.signup-btn {
    background: white; color: #000; padding: 10px 22px; border-radius: 6px;
    text-decoration: none; font-weight: 500; font-size: 14px;
    transition: all 0.3s ease; display: inline-block;
}
.signup-btn:hover { background: #e5e5e5; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.seo-hero {
    min-height: 70vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 160px 24px 80px;
    position: relative;
}
.seo-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.seo-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}
.seo-hero .hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.hero-cta-row {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.btn-primary {
    background: white; color: #000; padding: 14px 32px; border-radius: 8px;
    font-weight: 600; font-size: 15px; transition: all 0.3s ease;
    display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { background: #e5e5e5; transform: translateY(-2px); }
.btn-outline {
    background: transparent; color: white; padding: 14px 32px; border-radius: 8px;
    font-weight: 500; font-size: 15px; transition: all 0.3s ease;
    display: inline-block; border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

/* ---------- Credibility Bar ---------- */
.credibility-bar {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.credibility-grid {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 32px;
}
.credibility-item {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-muted); font-size: 0.9rem; font-weight: 400;
}
.credibility-item svg {
    width: 20px; height: 20px; opacity: 0.6; flex-shrink: 0;
}

/* ---------- Main Content ---------- */
.seo-content {
    padding: var(--section-gap) 0;
}
.seo-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.seo-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 32px 0 12px;
}
.seo-content p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 18px;
    max-width: 800px;
}
.seo-content a.inline-link {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}
.seo-content a.inline-link:hover { opacity: 0.7; }

/* ---------- Services Grid ---------- */
.services-section { padding: var(--section-gap) 0; }
.services-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600; margin-bottom: 48px; text-align: center;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.service-card {
    background: linear-gradient(160deg, var(--card-bg-top), var(--card-bg-bottom));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    opacity: 0; transition: opacity 0.35s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.12); }
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 40px; height: 40px; margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); border-radius: 10px;
}
.service-icon svg { width: 22px; height: 22px; color: #ccc; }
.service-card h3 {
    font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: white;
}
.service-card p {
    font-size: 0.88rem; color: #777; line-height: 1.6;
}

/* ---------- Local Examples ---------- */
.local-examples { padding: var(--section-gap) 0; }
.local-examples h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600; margin-bottom: 16px;
}
.local-examples .section-intro { color: #888; margin-bottom: 36px; max-width: 700px; }
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.example-item {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    font-size: 0.92rem; color: #aaa;
    transition: all 0.3s;
}
.example-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}
.example-dot {
    width: 6px; height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%; flex-shrink: 0;
}

/* ---------- Pricing Positioning ---------- */
.pricing-positioning { padding: var(--section-gap) 0; text-align: center; }
.pricing-positioning h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600; margin-bottom: 20px;
}
.pricing-positioning p {
    color: #888; max-width: 640px; margin: 0 auto 32px;
    font-size: 1rem; line-height: 1.7;
}

/* ---------- FAQ ---------- */
.faq-section { padding: var(--section-gap) 0; }
.faq-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600; margin-bottom: 40px; text-align: center;
}
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.015);
}
.faq-item:hover { border-color: rgba(255,255,255,0.12); }
.faq-question {
    padding: 20px 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 500; font-size: 0.95rem;
}
.faq-question::after {
    content: '+'; font-size: 1.3rem; color: #555;
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 24px 20px;
}
.faq-answer p {
    color: #888; font-size: 0.9rem; line-height: 1.7;
}

/* ---------- Nearby Areas ---------- */
.nearby-section { padding: var(--section-gap) 0; }
.nearby-section h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600; margin-bottom: 28px; text-align: center;
}
.nearby-grid {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
}
.nearby-link {
    padding: 10px 22px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 0.88rem; color: #999;
    transition: all 0.3s;
}
.nearby-link:hover {
    border-color: rgba(255,255,255,0.25);
    color: white; background: rgba(255,255,255,0.04);
}

/* ---------- Final CTA ---------- */
.seo-final-cta {
    padding: 100px 24px;
    text-align: center;
    position: relative;
}
.seo-final-cta::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(255,255,255,0.02) 0%, transparent 70%);
    pointer-events: none;
}
.seo-final-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700; margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.seo-final-cta p {
    color: #888; max-width: 500px; margin: 0 auto 36px;
    font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 60px 20px 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-content {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px; margin-bottom: 40px;
}
.footer-section h4 { font-weight: 500; margin-bottom: 18px; font-size: 0.9rem; color: #fff; }
.footer-section a, .footer-section p {
    color: #666; text-decoration: none; display: block; margin-bottom: 8px;
    font-size: 0.85rem; transition: color 0.3s ease;
}
.footer-section a:hover { color: #999; }
.footer-bottom {
    text-align: center; padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555; font-size: 0.85rem;
}

/* ---------- Internal Links ---------- */
.internal-links {
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.internal-links-row {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 24px;
}
.internal-links-row a {
    color: #777; font-size: 0.88rem; transition: color 0.3s;
    text-decoration: underline; text-underline-offset: 3px;
}
.internal-links-row a:hover { color: white; }

/* ---------- Hamburger / Mobile ---------- */
.hamburger {
    display: none; flex-direction: column; cursor: pointer;
    padding: 8px; border-radius: 8px; transition: all 0.3s ease;
}
.hamburger:hover { background: rgba(255,255,255,0.05); }
.hamburger span {
    width: 20px; height: 2px; background: white;
    margin: 3px 0; transition: all 0.3s ease;
    border-radius: 2px; transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none; position: absolute;
    top: calc(100% + 10px); left: 20px; right: 20px;
    background: rgba(10, 10, 12, 0.98); border-radius: 16px;
    padding: 24px 20px; backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    opacity: 0; transform: translateY(-10px);
    transition: all 0.3s ease;
}
.mobile-menu.active { display: block; opacity: 1; transform: translateY(0); }
.mobile-nav-links { list-style: none; margin-bottom: 20px; }
.mobile-nav-links a {
    color: #999; text-decoration: none; font-weight: 400; font-size: 15px;
    display: block; padding: 12px 16px; border-radius: 10px;
    transition: all 0.3s ease;
}
.mobile-nav-links a:hover { color: white; background: rgba(255,255,255,0.05); }
.mobile-buttons {
    display: flex; flex-direction: column; gap: 10px;
    padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-buttons .login-btn {
    text-align: center; padding: 12px 20px; border-radius: 8px;
    background: rgba(255,255,255,0.05); color: #999;
    border: 1px solid rgba(255,255,255,0.08); transition: all 0.3s ease;
}
.mobile-buttons .login-btn:hover { background: rgba(255,255,255,0.08); color: white; }
.mobile-buttons .signup-btn {
    text-align: center; padding: 12px 20px; border-radius: 8px;
    background: white; color: #000; border: none; font-weight: 500;
    transition: all 0.3s ease;
}
.mobile-buttons .signup-btn:hover { background: #e5e5e5; }
.mobile-overlay {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 999;
    opacity: 0; transition: opacity 0.3s ease;
}
.mobile-overlay.active { display: block; opacity: 1; }

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .navbar { padding: 14px 20px; }
    .nav-links, .nav-buttons { display: none; }
    .hamburger { display: flex; }
    .seo-hero { padding: 140px 20px 60px; min-height: 55vh; }
    .seo-hero h1 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .examples-grid { grid-template-columns: 1fr 1fr; }
    .credibility-grid { gap: 20px; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .examples-grid { grid-template-columns: 1fr; }
    .hero-cta-row { flex-direction: column; align-items: center; }
    .credibility-grid { flex-direction: column; align-items: center; }
    .nearby-grid { flex-direction: column; align-items: center; }
    .seo-container { padding: 0 16px; }
}
