/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* PHASE — palette.
   Acid lime on a cool near-black. The violet this replaced is the default look for
   effectively every tool in this space; the point of the accent is to not be that.
   Kept as variables so the app's Theme.xaml and this file stay in step by eye. */
:root {
  --bg:       #08090C;
  --bg2:      #0F1116;
  --bg3:      #161920;
  --accent:   #D4FF00;
  --accent2:  #A8CC00;
  --accent3:  #E8FF4D;
  --text:     #F5F7FA;
  --muted:    #7C8593;
  --border:   rgba(212, 255, 0, 0.16);
  --card:     #11141A;
  --radius:   16px;
  --glow:     0 0 32px rgba(212, 255, 0, 0.28);
  --glow-sm:  0 0 16px rgba(212, 255, 0, 0.35);
  --font:     'Inter', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent3) 0%, var(--accent) 50%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #0A0C00;
  box-shadow: 0 4px 24px rgba(212, 255, 0, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(212, 255, 0, 0.55);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(212, 255, 0, 0.1);
  color: var(--accent3);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(212, 255, 0, 0.18);
  border-color: rgba(212, 255, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent3);
  background: rgba(212, 255, 0, 0.06);
}

.btn-nav {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #0A0C00;
  padding: 9px 22px;
  font-size: 14px;
  box-shadow: 0 2px 12px rgba(212, 255, 0, 0.3);
}
.btn-nav:hover {
  box-shadow: 0 4px 20px rgba(212, 255, 0, 0.5);
  transform: translateY(-1px);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.18s ease;
}

.nav-link:hover {
  color: var(--accent);
}

@media (max-width: 480px) {
  .nav-actions { gap: 12px; }
  .nav-link { display: none; }   /* the footer link covers small screens */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-mark {
  width: 24px;
  height: 17px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(212, 255, 0, 0.8));
}

.logo-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text);
}

.logo-dim {
  color: var(--muted);
  font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent2) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: -100px; right: -50px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 255, 0, 0.12);
  border: 1px solid rgba(212, 255, 0, 0.3);
  color: var(--accent3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 14px 34px;
  font-size: 16px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInUp 1s 1.5s both;
}

.scroll-arrow {
  width: 14px; height: 14px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  position: relative;
}

.features .container {
  text-align: center;
}

/* Flex rather than auto-fit grid. At five cards the grid put four on a row — 4×230 + 3×20 fits
   the 1100px container, 5×230 + 4×20 does not — and stretched the fifth across the full width on
   its own. Flex wraps to a centred 3 + 2 instead, which reads as deliberate. */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 52px;
}

.feature-card {
  /* Three per row, sized as an exact third rather than left to grow. flex-grow would let the
     wrapped row of two stretch wider than the row of three above it (353 against 337), which
     reads as a mistake. min-width, not just the basis, because shrink otherwise compresses the
     cards to whatever fits instead of wrapping — that put four back on a row at 248px each. */
  flex: 0 1 calc((100% - 40px) / 3);
  min-width: 300px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 255, 0, 0.45);
  box-shadow: 0 8px 32px rgba(212, 255, 0, 0.12);
}

.feature-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 6px;
}

.badge-hc { background: rgba(212, 255, 0, 0.2); color: var(--accent3); }
.badge-ss { background: rgba(168, 204, 0, 0.2); color: #C8E85A; }
.badge-ab { background: rgba(232, 255, 77, 0.15); color: #E8FF4D; }
/* Was violet (#a78bfa on rgba(109,40,217,…)) — a leftover the rebrand missed, and the only
   off-palette colour left on the page. */
.badge-st { background: rgba(168, 204, 0, 0.14); color: #B9D94A; }
.badge-sd { background: rgba(212, 255, 0, 0.16); color: var(--accent); }

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 6px rgba(212, 255, 0, 0.5));
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== WHY PHASE ===== */
.why {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(168, 204, 0, 0.04) 50%, transparent 100%);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-list strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.why-list p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* App Mockup */
.why-app-preview {
  display: flex;
  justify-content: center;
}

.app-mockup {
  background: var(--bg2);
  border: 1px solid rgba(212, 255, 0, 0.25);
  border-radius: 16px;
  width: 320px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 255, 0,0.1), inset 0 1px 0 rgba(255,255,255,0.04);
}

.app-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(212, 255, 0, 0.12);
}

.app-logo-sm {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent3);
}

.app-dots {
  display: flex;
  gap: 6px;
}

.app-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(212, 255, 0, 0.25);
}

.app-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(212, 255, 0, 0.12);
  padding: 0 12px;
}

.app-tab {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: default;
  border-bottom: 2px solid transparent;
}

.app-tab.active {
  color: var(--accent3);
  border-bottom-color: var(--accent);
}

.app-card {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(212, 255, 0, 0.2);
  color: var(--accent3);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.app-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}

.app-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(212, 255, 0, 0.2);
}

.app-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212, 255, 0, 0.7);
  animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(212, 255, 0, 0.7); }
  50% { box-shadow: 0 0 16px rgba(212, 255, 0, 1), 0 0 24px rgba(212, 255, 0, 0.4); }
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.app-label { color: var(--muted); }
.app-value { font-weight: 600; color: var(--text); }

.key-chip {
  background: rgba(212, 255, 0, 0.12);
  border: 1px solid rgba(212, 255, 0, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--accent3);
}

.app-slider-track {
  height: 4px;
  background: rgba(212, 255, 0, 0.15);
  border-radius: 99px;
  position: relative;
  margin-top: 2px;
}

.app-slider-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 99px;
}

.app-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212, 255, 0, 0.7);
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 0;
}

.pricing .container {
  text-align: center;
}

.pricing-sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 52px;
}

.pricing-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  width: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card-featured {
  border-color: rgba(212, 255, 0, 0.45);
  background: linear-gradient(160deg, rgba(212, 255, 0, 0.06) 0%, var(--card) 60%);
  box-shadow: 0 0 0 1px rgba(212, 255, 0, 0.2), 0 16px 48px rgba(212, 255, 0, 0.12);
}

.price-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #0A0C00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.price-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}

/* Launch pricing. Deliberately not a struck-through "was €6": these have never sold at €6, and a
   crossed-out price you never charged is misleading advertising — the EU Omnibus rules require a
   displayed prior price to be one you actually used. A promise about the future is both honest and
   a better reason to buy today. */
.price-launch {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  /* The card is a flex column with a 24px gap; this pulls the line back up so it reads as part of
     the price rather than as a floating third element. */
  margin-top: -13px;
}

.price-launch span {
  color: var(--accent);
  font-weight: 700;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price-features li {
  font-size: 14px;
  color: var(--muted);
}

.price-features li::first-letter { color: var(--accent); }

.price-card .btn { width: 100%; }

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(168, 204, 0, 0.03) 50%, transparent 100%);
}

.faq-inner {
  max-width: 760px;
}

.faq .section-title { margin-bottom: 48px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: rgba(212, 255, 0, 0.35);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--accent3); }

.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-a.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-a p {
  padding: 0 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent3); }

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .why-inner {
    grid-template-columns: 1fr;
  }

  .why-app-preview {
    order: -1;
  }

  .app-mockup {
    width: 100%;
    max-width: 340px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .feature-card {
    flex-basis: calc((100% - 20px) / 2); /* two per row on tablet */
    min-width: 240px;
  }
}

@media (max-width: 480px) {
  .feature-card {
    flex-basis: 100%;
    min-width: 0; /* or the 240px floor above overflows a 375px phone */
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Reduced motion ──
   orbFloat, arrowBounce and dotPulse all run `infinite`, so for a visitor who has asked their
   OS for less motion they never stop. Collapse every animation and transition to a single
   instant pass — `both`/final-state fills still apply, so nothing ends up invisible.
   The particle canvas and scroll reveals are handled separately in script.js. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
