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

:root {
  /* Culori din aplicație */
  --primary: #1976D2;
  --primary-dark: #0D47A1;
  --primary-light: #E3F2FD;
  --accent: #F9A825;

  --text: #1a1a1a;
  --text-muted: #5a6473;
  --text-light: #8a93a4;

  --bg: #ffffff;
  --bg-alt: #F5F7FA;
  --bg-dark: #0F1621;

  --border: #E4E7EC;
  --border-light: #F0F2F5;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;

  --container: 1200px;
  --header-height: 72px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  z-index: 1000;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

.logo-text {
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   NAV ACTIVE STATE — stil static, fără animație
═══════════════════════════════════════════════════════════ */
.nav a.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow:
    0 4px 14px rgba(25, 118, 210, 0.35),
    0 2px 4px rgba(13, 71, 161, 0.2);
}

.nav a.active:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}

/* ── Indicator glisant — DEZACTIVAT (stil static pe .nav a.active) ── */
.nav-indicator {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.lang-select:hover,
.lang-select:focus {
  outline: none;
  border-color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) 0 100px;
  overflow: hidden;
  background: var(--bg);
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1976D2 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #64B5F6 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  opacity: 0.3;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(25, 118, 210, 0.4);
}

.btn-primary svg {
  width: 24px;
  height: 24px;
}

.btn-primary span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.btn-primary small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.btn-primary strong {
  font-size: 16px;
  font-weight: 700;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 18px 32px;
  font-size: 16px;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.btn-large svg {
  width: 28px;
  height: 28px;
}

.btn-large:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Phone mockup ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.phone {
  position: relative;
  width: 300px;
  height: 610px;
  background: #1a1a1a;
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 30px 70px rgba(13, 71, 161, 0.35),
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%);
  position: relative;
}

.phone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 20px;
}

.phone-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.7;
}

.phone-placeholder span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.phone-placeholder small {
  font-size: 12px;
  opacity: 0.7;
}

.phone-decoration {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.phone-decoration-1 {
  width: 100px;
  height: 100px;
  background: var(--accent);
  top: 20px;
  right: 40px;
  opacity: 0.9;
  animation: float 8s ease-in-out infinite;
}

.phone-decoration-2 {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  bottom: 40px;
  left: 20px;
  animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADER (comun)
═══════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════════ */
.features {
  padding: 100px 0;
  background: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  color: var(--icon-color);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.how {
  padding: 100px 0;
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-light) 50%, transparent 100%);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(25, 118, 210, 0.3);
}

.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   DOWNLOAD
═══════════════════════════════════════════════════════════ */
.download {
  padding: 40px 0 100px;
  background: var(--bg);
}

.download-card {
  position: relative;
  padding: 70px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 71, 161, 0.35);
}

.download-card::before,
.download-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.download-card::before {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -80px;
}

.download-card::after {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -60px;
}

.download-card h2,
.download-card p,
.download-card .btn {
  position: relative;
  z-index: 1;
}

.download-card h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.download-card p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: #cbd3dd;
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer .logo-text {
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  color: #8a93a4;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #8a93a4;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #8a93a4;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

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

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps::before {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    gap: 0;
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  /* Fallback vizual pentru link-ul activ pe mobil */
  .nav a.active {
    color: var(--primary);
    background: var(--primary-light);
    box-shadow: none;
    font-weight: 600;
  }

  .nav a.active:hover {
    background: var(--primary-light);
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: calc(var(--header-height) + 40px) 0 60px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .phone {
    width: 240px;
    height: 490px;
  }

  .phone-decoration-1 {
    width: 70px;
    height: 70px;
    right: 10px;
  }

  .phone-decoration-2 {
    width: 44px;
    height: 44px;
    left: 10px;
  }

  .features,
  .how {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .download {
    padding: 20px 0 60px;
  }

  .download-card {
    padding: 48px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lang-select {
    padding: 6px 8px;
    font-size: 13px;
    max-width: 100px;
  }
}

@media (max-width: 420px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    gap: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGES (privacy, faq, feedback, support, imprint)
═══════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--header-height) + 60px) 0 40px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.page-hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.page-hero .page-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.page-content {
  padding: 40px 0 80px;
  background: var(--bg);
}

.page-content-inner {
  max-width: 780px;
  margin: 0 auto;
}

.page-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: var(--radius-sm);
  color: #5D4037;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 36px;
}

.page-notice svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text);
}

.page-content p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}

.page-content ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.page-content li {
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 6px;
  color: var(--text);
}

.page-content li::marker {
  color: var(--primary);
}

.page-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--primary-light);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

.page-content a:hover {
  text-decoration-color: var(--primary);
}

.page-content code {
  padding: 2px 6px;
  background: var(--bg-alt);
  border-radius: 4px;
  font-size: 13px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color: var(--primary-dark);
}

.page-content strong {
  font-weight: 700;
  color: var(--text);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--primary);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 720px) {
  .page-hero {
    padding: calc(var(--header-height) + 32px) 0 24px;
  }

  .page-content {
    padding: 24px 0 60px;
  }

  .page-content h2 {
    font-size: 19px;
    margin-top: 32px;
  }

  .page-content h3 {
    font-size: 16px;
  }

  .page-content p,
  .page-content li {
    font-size: 15px;
  }
}

/* ═══════════════════════════════════════════════════════════
   IMPRINT / LEGAL TRANSLATION TOGGLE
═══════════════════════════════════════════════════════════ */
.page-notice-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.imprint-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.imprint-toggle-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.imprint-toggle-btn svg {
  width: 16px;
  height: 16px;
}

.imprint-content[hidden] {
  display: none;
}

.imprint-translation-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.imprint-translation-meta svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .page-notice-flex {
    flex-direction: column;
    align-items: stretch;
  }
  .imprint-toggle-btn {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════════════ */
.faq-list {
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-content {
  padding: 0 40px 22px 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer-content p {
  margin-bottom: 10px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content strong {
  color: var(--text);
  font-weight: 600;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

@media (max-width: 720px) {
  .faq-question {
    font-size: 15.5px;
    padding: 16px 0;
    gap: 12px;
  }

  .faq-answer-content {
    padding: 0 0 20px 0;
    font-size: 14.5px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FLOATING STICKERS (support + try online)
═══════════════════════════════════════════════════════════ */
.floating-stickers {
  position: fixed;
  top: calc(var(--header-height) + 24px);
  right: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 180px;
}

.floating-sticker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.floating-sticker:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(25, 118, 210, 0.28);
  border-color: var(--primary);
}

.floating-sticker-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.floating-sticker-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.floating-sticker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: transform 0.15s ease;
}

.floating-sticker:hover .floating-sticker-icon {
  transform: scale(1.06);
}

.floating-sticker-icon svg {
  width: 22px;
  height: 22px;
}

/* ── Support sticker (PayPal + Ko-fi) ── */
.floating-support .floating-sticker-icon.paypal {
  background: #0070BA;
  color: #fff;
}

.floating-support .floating-sticker-icon.kofi {
  background: #FF5E5B;
  color: #fff;
}

/* ── Try online sticker (map icon) ── */
.floating-try .floating-sticker-icon.map {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.floating-try .floating-sticker-icon.map svg {
  width: 26px;
  height: 26px;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .floating-stickers {
    /* Mutat jos, centrat orizontal */
    top: auto;
    bottom: 16px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
    max-width: none;
    align-items: stretch;
    /* Semi-transparent ca să nu distragă */
    opacity: 0.92;
    transition: opacity 0.2s ease;
  }

  .floating-stickers:hover,
  .floating-stickers:active {
    opacity: 1;
  }

  .floating-sticker {
    /* Pill compact, doar iconițe */
    flex-direction: row;
    padding: 8px;
    border-radius: 999px;
    gap: 0;
    border-width: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  /* Ascundem textul pe mobil */
  .floating-sticker-title {
    display: none;
  }

  .floating-sticker-icons {
    gap: 4px;
  }

  .floating-sticker-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .floating-sticker-icon svg {
    width: 18px;
    height: 18px;
  }

  /* Sticker-ul „Try online" are o singură iconiță — o facem rotundă */
  .floating-try .floating-sticker-icon.map {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .floating-try .floating-sticker-icon.map svg {
    width: 18px;
    height: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FEEDBACK FORM
═══════════════════════════════════════════════════════════ */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group label .required {
  color: #E53935;
  margin-left: 3px;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--text-light);
  font-size: 13px;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.55;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6473' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-hint {
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(25, 118, 210, 0.4);
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

.btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-reset:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.feedback-note {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  font-size: 13.5px;
  line-height: 1.55;
  margin-top: 8px;
}

.feedback-note svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.feedback-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #E8F5E9;
  border-left: 3px solid #2E7D32;
  border-radius: var(--radius-sm);
  color: #1B5E20;
  font-size: 14px;
  font-weight: 500;
  margin-top: 20px;
}

.feedback-success.visible {
  display: flex;
}

.feedback-success svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

@media (max-width: 720px) {
  .feedback-form {
    gap: 18px;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-submit,
  .btn-reset {
    justify-content: center;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   STAR RATING
═══════════════════════════════════════════════════════════ */
.praise-section {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 22px 20px;
  background: linear-gradient(180deg, #FFF8E1 0%, #FFFDE7 100%);
  border-left: 3px solid #F9A825;
  border-radius: var(--radius);
  margin-top: 4px;
}

.praise-section.visible {
  display: flex;
}

.praise-section .form-group label {
  color: #6D4C00;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

.star-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #D0D5DD;
  transition: transform 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.star-btn:hover,
.star-btn.hover,
.star-btn.selected {
  color: #F9A825;
  transform: scale(1.15);
}

.star-label {
  margin-left: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #6D4C00;
  min-height: 18px;
  transition: opacity 0.15s ease;
}

.star-label:empty {
  opacity: 0;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent-row strong {
  font-weight: 600;
  color: var(--primary-dark);
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════ */
.testimonials {
  padding: 100px 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #F9A825;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-stars svg.empty {
  color: #E4E7EC;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.testimonial-author-info strong {
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
}

.testimonial-author-info span {
  font-size: 12px;
  color: var(--text-light);
}

.testimonials-loading {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  padding: 40px 0;
}

@media (max-width: 960px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .testimonials {
    padding: 60px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONTRIBUTE PAGE
═══════════════════════════════════════════════════════════ */
.contribute-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 40px;
}

.contribute-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 36px 28px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contribute-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contribute-card.paypal:hover {
  border-color: #0070BA;
}

.contribute-card.kofi:hover {
  border-color: #FF5E5B;
}

.contribute-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  margin-bottom: 4px;
}

.contribute-card.paypal .contribute-icon {
  background: linear-gradient(135deg, #0070BA 0%, #003087 100%);
}

.contribute-card.kofi .contribute-icon {
  background: linear-gradient(135deg, #FF5E5B 0%, #E63946 100%);
}

.contribute-icon svg {
  width: 36px;
  height: 36px;
}

.contribute-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.contribute-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 260px;
}

.contribute-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-radius: 999px;
  margin-top: 4px;
  transition: opacity 0.15s ease;
}

.contribute-card.paypal .contribute-cta {
  background: #0070BA;
}

.contribute-card.kofi .contribute-cta {
  background: #FF5E5B;
}

.contribute-card:hover .contribute-cta {
  opacity: 0.9;
}

.contribute-cta svg {
  width: 14px;
  height: 14px;
}

.contribute-thanks {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFDE7 100%);
  border-left: 3px solid #F9A825;
  border-radius: var(--radius);
  color: #5D4037;
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 8px;
}

.contribute-thanks svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #F9A825;
  margin-top: 1px;
}

.contribute-why {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.contribute-why h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.contribute-why ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contribute-why li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

.contribute-why li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 2px;
}

@media (max-width: 720px) {
  .contribute-actions {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0 32px;
  }

  .contribute-card {
    padding: 28px 20px;
  }

  .contribute-icon {
    width: 60px;
    height: 60px;
  }

  .contribute-icon svg {
    width: 30px;
    height: 30px;
  }

  .contribute-name {
    font-size: 19px;
  }

  .contribute-why {
    margin-top: 32px;
    padding-top: 28px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PHONE SCREENSHOT
═══════════════════════════════════════════════════════════ */
.phone-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Suport pentru Safari vechi (iOS 10-) */
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   SEARCH PAGE
═══════════════════════════════════════════════════════════ */
.page-hero-compact {
  padding: calc(var(--header-height) + 24px) 0 16px;
}

.page-hero-compact h1 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 6px;
}

.page-hero-compact .page-meta {
  font-size: 14px;
}

.search-page {
  padding: 20px 0 60px;
}

.search-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 110px;
}

.control-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.control-group select {
  padding: 10px 32px 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6473' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.15s;
}

.control-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.search-input-group {
  flex: 1;
  min-width: 220px;
  display: flex;
  gap: 6px;
  align-items: stretch;
}

.search-input-group input {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 0;
  transition: border-color 0.15s;
}

.search-input-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-input-group button {
  padding: 0 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.search-input-group button:hover {
  background: var(--primary-dark);
}

.locate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.locate-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.locate-btn svg {
  width: 18px;
  height: 18px;
}

.locate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Map + List layout ── */
.search-main {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  height: 70vh;
  min-height: 500px;
  max-height: 900px;
}

.map-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-height: 0;
}

#map {
  width: 100%;
  height: 100%;
  background: var(--bg-alt);
}

.map-loading {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.map-loading.visible {
  display: flex;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Station list panel ── */
.station-list-panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-height: 0;
}

.station-list-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.station-list-header h2 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.station-list-header h2 span:first-child {
  color: var(--primary);
}

.sort-buttons {
  display: flex;
  gap: 4px;
  background: var(--bg-alt);
  padding: 3px;
  border-radius: 8px;
}

.sort-btn {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
}

.sort-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.station-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  min-height: 0;
}

.empty-state {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  padding: 40px 16px;
  line-height: 1.5;
}

/* ── Station cards ── */
.station-card {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  margin-bottom: 8px;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s;
}

.station-card:hover,
.station-card.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1);
}

.station-card.active {
  background: var(--primary-light);
}

.sc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
}

.sc-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.sc-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  line-height: 1;
}

.sc-price small {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 1px;
}

.sc-address {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}

.sc-distance {
  color: var(--text-muted);
  font-weight: 500;
}

.sc-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sc-status.open {
  background: #E8F5E9;
  color: #1B5E20;
}

.sc-status.closed {
  background: #FFEBEE;
  color: #B71C1C;
}

.sc-status.unknown {
  background: #ECEFF1;
  color: #455A64;
}

/* ── Leaflet customizations ── */
.leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.station-popup {
  min-width: 180px;
  font-family: var(--font);
}

.sp-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.sp-address {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.35;
}

.sp-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.sp-price small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.sp-nav {
  display: inline-block;
  padding: 6px 12px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.sp-nav:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

/* ── Error / API key warning ── */
.search-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: #FFEBEE;
  border-left: 3px solid #E53935;
  border-radius: var(--radius-sm);
  color: #B71C1C;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.search-error svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.api-key-warning {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  text-align: center;
  gap: 10px;
  z-index: 1000;
}

.api-key-warning h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.api-key-warning p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  max-width: 380px;
  line-height: 1.5;
}

.api-key-warning code {
  padding: 2px 6px;
  background: var(--bg-alt);
  border-radius: 4px;
  font-size: 12px;
  color: var(--primary-dark);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .search-main {
    grid-template-columns: 1fr;
    grid-template-rows: 55vh 400px;
    height: auto;
    max-height: none;
  }

  .search-controls {
    padding: 12px;
  }

  .control-group {
    flex: 1;
    min-width: 0;
  }

  .search-input-group {
    width: 100%;
    flex-basis: 100%;
  }

  .locate-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .search-main {
    grid-template-rows: 50vh 360px;
  }

  .station-list-header {
    padding: 10px 12px;
  }

  .station-list-header h2 {
    font-size: 13px;
  }

  .sort-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM MARKERS — pump icon + price bubble
═══════════════════════════════════════════════════════════ */
.leaflet-custom-marker {
  background: transparent !important;
  border: none !important;
}

.price-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.15s;
}

.price-marker:hover {
  transform: scale(1.08);
}

.price-bubble {
  padding: 4px 9px;
  border-radius: 8px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.price-tail {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid;
  margin-top: -1px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.price-icon {
  margin-top: -2px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.price-icon svg {
  stroke: #fff;
  stroke-width: 2;
}

.price-icon-no-price {
  margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════
   POPUP — Route + Share buttons
   (Fix specificitate: câștigă în fața .leaflet-container a)
═══════════════════════════════════════════════════════════ */
.station-popup .sp-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.station-popup .sp-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
  box-sizing: border-box;
  line-height: 1.4;
}

.station-popup .sp-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Fix specificitate: forțează culoarea albă indiferent de regula
   .leaflet-container a { color: #0078A8 } din CSS-ul Leaflet */
.station-popup a.sp-btn-primary,
.station-popup a.sp-btn-primary:link,
.station-popup a.sp-btn-primary:visited,
.station-popup a.sp-btn-primary:hover,
.station-popup a.sp-btn-primary:active {
  background: var(--primary) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.station-popup a.sp-btn-primary:hover {
  background: var(--primary-dark) !important;
}

.station-popup button.sp-btn-secondary {
  background: #f0f2f5;
  color: var(--text);
}

.station-popup button.sp-btn-secondary:hover {
  background: var(--border);
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════════ */
.app-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 22px;
  background: #212121;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.app-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   GDPR CONSENT OVERLAY
═══════════════════════════════════════════════════════════ */
.consent-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 500;
  border-radius: var(--radius);
}

.consent-overlay[hidden] {
  display: none !important;
}

.consent-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  max-height: 90%;
  overflow-y: auto;
}

.consent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 16px;
}

.consent-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.consent-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.consent-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.consent-card li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 8px;
}

.consent-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.consent-privacy-link {
  margin: 18px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.consent-privacy-link a {
  color: var(--primary);
  text-decoration: underline;
  font-size: 13px;
  font-weight: 500;
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.consent-accept-btn,
.consent-decline-btn {
  flex: 1;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.consent-accept-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.consent-accept-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.consent-decline-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}

.consent-decline-btn:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

@media (max-width: 480px) {
  .consent-card {
    padding: 24px 20px;
  }
  .consent-actions {
    flex-direction: column-reverse;
  }
}

/* ═══════════════════════════════════════════════════════════
   AUTOCOMPLETE DROPDOWN
═══════════════════════════════════════════════════════════ */
.search-input-group {
  position: relative;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: -1px;
}

.autocomplete-dropdown[hidden] {
  display: none !important;
}

.autocomplete-item {
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  transition: background 0.1s;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.autocomplete-item-country {
  font-size: 11px;
  color: var(--text-light);
  margin-left: 6px;
}

/* ═══════════════════════════════════════════════════════════
   TOGGLE FILTER (hide closed)
═══════════════════════════════════════════════════════════ */
.toggle-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}

.toggle-filter:hover {
  border-color: var(--primary);
}

.toggle-filter input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  margin: 0;
}

.toggle-filter.checked {
  border-color: var(--primary);
  background: var(--primary-light);
}

@media (max-width: 720px) {
  .toggle-filter {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   SEARCH CONTROLS — 2-row layout (overrides)
═══════════════════════════════════════════════════════════ */
.search-controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.search-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.search-controls-row > .control-group {
  min-width: 110px;
  flex: 0 0 auto;
}

.search-controls-row > .search-input-group {
  flex: 1 1 260px;
  min-width: 220px;
}

.search-controls-row > .locate-btn,
.search-controls-row > .search-btn {
  flex: 0 0 auto;
}

/* Standalone Search button (outside .search-input-group) */
.search-btn {
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ═══════════════════════════════════════════════════════════
   DISTANCE UNIT TOGGLE (Auto / km / mi)
═══════════════════════════════════════════════════════════ */
.unit-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  gap: 2px;
  height: fit-content;
}

.unit-toggle button {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
  min-width: 34px;
}

.unit-toggle button:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.unit-toggle button.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 3px rgba(25, 118, 210, 0.35);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 2-row layout
═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .search-controls-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-controls-row > .control-group {
    min-width: 0;
    flex: 1 1 auto;
  }

  .search-controls-row > .search-input-group {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .search-controls-row > .locate-btn,
  .search-controls-row > .search-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .unit-toggle {
    width: 100%;
    justify-content: center;
  }

  .unit-toggle button {
    flex: 1;
    padding: 8px 12px;
  }

  .search-controls-row > .toggle-filter {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   POPUP — charger connections line
═══════════════════════════════════════════════════════════ */
.station-popup .sp-connections {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
  padding: 6px 8px;
  background: #f5f7fa;
  border-radius: 5px;
}

.station-popup .sp-connections svg {
  flex-shrink: 0;
  color: #F9A825;
  margin-top: 1px;
}

.station-popup .sp-connections span {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

/* ═══════════════════════════════════════════════════════════
   CONTROL GROUP [hidden] — respect hidden attribute
═══════════════════════════════════════════════════════════ */
.control-group[hidden] {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   FALLBACK NOTICE (Overpass fără tag-uri specifice)
═══════════════════════════════════════════════════════════ */
.fallback-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: #E3F2FD;
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  font-size: 13.5px;
  line-height: 1.5;
}

.fallback-notice[hidden] {
  display: none !important;
}

.fallback-notice svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════
   PRICE "N/A" — stații fără preț (Overpass)
═══════════════════════════════════════════════════════════ */
.sc-price-na {
  color: var(--text-light) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-style: italic;
  cursor: help;
  opacity: 0.85;
}

/* În popup, textul e mai lung — tratament diferit */
.sp-price.sp-price-na {
  font-size: 13px !important;
  font-weight: 500 !important;
  font-style: italic;
  color: var(--text-muted) !important;
  padding: 6px 0;
  line-height: 1.4;
  border-top: 1px dashed var(--border-light);
  padding-top: 10px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   BOTTOM NAV — mobile action bar (Wix-style)
   Apare doar pe mobil (≤ 720px). Înlocuiește stickerele.
═══════════════════════════════════════════════════════════ */
.bottom-nav {
  display: none; /* ascuns pe desktop */
}

@media (max-width: 720px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px 10px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
    position: relative;
    min-height: 56px;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.15s ease;
  }

  .bottom-nav-item:active {
    background: var(--primary-light);
  }

  .bottom-nav-item:active svg {
    transform: scale(0.92);
  }

  .bottom-nav-item.active {
    color: var(--primary);
  }

  .bottom-nav-item.active svg {
    filter: drop-shadow(0 2px 4px rgba(25, 118, 210, 0.25));
  }

  .bottom-nav-item span {
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  /* ── Ascunde stickerele flotante pe mobil — le înlocuiește bara ── */
  .floating-stickers {
    display: none !important;
  }

  /* ── Compensează înălțimea barei ca să nu acopere footer-ul ── */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}