:root {
  --bg: #080c14;
  --surface: #0e1520;
  --surface2: #131d2b;
  --border: rgba(255,255,255,0.07);
  --accent: #00d4ff;
  --accent2: #0087ff;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --danger: #ff4444;
  --success: #00e87a;
  --text: #e8edf5;
  --muted: #6b7d91;
  --heading: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

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

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

/* ─── GRID NOISE BACKGROUND ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.brand span.dr { color: var(--accent); }
.brand span.web { color: #fff; }
.brand span.tld { color: var(--muted); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.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(--accent); }

.nav-cta {
  background: var(--accent);
  color: #000 !important;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.88; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  overflow: hidden;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,135,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  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.3; }
}

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

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #000;
  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: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,212,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,212,255,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: 1px 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(--accent);
  color: var(--accent);
}

/* Stats row in hero */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px 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 shield illustration */
.hero-visual {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 520px;
  animation: fadeUp 0.9s 0.2s ease both;
  pointer-events: none;
}

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

/* ─── SECTION WRAPPER ─── */
section {
  position: relative;
  z-index: 1;
  padding: 90px 5%;
}

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

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

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

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

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

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.25s;
}
.problem-card:hover { border-color: rgba(255,68,68,0.4); }

.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.55;
}

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

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-card.featured {
  border-color: rgba(0,212,255,0.35);
  background: linear-gradient(160deg, rgba(0,135,255,0.08), var(--surface));
}
.service-card.featured::before {
  content: 'RECOMANDAT';
  position: absolute;
  top: 18px; right: -30px;
  background: var(--accent);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1px;
  padding: 4px 40px;
  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: rgba(0,135,255,0.15); }
.icon-red { background: rgba(255,68,68,0.12); }
.icon-green { background: rgba(0,232,122,0.12); }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.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;
}
.service-features li::before {
  content: '✓';
  color: var(--accent);
  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(--heading);
}
.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: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.btn-service:hover {
  background: rgba(0,212,255,0.18);
  border-color: var(--accent);
}
.service-card.featured .btn-service {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border: none;
  color: #000;
}
.service-card.featured .btn-service:hover {
  opacity: 0.88;
}

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

.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: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.2rem;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.step-icon {
  font-size: 2.2rem;
  display: block;
  margin: 0 auto 1rem;
}
.step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.85rem;
  color: var(--muted);
}

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

.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;
}
.form-info p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.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: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item a { color: var(--text); text-decoration: none; }
.contact-item a:hover { color: var(--accent); }

.order-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.order-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.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: 500;
  color: var(--muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: '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(0,212,255,0.1);
}

.form-control option { background: var(--surface2); }

.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.5;
}

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

.service-opt {
  background: var(--bg);
  border: 1px 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: rgba(0,212,255,0.05);
}
.service-opt-label {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 500;
}
.service-opt-price {
  font-size: 0.8rem;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

/* ─── FOOTER ─── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 5%;
  z-index: 1;
  position: relative;
}

.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 p { font-size: 0.82rem; color: var(--muted); max-width: 240px; }

.footer-info {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 2;
}
.footer-info strong { color: var(--text); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
  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; }
  .hero-stats { gap: 1.5rem; }
}

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