:root {
  /* fundal dark navy, apropiat de panel */
  --bg: #020518;
  --bg-soft: #050a22;
  --bg-alt: #04091c;

  /* accent cyan, fara NIMIC roz */
  --accent: #00e5ff;
  --accent-soft: rgba(0, 229, 255, 0.16);
  --accent-strong: #00b8ff;

  --text-main: #f5f7ff;
  --text-muted: #8fa0c2;
  --border-soft: rgba(0, 233, 255, 0.28);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.85);
  --radius-lg: 18px;
  --radius-pill: 999px;
}
body {
  font-family: 'Inter', sans-serif;
}
/* Reset simplu */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #121527 0, #05060a 55%, #02030a 100%);
  color: var(--text-main);
}

/* Layout de baza */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.98), rgba(5, 6, 10, 0.8), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
/* Neutralize link styles for brand logo */

.brand,
.brand:visited,
.brand:hover,
.brand:active {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, var(--accent), var(--accent-strong));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #05060a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 13px;
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link-cta {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* TOP BAR */

.topbar {
  position: relative;
  z-index: 20;
  padding: 18px 40px 12px;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #00c8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #020518;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 16px;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 12px;
  color: #8fa0c2;
}

/* Nav */

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.top-nav a {
  color: #b7c6de;
  text-decoration: none;
}

.top-nav a:hover {
  color: #00c8ff;
}

/* Nav buttons */

.nav-btn {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.nav-login {
  background: transparent;
  color: #b7c6de;
  border-color: rgba(255,255,255,0.24);
}

.nav-login:hover {
  border-color: #00c8ff;
  color: #00c8ff;
}

.nav-signup {
  background: #00c8ff;
  color: #020518;
}

.nav-signup:hover {
  background: #00a4d6;
}

@media (max-width: 768px) {
  .topbar {
    padding: 14px 18px 8px;
  }
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .top-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Hero */

.hero {
  padding: 40px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Butoane */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 13px;
  padding: 10px 18px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, var(--accent), var(--accent-strong));
  color: #05060a;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.btn-ghost {
  background: rgba(8, 9, 18, 0.8);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-main);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-full {
  width: 100%;
}

/* Hero mock */

.hero-mock {
  display: flex;
  justify-content: center;
}

.mock-window {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(145deg, #090b14, #151728);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(circle at 0 0, rgba(242, 160, 255, 0.18), transparent);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250, 250, 255, 0.25);
}

.mock-title {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
}

.mock-body {
  padding: 10px 12px 12px;
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
}

.mock-main {
  background: rgba(5, 6, 12, 0.95);
  border-radius: 16px;
  padding: 10px;
  border: 1px solid var(--border-soft);
}

.mock-block-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mock-metric {
  background: rgba(15, 16, 30, 0.92);
  border-radius: 10px;
  padding: 6px;
}

.mock-metric-label {
  font-size: 10px;
  color: var(--text-muted);
}

.mock-metric-value {
  font-size: 14px;
  font-weight: 600;
}

.mock-chat {
  background: rgba(5, 6, 12, 0.98);
  border-radius: 16px;
  padding: 10px;
  border: 1px solid var(--border-soft);
}

.mock-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mock-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, var(--accent), var(--accent-strong));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #05060a;
}

.mock-chat-texts {
  display: flex;
  flex-direction: column;
}

.mock-chat-title {
  font-size: 12px;
}

.mock-chat-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.mock-chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
}

.bubble {
  padding: 7px 9px;
  border-radius: 10px;
  max-width: 100%;
}

.bubble-user {
  align-self: flex-end;
  background: #2b2442;
}

.bubble-ai {
  align-self: flex-start;
  background: #171828;
}

/* Sec?iuni generale */

.section {
  padding: 46px 0;
}

.section-alt {
  background: radial-gradient(circle at top, #15182c 0, #060713 45%, #05060a 100%);
}

.section-head {
  text-align: left;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.section-head p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Features grid */

.grid-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: rgba(5, 6, 12, 0.92);
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid var(--border-soft);
}

.card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  background: rgba(5, 6, 12, 0.9);
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid var(--border-soft);
}

.step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.step h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.step p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Widgets pills */

.grid-widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.widget-pill {
  font-size: 12px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(5, 6, 12, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  position: relative;
  background: rgba(5, 6, 12, 0.94);
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--border-soft);
}

.price-card-highlight {
  border-color: rgba(242, 160, 255, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  background: radial-gradient(circle at 0 0, rgba(242, 160, 255, 0.18), rgba(5, 6, 12, 0.95));
}

.badge-top {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(242, 160, 255, 0.16);
  color: var(--accent);
}

.price-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.price-tag {
  font-size: 22px;
  font-weight: 600;
  margin: 2px 0;
}

.price-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.price-list li {
  margin-bottom: 4px;
}

/* CTA finala */

.section-cta {
  background: linear-gradient(135deg, #15182c, #05060a);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-inner h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.cta-inner p {
  font-size: 13px;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */

.site-footer {
  padding: 18px 0 24px;
  background: #04050a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand {
  font-size: 13px;
  font-weight: 500;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-mock {
    order: -1;
  }
  .grid-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .hero {
    padding-top: 24px;
  }
  .grid-features,
  .steps,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* MODALS */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
  z-index: 40;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.modal-inner {
  width: 100%;
  max-width: 380px;
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.modal-inner {
  position: relative; /* ADAUGAT */
  width: 100%;
  max-width: 380px;
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.modal-inner h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.modal label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.modal input {
  width: 100%;
  margin-top: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #020518;
  color: var(--text-main);
  padding: 8px 10px;
  font-size: 14px;
}

.modal .btn-primary {
  width: 100%;
  margin-top: 10px;
}

.modal-switch {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
}

.modal-switch a {
  color: var(--accent);
}

/* state vizibil */
.modal-backdrop.is-open,
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* BUTTONS */

.btn-primary {
  background: #00c8ff;
  color: #000;
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-primary:hover {
  background: #00a4d6;
}

.btn-outline {
  background: transparent;
  color: #00c8ff;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid #00c8ff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-outline:hover {
  background: rgba(0, 200, 255, 0.15);
}

.auth-box {
  position: relative;
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.06);
  color: #b5c8e1;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.15s ease;
}

.auth-close:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
