/* ============================================
   GPosting - Rabbi IT Firm Style Design System
   ============================================ */

:root {
  /* GPosting brand palette — golden amber, based on #F5A623 */
  --brand-50:  #FEF6E7;   /* light tint backgrounds */
  --brand-100: #FDE4A8;   /* badge / pill backgrounds */
  --brand-200: #FBD070;   /* soft accents / hover tints */
  --brand-300: #F8BC38;   /* mid-light accents / badge borders */
  --brand-400: #F5A623;   /* PRIMARY — buttons, links, icons, CTAs */
  --brand-500: #D4880A;   /* button hover */
  --brand-600: #A96A06;   /* active / pressed / strong borders */
  --brand-700: #7D4E04;   /* dark accent text on light bg */
  --brand-800: #523303;   /* text on brand-colored backgrounds */
  --brand-900: #2E1C01;   /* dark section / footer backgrounds */

  /* Semantic brand tokens */
  --brand-primary: #F5A623;
  --brand-hover:   #D4880A;
  --brand-active:  #A96A06;
  --brand-light:   #FEF6E7;
  --brand-text:    #7D4E04;

  /* Secondary accent — teal (complements the amber; stays vivid in dark mode) */
  --brand-secondary:        #0D9488;  /* teal-600 */
  --brand-secondary-bright: #2DD4BF;  /* teal-400 — dark-mode friendly */
  --brand-secondary-deep:   #0F766E;  /* teal-700 — hover/active */
  --brand-secondary-light:  #CCFBF1;  /* teal-100 — tint bg */

  /* Back-compat aliases — every former blue/indigo/violet/purple repointed into the amber family */
  --brand-primary-dark: #D4880A;   /* was blue-700 */
  --brand-primary-light: #FEF6E7;  /* was blue-50 */
  --brand-accent: #D4880A;         /* was violet-700 */
  --brand-accent-dark: #A96A06;    /* was indigo-700 */
  --brand-orange: #f59e0b;         /* warm accent (kept) */
  --brand-orange-dark: #b45309;    /* warm accent (kept) */
  --brand-blue: #F5A623;           /* was blue-500 */
  --brand-indigo: #D4880A;         /* was indigo-600 */
  --brand-cyan: #F5A623;           /* was cyan */
  --brand-success: #16a34a;        /* green-600 (kept — status) */
  --brand-emerald: #22c55e;        /* green (kept — status) */
  --brand-amber: #facc15;          /* warm yellow (kept) */
  --brand-red: #ef4444;            /* red (kept — danger) */
  --brand-violet: #F5A623;         /* was violet-500 */
  --brand-pink: #F5A623;           /* was violet/purple */
  --brand-purple: #F5A623;         /* was violet-700 */
  --brand-danger: #ef4444;         /* red (kept — danger) */

  --surface: #ffffff;
  --surface-alt: #f3f4f6;          /* gray-100 (kept neutral) */
  --surface-tint: #FEF6E7;         /* brand-50 */
  --surface-soft: linear-gradient(180deg, #ffffff 0%, #FEF6E7 50%, #FDE4A8 100%);
  --border: #E5E7EB;               /* gray-200 (kept neutral) */
  --border-soft: #EDE6D6;          /* soft warm-grey */
  --text: #111827;                 /* gray-900 (kept) */
  --text-muted: #4b5563;           /* gray-600 (kept) */
  --text-subtle: #9aa3b2;          /* gray (kept) */

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 6px 18px rgba(16, 24, 40, .06);
  --shadow-lg: 0 16px 40px rgba(245, 166, 35, .18);
  --shadow-pink: 0 16px 40px rgba(212, 136, 10, .22);
  --gradient-primary: linear-gradient(135deg, #F5A623 0%, #D4880A 100%);
  --gradient-tri: linear-gradient(135deg, #F8BC38, #F5A623, #D4880A);
  --gradient-accent: linear-gradient(135deg, #2DD4BF, #0D9488);   /* teal — secondary accent */
  --gradient-teal: linear-gradient(135deg, #2DD4BF, #0D9488);
  --gradient-hero: linear-gradient(180deg, #ffffff 0%, #FEF6E7 50%, #FDE4A8 100%);
  --gradient-soft: linear-gradient(135deg, rgba(245, 166, 35, 0.12), rgba(212, 136, 10, 0.12));
  --gradient-blue: linear-gradient(135deg, #2DD4BF, #0D9488);     /* teal */
  --gradient-cyan: linear-gradient(135deg, #2DD4BF, #0D9488);     /* teal */
  --gradient-emerald: linear-gradient(135deg, #34d399, #15803d);  /* green (kept) */
  --gradient-purple: linear-gradient(135deg, #F5A623, #D4880A);   /* amber (primary family) */
  --gradient-violet: linear-gradient(135deg, #2DD4BF, #0D9488);   /* teal */
  --gradient-pink: linear-gradient(135deg, #2DD4BF, #0D9488);     /* teal */
  --gradient-red: linear-gradient(135deg, #f87171, #b91c1c);      /* red (kept) */
  --gradient-orange: linear-gradient(135deg, #fbbf24, #d97706);   /* warm (kept) */
  --gradient-amber: linear-gradient(135deg, #facc15, #ca8a04);    /* warm (kept) */

  --font-sans: 'Inter', 'Plus Jakarta Sans', 'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 .6em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px rgba(245, 166, 35, .25);
}
.btn-primary:hover {
  background: var(--gradient-tri);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(212, 136, 10, .35);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px rgba(13, 148, 136, .28);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #0F766E, #0D9488);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(13, 148, 136, .38);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  position: relative;
}
.btn-outline:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(245, 166, 35, .3);
}

.btn-ghost {
  background: var(--gradient-soft);
  color: var(--brand-primary);
  border: 1px solid rgba(245, 166, 35, .25);
}
.btn-ghost:hover { background: var(--gradient-primary); color: #fff; border-color: transparent; }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -.02em;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gradient-tri);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(212, 136, 10, .35);
}
.brand-logo img {
  height: 40px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}
.brand span:last-child {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links li { position: relative; }
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--text);
  font-weight: 500;
  border-radius: 8px;
  font-size: .95rem;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--gradient-soft);
  color: var(--brand-primary);
}

.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '▾';
  margin-left: 6px;
  font-size: .75em;
  opacity: .6;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta { display: flex; gap: 10px; align-items: center; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px;
  cursor: pointer;
  color: var(--text);
}
.menu-toggle svg { width: 24px; height: 24px; display: block; }

/* Theme (dark/light) toggle button */
.theme-toggle {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  line-height: 0;
  transition: transform .3s ease, background .2s ease;
}
.theme-toggle:hover { transform: scale(1.1); }
.theme-toggle svg { width: 22px; height: 22px; display: block; }
.theme-toggle .dark-mode-icon { display: none; color: #F5A623; }
html.dark .theme-toggle .light-mode-icon { display: none; }
html.dark .theme-toggle .dark-mode-icon { display: block; }

.nav-mobile-right { display: none; align-items: center; gap: 6px; }

@media (max-width: 980px) {
  .nav-mobile-right { display: flex; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 12px;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 12px 14px; }
  .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--surface-alt);
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #FEF6E7 50%, #FEF6E7 100%);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .6;
  pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(245, 166, 35, .55), rgba(212, 136, 10, .35));
  top: -120px; right: -80px;
}
.hero::after {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(245, 166, 35, .45), rgba(212, 136, 10, .35));
  bottom: -100px; left: -60px;
}
.hero h1 .accent {
  background: var(--gradient-tri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .underline {
  background: linear-gradient(transparent 60%, rgba(245, 166, 35, .35) 0);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-soft);
  border: 1px solid rgba(245, 166, 35, .25);
  color: var(--brand-primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-success); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }

.hero-lead { font-size: 1.1rem; max-width: 540px; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: .9rem;
}
.hero-trust strong { color: var(--text); display: block; font-size: 1.4rem; line-height: 1; }

.hero-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
}

.metric-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 16px;
}
.metric .num {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric:nth-child(2) .num { background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric:nth-child(3) .num { background: var(--gradient-emerald); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric:nth-child(4) .num { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .lbl { color: var(--text-muted); font-size: .85rem; }

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: linear-gradient(180deg, #ffffff 0%, #FEF6E7 100%); }
.section-tint { background: linear-gradient(180deg, #FEF6E7 0%, #FEF6E7 100%); }
.section-cool { background: linear-gradient(180deg, #FEF6E7 0%, #FEF6E7 100%); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { background: var(--brand-primary-light); margin-bottom: 14px; }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-tri);
  opacity: 0;
  transition: opacity .25s;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(245, 166, 35, .15);
  border-color: rgba(212, 136, 10, .2);
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gradient-purple);
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(245, 166, 35, .25);
}
.card-icon.accent { background: var(--gradient-primary); box-shadow: 0 8px 22px rgba(245, 166, 35, .25); color: #fff; }
.card-icon.success { background: var(--gradient-emerald); box-shadow: 0 8px 22px rgba(16, 185, 129, .25); color: #fff; }
.card-icon.purple { background: var(--gradient-violet); box-shadow: 0 8px 22px rgba(13, 148, 136, .28); color: #fff; }
.card-icon.pink { background: var(--gradient-pink); box-shadow: 0 8px 22px rgba(13, 148, 136, .28); color: #fff; }
.card-icon.cyan { background: var(--gradient-cyan); box-shadow: 0 8px 22px rgba(13, 148, 136, .28); color: #fff; }
.card-icon.amber { background: var(--gradient-amber); box-shadow: 0 8px 22px rgba(251, 191, 36, .25); color: #fff; }
.card-icon.red { background: var(--gradient-red); box-shadow: 0 8px 22px rgba(248, 113, 113, .25); color: #fff; }
.card-icon.blue { background: var(--gradient-blue); box-shadow: 0 8px 22px rgba(13, 148, 136, .28); color: #fff; }

.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { font-size: .95rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-top: 8px;
}
.card-link::after { content: '→'; transition: transform .2s; }
.card-link:hover::after { transform: translateX(4px); }

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Stats Strip */
.stats-strip {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  box-shadow: var(--shadow);
  margin-top: -60px;
  position: relative;
  z-index: 2;
}
@media (max-width: 980px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}
.stat-item { text-align: center; border-right: 1px solid var(--border-soft); }
.stat-item:last-child { border-right: none; }
.stat-item .v {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  background: var(--gradient-tri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.02em;
  display: block;
}
.stat-item:nth-child(1) .v { background-image: var(--gradient-purple); -webkit-background-clip: text; background-clip: text; }
.stat-item:nth-child(2) .v { background-image: var(--gradient-pink); -webkit-background-clip: text; background-clip: text; }
.stat-item:nth-child(3) .v { background-image: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; }
.stat-item:nth-child(4) .v { background-image: var(--gradient-cyan); -webkit-background-clip: text; background-clip: text; }
.stat-item:nth-child(5) .v { background-image: var(--gradient-emerald); -webkit-background-clip: text; background-clip: text; }
.stat-item .l { color: var(--text-muted); font-size: .9rem; margin-top: 4px; }
@media (max-width: 600px) {
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-soft); padding-bottom: 16px; }
}

/* Steps */
.steps { counter-reset: stp; }
.step {
  position: relative;
  padding-left: 70px;
}
.step::before {
  counter-increment: stp;
  content: '0' counter(stp);
  position: absolute;
  left: 0; top: 0;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--gradient-tri);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(212, 136, 10, .35);
}
.steps > .step:nth-child(2)::before { background: var(--gradient-pink); box-shadow: 0 12px 28px rgba(212, 136, 10, .35); }
.steps > .step:nth-child(3)::before { background: var(--gradient-tri); box-shadow: 0 12px 28px rgba(245, 166, 35, .35); }
.steps > .step:nth-child(4)::before { background: var(--gradient-cyan); box-shadow: 0 12px 28px rgba(245, 166, 35, .35); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient-tri) border-box;
  box-shadow: 0 24px 48px rgba(245, 166, 35, .2);
  transform: translateY(-8px);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-tri);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(212, 136, 10, .35);
}
.price-card .price {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-card .price small { color: var(--text-muted); -webkit-text-fill-color: var(--text-muted); }
.price-card h3 { font-size: 1.1rem; color: var(--text-muted); font-weight: 600; margin-bottom: 8px; }
.price-card .price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}
.price-card .price small { font-size: .9rem; color: var(--text-muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 22px 0; padding: 0; flex-grow: 1; }
.price-card li {
  padding: 8px 0;
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted);
  font-size: .95rem;
}
.price-card li::before {
  content: '✓';
  color: var(--brand-primary);
  font-weight: 800;
}

/* Tables */
.table-wrap {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sites-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.sites-table th, .sites-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: .92rem;
  border-bottom: 1px solid var(--border-soft);
}
.sites-table thead th {
  background: var(--surface-alt);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.sites-table tbody tr:hover { background: linear-gradient(90deg, rgba(245, 166, 35, .04), rgba(212, 136, 10, .06), rgba(245, 166, 35, .04)); }
.sites-table tbody tr:nth-child(6n+1) .niche-tag { background: var(--gradient-purple); color: #fff; border-color: transparent; }
.sites-table tbody tr:nth-child(6n+2) .niche-tag { background: var(--gradient-pink); color: #fff; border-color: transparent; }
.sites-table tbody tr:nth-child(6n+3) .niche-tag { background: var(--gradient-orange); color: #fff; border-color: transparent; }
.sites-table tbody tr:nth-child(6n+4) .niche-tag { background: var(--gradient-cyan); color: #fff; border-color: transparent; }
.sites-table tbody tr:nth-child(6n+5) .niche-tag { background: var(--gradient-emerald); color: #fff; border-color: transparent; }
.sites-table tbody tr:nth-child(6n) .niche-tag { background: var(--gradient-amber); color: #fff; border-color: transparent; }
.sites-table tbody tr:last-child td { border-bottom: none; }
.site-url { font-weight: 600; color: var(--text); text-decoration: none; display: inline-block; }
a.site-url:hover { color: var(--brand-primary); }
a.site-url:hover small { color: var(--brand-primary); opacity: .85; }
.site-url small { display: block; color: var(--text-muted); font-weight: 400; font-size: .82rem; }
.price-cell { white-space: nowrap; }
.price-cell .price-amt { display: block; margin-bottom: 6px; }
.metric-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  background: var(--gradient-purple);
  color: #fff;
  box-shadow: 0 3px 10px rgba(245, 166, 35, .25);
}
.metric-pill.high { background: var(--gradient-emerald); color: #fff; box-shadow: 0 3px 10px rgba(16, 185, 129, .25); }
.metric-pill.mid { background: var(--gradient-amber); color: #fff; box-shadow: 0 3px 10px rgba(251, 191, 36, .25); }
.niche-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(245, 166, 35, .2);
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand-primary-dark);
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}
.filter-bar input, .filter-bar select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .92rem;
  background: #fff;
  color: var(--text);
  min-width: 140px;
  transition: border-color .15s, box-shadow .15s;
}
.filter-bar input:focus, .filter-bar select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, .12);
}
.filter-bar input { flex: 1; min-width: 220px; }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, .12);
}
textarea.form-control { min-height: 140px; resize: vertical; }

/* CTA Banner */
.cta-banner {
  background: var(--gradient-tri);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(212, 136, 10, .35);
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  top: -120px; right: -120px;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  bottom: -80px; left: -60px;
}
.cta-banner h2 { color: #fff; margin: 0 0 12px; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta-banner .btn-light {
  background: #fff; color: var(--brand-primary);
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.cta-banner .btn-light:hover {
  background: #fff;
  color: var(--brand-accent);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.cta-banner .btn-accent {
  background: #fff;
  color: var(--brand-primary);
  border: none;
}
.cta-banner .btn-accent:hover {
  background: var(--gradient-orange);
  color: #fff;
}
@media (max-width: 800px) {
  .cta-banner { grid-template-columns: 1fr; padding: 36px 28px; }
  .cta-banner .actions { justify-content: flex-start; }
}

/* Footer — light by default, dark via html.dark (theme-aware) */
.site-footer {
  background: var(--surface-alt);
  color: var(--text-muted);
  padding: 70px 0 30px;
  margin-top: 80px;
  border-top: 1px solid var(--border-soft);
}
.site-footer h4 {
  color: var(--text);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--brand-primary); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand .brand { color: var(--text); }
.footer-brand p { color: var(--text-muted); max-width: 360px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }

.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 12px; color: var(--text-muted);
  font-size: .92rem;
}
.footer-contact-item .ic {
  width: 32px; height: 32px;
  background: var(--brand-primary-light);
  border-radius: 8px;
  color: var(--brand-primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .88rem;
  color: var(--text-subtle);
}
/* Footer payment logos */
.footer-pay { display: flex; align-items: center; gap: 18px; }
.footer-pay .pay-logo { display: inline-flex; align-items: center; }
.footer-pay .pay-logo svg {
  height: 22px; width: auto;
  fill: var(--text-subtle);
  opacity: .65;
  transition: opacity .2s ease, fill .2s ease;
}
.footer-pay .pay-logo:hover svg { opacity: 1; fill: var(--brand-primary); }
.social-list { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social-list a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .05);
  display: grid; place-items: center;
  color: var(--text-muted);
  font-size: .95rem;
}
.social-list a:hover { background: var(--brand-primary); color: #fff; }

/* Dark-mode footer */
html.dark .site-footer { background: #0b1224; color: #cbd5e1; border-top-color: rgba(148, 163, 184, .12); }
html.dark .site-footer h4 { color: #fff; }
html.dark .site-footer a { color: #b5bcce; }
html.dark .site-footer a:hover { color: #fff; }
html.dark .footer-brand .brand { color: #fff; }
html.dark .footer-brand p { color: #9aa3b8; }
html.dark .footer-contact-item { color: #b5bcce; }
html.dark .footer-contact-item .ic { background: rgba(245, 166, 35, .22); color: #F8BC38; }
html.dark .footer-bottom { border-top-color: rgba(255, 255, 255, .08); color: #8b95ae; }
html.dark .footer-pay .pay-logo svg { fill: #8b95ae; }
html.dark .footer-pay .pay-logo:hover svg { fill: var(--brand-primary); }
html.dark .social-list a { background: rgba(255, 255, 255, .06); color: #b5bcce; }

/* Page header */
.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #FEF6E7 50%, #FEF6E7 100%);
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, .35), rgba(212, 136, 10, .25));
  filter: blur(80px);
  top: -120px; right: -140px;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, .3), rgba(212, 136, 10, .2));
  filter: blur(80px);
  bottom: -120px; left: -120px;
}
.page-hero h1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero h1 { margin-bottom: 12px; position: relative; z-index: 1; }
.page-hero p { font-size: 1.1rem; max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; position: relative; z-index: 1; }
.breadcrumb a { color: var(--brand-primary); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--border-soft);
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gradient-tri);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px rgba(245, 166, 35, .6), 0 6px 14px rgba(212, 136, 10, .3);
}
.timeline-item:nth-child(2)::before { background: var(--gradient-pink); }
.timeline-item:nth-child(3)::before { background: var(--gradient-orange); }
.timeline-item:nth-child(4)::before { background: var(--gradient-cyan); }
.timeline-item:nth-child(5)::before { background: var(--gradient-emerald); }
.timeline-item .yr {
  font-weight: 800; font-size: 1.1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  color: var(--text-muted);
}
.feature-list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(245, 166, 35, .3);
}

/* Pagination */
.pagination {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 30px;
  list-style: none;
  padding: 0;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
}
.pagination .active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(245, 166, 35, .3);
}
.pagination a:hover {
  border-color: var(--brand-400);
  color: var(--brand-600);
}
.pagination .disabled {
  opacity: .45;
  cursor: default;
}

/* Table footer: rows-per-page selector + range readout */
.table-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  font-size: .9rem;
  color: var(--text-muted);
}
.rows-per-page {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rows-per-page label { font-weight: 500; }
.rows-per-page select {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
}
.rows-per-page select:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, .15);
}
.page-range {
  font-weight: 500;
  white-space: nowrap;
}

/* Logos strip */
.logos {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  opacity: .7;
}
.logos span {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: -.02em;
}

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

/* ============================================
   Page loader + scroll-reveal system (gposting.com style)
   ============================================ */
@font-face {
  font-family: 'alkia';
  src: url('/fonts/Alkia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

#loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#loader span {
  display: inline-block;
  font-family: 'alkia', 'Inter', sans-serif;
  font-size: 10vw;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

/* Main content stays hidden until the loader hands off */
#main {
  opacity: 0;
  visibility: hidden;
}
#main.content-visible {
  opacity: 1;
  visibility: visible;
}

/* Hero/page-hero pieces start hidden, animated in by GSAP */
.hero h1,
.hero-lead,
.hero-actions,
.hero-trust,
.hero-card,
.page-hero h1,
.page-hero p,
.page-hero .breadcrumb {
  opacity: 0;
}

/* Respect reduced-motion: skip the entrance hiding */
@media (prefers-reduced-motion: reduce) {
  #main { opacity: 1; visibility: visible; }
  .hero h1, .hero-lead, .hero-actions, .hero-trust, .hero-card,
  .page-hero h1, .page-hero p, .page-hero .breadcrumb { opacity: 1; }
  #loader { display: none; }
}

/* ============================================
   Dark mode (toggled via <html class="dark">)
   ============================================ */
.brand-logo .logo-dark { display: none; }
html.dark .brand-logo .logo-light { display: none; }
html.dark .brand-logo .logo-dark { display: block; }

html.dark {
  --surface: #0f172a;
  --surface-alt: #1e293b;
  --surface-tint: #1e293b;
  --surface-soft: linear-gradient(180deg, #0b1426 0%, #0f172a 100%);
  --border: #334155;
  --border-soft: rgba(148, 163, 184, .16);
  --text: #e8edf5;
  --text-muted: #9aa7bd;
  --text-subtle: #6b7a90;
  --brand-primary-light: rgba(245, 166, 35, .16);
  --gradient-hero: linear-gradient(180deg, #0b1426 0%, #0f172a 100%);
}

html.dark body { background: #0b1426; }

html.dark .site-header { background: rgba(15, 23, 42, .88); }

html.dark .dropdown-menu,
html.dark .card,
html.dark .hero-card,
html.dark .stats-strip,
html.dark .price-card,
html.dark .table-wrap,
html.dark .filter-bar,
html.dark .pagination a,
html.dark .pagination span { background: #0f172a; }

html.dark .form-control,
html.dark .filter-bar input,
html.dark .filter-bar select,
html.dark .rows-per-page select {
  background: #0b1426;
  color: var(--text);
  border-color: var(--border);
}

html.dark .hero,
html.dark .page-hero,
html.dark .section-alt { background: linear-gradient(180deg, #0b1426 0%, #0f172a 100%); }
html.dark .section-tint { background: linear-gradient(180deg, #0f172a 0%, #14203a 100%); }
html.dark .section-cool { background: linear-gradient(180deg, #0b1426 0%, #101d33 100%); }

html.dark .price-card.featured {
  background:
    linear-gradient(#0f172a, #0f172a) padding-box,
    var(--gradient-tri) border-box;
}

/* Inline white metric boxes (Home "Why GPosting") */
html.dark .metric[style*="#fff"] { background: #1e293b !important; }

/* Mobile slide-down menu must be dark too (was white -> light text invisible) */
html.dark .nav-links.open {
  background: #0f172a;
  border-bottom-color: var(--border-soft);
}

/* Contact page: 2-column form/sidebar that stacks on smaller screens */
.contact-grid { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Sites table: responsive collapse (gposting.com/sites style) ---- */
.dtr-control { display: none; }

@media (max-width: 768px) {
  .sites-table.collapsed { min-width: 0; }
  /* On data rows, show only the Website column */
  .sites-table.collapsed thead th:not(:first-child),
  .sites-table.collapsed tbody tr[data-url] td:not(:first-child) { display: none; }
  .sites-table.collapsed thead th:first-child { width: 100%; }
  .sites-table.collapsed tbody tr[data-url] td:first-child { display: flex; align-items: center; }

  .sites-table.collapsed .dtr-control {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; flex-shrink: 0; margin-right: 12px; padding: 0;
    border: none; border-radius: 50%;
    background: var(--gradient-primary); color: #fff; cursor: pointer; line-height: 1;
    box-shadow: 0 2px 6px rgba(245, 166, 35, .35);
  }
  .sites-table.collapsed .dtr-control::before { content: '+'; font-size: 16px; font-weight: 700; }
  .sites-table.collapsed tr.expanded .dtr-control::before { content: '\2212'; }

  /* Expanded detail panel: label / value rows */
  .sites-table.collapsed tr.site-detail td { padding: 2px 16px 16px 50px; }
  .dtr-details { list-style: none; margin: 0; padding: 0; }
  .dtr-details li {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 9px 0; border-bottom: 1px dashed var(--border-soft); font-size: .92rem;
  }
  .dtr-details li:last-child { border-bottom: none; }
  .dtr-title { color: var(--text-muted); font-weight: 600; }
  .dtr-data { text-align: right; color: var(--text); }
  .dtr-details li.dtr-action { display: block; padding-top: 14px; }
  .dtr-details li.dtr-action .btn { width: 100%; justify-content: center; }
}
