/* GTLRadius — Logo theme: blue GTL + green Radius on dark */

:root {
  --gtl-blue: #56B4E9;
  --gtl-blue-dark: #3A9AD9;
  --gtl-blue-light: #7EC8F0;
  --gtl-green: #5CB85C;
  --gtl-green-dark: #449D44;
  --gtl-green-light: #7BC87B;
  --gtl-black: #0a0a0a;
  --gtl-dark: #111111;
  --gtl-dark-card: #1a1a1a;
  --gtl-dark-border: #2a2a2a;
  --gtl-text: #e5e5e5;
  --gtl-text-muted: #9ca3af;
  --primary: var(--gtl-green);
  --primary-dark: var(--gtl-green-dark);
  --primary-light: var(--gtl-green-light);
  --accent: var(--gtl-blue);
  --accent-dark: var(--gtl-blue-dark);
  --footer-bg: #0a0a0a;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  background: var(--gtl-black);
  color: var(--gtl-text);
}

/* Light mode override (optional toggle) */
html:not(.dark) body {
  background: #f8fafc;
  color: #1e293b;
}

.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo:hover { opacity: 1; }

.gtl-logo-img {
  height: 3rem;
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
  display: block;
  transition: filter 0.25s ease;
}
html.dark .gtl-logo-img {
  filter: drop-shadow(0 0 10px rgba(86, 180, 233, 0.28)) drop-shadow(0 0 6px rgba(92, 184, 92, 0.2));
}
.site-logo:hover .gtl-logo-img {
  filter: drop-shadow(0 0 12px rgba(86, 180, 233, 0.4)) drop-shadow(0 0 8px rgba(92, 184, 92, 0.3));
}
html:not(.dark) .site-logo:hover .gtl-logo-img {
  filter: none;
  opacity: 0.88;
}
.gtl-logo-img-sm { height: 1.85rem; max-width: 140px; }
.gtl-logo-img-lg { height: 3.25rem; max-width: 220px; }

.site-logo-tagline {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gtl-text-muted);
  margin-top: 0.2rem;
}
html:not(.dark) .site-logo-tagline { color: #64748b; }

.text-gtl-blue { color: var(--gtl-blue); }
.text-gtl-green { color: var(--gtl-green); }

/* Logo-coloured “GTLRadius” wordmark in body copy */
.gtl-brand {
  display: inline;
  white-space: nowrap;
  font-weight: inherit;
}
.gtl-brand-gtl { color: var(--gtl-blue); font-weight: inherit; }
.gtl-brand-radius { color: var(--gtl-green); font-weight: inherit; }
h1 .gtl-brand-gtl, h2 .gtl-brand-gtl, h3 .gtl-brand-gtl,
h1 .gtl-brand-radius, h2 .gtl-brand-radius, h3 .gtl-brand-radius {
  font-weight: 700;
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

.glass-card {
  background: var(--gtl-dark-card);
  border: 1px solid var(--gtl-dark-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
html:not(.dark) .glass-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(86, 180, 233, 0.15);
  box-shadow: 0 8px 32px rgba(86, 180, 233, 0.08);
}

.hero-gradient {
  background: linear-gradient(135deg, #0a0a0a 0%, #111 40%, #0d1a12 100%);
  position: relative;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(86, 180, 233, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(92, 184, 92, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
html:not(.dark) .hero-gradient {
  background: linear-gradient(135deg, #f0f9ff 0%, #fff 50%, #f0fdf4 100%);
}
html:not(.dark) .hero-gradient::before { opacity: 0.6; }

.section-gradient { background: linear-gradient(180deg, #111 0%, #0a0a0a 100%); }
html:not(.dark) .section-gradient { background: linear-gradient(180deg, #f1f5f9 0%, #fff 100%); }

.section-dark { background: var(--gtl-dark); }
html:not(.dark) .section-dark { background: #fff; }

.cta-gradient {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a2332 50%, #0d1a0d 100%);
  border-top: 1px solid var(--gtl-dark-border);
  border-bottom: 1px solid var(--gtl-dark-border);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gtl-green), var(--gtl-green-dark));
  color: #fff;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(92, 184, 92, 0.35);
}

.btn-blue {
  background: linear-gradient(135deg, var(--gtl-blue), var(--gtl-blue-dark));
  color: #fff;
  transition: all 0.3s ease;
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(86, 180, 233, 0.35);
}

.btn-outline {
  border: 2px solid var(--gtl-blue);
  color: var(--gtl-blue);
  background: transparent;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--gtl-blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--gtl-green-dark);
  transition: all 0.3s ease;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,255,255,0.2); }

.header-scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--gtl-dark-border);
}
html:not(.dark) .header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-link:hover { color: var(--gtl-blue) !important; }

.badge-blue {
  background: rgba(86, 180, 233, 0.15);
  color: var(--gtl-blue);
  border: 1px solid rgba(86, 180, 233, 0.25);
}
.badge-green {
  background: rgba(92, 184, 92, 0.15);
  color: var(--gtl-green);
  border: 1px solid rgba(92, 184, 92, 0.25);
}

.feature-card { transition: all 0.3s ease; }
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(86, 180, 233, 0.3);
  box-shadow: 0 16px 32px rgba(86, 180, 233, 0.08);
}

.pricing-card { transition: all 0.4s ease; }
.pricing-card:hover { transform: translateY(-8px); }
.pricing-card.featured {
  border: 2px solid var(--gtl-green);
  position: relative;
}
.plan-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--gtl-green); color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 0.25rem 1rem; border-radius: 9999px;
}

/* Registration form */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gtl-dark-border);
  background: #111;
  color: var(--gtl-text);
  transition: border-color 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--gtl-blue);
  box-shadow: 0 0 0 3px rgba(86, 180, 233, 0.15);
}
html:not(.dark) .form-input {
  background: #fff;
  border-color: #e2e8f0;
  color: #1e293b;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gtl-text);
}
html:not(.dark) .form-label { color: #334155; }

.service-option { cursor: pointer; transition: all 0.25s ease; }
.service-option input { position: absolute; opacity: 0; pointer-events: none; }
.service-option .option-card {
  border: 2px solid var(--gtl-dark-border);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  background: #111;
  transition: all 0.25s ease;
}
html:not(.dark) .service-option .option-card { background: #fff; border-color: #e2e8f0; }

.service-option input:checked + .option-card {
  border-color: var(--gtl-blue);
  background: rgba(86, 180, 233, 0.08);
  box-shadow: 0 0 0 1px var(--gtl-blue);
}
.service-option input:checked + .option-card.option-green {
  border-color: var(--gtl-green);
  background: rgba(92, 184, 92, 0.08);
  box-shadow: 0 0 0 1px var(--gtl-green);
}
.service-option:hover .option-card { border-color: rgba(86, 180, 233, 0.5); }

.option-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
}
.option-icon.blue { background: rgba(86, 180, 233, 0.15); color: var(--gtl-blue); }
.option-icon.green { background: rgba(92, 184, 92, 0.15); color: var(--gtl-green); }
.option-icon.dual {
  background: linear-gradient(135deg, rgba(86,180,233,0.15), rgba(92,184,92,0.15));
  color: var(--gtl-blue);
}

.form-error { color: #f87171; font-size: 0.8rem; margin-top: 0.25rem; }
.form-success {
  background: rgba(92, 184, 92, 0.15);
  border: 1px solid var(--gtl-green);
  color: var(--gtl-green-light);
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
}

/* Hero layout — text aligned with site grid, dashboard fills right */
.hero-shell {
  width: 100%;
  padding-left: max(1rem, calc((100vw - min(100vw, 80rem)) / 2 + 1rem));
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .hero-shell {
    padding-left: max(1.5rem, calc((100vw - min(100vw, 80rem)) / 2 + 1.5rem));
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-shell {
    padding-left: max(2rem, calc((100vw - min(100vw, 80rem)) / 2 + 2rem));
    padding-right: 0;
  }
}
.hero-grid { align-items: center; }
.hero-copy { max-width: 36rem; }
@media (min-width: 1024px) {
  .hero-copy { max-width: 28rem; }
}
@media (min-width: 1280px) {
  .hero-copy { max-width: 32rem; }
}

/* Dashboard — compact, responsive, theme-aligned screenshot */
.dashboard-mockup {
  perspective: 1200px;
  width: 100%;
  min-width: 0;
}
.dashboard-mockup-side {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .dashboard-mockup-side {
    width: calc(100% + max(0px, (100vw - min(100vw, 80rem)) / 2));
    margin-right: calc(-1 * max(0px, (100vw - min(100vw, 80rem)) / 2));
  }
}
.dashboard-frame {
  position: relative;
  width: 100%;
  padding-right: 0;
}
.dashboard-frame::before {
  content: '';
  position: absolute;
  inset: 8px -4px -10px -4px;
  border-radius: 1rem;
  background: radial-gradient(ellipse at 30% 40%, rgba(86, 180, 233, 0.14) 0%, transparent 55%),
              radial-gradient(ellipse at 70% 60%, rgba(92, 184, 92, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 1024px) {
  .dashboard-frame { padding-right: max(1rem, calc((100vw - min(100vw, 80rem)) / 2)); }
}
.dashboard-inner {
  position: relative;
  z-index: 1;
  transform: rotateY(-2deg) rotateX(1deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  background: var(--gtl-dark-card);
  border: 1px solid var(--gtl-dark-border);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(86, 180, 233, 0.08),
    0 16px 40px -14px rgba(0, 0, 0, 0.65),
    0 0 40px -12px rgba(86, 180, 233, 0.1),
    0 0 32px -16px rgba(92, 184, 92, 0.08);
  width: 100%;
}
html:not(.dark) .dashboard-inner {
  background: #fff;
  border-color: rgba(86, 180, 233, 0.2);
  box-shadow:
    0 0 0 1px rgba(86, 180, 233, 0.1),
    0 16px 40px -14px rgba(86, 180, 233, 0.12),
    0 0 48px -12px rgba(92, 184, 92, 0.08);
}
.dashboard-inner.dashboard-live {
  position: relative;
  height: calc(var(--dash-design-h) * var(--dash-scale));
  max-height: clamp(13rem, 44vh, 25rem);
  container-type: inline-size;
  container-name: dash-frame;
  --dash-design-h: 500px;
  --dash-scale: min(
    clamp(0.36, 100cqi / 900, 0.58),
    clamp(0.36, 44vh / var(--dash-design-h), 0.58)
  );
}
.dashboard-inner.dashboard-photo {
  position: relative;
  max-height: clamp(14rem, 44vw, 19rem);
}
.dashboard-live .gtl-dash-scale {
  transform: scale(var(--dash-scale));
  transform-origin: top left;
  width: calc(100% / var(--dash-scale));
}
@media (min-width: 640px) {
  .dashboard-inner.dashboard-photo { max-height: clamp(15rem, 38vw, 21rem); }
  .dashboard-inner.dashboard-live { max-height: clamp(14.5rem, 44vh, 25rem); }
}
@media (min-width: 768px) {
  .dashboard-inner.dashboard-photo { max-height: clamp(16rem, 36vw, 23rem); }
  .dashboard-inner.dashboard-live { max-height: clamp(15.5rem, 44vh, 25rem); }
}
@media (min-width: 1024px) {
  .dashboard-inner.dashboard-photo { max-height: clamp(17rem, 44vh, 26rem); }
  .dashboard-inner.dashboard-live { max-height: clamp(16.5rem, 44vh, 25rem); }
}
@media (min-width: 1280px) {
  .dashboard-inner.dashboard-photo { max-height: clamp(18rem, 46vh, 28rem); }
  .dashboard-inner.dashboard-live { max-height: clamp(17.5rem, 44vh, 25rem); }
}
.dashboard-photo-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gtl-blue), var(--gtl-green));
  z-index: 2;
  opacity: 0.9;
}
.dashboard-screenshot {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* Dashboard carousel */
.dashboard-carousel { position: relative; }
.dashboard-slides { position: relative; width: 100%; }
.dashboard-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  width: 100%;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 0;
}
.dashboard-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
}
.dashboard-slide-caption {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 3;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(92, 184, 92, 0.35);
  color: var(--gtl-green-light);
  backdrop-filter: blur(8px);
}
html:not(.dark) .dashboard-slide-caption {
  background: rgba(255, 255, 255, 0.88);
  color: var(--gtl-green-dark);
}
.dashboard-carousel-ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.dashboard-carousel-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid var(--gtl-dark-border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(6px);
}
.dashboard-carousel:hover .dashboard-carousel-btn,
.dashboard-carousel:focus-within .dashboard-carousel-btn {
  opacity: 1;
}
.dashboard-carousel-btn:hover {
  background: rgba(92, 184, 92, 0.2);
  border-color: rgba(92, 184, 92, 0.45);
  color: var(--gtl-green-light);
}
.dashboard-carousel-prev { left: 0.5rem; }
.dashboard-carousel-next { right: 0.5rem; }
.dashboard-carousel-dots {
  pointer-events: auto;
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.dashboard-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  transition: width 0.25s ease, background 0.25s ease;
}
.dashboard-dot.active {
  width: 1.25rem;
  background: var(--gtl-green);
}
.dashboard-carousel-hint { line-height: 1.5; }
@media (max-width: 1023px) {
  .dashboard-carousel-btn { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-slide { transition: none; }
}

.dashboard-photo-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 18%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 10, 10, 0.35) 55%,
    rgba(10, 10, 10, 0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
}
html:not(.dark) .dashboard-photo-fade {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(240, 249, 255, 0.5) 55%,
    rgba(240, 249, 255, 0.95) 100%
  );
}
@media (min-width: 1024px) {
  .dashboard-mockup:hover .dashboard-inner {
    transform: rotateY(0) rotateX(0);
    border-color: rgba(86, 180, 233, 0.28);
    box-shadow:
      0 0 0 1px rgba(86, 180, 233, 0.15),
      0 22px 48px -14px rgba(0, 0, 0, 0.7),
      0 0 52px -8px rgba(86, 180, 233, 0.16),
      0 0 40px -10px rgba(92, 184, 92, 0.12);
  }
  html:not(.dark) .dashboard-mockup:hover .dashboard-inner {
    box-shadow:
      0 0 0 1px rgba(86, 180, 233, 0.22),
      0 22px 48px -14px rgba(86, 180, 233, 0.18),
      0 0 52px -8px rgba(92, 184, 92, 0.1);
  }
}
@media (max-width: 1023px) {
  .dashboard-inner { transform: none; }
  .dashboard-mockup-side { margin-right: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-inner { transform: none !important; transition: none; }
}

/* Live dashboard UI (matches admin theme) */
.gtl-dash { font-size: clamp(7px, 1.7cqi, 9px); color: #9ca3af; }
.gtl-dash-body {
  min-height: var(--dash-design-h, 500px);
  width: 100%;
  container-type: inline-size;
  container-name: dash;
}
@container dash (min-width: 360px) {
  .gtl-dash-stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container dash (min-width: 480px) {
  .gtl-dash-chart-row,
  .gtl-dash-chart-row-split { grid-template-columns: 3fr 2fr; }
}
@container dash (min-width: 380px) {
  .gtl-dash-sidebar { width: 100px; min-width: 100px; }
}
@container dash (min-width: 560px) {
  .gtl-dash-sidebar { width: 118px; min-width: 118px; }
}
.gtl-dash-sidebar {
  width: 44px;
  min-width: 44px;
  background: #15171a;
  border-right: 1px solid #2d3139;
  display: flex;
  flex-direction: column;
}
.gtl-dash-logo { padding: 5px 6px; border-bottom: 1px solid #2d3139; background: #111316; text-align: center; }
.gtl-dash-logo-img { max-height: 24px; width: 100%; object-fit: contain; display: block; margin: 0 auto; }
.gtl-dash-nav { flex: 1; padding: 3px 0; overflow: hidden; }
.gtl-dash-nav-link {
  display: block;
  margin: 0 4px;
  padding: 2px 5px;
  border-radius: 3px;
  color: #9ca3af;
  font-size: 7px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gtl-dash-nav-link.active { background: rgba(86, 180, 233, 0.15); color: #56B4E9; }
.gtl-dash-topbar {
  background: #1a1d21;
  border-bottom: 1px solid #2d3139;
  padding: 4px 7px;
  min-height: 24px;
}
.gtl-dash-search {
  background: #252830;
  border: 1px solid #333842;
  border-radius: 4px;
  height: 18px;
  flex: 1;
  max-width: 160px;
  padding: 0 6px;
  font-size: 7px;
  color: #6b7280;
  display: flex;
  align-items: center;
}
.gtl-dash-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #56B4E9, #5CB85C);
}
.gtl-dash-admin-name { font-size: 7px; color: #d1d5db; }
.gtl-dash-content { background: #1a1d21; }
.gtl-stat-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
  background: #22252a;
  border: 1px solid #2d3139;
  border-radius: 4px;
  padding: 3px 5px;
  min-height: 32px;
}
.gtl-stat-label { font-size: clamp(5.5px, 1.4cqi, 7px); color: #9ca3af; line-height: 1.1; }
.gtl-stat-value { font-size: clamp(8px, 2cqi, 11px); font-weight: 700; color: #f3f4f6; line-height: 1.15; }
.gtl-stat-value.gtl-stat-money { font-size: clamp(6.5px, 1.7cqi, 8.5px); }
.gtl-stat-icon { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; opacity: 0.85; }
.gtl-stat-icon.blue { background: rgba(86,180,233,0.25); }
.gtl-stat-icon.green { background: rgba(92,184,92,0.25); }
.gtl-stat-icon.yellow { background: rgba(234,179,8,0.25); }
.gtl-stat-icon.cyan { background: rgba(6,182,212,0.25); }
.gtl-stat-icon.red { background: rgba(239,68,68,0.25); }
.gtl-stat-icon.purple { background: rgba(168,85,247,0.25); }
.gtl-panel { background: #22252a; border: 1px solid #2d3139; border-radius: 4px; padding: 5px; }
.gtl-panel-title { font-size: clamp(6.5px, 1.5cqi, 8px); font-weight: 600; color: #e5e7eb; margin-bottom: 3px; }
.gtl-bar-chart { display: flex; align-items: flex-end; gap: 2px; height: clamp(20px, 5.5cqi, 30px); }
.gtl-bar-chart-lg { height: clamp(22px, 6cqi, 32px); }
.gtl-bar-chart-md { height: clamp(18px, 5cqi, 26px); }
.gtl-bar { border-radius: 2px 2px 0 0; min-width: 4px; flex: 1; transition: height 0.6s ease; }
.gtl-bar.blue { background: #56B4E9; }
.gtl-bar.cyan { background: #06b6d4; }
.gtl-bar.red { background: #ef4444; }
.gtl-bar.green { background: #5CB85C; }
.gtl-mini-table { width: 100%; font-size: clamp(5.5px, 1.3cqi, 7px); border-collapse: collapse; }
.gtl-mini-table th { color: #6b7280; font-weight: 500; text-align: left; padding: 1px 2px; }
.gtl-mini-table td { color: #d1d5db; padding: 1px 2px; }
.gtl-mini-table td.highlight { color: #56B4E9; font-weight: 500; }
.gtl-mini-table td.highlight.green { color: #5CB85C; }
.gtl-mini-table td.user { color: #f87171; font-weight: 500; }
[data-dash] { transition: opacity 0.25s ease; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.float-animation { animation: float 5s ease-in-out infinite; }
.stat-number { font-variant-numeric: tabular-nums; }
.testimonial-track { transition: transform 0.5s ease; }
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  opacity: 1;
  padding-bottom: 1.25rem;
}
.faq-trigger {
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
}
.faq-trigger:hover { color: var(--gtl-blue); }
.faq-item.open .faq-trigger { color: var(--gtl-green); }
.faq-question { flex: 1; text-align: left; }
.faq-icon-wrap {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 1px solid var(--gtl-dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item.open .faq-icon-wrap {
  border-color: rgba(92, 184, 92, 0.4);
  background: rgba(92, 184, 92, 0.1);
}
.faq-trigger:hover .faq-icon-wrap { border-color: rgba(86, 180, 233, 0.35); }
#faq .gtl-brand-gtl,
#faq .gtl-brand-radius { color: inherit; }
.faq-item .faq-icon { transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.mobile-menu { transform: translateX(100%); transition: transform 0.3s ease; }
.mobile-menu.open { transform: translateX(0); }
html:not(.dark) .mobile-menu { background: #fff; }

.skip-link { position: absolute; top: -100%; left: 0; z-index: 9999; padding: 0.75rem 1.5rem; background: var(--gtl-green); color: #fff; }
.skip-link:focus { top: 0; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gtl-blue), var(--gtl-green)); border-radius: 4px; }

.border-gtl-dark-border { border-color: var(--gtl-dark-border); }

/* Nav dropdowns */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 11rem;
  padding: 0.5rem;
  background: var(--gtl-dark-card);
  border: 1px solid var(--gtl-dark-border);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--gtl-text-muted);
  border-radius: 0.5rem;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu a:hover {
  color: var(--gtl-green);
  background: rgba(92, 184, 92, 0.08);
}
html:not(.dark) .nav-dropdown-menu {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Stats & trust bar */
.stats-trust-bar {
  background: var(--gtl-dark);
}
html:not(.dark) .stats-trust-bar { background: #fff; }

/* Compact feature cards */
.feature-card-compact:hover { transform: translateY(-4px); }

/* Integrations bar */
.integrations-bar {
  background: #0e0e0e;
  border-top: 1px solid var(--gtl-dark-border);
  border-bottom: 1px solid var(--gtl-dark-border);
  padding: 1.25rem 0;
}
html:not(.dark) .integrations-bar {
  background: #f1f5f9;
  border-color: #e2e8f0;
}
.integrations-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
}
.integrations-label {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
html:not(.dark) .integrations-label { color: #0f172a; }
.integrations-track-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
}
.integrations-track {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.15rem 0;
}
.integrations-track::-webkit-scrollbar { display: none; }
.integration-tile {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  height: 3.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
html:not(.dark) .integration-tile {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.integration-tile:hover {
  border-color: rgba(92, 184, 92, 0.35);
  background: rgba(92, 184, 92, 0.06);
  transform: translateY(-1px);
}
.integration-tile img {
  max-height: 1.65rem;
  max-width: 6.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
html.dark .integration-tile img[src*="mariadb"] {
  filter: brightness(0) invert(1) opacity(0.9);
}
html:not(.dark) .integration-tile img[src*="mikrotik"],
html:not(.dark) .integration-tile img[src*="smartolt"],
html:not(.dark) .integration-tile img[src*="freeradius"] {
  filter: none;
}
html:not(.dark) .integration-tile img[src$=".svg"]:not([src*="mpesa"]) {
  filter: brightness(0.25);
}
html:not(.dark) .integration-tile img[src*="mpesa"] {
  filter: none;
}
@media (max-width: 639px) {
  .integrations-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .integrations-track-wrap {
    width: 100%;
    mask-image: linear-gradient(90deg, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
}

/* Workflow steps */
.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem 0.25rem;
}
.workflow-step {
  flex: 0 0 auto;
  text-align: center;
  width: 5.5rem;
}
@media (min-width: 768px) {
  .workflow-step { width: 6.5rem; }
}
.workflow-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 0.75rem;
  background: rgba(92, 184, 92, 0.12);
  border: 1px solid rgba(92, 184, 92, 0.25);
  color: var(--gtl-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.workflow-label {
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--gtl-text-muted);
  font-weight: 500;
}
@media (min-width: 640px) {
  .workflow-label { font-size: 0.75rem; }
}
.workflow-arrow {
  color: var(--gtl-dark-border);
  font-size: 1.25rem;
  padding-top: 0.75rem;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .workflow-arrow { display: none; }
  .workflow-steps { gap: 1rem; }
  .workflow-step { width: calc(33% - 0.75rem); }
}

/* Testimonials */
.testimonial-card { transition: transform 0.3s ease, border-color 0.3s ease; }
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 184, 92, 0.25);
}

/* Newsletter */
.newsletter-section { background: var(--gtl-black); }
.newsletter-box { position: relative; overflow: hidden; }
.newsletter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(92, 184, 92, 0.08) 0%, transparent 60%);
  pointer-events: none;
}


.gradient-text {
  background: linear-gradient(90deg, var(--gtl-blue), var(--gtl-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
