/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1f5c48;
  --primary-dark:  #17442f;
  --primary-light: #eaf1ec;
  --primary-mid:   #d7e5db;
  --surface:      #ffffff;
  --bg:           #f7f5f1;
  --border:       #e8e4dc;
  --text:         #1b1a17;
  --text-muted:   #74716a;
  --text-light:   #a8a49b;
  --green:        #1f7a54;
  --red:          #a34b3b;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --radius:       14px;
  --radius-sm:    10px;
  --shadow:       0 2px 12px rgba(27,26,23,.07), 0 1px 3px rgba(27,26,23,.05);
  --transition:   150ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

/* ─── Flash ──────────────────────────────────────────────────────────────────── */
.flash { padding: 12px 20px; font-size: 14px; text-align: center; font-weight: 500; }
.flash-success { background: #d1fae5; color: #065f46; }
.flash-error   { background: #fee2e2; color: #991b1b; }

/* ═══════════════════════════════════════════════════════════════════════════════
   HOMEPAGE
══════════════════════════════════════════════════════════════════════════════ */

/* ─── Nav bar ────────────────────────────────────────────────────────────────── */
.home-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.home-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.home-nav-actions { display: flex; align-items: center; gap: 10px; }

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 100px;
  text-align: center;
  background: linear-gradient(150deg, #f7f5f1 0%, var(--primary-light) 50%, #e6efe9 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.hero-blob-1 {
  width: 400px; height: 400px;
  background: rgba(31,92,72,.12);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 320px; height: 320px;
  background: rgba(31,92,72,.10);
  top: 0; right: -80px;
  animation-delay: 2s;
}
.hero-blob-3 {
  width: 280px; height: 280px;
  background: rgba(31,92,72,.08);
  bottom: -80px; left: 40%;
  animation-delay: 4s;
}
@keyframes blobFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(20px,-20px) scale(1.06); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(31,92,72,.10);
  color: var(--primary);
  border: 1px solid rgba(31,92,72,.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-content { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.hero h1 {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-social-proof {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-avatars { display: flex; }
.hero-avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.hero-avatars span:first-child { margin-left: 0; }

/* ─── Logos bar ──────────────────────────────────────────────────────────────── */
.logos-bar {
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.logos-bar p { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 20px; }
.logos-list { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.logo-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: .6;
}

/* ─── How it works ───────────────────────────────────────────────────────────── */
.steps-section { padding: 72px 24px; background: var(--surface); text-align: center; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 440px; margin: 0 auto 56px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.step-item { text-align: center; }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(31,92,72,.25);
}
.step-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-item p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Features ───────────────────────────────────────────────────────────────── */
.features-section { padding: 72px 24px; background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ─── Testimonials ───────────────────────────────────────────────────────────── */
.testimonials-section { padding: 72px 24px; background: var(--surface); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.testimonial-stars { color: var(--primary); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name { font-size: 13px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ─── CTA section ────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -100px; right: -100px;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  bottom: -80px; left: -60px;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 540px; margin: 0 auto; }
.cta-section h2 {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.cta-section p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.cta-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.65); }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.public-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo { font-weight: 700; color: var(--primary); font-size: 14px; }
.footer-copy  { font-size: 13px; color: var(--text-light); }

/* ═══════════════════════════════════════════════════════════════════════════════
   AUTH
══════════════════════════════════════════════════════════════════════════════ */
.auth-wrap {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: linear-gradient(150deg, #f7f5f1 0%, var(--primary-light) 50%, #e6efe9 100%);
}
.auth-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
  border: 1px solid var(--border);
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(31,92,72,.25);
}
.auth-header h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 6px; }
.auth-header p  { color: var(--text-muted); font-size: 14px; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.3px; }
.auth-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--surface);
  color: var(--text);
}
.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,92,72,.10);
}
.auth-alt { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--text-muted); }
.auth-alt a { color: var(--primary); font-weight: 600; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert p { margin: 0; font-size: 13.5px; }

/* ═══════════════════════════════════════════════════════════════════════════════
   PROVIDER PUBLIC PAGE
══════════════════════════════════════════════════════════════════════════════ */
.provider-page { max-width: 480px; margin: 0 auto; }

.provider-header {
  position: relative;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 44px 24px 36px;
  overflow: hidden;
}
.provider-header::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  top: -100px; right: -80px;
  pointer-events: none;
}
.provider-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.4);
  margin-bottom: 14px;
  position: relative;
}
.provider-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  margin: 0 auto 14px;
  border: 3px solid rgba(255,255,255,.3);
}
.provider-name { font-size: 24px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.4px; }
.provider-bio  { font-size: 14px; opacity: .88; line-height: 1.6; max-width: 320px; margin: 0 auto; }

/* ─── Booking flow ───────────────────────────────────────────────────────────── */
.booking-flow { padding: 24px 20px 56px; }
.booking-step {}
.step-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.step-back { margin-bottom: 16px; }

/* Services grid */
.services-grid { display: flex; flex-direction: column; gap: 10px; }
.service-card {
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  background: var(--surface);
  transition: all var(--transition);
  font-family: inherit;
}
.service-card:hover, .service-card:focus-visible {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(31,92,72,.12);
}
.service-card-name { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.service-card-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 14px; }

/* Date picker */
.date-input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--surface);
}
.date-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,92,72,.10);
}

/* Slots grid */
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot-btn {
  padding: 13px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  font-family: inherit;
  color: var(--text);
}
.slot-btn:hover, .slot-btn.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.02);
}
.slots-empty, .loading-slots {
  text-align: center;
  padding: 36px 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Selected tag */
.selected-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid rgba(31,92,72,.2);
}

/* Contact form */
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: all var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,92,72,.10);
}
.optional { color: var(--text-light); font-weight: 400; font-size: 11px; }
.form-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 14px;
}

/* ─── Booking confirm ────────────────────────────────────────────────────────── */
.confirm-wrap { padding: 56px 24px; text-align: center; max-width: 480px; margin: 0 auto; }
.confirm-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.confirm-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.4px; }
.confirm-sub   { color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }
.confirm-details {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.confirm-row:last-child { border-bottom: none; }
.confirm-label { color: var(--text-muted); font-size: 13.5px; }
.confirm-value { font-weight: 600; font-size: 13.5px; text-align: right; }
.confirm-actions { margin-bottom: 24px; }
.confirm-note  { font-size: 13px; color: var(--text-muted); }

/* ─── 404 ────────────────────────────────────────────────────────────────────── */
.error-wrap { text-align: center; padding: 100px 24px; }
.error-code { font-size: 80px; font-weight: 700; color: var(--primary); margin-bottom: 12px; letter-spacing: -4px; }
.error-wrap h1 { font-size: 22px; margin-bottom: 10px; font-weight: 700; }
.error-wrap p  { color: var(--text-muted); margin-bottom: 28px; }

/* ─── Empty booking ──────────────────────────────────────────────────────────── */
.empty-booking { padding: 56px 24px; text-align: center; color: var(--text-muted); }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  font-family: inherit;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(31,92,72,.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31,92,72,.45);
}
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg   { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.btn-sm   { padding: 7px 14px; font-size: 13.5px; }
.btn-back {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
}
.btn-back:hover { color: var(--primary); }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Homepage nav */
  .home-nav { padding: 0 14px; height: 54px; }
  .home-nav-logo { font-size: 14px; }
  .home-nav-logo svg { display: none; }
  .home-nav-actions .btn-outline { display: none; } /* hide "Intră în cont" — show only Register */
  .home-nav-actions { gap: 6px; }

  /* Hero */
  .hero { padding: 52px 16px 64px; }
  .hero-social-proof { flex-direction: column; gap: 6px; }

  /* Logos */
  .logos-list { gap: 16px; }

  /* Sections */
  .steps-section, .features-section, .testimonials-section, .pricing-section { padding: 52px 16px; }
  .cta-section { padding: 56px 16px; }

  /* Auth */
  .auth-card { padding: 28px 20px; }

  /* Confirm page */
  .confirm-row { flex-direction: column; gap: 2px; }
  .confirm-value { text-align: left; }
}

@media (max-width: 400px) {
  .home-nav-actions .btn-sm { padding: 7px 12px; font-size: 13px; }
  .lang-btn { padding: 3px 7px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-blob { animation: none; }
}

/* ─── Hidden ─────────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ─── Lang switcher (homepage nav) ──────────────────────────────────────────── */
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.lang-btn:hover { color: var(--primary); background: var(--primary-light); }
.lang-btn.active { background: var(--primary); color: #fff; }

/* ─── Pricing section ────────────────────────────────────────────────────────── */
.pricing-section { padding: 80px 24px; background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}
.pricing-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(31,92,72,.15);
  transform: scale(1.02);
}
.pricing-card-featured:hover { transform: scale(1.02) translateY(-2px); }
.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
  align-self: flex-start;
}
.pricing-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.pricing-amount {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1;
}
.pricing-currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
}
.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.pricing-features li.feat-no svg { color: var(--text-light); }
.pricing-features li.feat-no { color: var(--text-muted); }

@media (max-width: 600px) {
  .pricing-card-featured { transform: scale(1); }
  .pricing-card-featured:hover { transform: translateY(-2px); }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ─── PWA Add-to-Home Button (în header) ─────────────────────────────────── */
.pwa-add-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 24px;
  padding: 9px 20px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background 0.18s, border-color 0.18s;
  letter-spacing: 0.01em;
}
.pwa-add-btn:hover  { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.5); }
.pwa-add-btn:active { background: rgba(255,255,255,.35); }

/* ─── PWA Modal ──────────────────────────────────────────────────────────── */
.pwa-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,15,30,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 0;
}
@media (min-width: 500px) {
  .pwa-modal-overlay { align-items: center; padding: 20px; }
}
.pwa-modal-overlay.open { opacity: 1; pointer-events: all; }

.pwa-modal-box {
  position: relative;
  background: #fff;
  border-radius: 24px 24px 0 0;
  width: 100%; max-width: 440px;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 40px rgba(0,0,0,.18);
  transform: translateY(40px);
  transition: transform 0.3s cubic-bezier(0.34, 1.15, 0.64, 1);
}
@media (min-width: 500px) {
  .pwa-modal-box {
    border-radius: 24px;
    padding: 32px 28px;
    transform: scale(0.95) translateY(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
  }
}
.pwa-modal-overlay.open .pwa-modal-box {
  transform: translateY(0);
}
@media (min-width: 500px) {
  .pwa-modal-overlay.open .pwa-modal-box { transform: scale(1) translateY(0); }
}

.pwa-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #f3f4f6; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: background 0.15s;
}
.pwa-modal-close:hover { background: #e5e7eb; }

.pwa-modal-header { text-align: center; margin-bottom: 24px; }
.pwa-modal-icon {
  width: 72px; height: 72px; border-radius: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(31,92,72,.25);
}
.pwa-modal-title {
  font-size: 19px; font-weight: 800; color: var(--text);
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.pwa-modal-sub {
  font-size: 14px; color: var(--text-muted); line-height: 1.55;
}
.pwa-modal-sub strong { color: var(--text); }

/* Android install button */
.pwa-modal-section { margin-top: 4px; }
.pwa-do-install-btn {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 20px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 14px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background 0.15s, transform 0.1s;
}
.pwa-do-install-btn:hover  { background: var(--primary-dark); }
.pwa-do-install-btn:active { transform: scale(0.98); }

/* iOS steps */
.pwa-steps { display: flex; flex-direction: column; gap: 0; }
.pwa-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.pwa-step:last-child { border-bottom: none; }
.pwa-step-num {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; margin-top: 1px;
}
.pwa-step-body { display: flex; flex-direction: column; gap: 3px; }
.pwa-step-label { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.45; }
.pwa-step-label strong { font-weight: 700; }
.pwa-step-hint  { font-size: 12px; color: var(--text-muted); }

.pwa-got-it-btn {
  width: 100%; margin-top: 20px; padding: 14px;
  background: var(--primary-light); color: var(--primary);
  border: none; border-radius: 14px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background 0.15s;
}
.pwa-got-it-btn:hover { background: var(--primary-mid); }
