/* ═══════════════════════════════════════════
   amenajari.online — CSS Modern
   Font: Plus Jakarta Sans
   Tema: dark hero + purple/blue gradient
═══════════════════════════════════════════ */

:root {
  --purple:     #7c3aed;
  --purple-l:   #a78bfa;
  --blue:       #2563eb;
  --blue-l:     #60a5fa;
  --dark:       #0f172a;
  --dark2:      #1e1b4b;
  --negru:      #111827;
  --gri:        #6b7280;
  --gri-l:      #f9fafb;
  --alb:        #ffffff;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.14);
  --font:       'Plus Jakarta Sans', sans-serif;
  --grad:       linear-gradient(135deg, var(--purple), var(--blue));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--negru);
  background: var(--alb);
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo span { color: var(--purple-l); }

.nav-cta {
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── HERO ────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0d0221 0%, #1e1b4b 45%, #0c2051 100%);
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.28) 0%, transparent 70%);
  top: -150px; right: -150px;
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  pointer-events: none;
}

.badge {
  display: inline-block;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(167,139,250,0.4);
  color: var(--purple-l);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.6s ease both;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 680px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.gradient-text {
  background: linear-gradient(90deg, var(--purple-l), var(--blue-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  line-height: 1.65;
  max-width: 520px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(124,58,237,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(124,58,237,0.55); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* ── STATS BAR ───────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--alb);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--purple), var(--blue), #06b6d4) 1;
  box-shadow: var(--shadow-sm);
}
.stat {
  text-align: center;
  padding: 28px 48px;
  border-right: 1px solid #f1f5f9;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 32px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: var(--gri);
  margin-top: 4px;
  font-weight: 500;
}

/* ── SECTIONS ────────────────────────────── */
.section { padding: 80px 24px; }
.section-inner {
  max-width: 920px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--purple);
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--negru);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--gri);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 48px;
}

/* ── FEATURES GRID ───────────────────────── */
.features-section { background: #fafafa; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--alb);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.fc1::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.fc2::before { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.fc3::before { background: linear-gradient(90deg, #059669, #34d399); }
.fc4::before { background: linear-gradient(90deg, #d97706, #fbbf24); }
.fc5::before { background: linear-gradient(90deg, #dc2626, #f87171); }
.fc6::before { background: linear-gradient(90deg, #7c3aed, #2563eb); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.fi1 { background: #ede9fe; }
.fi2 { background: #dbeafe; }
.fi3 { background: #d1fae5; }
.fi4 { background: #fef3c7; }
.fi5 { background: #fee2e2; }
.fi6 { background: #ede9fe; }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--negru);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gri);
  line-height: 1.65;
}

/* ── WHY SECTION ─────────────────────────── */
.why-section {
  background: linear-gradient(135deg, #0d0221 0%, #1e1b4b 60%, #0c2051 100%);
  padding: 80px 24px;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.compare-bad {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
}
.compare-good {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35);
}
.compare-head {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bad-head { color: #fca5a5; }
.good-head { color: #c4b5fd; }
.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.compare-good .compare-item { color: rgba(255,255,255,0.88); }
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.dot-bad { background: #f87171; }
.dot-good { background: #a78bfa; }

/* ── STEPS ───────────────────────────────── */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}
.step-card {
  background: var(--alb);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.step-card:hover { transform: translateY(-4px); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}
.step-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--negru);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px;
  color: var(--gri);
  line-height: 1.6;
}
.step-arrow {
  font-size: 28px;
  color: var(--purple-l);
  font-weight: 300;
  flex-shrink: 0;
}

/* ── APP SECTION ─────────────────────────── */
.app-section {
  background: #f8faff;
  padding: 80px 24px;
}
.drop-zone {
  border: 2px dashed #d1d5db;
  border-radius: var(--radius-xl);
  padding: 72px 32px;
  text-align: center;
  background: var(--alb);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  max-width: 600px;
  margin: 0 auto;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--purple);
  background: #faf8ff;
  box-shadow: 0 0 0 4px rgba(124,58,237,0.08);
}
.drop-icon { font-size: 56px; margin-bottom: 20px; }
.drop-zone h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--negru);
  margin-bottom: 8px;
}
.drop-zone p { color: var(--gri); margin-bottom: 4px; font-size: 15px; }
.hint { font-size: 13px !important; color: #9ca3af !important; }

.btn-upload {
  margin-top: 28px;
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-upload:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,0.45); }

.preview-wrap { text-align: center; max-width: 600px; margin: 0 auto; }
.preview-wrap img {
  max-width: 100%;
  max-height: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.btn-change {
  margin-top: 16px;
  background: transparent;
  color: var(--gri);
  border: 1px solid #e5e7eb;
  padding: 10px 24px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-change:hover { border-color: var(--purple); color: var(--purple); }

/* ── STILURI ─────────────────────────────── */
.stil-section { margin-top: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.stil-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--negru);
  margin-bottom: 24px;
  margin-top: 48px;
  text-align: center;
}
.stiluri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.stil-card input { display: none; }
.stil-card { cursor: pointer; }
.stil-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 20px 12px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  background: var(--alb);
  transition: all 0.2s;
  text-align: center;
}
.stil-card:hover .stil-inner {
  border-color: var(--purple-l);
  background: #faf8ff;
}
.stil-card input:checked + .stil-inner {
  border-color: var(--purple);
  background: #f5f3ff;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.stil-emoji { font-size: 28px; }
.stil-name { font-weight: 700; font-size: 13px; color: var(--negru); }
.stil-desc { color: var(--gri); font-size: 11px; }

.btn-genereaza {
  width: 100%;
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(124,58,237,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}
.btn-genereaza:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(124,58,237,0.5); }
.btn-genereaza:disabled { background: #d1d5db; box-shadow: none; cursor: not-allowed; transform: none; }

/* ── LOADING ─────────────────────────────── */
.loading-section {
  text-align: center;
  padding: 80px 24px;
  max-width: 400px;
  margin: 0 auto;
}
.spinner-wrap {
  position: relative;
  width: 64px; height: 64px;
  margin: 0 auto 28px;
}
.spinner {
  width: 64px; height: 64px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.spinner-ring {
  position: absolute;
  inset: 6px;
  border: 2px solid transparent;
  border-bottom-color: var(--blue-l);
  border-radius: 50%;
  animation: spin 1.5s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--negru);
  margin-bottom: 8px;
}
.loading-section p { color: var(--gri); font-size: 15px; }

/* ── REZULTAT ────────────────────────────── */
.rezultat-section { margin-top: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.rezultat-section h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--negru);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.01em;
}
.comparatie {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.comp-item { flex: 1; text-align: center; }
.comp-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gri);
  font-weight: 600;
  margin-bottom: 10px;
}
.comp-item img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 360px;
}
.comp-divider {
  font-size: 32px;
  color: var(--purple-l);
  align-self: center;
  flex-shrink: 0;
}
.actiuni {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-descarca {
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
  transition: transform 0.2s;
}
.btn-descarca:hover { transform: translateY(-2px); }
.btn-nou {
  background: transparent;
  color: var(--negru);
  border: 2px solid #e5e7eb;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-nou:hover { border-color: var(--purple); color: var(--purple); }

/* ── EROARE ──────────────────────────────── */
.eroare-section { max-width: 480px; margin: 32px auto 0; }
.eroare-box {
  background: var(--alb);
  border: 1px solid #fca5a5;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.eroare-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.eroare-box p { color: var(--gri); margin-bottom: 20px; font-size: 15px; }
.btn-retry {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}
.btn-retry:hover { opacity: 0.9; }
.btn-nou-mic {
  background: transparent;
  color: var(--gri);
  border: 1px solid #e5e7eb;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-nou-mic:hover { border-color: var(--gri); color: var(--negru); }

/* ── CTA FINAL ───────────────────────────── */
.cta-section {
  background: var(--grad);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  letter-spacing: -0.02em;
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  margin-bottom: 36px;
  position: relative;
}
.btn-white {
  background: #fff;
  color: var(--purple);
  text-decoration: none;
  display: inline-block;
  padding: 18px 48px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.25); }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--dark);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
footer .logo { margin-bottom: 8px; }
footer p {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

/* ── ANIMATII ────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 640px) {
  .stat { padding: 20px 24px; }
  .compare-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; align-items: stretch; }
  .step-card { max-width: 100%; }
  .step-arrow { transform: rotate(90deg); text-align: center; }
  .comparatie { flex-direction: column; }
  .comp-divider { transform: rotate(90deg); text-align: center; }
  .stiluri-grid { grid-template-columns: repeat(2, 1fr); }
  nav .nav-cta { font-size: 12px; padding: 8px 16px; }
}

@media (max-width: 480px) {
  .stiluri-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 32px; }
}