:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --surface: #f5f7fa;
  --surface2: #eef1f6;
  --border: #e2e8f0;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --navy: #1e3a8a;
  --navy-dark: #0a1628;
  --danger: #dc2626;
  --success: #16a34a;
  --text: #334155;
  --muted: #64748b;
  --heading: #0a1628;
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand {
  font-family: 'Syne', sans-serif;
  color: var(--heading);
  line-height: 1.15;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(5%, calc((100% - 1280px) / 2), 20%);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(10,22,40,0.07);
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.brand span.dr { color: var(--accent); }
.brand span.web { color: var(--navy-dark); }
.brand span.tld { color: var(--muted); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--heading); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(5%, calc((100% - 1280px) / 2), 20%) 80px;
  overflow: hidden;
  background: #fff;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.25);
  color: var(--accent-dark);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.1s ease both;
  color: var(--navy-dark);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy-dark);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* Stats row in hero */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--border);
  animation: fadeUp 0.7s 0.4s ease both;
  flex-wrap: wrap;
}
.stat-item strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-item span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero floating card visual */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 36%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp 0.9s 0.2s ease both;
  pointer-events: none;
}

.hv-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(10,22,40,0.08);
  padding: 1.25rem 1.5rem;
}

.hv-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}
.hv-icon { font-size: 2.5rem; flex-shrink: 0; }
.hv-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading);
  display: block;
}
.hv-sub {
  font-size: 0.82rem;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.hv-check {
  margin-left: auto;
  width: 32px; height: 32px;
  background: #dcfce7;
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.hv-small {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.9rem 1.25rem;
  align-self: flex-start;
  margin-left: 2rem;
}
.hv-small-2 {
  align-self: flex-end;
  margin-left: 0;
  margin-right: 2rem;
}
.hv-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hv-dot-green { background: var(--success); }
.hv-dot-orange { background: var(--accent); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SECTION WRAPPER ─── */
section {
  position: relative;
  padding: 90px clamp(5%, calc((100% - 1280px) / 2), 20%);
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--navy-dark);
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  font-size: 1rem;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

/* ─── PROBLEMS ─── */
#probleme { background: var(--bg-alt); }

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

.problem-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.problem-card:hover {
  box-shadow: 0 8px 32px rgba(220,38,38,0.1);
  transform: translateY(-3px);
}

.problem-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.problem-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--heading);
}
.problem-card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── SERVICES ─── */
#servicii { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(10,22,40,0.1);
}
.service-card.featured {
  border-color: var(--accent);
  border-top: 4px solid var(--accent);
}
.service-card.featured::before {
  content: 'RECOMANDAT';
  position: absolute;
  top: 14px; right: -28px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  padding: 4px 42px;
  transform: rotate(35deg);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.icon-blue { background: #eff6ff; }
.icon-red  { background: #fef2f2; }
.icon-green { background: #f0fdf4; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy-dark);
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.service-features {
  list-style: none;
  margin-bottom: 1.75rem;
}
.service-features li {
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.35rem 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
  content: '✓';
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 1.25rem;
}
.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
}
.price-label {
  font-size: 0.8rem;
  color: var(--muted);
}
.price-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: -12px;
  margin-bottom: 1.25rem;
}

.btn-service {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-service:hover {
  background: var(--navy);
  color: #fff;
}
.service-card.featured .btn-service {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(249,115,22,0.25);
}
.service-card.featured .btn-service:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* ─── WHY WORDPRESS ─── */
#de-ce { background: var(--bg-alt); }

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

.why-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.25s;
}
.why-card:hover {
  box-shadow: 0 8px 24px rgba(10,22,40,0.08);
}
.why-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy-dark);
}
.why-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}
.why-card code {
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.why-callout {
  margin-top: 2.5rem;
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.why-callout-icon { font-size: 2.5rem; flex-shrink: 0; }
.why-callout-body { flex: 1; min-width: 200px; }
.why-callout-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--navy-dark);
}
.why-callout-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.why-callout-body strong { color: var(--text); }

/* ─── HOW IT WORKS ─── */
#cum-functioneaza { background: var(--bg); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.step {
  padding: 2rem;
  position: relative;
  text-align: center;
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: 0; top: 40%;
  transform: translateY(-50%);
  color: var(--border);
  font-size: 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.step-icon {
  font-size: 2rem;
  display: block;
  margin: 0 auto 0.75rem;
}
.step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--navy-dark);
}
.step p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ─── FORM ─── */
#comanda { background: var(--bg-alt); }

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.form-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy-dark);
}
.form-info p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.form-info .accent { color: var(--accent); font-weight: 700; }

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.contact-item .ci-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item a { color: var(--text); text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--accent); }
.contact-item span { color: var(--text); }

.order-form {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
}

.order-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--navy-dark);
}
.order-form > p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  margin-top: 1.5rem;
}

.gdpr-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.6;
}

/* Service selector */
.service-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.service-opt {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.service-opt input[type="radio"] { accent-color: var(--accent); }
.service-opt:has(input:checked) {
  border-color: var(--accent);
  background: #fff7ed;
}
.service-opt-label {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.service-opt-price {
  font-size: 0.8rem;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy-dark);
  padding: 3rem clamp(5%, calc((100% - 1280px) / 2), 20%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .brand { font-size: 1.3rem; margin-bottom: 0.5rem; }
.footer-brand .brand span.dr { color: var(--accent); }
.footer-brand .brand span.web { color: #fff; }
.footer-brand .brand span.tld { color: #6b7d91; }
.footer-brand p { font-size: 0.82rem; color: #6b7d91; max-width: 240px; line-height: 1.6; }

.footer-info {
  font-size: 0.82rem;
  color: #6b7d91;
  line-height: 2;
}
.footer-info strong { color: #cbd5e1; display: block; margin-bottom: 0.25rem; }
.footer-info a { color: #6b7d91; text-decoration: none; transition: color 0.2s; }
.footer-info a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #4a5568;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .form-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-grid .step::after { display: none; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 60px 5%; }
  .hero { padding: 110px 5% 60px; }
  nav { padding: 0 5%; }
  .hero-stats { gap: 1.5rem; }
  .why-callout { padding: 1.5rem; gap: 1rem; }
}

/* Scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.form-status { padding: .75rem 1rem; border-radius: 8px; font-size: .9rem; margin-bottom: 1rem; }
.form-status--success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.form-status--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
