/* Reset simplu */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #0f172a;
}

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

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

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

/* Layout de bază */

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

/* Top bar */

.top-bar {
  background: #020617;
  color: #e5e7eb;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  color: #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.25rem 0;
}


.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d9bf0, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}

.brand-text {
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.nav-link {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  color: #cbd5f5;
}

.nav-link:hover {
  background: #1f2937;
}

/* STILURI ICONITA STATUS LIVE (Nou) */
.live-status-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-icon {
  position: relative;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e; /* Verde aprins */
  border-radius: 50%;
  z-index: 2;
}

.live-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 197, 94, 0.6);
  border-radius: 50%;
  animation: ripple 2s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

.live-text {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
  white-space: nowrap;
}


.html {
  -webkit-text-size-adjust: 100%; 
}

/* HERO */

.hero {
  background: radial-gradient(circle at top left, #1d9bf0 0, #0f172a 50%, #020617 100%);
  color: #e5e7eb;
  padding: 3rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* Formular */

.hero-form-card {
  background: #f9fafb;
  color: #0f172a;
  border-radius: 1.25rem;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

.hero-form-card h1 {
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.hero-form-card label {
  font-size: 0.85rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.hero-form-card input,
.hero-form-card select,
.contact-box input,
.contact-box textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.hero-form-card input:focus,
.hero-form-card select:focus,
.contact-box input:focus,
.contact-box textarea:focus {
  outline: none;
  border-color: #1d9bf0;
  box-shadow: 0 0 0 1px rgba(29, 155, 240, 0.4);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

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

.form-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* Mesaje formular */

.form-message {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.6rem;
}

.form-message--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.form-message--success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Butoane */

.btn {
  border-radius: 0.7rem;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn.primary {
  background: #1d9bf0;
  color: white;
}

.btn.primary:hover {
  background: #1b8bda;
}

.btn.secondary {
  background: #0f172a;
  color: #e5e7eb;
}

.btn.secondary:hover {
  background: #020617;
}

.btn.ghost {
  border: 1px solid #60a5fa;
  color: #bfdbfe;
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(37, 99, 235, 0.12);
}

.btn.primary-outline {
  border: 1px solid #1d9bf0;
  color: #1d9bf0;
  background: #eff6ff;
}

.btn.primary-outline:hover {
  background: #dbeafe;
}

.full-width {
  width: 100%;
}

/* Visa / Mastercard / Stripe sub buton */

.payment-row {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #4b5563;
}

.payment-label {
  white-space: nowrap;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: #e5e7eb;
  color: #111827;
}

.pill-green {
  background: #dcfce7;
  color: #166534;
}


/* Hero dreapta */

.hero-right h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

/* "instant" stil simplu */
.instant {
  color: #1d9bf0;
  font-weight: 800;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

.hero-list li {
  margin-bottom: 0.5rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-highlights div {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 0.9rem;
  padding: 0.75rem 0.9rem;
  min-width: 110px;
}

.hero-highlights strong {
  display: block;
  font-size: 1.2rem;
}

.hero-highlights span {
  font-size: 0.8rem;
  color: #cbd5f5;
}

/* Secțiuni generale */

.section {
  padding: 3rem 0;
  background: #f9fafb;
  color: #0f172a;
}

.section-alt {
  background: #e5e7eb;
}

.section h2 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 2rem;
}

/* Carduri beneficii */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.card {
  background: white;
  border-radius: 0.95rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.step {
  background: white;
  border-radius: 0.95rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid #e5e7eb;
  position: relative;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #1d9bf0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

/* Prețuri */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: white;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-card--highlight {
  border-color: #1d9bf0;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.25);
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1d9bf0;
}

.price-card ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

/* FAQ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-list details {
  background: white;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

/* Centrare secțiune "Ai întrebări înainte de comandă?" */

#contact .contact-grid > div {
  text-align: center;
}

#contact .contact-grid p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

#contact h2 {
  text-align: center;
}

.contact-mail-btn {
  margin-top: 1rem;
}

.contact-box {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* FOOTER */

.site-footer {
  background: #e6efff;
  color: #111827;
  margin-top: 0;
}

.footer-top {
  padding: 1.5rem 0 1rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}

.footer-col-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.footer-col-left a {
  color: #1d4ed8;
}

.footer-col-left a:hover {
  text-decoration: underline;
}

.footer-col-center {
  text-align: center;
}

.footer-security-logos {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.footer-security-logos img {
  height: 34px;
  width: auto;
}

.anpc-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.anpc-links img {
  height: 40px;
  width: auto;
  border-radius: 4px;
  transition: transform 0.2s ease-in-out;
}

.anpc-links img:hover {
  transform: scale(1.03);
}

.footer-col-right {
  font-size: 0.9rem;
  text-align: right;
}

.footer-col-right p {
  margin: 0.1rem 0;
}

.footer-bottom {
  border-top: 1px solid #bfdbfe;
  padding: 0.6rem 0;
  background: #dde8ff;
  font-size: 0.8rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: #1d4ed8;
}

.footer-bottom-link:hover {
  text-decoration: underline;
}

/* Corecție pentru scroll */

#cui,
.hero,
.section {
  scroll-margin-top: 80px;
}

/* Responsive */

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-form-card {
    order: 1;
  }

  .hero-right {
    order: 2;
  }

  .main-nav {
    display: none;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col-right {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .footer-bottom-inner {
    justify-content: center;
  }
}


/* =========================================
   STILURI HEADER FORMULAR (FIX FINAL)
   ========================================= */

/* 1. IMPLICIT: ASCUNS PE DESKTOP */
.hero-info-header {
  display: none; 
}

/* 2. DOAR PE MOBIL (ecrane sub 768px): ESTE VIZIBIL (block) */
@media (max-width: 768px) {
  .hero-info-header {
    display: block; 
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
  }

  .hero-info-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 16px 0;
    line-height: 1.2;
    text-align: center;
  }

  .info-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 4px;
  }

  .info-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
  }

  /* Iconițe */
  .info-benefits-list li svg {
    width: 22px;
    height: 22px;
    stroke: #1d4ed8;
    flex-shrink: 0;
  }
}