@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600&family=Roboto:wght@400;500;700&display=swap');

:root {
  --bg: #06070f;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --primary: #B4D03A;         /* accent for dark mode */
  --secondary: #3A54D0;       /* complementary pop */
  --tertiary: #F4F7DC;        /* soft highlight */
  --brand-dark: #B4D03A;
  --brand-shade: #dcf56e;
  --text: #e8ecf2;
  --muted: #a7afc2;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

.light {
  --bg: #B4D03A;              /* requested light background */
  --card: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.12);
  --primary: #2E3A0B;         /* deep text-friendly tone */
  --secondary: #3A54D0;       /* keep complementary for contrast */
  --tertiary: #F9FBEC;
  --text: #111807;
  --muted: #2f3b14;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body:not(.light) {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 18% 18%, rgba(58, 84, 208, 0.12), transparent 36%),
              radial-gradient(circle at 72% 12%, rgba(180, 208, 58, 0.16), transparent 40%),
              linear-gradient(145deg, #05060c, #0a0c17 40%, #05060c);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  animation: canvasShift 24s ease-in-out infinite alternate;
}

/* Defensive: prevent accidental horizontal shifts from transforms or scripts */
#smooth-container,
[data-scroll-container] {
  transform: none !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  max-width: 100%;
}

html, body { overflow-x: hidden; }

.light body,
body.light {
  background: linear-gradient(140deg, #B4D03A 0%, #c8dd5d 40%, #b0ce3b 100%);
  animation: none;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(6, 7, 15, 0.7);
  border-bottom: 1px solid var(--border);
}

body.light nav {
  background: rgba(255, 255, 255, 0.4);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.4px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

.brand img {
  width: 28px;
  height: 28px;
  filter: none;
  animation: logoPulse 3.5s ease-in-out infinite;
}

.brand .light-logo { display: none; }
.light .brand .dark-logo { display: none; }
.light .brand .light-logo { display: inline-block; }

body.light .brand img {
  filter: brightness(1) saturate(1.2);
}

.brand-name {
  color: var(--brand-dark);
}

.light .brand-name {
  color: var(--text);
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(180, 208, 58, 0.12), rgba(58, 84, 208, 0.10));
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

/* Mode toggle icon styling */
.mode-toggle { display: inline-flex; align-items: center; justify-content: center; padding:10px; }
.mode-toggle .icon { width:18px; height:18px; display:block; color:var(--text); transition: transform 220ms ease, opacity 220ms ease; }
.mode-toggle .icon-moon { display:none; }
/* When in light mode, show moon; otherwise show sun */
.light .mode-toggle .icon-sun,
body.light .mode-toggle .icon-sun { display:none; }
.light .mode-toggle .icon-moon,
body.light .mode-toggle .icon-moon { display:block; }
.mode-toggle:hover .icon { transform: scale(1.08); }

/* Improve focus ring for accessibility */
.mode-toggle:focus { outline: 3px solid rgba(180,208,58,0.25); outline-offset: 3px; }

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 208, 58, 0.4);
  background: linear-gradient(135deg, rgba(180, 208, 58, 0.18), rgba(58, 84, 208, 0.16));
}

header {
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero {
  display: grid;
  gap: 36px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -1.1px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.05;
  margin: 0 0 14px;
}

.accent { color: var(--primary); }

.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 24px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(180, 208, 58, 0.25), rgba(58, 84, 208, 0.22));
  color: var(--text);
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(180, 208, 58, 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.btn.secondary {
  background: linear-gradient(135deg, rgba(58, 84, 208, 0.18), rgba(180, 208, 58, 0.12));
  color: var(--text);
}

/* Highlighted 'Explore live builds' link */
.pill.live-link {
  border-color: rgba(180, 208, 58, 0.8);
  background: linear-gradient(135deg, rgba(180,208,58,0.98), rgba(58,84,208,0.06));
  color: var(--bg);
  box-shadow: 0 12px 40px rgba(180,208,58,0.14);
}
.pill.live-link svg { color: var(--bg); }
.live-copy {
  display:block;
  margin-bottom:8px;
  color: var(--tertiary);
  font-size:13px;
}

.hero-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(180, 208, 58, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-card h3 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.3px;
}

.ticker {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.ticker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: var(--muted);
}

.ticker-row strong {
  color: var(--text);
  letter-spacing: 0.3px;
}

/* Ensure left text can shrink and the right label sits flush to the right edge */
.ticker-row > span { flex: 1 1 auto; min-width: 0; }
.ticker-row strong { margin-left: 12px; display: inline-block; text-align: right; white-space: nowrap; }

@media (max-width: 640px) {
  .ticker-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ticker-row strong { align-self: flex-end; margin-left: 0; }
}

.floating {
  position: absolute;
  width: 280px;
  height: 280px;
  filter: blur(50px);
  opacity: 0.32;
  z-index: 0;
  animation: float 16s ease-in-out infinite alternate;
}

.floating.one {
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(180, 208, 58, 0.45), transparent 60%);
}

.floating.two {
  bottom: -25%;
  left: -5%;
  animation-duration: 18s;
  background: radial-gradient(circle, rgba(58, 84, 208, 0.45), transparent 60%);
}

body.light .floating.one,
body.light .floating.two {
  filter: blur(70px);
  opacity: 0.28;
  background: radial-gradient(circle, rgba(58, 84, 208, 0.20), transparent 60%);
}

section {
  padding: 72px 0;
  position: relative;
}

.label {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  margin-bottom: 20px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.6px;
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Staggered layout for specific cards container: 3-up on first row,
   then remaining cards placed under the gaps (columns 1 and 3). */
@media (min-width: 960px) {
  .cards.staggered {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  /* For a 5-card container: span items so they sit centered under the gaps
     between the 3-up row above. Each spans two columns and centers itself. */
  .cards.staggered > .card:nth-child(4) {
    grid-column: 1 / 3; /* spans columns 1 and 2 */
    grid-row: 2;
    justify-self: center;
    max-width: 320px;
  }
  .cards.staggered > .card:nth-child(5) {
    grid-column: 2 / 4; /* spans columns 2 and 3 */
    grid-row: 2;
    justify-self: center;
    max-width: 320px;
  }

  /* If there are only 4 items, the 4th will align under the left gap by the nth-child(4) rule. */
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  isolation: isolate;
  cursor: pointer;
}

.card::after {
  content: '';
  position: absolute;
  inset: -60% auto auto -60%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(220, 245, 110, 0.20), transparent 60%);
  transform: translate3d(0, 0, -1px);
  opacity: 0;
  transition: opacity 200ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 246, 194, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.35);
}

.card:hover::after { opacity: 1; }

.card h3,
.card p {
  transition: transform 0.4s ease;
}

.card:hover h3 { transform: translateY(-4px); }
.card:hover p { transform: translateY(4px); }
.card { will-change: transform; }

.card h3 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.3px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(220,245,110,0.12), rgba(255,255,255,0.02));
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

/* Align leading SVG and chip label on the same line inside `.cards .card` */
.cards > .card > svg,
.cards > .card .chip {
  display: inline-block;
  vertical-align: middle;
}
.cards > .card > svg { margin-right: 10px; }

/* small brand accent used inside cards to visually link to `--brand-shade` */
.brand-accent {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-shade);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35), 0 0 0 6px rgba(220,245,110,0.06);
  pointer-events: none;
  opacity: 0.98;
}

/* keyboard focus styles for accessibility */
.card:focus-visible {
  outline: 3px solid rgba(220,245,110,0.18);
  outline-offset: 6px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.stat {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.stat strong {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
}

.process {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}

.step::before {
  content: attr(data-step);
  position: absolute;
  top: 12px;
  right: 12px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.8;
}

.cta {
  text-align: center;
  padding: 78px 24px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(142, 246, 194, 0.14), rgba(125, 211, 255, 0.12));
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cta h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 36px);
  font-family: 'Space Grotesk', sans-serif;
}

.cta p { color: var(--muted); margin: 0 0 24px; }

footer {
  padding: 32px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.footer-grid h4,
.footer-grid .footer-heading {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-grid a { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.anchor-pad { scroll-margin-top: 90px; }

.trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--x) var(--y), rgba(180, 208, 58, 0.06), transparent 18%);
  opacity: 0.32;
  transition: background 0.2s ease;
  mix-blend-mode: normal;
  z-index: 0;
}

.light .trail {
  background: radial-gradient(circle at var(--x) var(--y), rgba(58, 84, 208, 0.10), transparent 20%);
  mix-blend-mode: multiply;
}

.stripe {
  position: absolute;
  inset: auto auto -120px 0;
  width: 160%;
  height: 120px;
  background: linear-gradient(90deg, rgba(180, 208, 58, 0.18), rgba(58, 84, 208, 0.12), rgba(180, 208, 58, 0.18));
  filter: blur(32px);
  animation: stripeSlide 22s linear infinite;
  opacity: 0.35;
}

.light .stripe {
  background: linear-gradient(90deg, rgba(58, 84, 208, 0.20), rgba(46, 58, 11, 0.18), rgba(58, 84, 208, 0.20));
  opacity: 0.25;
}

.reveal-text {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
  overflow: hidden;
}

.reveal-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.2em);
  animation: reveal 0.6s ease-out forwards;
}

/* Improve spacing and readability for split-word reveals */
.reveal-text {
  white-space: normal;
  word-break: break-word;
}
.reveal-text span {
  margin-right: 0.22em;
  font-size: inherit;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 720px) {
  nav .wrap { padding: 14px 0; }
  header { padding-top: 72px; }
  .hero-card { order: -1; }
  .actions { width: 100%; }
  .btn { width: 100%; text-align: center; }
}

@keyframes float {
  from { transform: translateY(-12px) scale(1); }
  to { transform: translateY(14px) scale(1.05); }
}

@keyframes canvasShift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 4% 4%, -3% 6%, 0 0; }
}

@keyframes stripeSlide {
  from { transform: translateX(-10%); }
  to { transform: translateX(-50%); }
}

/* Partner logo scrolling marquee */
.partner-section { margin-top: 32px; padding: 22px 0 8px; }
.partner-logo-scrolling { overflow: hidden; width: 100%; }
.partner-track {
  display: flex;
  gap: 34px;
  align-items: center;
  padding: 12px 0;
  width: max-content;
  animation: partnerScroll 28s linear infinite;
}
.partner-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1) opacity(0.9);
  opacity: 0.9;
}

@keyframes partnerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .partner-track { gap: 18px; animation-duration: 32s; }
  .partner-logo { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(142, 246, 194, 0.14)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 8px rgba(125, 211, 255, 0.18)); }
}

/* Prefer-reduced-motion: trims heavy animations for smoother feel */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body {
    animation: none;
  }
  .floating, .stripe, .trail, .hero-card, .card {
    animation: none !important;
  }
}

/* Toggle to quickly disable heavier visual animations (used for native scroll/dark mode)
   Script will add/remove `no-anim` on the <body> to avoid repaints during scroll. */
.no-anim {
  animation: none !important;
}
.no-anim .floating,
.no-anim .stripe,
.no-anim .trail,
.no-anim .hero-card,
.no-anim .card {
  animation: none !important;
  transition: none !important;
}

/* Testimonials */
.testimonials-section {
  margin-top: 28px;
  background: linear-gradient(180deg, rgba(0,0,0,0.56), rgba(6,7,15,0.64));
  padding: 18px 12px; /* tighter padding to reduce empty space */
  border-radius: 14px;
}
.testimonials-section h3 {
  margin: 0 0 14px;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--tertiary);
  text-align: center;
  font-size: clamp(22px, 4.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.6px;
}
.testimonials-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial { background: var(--card); border: 1px solid var(--border); padding: 18px; border-radius: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; box-shadow: var(--shadow); transition: transform 220ms ease, box-shadow 220ms ease; }
.testimonial:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.44); }
.testimonial .quote { margin: 0 0 6px; font-style: normal; color: var(--tertiary); font-size: 14px; line-height: 1.35; font-family: 'Roboto', 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-weight: 500; }
.testimonial .meta { margin: 0; font-size: 0.9rem; color: var(--brand-dark); }
.testimonial .meta .reviewer { font-weight: 800; color: var(--primary); margin-right: 6px; }
.testimonial .meta .business { font-weight: 600; color: var(--text); }

/* Sliding single-item carousel for testimonials */
.testimonials-slider { width: 100%; overflow: hidden; }
.testimonials-viewport { width: 100%; overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 0; /* hide adjacent edges */
  transition: transform 600ms cubic-bezier(.22,1,.36,1);
  will-change: transform;
}

/* Each slide fills the viewport horizontally; the visible card inside is centered
   and sized to a rectangular aspect ratio (width = 1.5 * height). */
.testimonials-track .testimonial {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* outer wrapper shouldn't draw a card */
  border: none;
  padding: 0;
}

.testimonial-card {
  width: clamp(320px, 62%, 720px);
  aspect-ratio: 2 / 1; /* width is 2x height */
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 8px 10px; /* compact padding to remove empty space */
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.34);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  max-width: 900px;
}

/* Premium slider look */
.testimonials-premium { position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 0 34px; }
.testimonials-premium .testimonial-card {
  background: linear-gradient(180deg, rgba(18,20,24,0.76), rgba(8,9,12,0.72));
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 18px 60px rgba(2,6,12,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  padding: 12px 14px;
  border-radius: 18px;
  backdrop-filter: blur(6px) saturate(120%);
  /* subtle stone texture with layered radial gradients */
  background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.02), transparent 6%),
                    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.015), transparent 8%);
}

.testimonial-card .tc-inner { display: flex; gap: 18px; align-items: center; }
.tc-visual { width: auto; flex: 0 0 auto; display:flex; align-items:center; justify-content:center; gap:12px; }
.stars { width:100%; display:flex; justify-content:center; align-items:center; opacity:0.95; }

.tc-body { flex:1; color: var(--text); display:flex; flex-direction:column; gap:8px; }
.tc-body .quote { font-size: 18px; line-height: 1.45; font-weight: 700; color: #fff; margin: 0; }
.tc-body .meta { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.72); }
.tc-body .meta .reviewer { color: var(--primary); font-weight:800; margin-right:8px; }

/* Controls */
.t-control { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; border: none; background: rgba(255,255,255,0.03); color: var(--tertiary); display:flex; align-items:center; justify-content:center; font-size: 26px; box-shadow: 0 8px 26px rgba(0,0,0,0.5); cursor:pointer; }
.t-control:focus { outline: 3px solid rgba(180,208,58,0.14); }
.t-prev { left: calc(50% - 420px); }
.t-next { right: calc(50% - 420px); }

/* Navigation dots */
.t-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display:flex; gap:8px; align-items:center; }
.t-dot { width: 10px; height: 10px; border-radius:50%; background: rgba(255,255,255,0.12); border: none; padding:0; cursor:pointer; transition: transform 220ms ease, background 220ms ease; }
.t-dot.active { background: linear-gradient(90deg, #FFD36B, #B8860B); transform: scale(1.18); box-shadow: 0 6px 18px rgba(184,134,11,0.18); }

/* Responsive: stack visual and content on small screens */
@media (max-width: 820px) {
  .testimonial-card { width: min(92%, 560px); aspect-ratio: auto; }
  .testimonial-card .tc-inner { flex-direction: column; align-items: flex-start; }
  .tc-visual { width: auto; flex-direction: row; gap:10px; align-items:center; }
  .t-prev { left: 8px; }
  .t-next { right: 8px; }
}

/* Move hover/transform to the inner card so only the visible centered card elevates */
.testimonials-track .testimonial:hover { transform: none !important; box-shadow: none !important; }
.testimonials-track .testimonial .testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.44); transition: transform 220ms ease, box-shadow 220ms ease; }

/* Small responsive tweak: keep some horizontal padding on large screens */
@media (min-width: 960px) {
  .testimonials-track { gap: 0; }
  .testimonials-track .testimonial { padding: 0; }
  .testimonial-card { padding: 28px 32px; }
}

@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* Mobile-friendly adjustments: reduce padding, font sizes and heavy animations */
@media (max-width: 720px) {
  section { padding: 44px 0; }
  .wrap { width: min(1000px, 96vw); }
  .section-head { align-items: flex-start; gap: 10px; }
  .btn { padding: 12px; }
}

@media (max-width: 420px) {
  header { padding: 56px 0 36px; }
  .hero { gap: 20px; }
  h1 { font-size: clamp(28px, 7vw, 44px); }
  .lede { font-size: 15px; }
  .testimonials-section h3 { font-size: 18px; }
  .testimonial { padding: 12px; border-radius: 12px; }
  .testimonials-track .testimonial { padding: 0; }
  .testimonial .quote { font-size: 14px; line-height: 1.45; }
  .testimonial .meta { font-size: 0.88rem; }
  .testimonial .meta .reviewer { display: inline-block; }
  .testimonial .meta .business { display: block; color: var(--muted); margin-top:6px; font-weight:600; }
  .cards { gap: 12px; }
  .partner-track { animation: none; }
  .stripe, .floating { display: none; }
}

/* Mobile header and menu styles */
.mobile-top-label { display: none; text-align: center; padding: 10px 0; font-weight:700; background: linear-gradient(90deg, rgba(180,208,58,0.06), rgba(58,84,208,0.04)); color: var(--text); }
.mobile-hamburger { display:none; background:none; border:0; color:var(--text); padding:8px; margin-left:8px; }
.contact-mobile { display:none; }

@media (max-width: 720px) {
  /* show mobile top label */
  .mobile-top-label { display:block; }
  /* hide the large nav links and full actions */
  .site-menu { display: none !important; }
  .contact-full { display: none !important; }
  .contact-mobile { display: inline-block !important; }
  .mobile-hamburger { display: inline-flex; align-items:center; }
}

/* mobile menu overlay */
.mobile-menu { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; z-index: 60; }
.mobile-menu.open { display: block; }
.mobile-menu-inner { width: 84%; max-width: 320px; height: 100%; background: var(--bg); padding: 22px; box-shadow: 6px 0 30px rgba(0,0,0,0.5); }
.mobile-menu-close { background:none; border:0; color:var(--text); font-size:20px; position: absolute; right:16px; top:12px; }
.mobile-links { display:flex; flex-direction:column; gap:12px; margin-top:22px; }
.mobile-links a { padding: 10px 8px; border-radius:10px; background: rgba(255,255,255,0.02); color: var(--text); font-weight:700; }
.mobile-menu-contact { margin-top:18px; display:flex; flex-direction:column; gap:8px; color:var(--muted); }

/* hide desktop label inside hero when on small screens (we show mobile-top-label instead) */
@media (max-width: 720px) {
  header .label { display: none; }
}

/* mobile hero line directly under nav */
.mobile-hero-line { display: none; text-align:center; padding: 8px 14px; color:var(--text); }
@media (max-width: 720px) {
  .mobile-hero-line {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(24px, 8vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.8px;
    padding: 12px 14px;
    background: linear-gradient(90deg, rgba(180,208,58,0.03), rgba(58,84,208,0.02));
  }
  header h1 { display: none; }
}

/* Call-sign button and contact popup */
.call-sign { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(180,208,58,0.12), rgba(58,84,208,0.08)); color: var(--text); font-weight:700; cursor:pointer; display:inline-flex; align-items:center; gap:8px; }

.contact-popup-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); z-index: 80; }
.contact-popup-overlay.open { display: flex; }
.contact-popup { background: var(--bg); color: var(--text); padding: 20px; border-radius: 12px; border: 1px solid var(--border); width: min(420px, 92%); box-shadow: 0 30px 80px rgba(0,0,0,0.6); position: relative; }
.contact-popup h3 { margin: 0 0 8px; font-family: 'Space Grotesk', sans-serif; }
.contact-popup p { margin: 8px 0; color: var(--muted); }
.contact-popup a { color: var(--primary); font-weight:700; }
.contact-popup .close-btn { position: absolute; right:10px; top:8px; background:none; border:0; color:var(--text); font-size:18px; cursor:pointer; }

/* ── WhatsApp Floating Widget ───────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: 'Manrope', system-ui, sans-serif;
}

.wa-tooltip {
  background: linear-gradient(135deg, rgba(15, 24, 38, 0.96), rgba(17, 29, 46, 0.98));
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 14px;
  padding: 12px 16px;
  max-width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: translateY(6px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-fab:hover .wa-tooltip,
.wa-fab.tooltip-visible .wa-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-tooltip p {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #e8ecf2;
}
.wa-tooltip span {
  font-size: 12px;
  color: #a7afc2;
}

.wa-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.40), 0 2px 8px rgba(0,0,0,0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0,0,0,0.4);
}
.wa-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  display: block;
}

/* Ripple pulse ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2.2s ease-out infinite;
}
.wa-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.2);
  animation: waPulse 2.2s ease-out infinite 0.55s;
}

@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 1; }
  80%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 480px) {
  .wa-fab { bottom: 18px; right: 14px; }
  .wa-btn { width: 50px; height: 50px; }
  .wa-btn svg { width: 24px; height: 24px; }
}
/ *   W h a t s A p p   W i d g e t   S t y l e s   * / 
 . w a - w i d g e t   { 
     p o s i t i o n :   f i x e d ; 
     b o t t o m :   2 4 p x ; 
     r i g h t :   2 4 p x ; 
     z - i n d e x :   9 9 9 9 ; 
     d i s p l a y :   f l e x ; 
     f l e x - d i r e c t i o n :   c o l u m n ; 
     a l i g n - i t e m s :   f l e x - e n d ; 
     f o n t - f a m i l y :   ' M a n r o p e ' ,   s a n s - s e r i f ; 
 } 
 . w a - p o p u p   { 
     w i d t h :   2 8 0 p x ; 
     b a c k g r o u n d :   # f f f ; 
     b o r d e r - r a d i u s :   1 6 p x ; 
     b o x - s h a d o w :   0   1 0 p x   3 0 p x   r g b a ( 0 , 0 , 0 , 0 . 1 5 ) ; 
     m a r g i n - b o t t o m :   1 6 p x ; 
     o v e r f l o w :   h i d d e n ; 
     t r a n s f o r m - o r i g i n :   b o t t o m   r i g h t ; 
     t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   c u b i c - b e z i e r ( 0 . 1 7 5 ,   0 . 8 8 5 ,   0 . 3 2 ,   1 . 2 7 5 ) ,   o p a c i t y   0 . 3 s ; 
     o p a c i t y :   0 ; 
     t r a n s f o r m :   s c a l e ( 0 . 5 )   t r a n s l a t e Y ( 2 0 p x ) ; 
     p o i n t e r - e v e n t s :   n o n e ; 
 } 
 . w a - p o p u p . a c t i v e   { 
     o p a c i t y :   1 ; 
     t r a n s f o r m :   s c a l e ( 1 )   t r a n s l a t e Y ( 0 ) ; 
     p o i n t e r - e v e n t s :   a l l ; 
 } 
 . w a - h e a d e r   { 
     b a c k g r o u n d :   # 0 0 a 8 8 4 ; 
     c o l o r :   # f f f ; 
     p a d d i n g :   1 6 p x ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
 } 
 . w a - h e a d e r   h 4   { 
     m a r g i n :   0 ; 
     f o n t - s i z e :   1 6 p x ; 
     f o n t - w e i g h t :   6 0 0 ; 
     c o l o r :   # f f f ; 
 } 
 . w a - c l o s e   { 
     b a c k g r o u n d :   n o n e ; 
     b o r d e r :   n o n e ; 
     c o l o r :   # f f f ; 
     f o n t - s i z e :   2 4 p x ; 
     c u r s o r :   p o i n t e r ; 
     l i n e - h e i g h t :   1 ; 
     p a d d i n g :   0 ; 
 } 
 . w a - b o d y   { 
     p a d d i n g :   2 0 p x   1 6 p x ; 
     b a c k g r o u n d :   # e f e a e 2 ; 
 } 
 . w a - m e s s a g e   { 
     b a c k g r o u n d :   # f f f ; 
     p a d d i n g :   1 2 p x   1 6 p x ; 
     b o r d e r - r a d i u s :   0   1 2 p x   1 2 p x   1 2 p x ; 
     f o n t - s i z e :   1 4 p x ; 
     c o l o r :   # 1 1 1 b 2 1 ; 
     b o x - s h a d o w :   0   1 p x   1 p x   r g b a ( 0 , 0 , 0 , 0 . 0 5 ) ; 
     d i s p l a y :   i n l i n e - b l o c k ; 
     m a r g i n - b o t t o m :   1 6 p x ; 
 } 
 . w a - b t n - s t a r t   { 
     d i s p l a y :   b l o c k ; 
     b a c k g r o u n d :   # 2 5 d 3 6 6 ; 
     c o l o r :   # f f f ; 
     t e x t - a l i g n :   c e n t e r ; 
     t e x t - d e c o r a t i o n :   n o n e ; 
     p a d d i n g :   1 2 p x ; 
     b o r d e r - r a d i u s :   2 4 p x ; 
     f o n t - w e i g h t :   7 0 0 ; 
     f o n t - s i z e :   1 4 p x ; 
     t r a n s i t i o n :   b a c k g r o u n d   0 . 2 s ; 
 } 
 . w a - b t n - s t a r t : h o v e r   { 
     b a c k g r o u n d :   # 2 2 c 3 5 e ; 
 } 
 . w a - t o g g l e   { 
     w i d t h :   6 0 p x ; 
     h e i g h t :   6 0 p x ; 
     b a c k g r o u n d :   # 2 5 d 3 6 6 ; 
     b o r d e r - r a d i u s :   5 0 % ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     c u r s o r :   p o i n t e r ; 
     b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 3 7 , 2 1 1 , 1 0 2 , 0 . 4 ) ; 
     t r a n s i t i o n :   t r a n s f o r m   0 . 2 s ; 
 } 
 . w a - t o g g l e : h o v e r   { 
     t r a n s f o r m :   s c a l e ( 1 . 0 5 ) ; 
 } 
 . w a - t o g g l e   s v g   { 
     f i l l :   # f f f ; 
     w i d t h :   3 2 p x ; 
     h e i g h t :   3 2 p x ; 
 } 
 
 
/* SEO: footer-heading replaces h4 for valid heading hierarchy */
.footer-grid .footer-heading {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

/* SEO: op-title replaces h4 in the offer popup */
.op-title {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  margin: 4px 0 8px;
  color: var(--text);
}
