:root {
  --bg: #040816;
  --bg-alt: #070b1d;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --text: #f9fafb;
  --muted: #9ca3af;
  --card: #0b1120;
  --border: rgba(148, 163, 184, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #1d2b52 0, #020617 45%, #000 100%);
  color: var(--text);
  line-height: 1.6;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.6));
  backdrop-filter: blur(16px);
  position: sticky;
  top: 16px;
  z-index: 50;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #60a5fa, #1d4ed8);
  border: 1px solid rgba(191, 219, 254, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.logo-text-title {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 14px;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 11px;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 12px;
  font-size: 13px;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: 0.18s ease;
}

nav a:hover {
  background: rgba(15,23,42,0.9);
  color: var(--text);
}

/* Dropdown Categorii */
.dropdown {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.dropbtn {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: 0.18s ease;
}

.dropbtn:hover {
  background: rgba(15,23,42,0.9);
  color: var(--text);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 2px;
  min-width: 190px;
  background-color: #020617;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15,23,42,0.8);
  z-index: 100;
  padding: 6px 0;
}

.dropdown-content a {
  color: var(--muted);
  padding: 6px 12px;
  text-decoration: none;
  display: block;
  font-size: 13px;
  border-radius: 0;
}

.dropdown-content a:hover {
  background: rgba(15,23,42,0.9);
  color: var(--text);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* HERO */

.hero {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 32px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
}

.badge-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #bbf7d0, #22c55e);
  box-shadow: 0 0 18px rgba(34,197,94,0.85);
}

h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 12px 30px rgba(37,99,235,0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(37,99,235,0.65);
}

.btn-ghost {
  background: rgba(15,23,42,0.9);
  color: var(--muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(15,23,42,0.95);
}

.hero-note {
  font-size: 12px;
  color: var(--muted);
}

.hero-note a {
  color: var(--accent);
  text-decoration: none;
}

/* HERO RIGHT + slider */

.hero-right {
   background: radial-gradient(circle at top, rgba(56,189,248,0.3), transparent 55%),
              radial-gradient(circle at bottom, rgba(59,130,246,0.3), transparent 55%);
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background-color: rgba(15,23,42,0.9);

  /* ca sa nu mai „sara” la alte slide-uri */
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-slider {
  position: relative;
  min-height: 260px;  /* toate slide-urile vor sta in acest „cadru” */
  padding-bottom: 8px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}


.hero-card {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 14px 14px 10px;
  background: radial-gradient(circle at top left, rgba(59,130,246,0.25), rgba(15,23,42,0.95));
  margin-bottom: 12px;
}

.hero-card-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.bubble {
  padding: 8px 10px;
  border-radius: 14px;
  max-width: 90%;
}

.bubble-user {
  background: rgba(15,23,42,0.9);
  border: 1px solid var(--border);
  align-self: flex-end;
}

.bubble-bot {
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(56,189,248,0.8);
  box-shadow: 0 0 18px rgba(56,189,248,0.45);
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 11px;
  margin-top: 8px;
}

.mini-card {
  border-radius: 14px;
  border: 1px dashed rgba(148,163,184,0.5);
  padding: 8px 9px;
  background: rgba(15,23,42,0.85);
}

.mini-card strong {
  font-size: 11px;
  display: block;
  margin-bottom: 3px;
}

.hero-slide-text {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.hero-slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-slider-dots .dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* SECTIUNI COMUNE */

section {
  margin-top: 56px;
}

.section-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border-radius: 16px;
  padding: 14px 14px 16px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(15,23,42,0.98), var(--bg-alt));
  font-size: 13px;
}

.card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

ul {
  list-style: none;
  margin-top: 6px;
}

ul li {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

ul li::before {
  content: "• ";
  color: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.price-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, rgba(59,130,246,0.2), rgba(15,23,42,0.98));
  padding: 14px 16px 18px;
  font-size: 13px;
  position: relative;
  overflow: hidden;
}

.price-card.highlight {
  border-color: rgba(59,130,246,0.8);
  box-shadow: 0 16px 40px rgba(37,99,235,0.5);
}

.price-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.price-tag {
  font-size: 20px;
  margin: 4px 0 8px;
}

.price-tag span {
  font-size: 11px;
  color: var(--muted);
}

.price-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

/* CONTACT */

.contact-card {
  max-width: 620px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, rgba(59,130,246,0.2), rgba(15,23,42,0.96));
  padding: 18px 16px 20px;
  font-size: 13px;
  margin-top: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
  margin-top: 10px;
}

.field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.9);
  padding: 8px 10px;
  color: var(--text);
  font-size: 12px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

.contact-side {
  font-size: 12px;
  color: var(--muted);
  border-radius: 14px;
  border: 1px dashed rgba(148,163,184,0.7);
  padding: 10px 11px;
  background: rgba(15,23,42,0.9);
}

.contact-side strong {
  color: var(--text);
}

/* FOOTER */

footer {
  margin-top: 40px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(15,23,42,0.9);
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

a {
  color: var(--accent);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .page {
    padding-inline: 14px;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  header {
    position: static;
  }
}
