/* ==========================================================================
   AnyRemote — VARIANT 2 styles
   Approach: distinct SOLID background colors per section (base / panel / deep
   / lime CTA band) for clear, blocky section separation. Self-contained so it
   does not affect the original index.html / styles.css.
   ========================================================================== */

:root {
  /* Brand palette (lime) */
  --brand: #a3e635;
  --brand-dark: #84cc16;
  --brand-light: #bef264;
  --brand-accent: #65a30d;

  /* Section surfaces — the separation comes from these solid color steps */
  --bg: #0b0f1c;       /* page base / default sections */
  --panel: #131c30;    /* alternating elevated section surface */
  --deep: #070a13;     /* footer / darkest */
  --card: #1b2540;     /* default card surface (reads on base & panel)        */

  --text: #eef2ff;
  --text-muted: #94a3c0;
  --border: #2a3656;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  color: var(--text);
  background-color: var(--bg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .font-display {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* Brand gradient helpers */
.brand-gradient {
  background-image: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
}
.brand-gradient-text {
  background-image: linear-gradient(120deg, var(--brand-light) 0%, var(--brand) 55%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand));
}

/* Solid card (works on both base and panel sections) */
.v2-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.v2-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 14px 34px -16px rgba(163, 230, 53, 0.4);
}

/* Brand compatibility chips */
.brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--card);
  border: 1px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.brand-chip:hover {
  color: var(--text);
  border-color: var(--brand);
  background: rgba(163, 230, 53, 0.1);
}

/* Hero glow (localized to the hero only) */
.v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 22% -10%, rgba(163, 230, 53, 0.16), transparent 65%),
    radial-gradient(45% 45% at 95% 0%, rgba(101, 163, 13, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* FAQ accordion — collapsed by default, expands on .open (added by main.js).
   max-height method: reliably hidden until the question is clicked. */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 20rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.25s ease; }

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open { max-height: 24rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v2-card, .faq-answer, .faq-icon, .mobile-menu { transition: none; }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 2px;
  border-radius: 4px;
}
