/* ══════════════════════════════════════════
   WINLY — GLOBAL STYLESHEET
   Shared across all pages
   ══════════════════════════════════════════ */

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0A0A0A;
  --surface: #111111;
  --card: #161616;
  --border: rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.12);
  --text: #fff;
  --muted: rgba(255,255,255,0.38);
  --sub: rgba(255,255,255,0.62);
  --lime: #C8FF00;
  --lime-dim: rgba(200,255,0,0.12);
  --lime-border: rgba(200,255,0,0.25);
  --red: #FF3B3B;
}
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo span { color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
  border-radius: 1px;
}
.nav-pill {
  background: var(--lime) !important;
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  transition: opacity 0.2s !important;
}
.nav-pill:hover { opacity: 0.88; }
.nav-pill.active { background: rgba(200,255,0,0.15) !important; color: var(--lime) !important; }
.nav-pill.active::after { display: none; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sub);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── SECTION UTILITIES ── */
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
.section-h2 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--sub);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 52px;
}

/* ── BUTTONS ── */
.btn-lime {
  background: var(--lime);
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  display: inline-block;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-lime:hover { opacity: 0.9; transform: translateY(-1px); }
.ghost-link {
  color: var(--lime);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(200,255,0,0.25);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.ghost-link:hover { border-color: var(--lime); }

/* ── HERO SHARED ── */
.hero-glow { pointer-events: none; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}
.hero-note {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note::before { content: '✓'; color: var(--lime); font-weight: 700; }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 16px; }
.form-group-block { margin-bottom: 32px; }
.form-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-input {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--lime-border); }
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-textarea {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 90px;
}
.form-textarea:focus { border-color: var(--lime-border); }
.form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-select {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--sub);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.form-select:focus { border-color: var(--lime-border); }
.form-select option { background: #1a1a1a; color: #fff; }
.form-hint { font-size: 11px; color: var(--muted); margin-top: 6px; }
.form-note { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.form-submit {
  display: block;
  width: 100%;
  background: var(--lime);
  color: #000;
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 8px;
}
.form-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.5; cursor: default; transform: none; }
.toggle-row { display: flex; gap: 10px; }
.toggle-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-mid);
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.toggle-btn.selected { background: var(--lime-dim); border-color: var(--lime-border); color: var(--lime); }
.conditional-field { display: none; margin-top: 12px; }
.conditional-field.visible { display: block; }

/* ── SLIDER ── */
.slider-group { margin-bottom: 24px; }
.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--sub);
  margin-bottom: 10px;
}
.slider-val { font-size: 14px; font-weight: 700; color: var(--lime); }
input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  cursor: pointer;
  border: 3px solid var(--card);
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
  cursor: pointer;
  border: none;
}

/* ── FINAL CTA SECTION ── */
.final-section {
  padding: 130px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(200,255,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.final-h2 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: #fff;
  max-width: 640px;
  margin: 0 auto 20px;
  position: relative;
}
.final-h2 .lime { color: var(--lime); }
.final-sub {
  font-size: 1rem;
  color: var(--sub);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
}
.final-note { margin-top: 20px; font-size: 12px; color: var(--muted); position: relative; }
.final-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ── FOOTER ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 48px 28px;
}
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--lime); }
.footer-desc { font-size: 12px; color: var(--muted); line-height: 1.65; max-width: 220px; margin-bottom: 10px; }
.footer-powered-brand { font-size: 11px; color: var(--muted); }
.footer-powered-brand span { color: var(--lime); }
.footer-powered { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-powered span { color: var(--lime); }
.footer-built { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-built span { color: var(--lime); }
.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.15); }

/* ══════════════════════════════════════════
   RESPONSIVE — SHARED (NAV + FOOTER)
   ══════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav { padding: 0 24px; }
  .nav-links:not(.open) { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 32px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
  }
  .nav-links.open a { font-size: 16px; color: var(--sub); text-align: center; }
  .nav-links.open .nav-pill { align-self: center; }
  .nav-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .section-h2 { font-size: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer { padding: 40px 24px 24px; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}
