/* ============================================
   FlirtXLive — Full Production CSS
   Mobile-first, responsive, SEO-ready
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:          #080812;
  --bg2:         #0f0f20;
  --bg3:         #161628;
  --accent:      #ff2e63;
  --accent2:     #c9184a;
  --glow:        rgba(255,46,99,0.25);
  --purple:      #7c3aed;
  --text:        #f0f0f8;
  --muted:       #9090b0;
  --border:      rgba(255,255,255,0.07);
  --nav-h:       64px;
  --radius:      12px;
  --font-display:'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --max-w:       1140px;
  --section-pad: clamp(60px, 10vw, 120px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Utility ── */
.container { width: min(var(--max-w), 100%); margin-inline: auto; padding-inline: clamp(16px, 5vw, 48px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================
   NAV
   ============================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(8,8,18,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }

/* Desktop links */
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted);
  padding: 6px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}

/* CTA Button */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  padding: 10px 22px; border-radius: 50px;
  border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--glow);
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--glow);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--bg3);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,8,18,0.97);
  backdrop-filter: blur(18px);
  padding: 24px; z-index: 999;
  border-bottom: 1px solid var(--border);
  flex-direction: column; gap: 8px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 1.05rem; font-weight: 500;
  color: var(--muted); padding: 12px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-drawer a:hover { color: var(--text); background: var(--bg3); text-decoration: none; }
.nav-drawer .btn { margin-top: 12px; justify-content: center; }

/* ── Page offset for fixed nav ── */
.page-body { padding-top: var(--nav-h); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(80px, 15vw, 160px) 0 clamp(60px, 10vw, 120px);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.28) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255,46,99,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(255,46,99,0.35);
  background: rgba(255,46,99,0.08);
  padding: 6px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title .hl { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted); max-width: 540px; margin: 0 auto 40px;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 40px;
  margin-top: 72px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
  color: var(--text);
}
.hero-stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ============================================
   SECTIONS — shared
   ============================================ */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg2); }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 540px; }

/* ============================================
   CARDS
   ============================================ */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }

.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: rgba(255,46,99,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,46,99,0.1);
}
.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,46,99,0.1);
  border-radius: 10px; margin-bottom: 18px;
  font-size: 1.3rem;
}
.card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 0.97rem;
  user-select: none;
  transition: background 0.15s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-q svg { flex-shrink: 0; transition: transform 0.3s; color: var(--accent); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 24px 20px;
  color: var(--muted); font-size: 0.93rem; line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 64px; }
.contact-info h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 12px;
}
.contact-info p { color: var(--muted); margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--muted); font-size: 0.93rem; }
.contact-detail svg { color: var(--accent); flex-shrink: 0; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-family: var(--font-body); font-size: 0.93rem;
  padding: 12px 16px; outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,46,99,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ============================================
   SEO LANDING / BLOG / CITY PAGES
   ============================================ */
.lp-hero { padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 80px); }
.lp-hero .section-label { margin-bottom: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { opacity: 0.4; }

.prose { max-width: 720px; }
.prose p { color: var(--muted); margin-bottom: 20px; line-height: 1.75; }
.prose h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin: 40px 0 16px; }
.prose h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin: 28px 0 12px; }
.prose ul { color: var(--muted); padding-left: 20px; margin-bottom: 20px; }
.prose ul li { margin-bottom: 8px; list-style: disc; }

/* City grid for SEO */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 32px; }
.city-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 18px;
  font-size: 0.88rem; color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.city-card:hover { color: var(--text); border-color: rgba(255,46,99,0.3); background: rgba(255,46,99,0.05); }
.city-card strong { color: var(--text); display: block; font-size: 0.95rem; margin-bottom: 2px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .nav-logo { font-size: 1.2rem; margin-bottom: 14px; display: block; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: var(--muted);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--text); }

/* ============================================
   MISC COMPONENTS
   ============================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600; padding: 4px 12px;
  border-radius: 50px; border: 1px solid var(--border);
  background: var(--bg3); color: var(--muted);
}
.badge.live { color: #22c55e; border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.08); }
.badge.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:0.3 } }

.divider { height: 1px; background: var(--border); margin: 0; }

/* Scroll fade-in */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================
   RESPONSIVE — TABLET  ≤ 900px
   ============================================ */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   RESPONSIVE — MOBILE  ≤ 640px
   ============================================ */
@media (max-width: 640px) {
  :root { --nav-h: 56px; }

  /* Nav: hide desktop links, show hamburger */
  .nav-links { display: none; }
  .nav-cta  { display: none; }
  .nav-toggle { display: flex; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Cards */
  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  /* Hero stats stack */
  .hero-stats { gap: 28px; }

  /* City grid */
  .city-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

  /* FAQ */
  .faq-q { padding: 16px 18px; font-size: 0.92rem; }
  .faq-a { padding: 0 18px 16px; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .site-nav, .site-footer, .nav-drawer { display: none; }
  body { background: #fff; color: #000; }
}
