/* =====================================================================
   Spuma Activa VICE - Landing Page
   Tema: TikTok-style (dark, pink/cyan accent), fonturi prietenoase 40+
===================================================================== */

:root {
  --bg: #0E0E10;
  --bg-card: #1B1B1F;
  --bg-card-2: #232328;
  --pink: #FE2C55;
  --pink-dark: #D6183F;
  --cyan: #25F4EE;
  --text: #FAFAFA;
  --text-muted: #B9B9C2;
  --yellow: #FFC531;
  --green: #25D366;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --shadow-card: 0 8px 24px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 86px; /* spatiu pt sticky bar mobil */
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 18px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 12px;
}

a { color: inherit; }

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

button { font-family: var(--font-body); cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------------------------------------------------------------------
   HEADER
--------------------------------------------------------------------- */
.site-header {
  background: #000;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #232328;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  height: 34px;
  width: auto;
}
.header-trust {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
}

/* ---------------------------------------------------------------------
   BARA URGENTA (sub header)
--------------------------------------------------------------------- */
.urgency-strip {
  position: sticky;
  top: 62px;
  z-index: 39;
  background: linear-gradient(90deg, var(--pink), var(--pink-dark));
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  text-align: center;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.urgency-strip__sep { opacity: 0.7; }

/* ---------------------------------------------------------------------
   HERO
--------------------------------------------------------------------- */
.hero {
  text-align: center;
  padding-top: 26px;
}
.hero__badge {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero__image-wrap {
  background: radial-gradient(circle at 50% 40%, rgba(254,44,85,0.18), transparent 65%);
  border-radius: var(--radius-lg);
  padding: 10px;
  margin-bottom: 18px;
}
.hero__image {
  max-width: 260px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(254,44,85,0.25));
}
.hero__title {
  font-size: 30px;
  color: var(--text);
}
.hero__subtitle {
  color: var(--text-muted);
  font-size: 16.5px;
  max-width: 420px;
  margin: 0 auto 14px;
}
.hero__stars {
  color: var(--yellow);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
}
.hero__stars span {
  display: block;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: normal;
  margin-top: 4px;
}

/* ---------------------------------------------------------------------
   SECTIUNI "COMANDA ACUM"
--------------------------------------------------------------------- */
.order-box {
  background: var(--bg-card);
  border: 1px solid #2C2C33;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  margin: 26px auto;
  box-shadow: var(--shadow-card);
}
.order-box--compact {
  padding: 18px 16px;
}
.order-box__prices {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 19px;
  font-weight: 700;
}
.price-new {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
}
.price-old-small {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 700;
  margin-right: 6px;
}
.price-new-small {
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
}
.order-box__cta-text {
  color: var(--yellow);
  font-weight: 800;
  font-size: 16px;
  margin: 6px 0 14px;
}
.order-box__timer-block {
  background: var(--bg-card-2);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 15px;
}
.order-box__timer-block--inline {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
.timer-line strong, .stock-line strong { color: var(--yellow); }
.stock-line { color: #ff8a8a; }
.order-box__badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.btn-comanda {
  background: linear-gradient(90deg, var(--pink), #FF5C7A);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  padding: 16px 24px;
  border-radius: 999px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 20px rgba(254,44,85,0.4);
  transition: transform 0.15s ease;
}
.btn-comanda:active { transform: scale(0.97); }
.btn-comanda--big { font-size: 19px; padding: 18px 24px; }
.btn-comanda--sticky {
  max-width: none;
  width: auto;
  flex: 1;
  font-size: 15.5px;
  padding: 13px 18px;
}

/* ---------------------------------------------------------------------
   BENEFICII
--------------------------------------------------------------------- */
.section-title {
  text-align: center;
  font-size: 25px;
  color: var(--text);
}
.benefits { padding-top: 6px; }
.benefits__text {
  color: var(--text-muted);
  font-size: 16px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto 24px;
}
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid #2C2C33;
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
}
.benefit-card__icon { font-size: 30px; margin-bottom: 8px; }
.benefit-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.benefit-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------------------------------------------------------------------
   RECENZII - stil Google Maps
--------------------------------------------------------------------- */
.reviews { padding-top: 10px; }
.reviews__header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #1F1F1F;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}
.reviews__title { font-weight: 800; font-size: 15px; font-family: var(--font-body); }
.reviews__score {
  font-size: 14px;
  color: #E37400;
  font-weight: 800;
}
.reviews__score span:first-child { color: #1F1F1F; margin-right: 4px; }
.reviews__count { color: #5F6368 !important; font-weight: 600 !important; margin-left: 4px; }

.review-card {
  background: #fff;
  color: #1F1F1F;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.review-card__name { font-weight: 700; font-size: 14.5px; }
.review-card__sub { font-size: 12px; color: #5F6368; }
.review-card__stars {
  color: #FBBC04;
  font-size: 14px;
  margin-bottom: 8px;
}
.review-card__time { color: #5F6368; font-size: 12.5px; margin-left: 6px; }
.review-card__text { font-size: 14.5px; margin: 0; color: #3C4043; }

/* ---------------------------------------------------------------------
   FAQ
--------------------------------------------------------------------- */
.faq { padding-top: 6px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid #2C2C33;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  text-align: left;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-icon {
  color: var(--cyan);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 16px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 16px 16px;
}

/* ---------------------------------------------------------------------
   FOOTER
--------------------------------------------------------------------- */
.site-footer {
  background: #000;
  color: var(--text-muted);
  text-align: center;
  padding: 26px 18px 40px;
  font-size: 13px;
  margin-top: 30px;
}
.site-footer p { margin: 4px 0; }

/* ---------------------------------------------------------------------
   STICKY BAR MOBIL
--------------------------------------------------------------------- */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(14,14,16,0.97);
  backdrop-filter: blur(6px);
  border-top: 1px solid #2C2C33;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-sticky-bar__price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* ---------------------------------------------------------------------
   MODAL FORMULAR COMANDA
--------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-card {
  background: var(--bg-card);
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 30px;
  position: relative;
  animation: slideUp 0.25s ease;
}
@media (min-width: 560px) {
  .modal-overlay { align-items: center; }
  .modal-card { border-radius: var(--radius-lg); }
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-card-2);
  border: none;
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
}
.modal-title { font-size: 22px; padding-right: 40px; }
.modal-price-recap {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.modal-unit-price { margin-left: 4px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 6px;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  background: var(--bg-card-2);
  border: 1.5px solid #34343B;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  resize: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--cyan);
}
.form-error {
  display: block;
  color: #FF6B6B;
  font-size: 12.5px;
  margin-top: 5px;
  font-weight: 700;
  min-height: 15px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qty-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  font-size: 20px;
  font-weight: 800;
}
#f_cantitate {
  width: 60px;
  text-align: center;
  background: var(--bg-card-2);
  border: 1.5px solid #34343B;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 11px 6px;
  font-size: 17px;
  font-weight: 700;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card-2);
  border: 1.5px solid #34343B;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-weight: 700;
  font-size: 15px;
}
.payment-option input { accent-color: var(--pink); width: 18px; height: 18px; }
.payment-option small { color: var(--text-muted); font-weight: 600; }
.payment-option:has(input:checked) { border-color: var(--pink); background: rgba(254,44,85,0.08); }

.order-summary {
  background: var(--bg-card-2);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 18px 0;
  font-size: 14.5px;
}
.order-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--text-muted);
}
.order-summary__row--total {
  border-top: 1px solid #34343B;
  margin-top: 6px;
  padding-top: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 17px;
}

/* ---------------------------------------------------------------------
   POPUP VENTILATOR - "PRETUL S-A MODIFICAT"
--------------------------------------------------------------------- */
.fan-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fan-popup-overlay.active { display: flex; }
.fan-popup-card {
  background: var(--bg-card);
  border: 2px solid var(--cyan);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  max-width: 360px;
  animation: popIn 0.35s ease;
  box-shadow: 0 0 40px rgba(37,244,238,0.25);
}
@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.fan-wrap {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: visible;
}
.fan-blades {
  transform-origin: 50px 50px;
  animation: spin 0.5s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.wind-lines {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 6px;
}
.wind-lines span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  opacity: 0;
  animation: windBlow 1s ease-in-out infinite;
}
.wind-lines span:nth-child(2) { animation-delay: 0.15s; width: 22px; }
.wind-lines span:nth-child(3) { animation-delay: 0.3s; width: 16px; }
@keyframes windBlow {
  0% { opacity: 0; transform: translateX(-10px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateX(20px); }
}
.flying-price {
  position: absolute;
  right: -30px;
  top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--yellow);
  font-size: 15px;
  background: var(--bg-card-2);
  padding: 4px 10px;
  border-radius: 999px;
  animation: flyAway 1.6s ease-in forwards;
  animation-iteration-count: 1;
}
@keyframes flyAway {
  0% { transform: translateX(0) rotate(0deg); opacity: 1; }
  100% { transform: translateX(60px) rotate(25deg); opacity: 0; }
}
.fan-popup-title { color: var(--yellow); font-size: 20px; }
.fan-popup-text {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.fan-popup-text strong { color: var(--text); }

/* ---------------------------------------------------------------------
   PRICE FLASH (cand se "actualizeaza" pretul)
--------------------------------------------------------------------- */
.price-flash { animation: flash 0.9s ease; }
@keyframes flash {
  0% { transform: scale(1); }
  30% { transform: scale(1.15); color: var(--yellow); }
  100% { transform: scale(1); }
}

/* ---------------------------------------------------------------------
   PAGINA SUCCES
--------------------------------------------------------------------- */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}
.success-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  max-width: 420px;
  box-shadow: var(--shadow-card);
}
.success-icon { font-size: 50px; margin-bottom: 10px; }
.success-sub { color: var(--text-muted); }
.success-details {
  background: var(--bg-card-2);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 18px 0;
  text-align: left;
}
.success-details .row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 14.5px;
}
.success-note {
  color: var(--text-muted);
  font-size: 14px;
}
.btn-back {
  display: inline-block;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--pink), #FF5C7A);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 999px;
}

/* ---------------------------------------------------------------------
   RESPONSIVE - tablete/desktop (design ramane mobile-first / centrat)
--------------------------------------------------------------------- */
@media (min-width: 700px) {
  body { font-size: 17.5px; }
  .hero__title { font-size: 36px; }
  .price-new { font-size: 40px; }
  .benefits__grid { grid-template-columns: repeat(4, 1fr); }
}
/* =====================================================================
   SALES NOTIFICATION (SOCIAL PROOF)
   ===================================================================== */
.sales-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  border-left: 4px solid #FE2C55; /* Culoarea rosie folosita de tine */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateX(-150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 320px;
  font-family: 'Nunito Sans', sans-serif;
  opacity: 0;
}

.sales-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.sales-notification__icon {
  font-size: 24px;
}

.sales-notification__text {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* Ajustare pentru mobil, ca să nu se suprapună cu butonul tău sticky de jos */
@media (max-width: 768px) {
  .sales-notification {
    bottom: 90px; 
    left: 10px;
    right: 10px;
    max-width: none;
  }
}
/* 1. Setările de bază (pentru Laptop / Desktop) */
.site-header .logo {
    width: 200px; /* Ajustează aici cât de mare vrei să fie pe laptop (ex: 180px, 250px) */
    max-width: 100%;
    height: auto;
    flex-shrink: 0; 
}

/* 2. Ajustări specifice pentru Telefon (ecrane sub 768px) */
@media (max-width: 768px) {
    .site-header .logo {
        width: 120px; /* Lățimea care ai văzut că arată bine pe telefon */
        min-width: 100px; 
    }
    
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
}