/* ===========================================================================
   National Social Networking — stylesheet
   Mobile-first, responsive, no framework.
   =========================================================================== */

:root {
  --ink: #201d3b;
  --muted: #5c5872;
  --navy: #16123f;
  --navy-2: #2a1c63;
  --surface: #ffffff;
  --surface-alt: #f6f5fb;
  --line: #e7e4f0;

  --coral: #ff5a6e;
  --orange: #ff9d4d;
  --violet: #6c4cf1;
  --grad: linear-gradient(135deg, #ff5a6e 0%, #ff9d4d 100%);
  --grad-violet: linear-gradient(135deg, #6c4cf1 0%, #a15bff 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(30, 20, 70, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 20, 70, 0.18);
  --maxw: 1140px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .5px;
  box-shadow: var(--shadow);
}
.brand-text { font-size: .82rem; line-height: 1.1; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .95rem;
}
.main-nav a:hover { background: var(--surface-alt); text-decoration: none; color: var(--violet); }

.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-align: center;
  min-height: 44px;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(255,90,110,.35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(255,90,110,.45); color: #fff; }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: rgba(0,0,0,.04); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -10%, #3a1d6e 0%, #16123f 55%, #120f34 100%);
  color: #fff; padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 9vw, 96px); text-align: center;
}
.hero h1 { color: #fff; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #d9d5f2; max-width: 640px; margin: 0 auto 1.6rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; }
.hero-note { margin-top: 1.4rem; font-size: .95rem; color: #b9b4e0; }
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(420px 260px at 15% 20%, rgba(255,90,110,.35), transparent 70%),
    radial-gradient(420px 260px at 85% 30%, rgba(108,76,241,.40), transparent 70%);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
  color: var(--coral); margin: 0 0 .8rem;
}
.hero .eyebrow { color: #ff9d4d; }
.center-cta { margin-top: 1.4rem; }

.hero-blog, .hero-city, .hero-subpage { padding-top: clamp(48px, 7vw, 84px); }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 32px 20px; }
.stat { text-align: center; }
.stat-value { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; font-size: .85rem; color: #c3bfe0; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 720px; margin: 0 auto 40px; }
.section-lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature-card, .step-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.feature-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.feature-card p, .step-card p { color: var(--muted); margin-bottom: 0; }
.link-card { display: block; color: inherit; }
.link-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); transition: transform .15s ease, box-shadow .15s ease; }
.step-card { position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-violet); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 12px;
}
.about-blurb { margin-top: 48px; }

/* ---------- City cards ---------- */
.city-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.city-card {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px;
  padding: 24px; border-radius: var(--radius); color: #fff; text-decoration: none;
  background: var(--grad-violet); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.city-card:nth-child(2) { background: linear-gradient(135deg, #ff5a6e, #ff7a9c); }
.city-card:nth-child(3) { background: linear-gradient(135deg, #ff9d4d, #ffb862); }
.city-card:hover { text-decoration: none; transform: translateY(-3px); transition: transform .15s ease; box-shadow: var(--shadow-lg); }
.city-name { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; }
.city-cta { font-weight: 600; opacity: .95; }

/* ---------- Check list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 38px; font-size: 1.05rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.testimonial {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; margin: 0; box-shadow: var(--shadow);
}
.stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial blockquote { margin: 0 0 16px; font-size: 1.1rem; font-weight: 500; }
.testimonial figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.t-name { font-family: var(--font-head); font-weight: 600; }
.t-date { color: var(--muted); font-size: .85rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; justify-items: center; }
.team-card { max-width: 420px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 2rem;
}
.team-role { color: var(--coral); font-weight: 600; margin-bottom: 10px; }
.team-card p:last-child { color: var(--muted); margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery-img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-slot { aspect-ratio: 4/3; border-radius: var(--radius-sm); background: var(--surface-alt); border: 2px dashed var(--line); display: grid; place-items: center; font-size: 1.8rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.post-card {
  display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; color: inherit; box-shadow: var(--shadow);
}
.post-card:hover { text-decoration: none; transform: translateY(-3px); transition: transform .15s ease, box-shadow .15s ease; box-shadow: var(--shadow-lg); }
.post-card h2, .post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card p { color: var(--muted); margin: 0; }
.post-date { font-size: .82rem; color: var(--coral); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.post-more { font-weight: 600; color: var(--violet); margin-top: auto; }

/* ---------- Article ---------- */
.article { padding: 40px 0 20px; }
.article-head { margin: 10px 0 28px; }
.article-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.article-body { font-size: 1.08rem; }
.article-body h2 { margin-top: 2em; font-size: 1.5rem; }
.article-body h3 { margin-top: 1.6em; font-size: 1.2rem; }
.article-body p { margin: 0 0 1.15rem; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-body strong { color: var(--ink); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.3rem 0; font-size: .98rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--surface-alt); font-family: var(--font-head); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 8px; padding-top: 16px; }
.breadcrumb span { margin: 0 6px; }

/* ---------- Events embed ---------- */
.events-section { padding: clamp(48px, 8vw, 88px) 0; background: var(--surface-alt); }
.urgency-pill, .urgency {
  display: inline-block; background: rgba(255,90,110,.12); color: #d63a52; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; font-size: .9rem; margin-top: 10px;
}
.events-embed {
  margin: 28px auto 24px; max-width: 900px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}
.events-embed iframe { width: 100%; height: 640px; border: 0; display: block; }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.fineprint code { background: var(--surface-alt); padding: 2px 6px; border-radius: 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(800px 400px at 50% 0%, #3a1d6e, #16123f); color: #fff; padding: clamp(48px, 8vw, 80px) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfcaf0; margin-bottom: 1.4rem; }
.cta-band .fineprint a { color: #ffb888; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfcbe6; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer-brand .brand-mark { margin-bottom: 12px; }
.footer-brand p { margin: 0; font-family: var(--font-head); font-weight: 600; color: #fff; }
.footer-tag { color: #a29ecb !important; font-weight: 400 !important; font-size: .9rem; margin-top: 4px !important; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: #cfcbe6; }
.footer-col a:hover { color: #fff; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.social-row a { color: #fff; font-weight: 600; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; font-size: .85rem; color: #9c98c4; }

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (min-width: 620px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
@media (min-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { height: 3px; width: 24px; background: var(--ink); border-radius: 3px; transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .main-nav {
    position: fixed; inset: 68px 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: var(--shadow);
  }
  .main-nav.open { max-height: 80vh; }
  .main-nav ul { flex-direction: column; padding: 12px; gap: 2px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Reveal-on-scroll (progressive enhancement; visible by default without JS) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================================
   Conversion redesign additions
   =========================================================================== */

/* Hero proof line */
.hero-proof { margin-top: 1.3rem; font-size: .95rem; color: #cbc6ef; font-weight: 500; }

/* Trust bar */
.trust-bar { background: var(--navy-2); color: #fff; }
.trust-bar ul {
  list-style: none; margin: 0; padding: 14px 20px; display: flex; gap: 26px; justify-content: center;
  flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.trust-bar li { white-space: nowrap; font-weight: 600; font-size: .92rem; color: #e7e4fb; }
.trust-bar li span { color: #4ade80; margin-right: 4px; }

/* Sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .sticky-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    padding: 15px 20px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
    background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(255,90,110,.5);
  }
  .sticky-cta:hover { text-decoration: none; color: #fff; }
  .sticky-arrow { font-weight: 700; }
  .site-footer { padding-bottom: 90px; }  /* clear the sticky bar */
}

/* ---------- Live events ---------- */
.events-section { padding: clamp(46px, 8vw, 84px) 0; background: var(--surface-alt); }
.events-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }

.ev-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ev-img {
  position: relative; aspect-ratio: 16/10; background-size: cover; background-position: center;
  background-color: #2a1c63;
}
.ev-img-none { background: var(--grad-violet); }
.ev-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.ev-badge { font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: #fff; letter-spacing: .02em; }
.ev-badge-date { background: rgba(18,16,58,.82); backdrop-filter: blur(4px); }
.ev-badge-hot { background: var(--grad); }
.ev-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ev-city { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; color: var(--violet); }
.ev-title { font-size: 1.15rem; margin: 0; line-height: 1.25; }
.ev-img-link { display: block; }
.ev-img-link:hover { text-decoration: none; }
.ev-title a { color: inherit; text-decoration: none; }
.ev-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.ev-card:hover .ev-img { filter: brightness(1.06); }
.ev-date { color: var(--muted); margin: 0; font-size: .95rem; }
.ev-meter { height: 7px; border-radius: 999px; background: #eee7f6; overflow: hidden; margin: 4px 0 2px; }
.ev-meter span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.ev-scarcity { margin: 0; font-weight: 700; font-size: .92rem; }
.ev-scarcity.high { color: #d81f45; }
.ev-scarcity.medium { color: #e35a2b; }
.ev-scarcity.low { color: var(--muted); font-weight: 600; }
.ev-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.ev-btn { flex: 0 0 auto; }
.ev-price { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.ev-price small { font-weight: 500; color: var(--muted); font-size: .72rem; }
.events-foot { text-align: center; margin-top: 30px; }
.events-note {
  text-align: center; margin: 0 auto 22px; max-width: 620px; padding: 12px 18px;
  background: rgba(255,157,77,.12); border: 1px solid rgba(255,157,77,.35);
  border-radius: var(--radius-sm); color: #8a4b18; font-size: .95rem; font-weight: 500;
}
.lp .events-note { background: rgba(236,192,125,.12); border-color: rgba(236,192,125,.35); color: var(--lp-amber); }

.events-empty { text-align: center; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px; box-shadow: var(--shadow); }
.events-empty h3 { margin-bottom: 8px; }
.events-empty p { color: var(--muted); margin-bottom: 18px; }

/* Skeleton loading */
.ev-skeleton { pointer-events: none; }
.ev-skeleton .ev-img { background: var(--surface-alt); }
.ev-skeleton .sk { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg,#eee 25%,#f6f6f6 37%,#eee 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; }
.ev-skeleton .sk-a { width: 40%; } .ev-skeleton .sk-b { width: 85%; height: 20px; } .ev-skeleton .sk-c { width: 60%; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Countdown pills */
.countdown { display: inline-flex; gap: 8px; }
.cd { background: rgba(255,255,255,.14); border-radius: 10px; padding: 6px 10px; font-size: .8rem; color: #fff; }
.cd b { display: block; font-family: var(--font-head); font-size: 1.2rem; }

/* Check list 2-col */
.check-list-2col { display: grid; gap: 14px; }
@media (min-width: 700px) { .check-list-2col { grid-template-columns: 1fr 1fr; column-gap: 30px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 18px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--violet); transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 16px; color: var(--muted); }
