:root {
  --fity-bg: #02040a;
  --fity-bg-soft: rgba(9, 12, 26, 0.9);
  --fity-card-bg: rgba(17, 24, 48, 0.95);
  --fity-border-subtle: rgba(255, 255, 255, 0.06);
  --fity-accent: #4ade80;
  --fity-accent-2: #22d3ee;
  --fity-text: #f9fafb;
  --fity-text-soft: #9ca3af;
  --fity-radius-xl: 24px;
  --fity-radius-xxl: 32px;
  --fity-blur: 24px;
}

#formular-dieta,
#formular-dieta * {
  pointer-events: auto;
}

#formular-dieta {
  position: relative;
  z-index: 10;
}

.fity-hero-nav {
  position: relative;
  z-index: 9999;
}

.hero-burger {
  position: relative;
  z-index: 10000;
  pointer-events: auto;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #02040a 40%, #020617 100%);
  color: var(--fity-text);
}

.fity-page {
position: relative;
  min-height: auto;     /* 🔥 NU 100vh */
  padding: 24px clamp(16px, 5vw, 72px) 56px;
  overflow-x: hidden;
}

html, body {
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Background */
.fity-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(circle at top right, rgba(74, 222, 128, 0.15), transparent 55%),
    radial-gradient(circle at bottom, rgba(59, 130, 246, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -3;
}

.fity-bg-orbit {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  pointer-events: none;
  z-index: -2;
}

.fity-bg-orbit-1 {
  top: -120px;
  right: -80px;
}

.fity-bg-orbit-2 {
  bottom: -140px;
  left: -60px;
}

/* Sections – full width */
.fity-section,
.fity-hero,
.fity-footer {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fity-section {
  padding: 80px 0;
}

.fity-section-soft {
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  border-radius: var(--fity-radius-xxl);
  border: 1px solid var(--fity-border-subtle);
  padding-inline: clamp(16px, 4vw, 32px);
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* =====================
   HERO NAV
===================== */
.fity-hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(9,12,26,.65);
  border: 1px solid rgba(148,163,184,.25);
  backdrop-filter: blur(18px);
}

.fity-hero-nav.is-sticky {
  position: sticky;
  top: 12px;
  z-index: 50;
  box-shadow: 0 18px 70px rgba(2,4,10,.92);
}
.hero-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hero-burger span {
  width: 22px;
  height: 2px;
  background: var(--fity-text);
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 900px) {

  .hero-burger {
    display: flex;
  }

  .fity-hero-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(15,23,42,.97);
    border: 1px solid rgba(148,163,184,.35);
    box-shadow: 0 20px 70px rgba(2,4,10,.9);
    z-index: 100;
  }

  .fity-hero-menu.open {
    display: flex;
  }
}


.fity-logo {
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 14px;
}

.fity-hero-menu {
  display: flex;
  gap: 18px;
}

.fity-hero-menu a {
  font-size: 14px;
  color: var(--fity-text-soft);
  text-decoration: none;
}

.fity-hero-menu a:hover {
  color: var(--fity-text);
}

.fity-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.fity-hero-content {
  max-width: 640px;
}

.fity-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.9);
  font-size: 14px;
  color: var(--fity-text-soft);
  margin-bottom: 20px;
}

.fity-pill .dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a, #22d3ee);
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.7);
}

.fity-hero h1 {
  font-size: clamp(36px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.fity-hero h1 span {
  background: linear-gradient(120deg, #4ade80, #22d3ee, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.fity-hero-content {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.fity-hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fity-text-soft);
  max-width: 560px;
  margin-bottom: 26px;
}

.fity-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.btn-main,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  padding: 11px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-main {
  background: linear-gradient(120deg, #22c55e, #4ade80, #22d3ee);
  color: #020617;
  box-shadow: 0 16px 45px rgba(34, 197, 94, 0.35);
}

.btn-main:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.45);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--fity-text-soft);
}

.btn-ghost:hover {
  border-color: rgba(226, 232, 240, 0.9);
  color: #e5e7eb;
}

.btn-main-big {
  padding-inline: 26px;
  padding-block: 12px;
}

.fity-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.fity-hero-stats > div {
  min-width: 190px;
}

.fity-hero-stats strong {
  display: block;
  font-size: 20px;
}

.fity-hero-stats span {
  font-size: 14px;
  color: var(--fity-text-soft);
}

/* HERO right: card + device + slider dots */

.fity-hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fity-hero-card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 45%),
    radial-gradient(circle at bottom right, rgba(74, 222, 128, 0.16), transparent 50%),
    rgba(15, 23, 42, 0.98);
  border-radius: var(--fity-radius-xxl);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 20px 65px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  padding: 20px 20px 16px;
  backdrop-filter: blur(18px);
}

.fity-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--fity-text-soft);
  margin-bottom: 14px;
}

.chip {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.chip-soft {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.fity-hero-card-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 12px;
}

.hero-card-line {
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-card-line span {
  display: block;
  font-size: 13px;
  color: var(--fity-text-soft);
  margin-bottom: 4px;
}

.hero-card-line p {
  font-size: 14px;
  margin: 0;
}

.fity-hero-card-footer p {
  font-size: 13px;
  color: var(--fity-text-soft);
}

.fity-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.dot-btn {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.6);
  cursor: pointer;
  padding: 0;
}

.dot-btn.active {
  width: 22px;
  background: linear-gradient(90deg, #22c55e, #22d3ee);
}

/* Device mockup */

.fity-device {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.fity-device-screen {
  flex: 1;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.97), #020617);
  box-shadow:
    0 22px 70px rgba(15, 23, 42, 0.97),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  padding: 12px 14px;
}

.device-top-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.device-top-bar span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.75);
}

.device-content {
  padding: 4px 2px 8px;
}

.device-badge {
  display: inline-flex;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 10px;
}

.device-bars {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}

.bar-group span {
  display: block;
  font-size: 12px;
  color: var(--fity-text-soft);
  margin-bottom: 4px;
}

.bar-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.98);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #4ade80, #22d3ee);
  transform-origin: left center;
}

.bar-fill-1 {
  width: 78%;
}

.bar-fill-2 {
  width: 64%;
}

.bar-fill-3 {
  width: 91%;
}

.device-footer-chip {
  font-size: 12px;
  color: var(--fity-text-soft);
}

.fity-device-mobile {
  width: 130px;
  flex-shrink: 0;
}

.device-mobile-screen {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), #020617);
  padding: 10px 10px 12px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.96);
}

.device-mobile-header {
  font-size: 12px;
  color: var(--fity-text-soft);
  margin-bottom: 6px;
}

.device-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Section header */

.fity-section-header {
  max-width: 720px;
  margin-bottom: 34px;
}

.fity-section-header h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  margin-bottom: 10px;
}

.fity-section-header p {
  font-size: 15px;
  color: var(--fity-text-soft);
}

/* Grids & cards */

.fity-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.fity-card {
  background: var(--fity-card-bg);
  border-radius: var(--fity-radius-xl);
  border: 1px solid var(--fity-border-subtle);
  padding: 20px 20px 18px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.96);
}

.fity-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 17px;
}

.fity-card p {
  font-size: 15px;
  color: var(--fity-text-soft);
  margin: 0;
}

.fity-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--fity-text-soft);
}

.fity-card-highlight {
  border-color: rgba(74, 222, 128, 0.75);
  box-shadow:
    0 20px 65px rgba(34, 197, 94, 0.32),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

.tag {
  display: inline-flex;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.5);
  margin-bottom: 8px;
}

/* Steps */

.fity-section-steps {
  max-width: 1200px;
}

.fity-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--fity-radius-xl);
  border: 1px solid var(--fity-border-subtle);
  padding: 20px 20px 18px;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #22c55e, #22d3ee);
  color: #020617;
}

/* Calculator */

.fity-calculator {
  max-width: 1300px;
}

.fity-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
}

.fity-calculator-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.form-field label {
  color: var(--fity-text-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.98);
  color: var(--fity-text);
  padding: 9px 14px;
  font-size: 14px;
  outline: none;
  resize: vertical;
}

.form-field textarea {
  border-radius: 18px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(74, 222, 128, 0.95);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.5);
}

.pill-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.65);
}

.pill-toggle button {
  border: none;
  background: transparent;
  color: var(--fity-text-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}

.pill-toggle button.active {
  background: linear-gradient(120deg, #22c55e, #4ade80, #22d3ee);
  color: #020617;
}

.calculator-note {
  font-size: 12px;
  color: var(--fity-text-soft);
}

/* Result card */

.fity-calculator-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-header h3 {
  margin: 8px 0 6px;
  font-size: 18px;
}

.result-header p {
  font-size: 14px;
  color: var(--fity-text-soft);
}

.result-body {
  margin-top: 16px;
}

.result-body-empty p {
  font-size: 14px;
  color: var(--fity-text-soft);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.result-item {
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--fity-border-subtle);
}

.result-item-main {
  grid-column: span 2;
  border-color: rgba(74, 222, 128, 0.78);
}

.result-item .label {
  font-size: 12px;
  color: var(--fity-text-soft);
}

.result-item strong {
  display: block;
  font-size: 18px;
  margin: 3px 0;
}

.result-item small {
  font-size: 12px;
  color: var(--fity-text-soft);
}

.result-explainer {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  font-size: 13px;
  color: var(--fity-text-soft);
}

.result-explainer h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #e5e7eb;
}

.result-explainer ul {
  margin: 0 0 6px;
  padding-left: 18px;
}

.result-explainer li {
  margin-bottom: 4px;
}

.result-tips {
  margin: 0;
}

.result-footer p {
  font-size: 13px;
  color: var(--fity-text-soft);
  margin-bottom: 10px;
}

/* Testimoniale */

.fity-testimonial p {
  font-size: 14px;
}

.fity-testimonial .name {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--fity-text-soft);
}

/* CTA + FORM */

.fity-cta-inner {
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.15), rgba(56, 189, 248, 0.11));
  border-radius: var(--fity-radius-xxl);
  border: 1px solid rgba(74, 222, 128, 0.5);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 20px 65px rgba(15, 23, 42, 0.96);
}

.fity-cta-inner h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.fity-cta-inner p {
  font-size: 15px;
  color: var(--fity-text-soft);
}

.fity-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.cta-note {
  font-size: 12px;
  color: var(--fity-text-soft);
}

/* Formular dietă */

.fity-form-card {
  margin-top: 32px;
}

.fity-form-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
}

.fity-form-card p {
  font-size: 14px;
  color: var(--fity-text-soft);
  margin-bottom: 18px;
}

.fity-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.form-note {
  font-size: 12px;
  color: var(--fity-text-soft);
}

/* FAQ */

.fity-faq {
  max-width: 720px;
}

.fity-faq details {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--fity-radius-xl);
  border: 1px solid var(--fity-border-subtle);
  padding: 13px 15px;
  margin-bottom: 10px;
  font-size: 14px;
}

.fity-faq summary {
  cursor: pointer;
}

.fity-faq p {
  font-size: 14px;
  color: var(--fity-text-soft);
  margin-top: 8px;
}

/* Footer */

.fity-footer {
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--fity-text-soft);
}

.fity-footer .logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 14px;
}

.footer-left p {
  margin: 4px 0 0;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-right a {
  color: var(--fity-text-soft);
  text-decoration: none;
  font-size: 13px;
}

.footer-right a:hover {
  color: #e5e7eb;
}

/* Responsive */

@media (max-width: 1100px) {
  .fity-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fity-device {
    justify-content: center;
  }

  .fity-calculator-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .result-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .result-item-main {
    grid-column: span 1;
  }

  .fity-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fity-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .fity-page {
    padding-inline: 16px;
  }

  .fity-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .fity-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .fity-device-mobile {
    display: none;
  }

  .fity-section {
    padding-block: 56px;
  }

  .fity-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fity-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}




/* FIX iOS scroll lock */
@supports (-webkit-touch-callout: none) {
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* =========================================================
   FIX PACK (mobile scroll + burger behavior)
   - nu sterge nimic din CSS-ul tau; doar suprascrie unde trebuie
   ========================================================= */

/* 1) Scroll: asiguram ca pagina poate derula pe toate device-urile */
html, body{
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
body{
  position: relative;
}

/* 2) Background layers: nu blocheaza touch/scroll */
.fity-bg-gradient,
.fity-bg-orbit {
  position: absolute;
  inset: 0;
}
.fity-header {
  position: relative;
  z-index: 10000;
}

#burger {
  position: relative;
  z-index: 10001;
  pointer-events: auto;
}
.fity-bg-gradient,
.fity-bg-orbit {
  pointer-events: none;
}


/* 3) Containerul paginii sa aiba inaltime corecta */
.fity-page{
  min-height: 100vh !important;
}

/* 4) Burger/menu: nu sta deschis din start, nu blocheaza scroll cand e inchis */
.fity-hero-nav{
  position: relative; /* ancora pentru meniul absolut pe mobile */
}

/* Mobile menu behavior */
@media (max-width: 900px){
  .fity-hero-menu{
    display: none;

    /* daca e lung, sa se poata derula in interior fara sa blocheze pagina */
    max-height: calc(100vh - 92px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fity-hero-menu.open{
    display: flex;
    pointer-events: auto;
  }
}

/* 5) Mic polish: focus vizibil + tap friendly */
.hero-burger{
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hero-burger:focus-visible{
  outline: 2px solid rgba(34,211,238,.75);
  outline-offset: 3px;
  border-radius: 12px;
}

/* 6) Animatii soft (daca folosesti clasele reveal) */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}
.reveal.reveal-in{
  opacity: 1;
  transform: translateY(0);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  transition: opacity .25s ease;
}
.fity-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 12px;
  padding: 40px 20px;

  text-align: center;
}

.fity-footer .footer-left,
.fity-footer .footer-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.fity-footer .footer-left {
  flex-direction: column;
}

.fity-footer .footer-right a {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.fity-footer .footer-right a:hover {
  opacity: 1;
}

.popup-overlay.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


.popup-box {
  background: #0e1325;
  padding: 24px 28px;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

/* 🔥 FIX BURGER MENU CLICK */
.fity-hero-nav {
  position: relative; /* CRITIC */
  z-index: 100;
}

.fity-hero-menu {
  pointer-events: auto;
}

.hero-burger {
  z-index: 101;
  pointer-events: auto;
}
