/* ============ DARK THEME: TOKENS ============ */

:root {
  --color-bg-page: #0d1117;         /* main dark background */
  --color-surface: #161b22;        /* section background */
  --color-surface-alt: #1c2128;    /* lighter section */
  --color-primary: #3b82f6;        /* blue accent */
  --color-accent: #22c55e;         /* green accent */
  --color-text-main: #e6e6e6;      /* light gray */
  --color-text-subtle: #9ba3b0;    /* muted gray */
  --color-border-soft: rgba(255,255,255,0.12);
  --radius-soft: 12px;
  --shadow-soft: 0 8px 20px rgba(0,0,0,0.45);
}

/* ============ GLOBAL RESET ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--color-bg-page);
  color: var(--color-text-main);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Generic containers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Headings / text */

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  margin: 0 0 0.9rem;
  line-height: 1.7;
  color: var(--color-text-subtle);
}

/* ============ TRANSPARENT HEADER (NOT FIXED) ============ */

.site-header {
  position: relative;          /* scrolls with page */
  width: 100%;
  z-index: 20;
  background: transparent;   /* show hero behind */
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* LOGO */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-word {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: #ffffff;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(1.2);
}

/* Slightly smaller in footer if using .logo--footer */
.logo--footer .logo-img {
  height: 40px;
}

/* ============ HERO SECTION ============ */

.hero {
  min-height: 90vh;

  /* pull hero UP so it sits behind the header */
  margin-top: -4.5rem;

  /* add extra top padding so the text doesn't hide under the header */
  padding-top: 8.5rem;
  padding-bottom: 4rem;

  background: radial-gradient(circle at top left, rgba(59,130,246,0.30), transparent 55%),
              radial-gradient(circle at top right, rgba(34,197,94,0.25), transparent 55%),
              #0d1117;
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.1rem;
  color: #d0d7e0;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.4rem 0 1.7rem;
}

.hero-actions .btn {
  margin-right: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-main {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
}

.stat-label {
  color: #cbd5e1;
  font-size: 0.85rem;
}

/* HERO IMAGE FRAME */

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-photo-frame {
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  background: #020617;
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-chip {
  font-size: 0.85rem;
  line-height: 1.5;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.6rem 0.9rem;
  color: #e5e7eb;
  background: rgba(15,23,42,0.85);
}

/* ===== Review pills (matches screenshot) ===== */
.reviews-row.pills{
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.review-pill{
  width: 260px;
  min-height: 92px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  padding: 18px 22px;
  border-radius: 999px;

  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.55);

  text-decoration: none;
  color: #ffffff;

  box-shadow:
    0 0 26px rgba(15, 23, 42, 0.85),
    0 0 30px rgba(43, 143, 220, 0.20);

  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.review-pill:hover{
  transform: translateY(-2px);
  box-shadow:
    0 0 30px rgba(255, 255, 255, 0.12),
    0 0 40px rgba(43, 143, 220, 0.35);
}

.pill-top{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
}

.pill-score{
  font-weight: 800;
  opacity: 0.95;
}

.pill-stars{
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: #fbbc04;
  text-shadow: 0 0 6px rgba(251, 191, 36, 0.55);
}

.pill-bottom{
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  opacity: 0.9;
}

/* brand borders like screenshot */
.pill-facebook{
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow:
    0 0 26px rgba(15, 23, 42, 0.85),
    0 0 34px rgba(59, 130, 246, 0.25);
}

.pill-google{
  border-color: rgba(248, 250, 252, 0.75);
  box-shadow:
    0 0 26px rgba(15, 23, 42, 0.85),
    0 0 34px rgba(255, 255, 255, 0.18);
}

.pill-classpass{
  border-color: rgba(45, 212, 191, 0.9);
  box-shadow:
    0 0 26px rgba(15, 23, 42, 0.85),
    0 0 34px rgba(45, 212, 191, 0.22);
}

/* mobile sizing */
@media (max-width: 720px){
  .review-pill{
    width: 100%;
    max-width: 360px;
  }
}


/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: 0.2s ease;
  border: 1px solid transparent;
  text-transform: uppercase;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(59,130,246,0.45);
}

.btn--primary:hover {
  background: #2563eb;
  box-shadow: 0 4px 20px rgba(59,130,246,0.6);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
}

.btn--full {
  width: 100%;
}

/* ===== HERO VIDEO BACKGROUND ===== */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0; /* start hidden */
  animation: heroVideoFadeIn 1.2s ease-out forwards;
}

@keyframes heroVideoFadeIn {
  from { opacity: 0; }
  to   { opacity: 0.45; } /* match your desired brightness */
}

/* Make the content sit ABOVE the video */
.hero > .container {
  position: relative;
  z-index: 2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  /* MUCH LIGHTER filters + gradients */
  background:
    radial-gradient(circle at top left, rgba(15,23,42,0.45), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));

  z-index: 1;
  pointer-events: none;

  /* reduce blur from 4px → 1.5px */
  backdrop-filter: blur(1.5px);
}

/* ============ GENERIC SECTIONS ============ */

.section {
  padding: 3.5rem 0;
  background: var(--color-surface);
  color: var(--color-text-main);
}

.section--light {
  background: var(--color-surface-alt);
}

.section--accent {
  background: radial-gradient(circle at top left, rgba(59,130,246,0.25), transparent 55%),
              radial-gradient(circle at bottom right, rgba(34,197,94,0.25), transparent 55%),
              #111827;
}

.section-heading {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.section-heading p {
  margin-bottom: 0;
}

/* Layout helpers */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* ============ LIST STYLES ============ */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
  font-size: 0.98rem;
  color: var(--color-text-subtle);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: rgba(34,197,94,0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.step-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text-subtle);
}

.step-list li {
  margin-bottom: 0.5rem;
}

.note {
  font-size: 0.9rem;
}

/* ============ CARDS (classes / features) ============ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.card {
  background: #1c2128;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-soft);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #bbf7d0;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
}

.card-list {
  list-style: none;
  padding-left: 0;
  margin: 0.7rem 0 1rem;
}

.card-list li {
  font-size: 0.9rem;
  color: var(--color-text-subtle);
  margin-bottom: 0.35rem;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============ SOCIAL PROOF ============ */

.social-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.pill-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pill {
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  font-size: 0.88rem;
  border: 1px solid rgba(148,163,184,0.4);
}

/* ============ FORM AREA ============ */

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.lead-form {
  background: #161b22;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border-soft);
  padding: 1.5rem 1.6rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: #b9c2cf;
  margin-bottom: 0.32rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  outline: none;
  background: #0d1117;
  color: #ffffff;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

/* small note under form */

.form-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.6rem;
}

/* ============ CONTACT / MAP ============ */

.contact-block {
  font-size: 0.95rem;
}

.map-embed iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

/* ============ FOOTER ============ */

.site-footer {
  background: #0b1016;
  border-top: 1px solid var(--color-border-soft);
  color: var(--color-text-subtle);
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding: 2rem 1.5rem 1.5rem;
}

.footer-text {
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

.footer-links a {
  color: #e5e7eb;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--color-border-soft);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem 1rem;
  gap: 1rem;
  font-size: 0.78rem;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .card-grid,
  .social-proof,
  .form-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-grid {
    gap: 2rem;
  }
  
  .hero-video {
    display: none;
  }

  /* Optional: use a static image on mobile instead of just gradient */
  .hero {
    background:
      linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.95)),
      url("/assets/img/hero-fallback-mobile.jpg") center/cover no-repeat;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ OPTIONAL: LIGHT TOUCH FOR ELEMENTOR PAGES ============ */

.elementor-widget-text-editor p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--color-text-subtle);
}

.elementor-button,
.elementor-button-link {
  border-radius: 999px !important;
  padding: 0.65rem 1.5rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  background-color: var(--color-primary) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(59,130,246,0.4) !important;
}

/* =========================================================
   REVIEW BADGES (match landing page look)
   Put at the VERY BOTTOM of home.css
========================================================= */

.reviews-block {
  text-align: center;
  margin: 22px 0 10px;
}

.reviews-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Base badge style – glowing pill */
a.review-badge,
.review-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;

  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
  backdrop-filter: blur(8px);

  /* IMPORTANT: override global link styles */
  color: #ffffff !important;
  text-decoration: none !important;

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;

  box-shadow:
    0 0 18px rgba(15, 23, 42, 0.95),
    0 0 24px rgba(59, 130, 246, 0.35);

  transition: transform 0.18s ease, box-shadow 0.22s ease, opacity 0.18s ease;
  white-space: nowrap;
}

/* Make sure ALL text inside stays white (stops blue link inheritance) */
.review-badge *,
a.review-badge * {
  color: inherit !important;
  text-decoration: none !important;
}

.review-badge:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.22),
    0 0 34px rgba(59, 130, 246, 0.55);
  opacity: 0.98;
}

/* Inner layout */
.review-badge .badge-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
}

.badge-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.badge-rating {
  font-weight: 700;
  opacity: 0.92;
}

.badge-subtext {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Stars */
.badge-stars {
  color: #fbbc04 !important;
  font-size: 1.1rem;
  text-shadow: 0 0 6px rgba(251, 191, 36, 0.55);
  letter-spacing: 1px;
}

/* Brand borders + title colors */
.review-badge-facebook { border-color: rgba(59, 130, 246, 0.9); }
.review-badge-facebook .badge-title { color: #bfdbfe !important; }

.review-badge-classpass { border-color: rgba(45, 212, 191, 0.9); }
.review-badge-classpass .badge-title { color: #a7f3d0 !important; }

.review-badge-google { border-color: rgba(248, 250, 252, 0.9); }
.review-badge-google .badge-title {
  display: inline-block;
  background: linear-gradient(90deg, #9cc3ff, #ffb3b3, #ffe9a8, #b4f5d2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

