/* === COLOR VARIABLES === */
:root {
  --brand: #22c55e;       /* emerald */
  --brand-2: #34d399;
  --ink: #e5e7eb;         /* light text */
  --muted: #9ca3af;       /* muted text */

  --success: #22C55E;
  --warning: #FBBF24;
  --danger:  #EF4444;
  --info:    #3B82F6;
}

/* === GLOBAL === */
body {
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(52,211,153,.15), transparent 60%),
    radial-gradient(1000px 500px at -10% 10%, rgba(34,197,94,.12), transparent 50%),
    linear-gradient(135deg, #0b1020 0%, #0c1426 35%, #0b1322 60%, #0a0f1c 100%);
  min-height: 100vh;
}
html { scroll-behavior: smooth; }


/* === CARD & GLASS EFFECTS === */
.glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.card.glass { border-radius: 1.25rem; }
.shadow-xl   { box-shadow: 0 20px 60px rgba(0,0,0,.45); }

/* === TYPOGRAPHY === */
.text-muted { color: var(--muted) !important; }

h1.display-4 {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2.fw-bold, h3.fw-semibold {
  color: #f1f5f9 !important; /* brighter neutral for contrast */
}

h5.card-title {
  color: var(--brand) !important;
  font-weight: 600;
}

/* === LAYOUT SPACING === */
section.section { padding: 4.5rem 0; }
@media (min-width: 992px) {
  section.section { padding: 6rem 0; }
}

/* === BUTTONS === */
.btn-brand {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border: none;
  color: #0b1322;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}
.btn-brand:hover {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(52,211,153,0.25);
}

/* === FORMS (contrast updates) === */

/* Brighter labels */
.form-label {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;
}

/* Inputs - lighter background & stronger separation */
.form-control {
  background-color: rgba(255,255,255,0.12) !important;   /* was 0.08 */
  border: 1px solid rgba(255,255,255,0.15) !important;    /* was 0.12 */
  color: #f9fafb !important;
  border-radius: 0.75rem;
  transition: all 0.2s ease-in-out;
}
.form-control:hover {
  background-color: rgba(255,255,255,0.18) !important;
}
.form-control:focus {
  background-color: rgba(255,255,255,0.20) !important;    /* slightly brighter on focus */
  border-color: var(--brand);
  box-shadow: 0 0 0 0.25rem rgba(34,197,94,0.25);
  color: #ffffff !important;
}
.form-control::placeholder {
  color: rgba(255,255,255,0.65);                           /* clearer placeholders */
}

/* Checkbox */
.form-check-input {
  border-color: rgba(255,255,255,0.3);
  background-color: rgba(255,255,255,0.05);
}
.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}
.form-check-label { color: rgba(255,255,255,0.85); }

/* === DIVIDER & FOOTER === */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}

/* === FLASH (toast-like alerts with status variants) === */
.flash-container { pointer-events: none; }
.alert-flash {
  pointer-events: auto;
  font-size: 1.0625rem;
  line-height: 1.4;
  border-radius: .9rem;
  padding: .95rem 1.15rem;
  color: #F8FFFB;
  box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}

/* Variants map to Bootstrap alert classes */
.alert-flash.alert-success{
  background: color-mix(in srgb, var(--success) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--success) 40%, transparent);
  color: #EDFFF5;
}
.alert-flash.alert-warning{
  background: color-mix(in srgb, var(--warning) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--warning) 40%, transparent);
  color: #FFFDF2;
}
.alert-flash.alert-danger{
  background: color-mix(in srgb, var(--danger) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--danger) 42%, transparent);
  color: #FFF5F5;
}
.alert-flash.alert-info{
  background: color-mix(in srgb, var(--info) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--info) 42%, transparent);
  color: #F2F7FF;
}

.alert-flash .btn-close { filter: invert(1) grayscale(100%); opacity: .9; }
.alert-flash .btn-close:hover { opacity: 1; }

/* === Readability & accessibility tweaks === */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
p, .lead { letter-spacing: .1px; }
.form-label { color: rgba(255,255,255,.8) !important; font-weight: 500; }
.form-control { line-height: 1.4; }
.btn:focus-visible, .form-control:focus-visible { outline: none; }

/* === FAQ section styling === */

.faq-card {
  /* glass container for the whole FAQ */
  background: rgba(15, 23, 42, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* kill Bootstrap's white backgrounds */
.faq-card .accordion,
.faq-card .accordion-item,
.faq-card .accordion-button,
.faq-card .accordion-body {
  background-color: transparent !important;
}

/* remove default accordion borders */
.faq-card .accordion-item {
  border: none !important;
}

.faq-card .accordion-item + .accordion-item {
  border-top: 1px solid rgba(148, 163, 184, 0.25) !important;
}

/* header button */
.faq-card .accordion-button {
  color: #e5e7eb !important;
  font-weight: 500;
  padding: 1rem 1.25rem;
  box-shadow: none !important;
}

/* opened state */
.faq-card .accordion-button:not(.collapsed) {
  color: var(--brand) !important;
  background: rgba(15, 23, 42, 0.85) !important;
}

/* remove blue focus outline */
.faq-card .accordion-button:focus {
  box-shadow: none !important;
}

/* answer text */
.faq-card .accordion-body {
  padding: 1.1rem 1.4rem 1.25rem;
  color: #cbd5f5;
}

/* tweak the chevron icon colour */
.faq-card .accordion-button::after {
  filter: invert(1) brightness(0.8);
}


.hero-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-badge {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.hero-visual {
  position: relative;
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0%, rgba(0,255,180,0.15), transparent 55%),
              radial-gradient(circle at 80% 100%, rgba(0,150,255,0.18), transparent 55%),
              #050814;
}

/* =========================
   Radar hero visual (subtle)
   ========================= */

.hero-section {
  position: relative; /* required so radar can sit behind */
  overflow: hidden;
}

/* wrapper sits behind hero content */
.radar-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.26; /* overall subtlety - tweak 0.18 to 0.35 */
}

/* actual radar circle */
.radar {
  position: relative;
  width: min(680px, 92vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;

  /* the “screen” */
  background:
    radial-gradient(circle at center,
      rgba(34,197,94,0.18) 0%,
      rgba(34,197,94,0.10) 18%,
      rgba(34,197,94,0.05) 42%,
      rgba(34,197,94,0.00) 70%
    );

  /* soft rim */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 40px rgba(34,197,94,0.10),
    0 40px 120px rgba(0,0,0,0.45);
}

/* rings + crosshair */
.radar::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  background:
    radial-gradient(circle at center,
      transparent 0 24%,
      rgba(255,255,255,0.07) 24% 24.6%,
      transparent 24.6% 48%,
      rgba(255,255,255,0.06) 48% 48.6%,
      transparent 48.6% 72%,
      rgba(255,255,255,0.05) 72% 72.6%,
      transparent 72.6% 100%
    );
  pointer-events: none;
}

.radar::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  background:
    linear-gradient(to right,
      transparent 49.6%,
      rgba(255,255,255,0.08) 50%,
      transparent 50.4%
    ),
    linear-gradient(to bottom,
      transparent 49.6%,
      rgba(255,255,255,0.08) 50%,
      transparent 50.4%
    );
  pointer-events: none;
}

/* sweeping beam */
.radar-sweep {
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  background:
    conic-gradient(
      from 0deg,
      rgba(34,197,94,0.00) 0deg,
      rgba(34,197,94,0.00) 300deg,
      rgba(34,197,94,0.22) 330deg,
      rgba(34,197,94,0.00) 360deg
    );
  filter: blur(0.2px);
  animation: radar-sweep 5.5s linear infinite;
  transform-origin: center;
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* dots */
.radar-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(34,197,94,0.85);
  box-shadow:
    0 0 0 4px rgba(34,197,94,0.12),
    0 0 18px rgba(34,197,94,0.25);
}

/* pulsing ring for dot */
.radar-ping {
  position: absolute;
  inset: -18px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.35);
  animation: radar-ping 2.6s ease-out infinite;
  opacity: 0;
}

@keyframes radar-ping {
  0%   { transform: scale(0.35); opacity: 0.0; }
  20%  { opacity: 0.65; }
  100% { transform: scale(1.1); opacity: 0.0; }
}

/* labels */
.radar-label {
  position: absolute;
  left: 14px;
  top: -6px;
  font-size: 0.9rem;
  color: rgba(229,231,235,0.85);
  white-space: nowrap;
  text-shadow: 0 10px 20px rgba(0,0,0,0.65);
}

/* dot positions (tweak these freely) */
.radar-dot.d1 { left: 64%; top: 33%; }
.radar-dot.d2 { left: 34%; top: 58%; }
.radar-dot.d3 { left: 55%; top: 72%; }
.radar-dot.d4 { left: 28%; top: 30%; }

/* stagger ping timing so they don't pulse together */
.radar-dot.d1 .radar-ping { animation-delay: 0.0s; }
.radar-dot.d2 .radar-ping { animation-delay: 0.7s; }
.radar-dot.d3 .radar-ping { animation-delay: 1.4s; }
.radar-dot.d4 .radar-ping { animation-delay: 2.1s; }

/* ensure hero content is above radar */
.hero-section > .container,
.hero-section .row,
.hero-section .col-lg-10,
.hero-section .col-xl-9 {
  position: relative;
  z-index: 1;
}

/* small screens: reduce size + opacity */
@media (max-width: 768px) {
  .radar-wrap { opacity: 0.18; }
  .radar-label { font-size: 0.82rem; }
}





.logo-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: inline-block;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Make hero feel calmer */
.hero-section .display-4 {
  line-height: 1.08;
}

.hero-section .lead {
  font-size: 1.15rem;
}

/* Slightly reduce section spacing if it's too long */
.section {
  padding: 72px 0;
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
}


 .faq-accordion .accordion-item,
  .faq-accordion .accordion-button,
  .faq-accordion .accordion-body {
    background: transparent !important;
    color: inherit !important;
  }
  .faq-accordion .accordion-item {
    border: 0;
    border-top: 1px solid rgba(255,255,255,.10);
  }
  .faq-accordion .accordion-item:first-child { border-top: 0; }
  .faq-accordion .accordion-button { box-shadow: none !important; }
  .faq-accordion .accordion-button::after {
    filter: invert(1);
    opacity: .9;
  }

  /* calm hero visual */
  .hero-visual {
    position: relative;
    max-width: 920px;
    margin: 0 auto 8px auto;
    opacity: 0.55;
  }
  @media (min-width: 992px) {
    .hero-visual { margin-left: 0; }
  }

  /* question spacing */
  .question-stack .q-item {
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
  }
  .question-stack .q-item:first-child { border-top: 0; padding-top: 0; }

  /* simple bars */
  .bars { display: grid; gap: 14px; }
  .bar-row { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; }
  .bar-label { color: rgba(255,255,255,.78); font-size: .95rem; }
  .bar-track {
    height: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
  }
  .bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    opacity: 1.5;
  }
  .bar-fill-high { width: 84%; }
  .bar-fill-low  { width: 28%; }

  .bar-fill {
  width: 0%;
  transition: width 900ms ease;
}

  /* reduce visual noise on smaller screens */
  @media (max-width: 768px) {
    .bar-row { grid-template-columns: 1fr; gap: 8px; }
    .bar-label { margin-top: 6px; }
  }

  /* slightly tighter section spacing for this layout */
  .section-tight { padding-bottom: 68px; }

/* --- HERO radar background (behind content, subtle overlap) --- */
.hero-clean { position: relative; overflow: hidden; }

/* This places the radar behind the hero content */
.hero-radar-bg{
  position: absolute;
  right: -40px;          /* push slightly off-screen */
  top: 50%;
  transform: translateY(-50%);
  width: 520px;          /* overall size (smaller than before) */
  height: 520px;
  opacity: 0.3;         /* subtle */
  pointer-events: none;
  z-index: 0;            /* behind everything */
  filter: blur(0.2px);
}

/* Make left content sit above radar */
.hero-clean .container,
.hero-clean .row,
.hero-clean .col-lg-7 {
  position: relative;
  z-index: 2;
}

/* Radar disc */
.radar-disc{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(34,197,94,0.22) 0%,
      rgba(34,197,94,0.10) 35%,
      rgba(34,197,94,0.03) 60%,
      rgba(0,0,0,0) 75%);
  box-shadow: 0 0 140px rgba(34,197,94,0.10);
  overflow: hidden;
}

/* Rings */
.radar-ring{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}

.radar-ring.r1{ inset: 14%; opacity: 0.35; }
.radar-ring.r2{ inset: 28%; opacity: 0.28; }
.radar-ring.r3{ inset: 42%; opacity: 0.22; }
.radar-ring.r4{ inset: 56%; opacity: 0.18; }

/* Crosshair lines */
.radar-crosshair::before,
.radar-crosshair::after{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:1px;
  height:100%;
  background: rgba(255,255,255,0.06);
  transform: translateX(-50%);
}

.radar-crosshair::after{
  left:0;
  top:50%;
  width:100%;
  height:1px;
  transform: translateY(-50%);
}

/* Sweep */
.radar-sweep{
  position:absolute;
  inset:-12%;
  background: conic-gradient(
    from 210deg,
    rgba(34,197,94,0) 0deg,
    rgba(34,197,94,0.28) 18deg,
    rgba(34,197,94,0) 40deg,
    rgba(34,197,94,0) 360deg
  );
  animation: radarSpin 5.8s linear infinite;
  opacity: 0.9;
}

@keyframes radarSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* Dots + labels */
.radar-dot{
  position:absolute;
  transform: translate(-50%, -50%);
  display:flex;
  align-items:center;
  gap:10px;
}

.radar-ping{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(34,197,94,0.95);
  box-shadow: 0 0 12px rgba(34,197,94,0.45);
  position: relative;
}

.radar-ping::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:999px;
  border: 1px solid rgba(34,197,94,0.30);
  animation: ping 2.4s ease-out infinite;
  opacity: 0.5;
}

@keyframes ping{
  0%{ transform: scale(0.55); opacity: 0; }
  25%{ opacity: 0.55; }
  100%{ transform: scale(2.0); opacity: 0; }
}

.radar-label{
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}

/* Dot positions */
.radar-dot.d1{ left: 70%; top: 56%; }
.radar-dot.d2{ left: 44%; top: 32%; }
.radar-dot.d3{ left: 30%; top: 62%; }
.radar-dot.d4{ left: 56%; top: 74%; }

/* Make it feel behind the text (slight fade edges) */
.radar-disc::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% 50%,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.35) 100%);
  pointer-events:none;
}

/* Responsive adjustments */
@media (max-width: 1200px){
  .hero-radar-bg{
    width: 460px;
    height: 460px;
    right: -60px;
    opacity: 0.20;
  }
}


/* --- Scroll hint (glow + pulse) --- */
.scroll-hint{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255,255,255,0.70);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 0 0 rgba(34,197,94,0);
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
  animation: scrollPulse 1.9s ease-in-out infinite;
}

.scroll-hint:hover{
  transform: translateY(-2px);
  color: rgba(255,255,255,0.90);
  border-color: rgba(34,197,94,0.35);
}

@keyframes scrollPulse{
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.00); opacity: .75; }
  50%  { box-shadow: 0 0 22px 0 rgba(34,197,94,0.22); opacity: 1; }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.00); opacity: .75; }
}


/* --- Quality > Quantity graphic --- */
.quality-graphic{
  padding: 18px 18px 8px;
}

.qg-row{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: center;
}

.qg-label{
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.qg-dots{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.qg-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  box-shadow: none;
}

.qg-dot-strong{
  width: 10px;
  height: 10px;
  background: rgba(34,197,94,0.85);
  box-shadow: 0 0 18px rgba(34,197,94,0.35);
}

.qg-caption{
  opacity: 0.9;
}


/* Quality-over-quantity dots */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

/* Grey quantity dots */
.dot-qty {
  background: rgba(255, 255, 255, 0.12);
}

/* Animated quality dots */
.dot-quality {
  background: rgba(34, 197, 94, 0.10);          /* dark/idle green */
  box-shadow: none;
  animation: qoqPulse 4.3s ease-in-out infinite; /* 2–3s loop */
  animation-delay: calc(var(--i, 0) * 120ms);    /* stagger across row */
}

/* Soft glow → fade → dark again */
@keyframes qoqPulse {
  0% {
    background: rgba(34, 197, 94, 0.10);
    box-shadow: none;
    transform: scale(1);
    opacity: 0.65;
  }
  35% {
    background: rgba(34, 197, 94, 0.95);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.35);
    transform: scale(1.05);
    opacity: 1;
  }
  70% {
    background: rgba(34, 197, 94, 0.22);
    box-shadow: none;
    transform: scale(1);
    opacity: 0.75;
  }
  100% {
    background: rgba(34, 197, 94, 0.10);
    box-shadow: none;
    transform: scale(1);
    opacity: 0.65;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dot-quality { animation: none; }
}

animation-delay: calc(var(--i, 0) * 180ms);
