/* ====== Paletă gri (dark) ====== */
/* ====== Paletă & tipografie aliniate cu logo ====== */
:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --card: #141416;
  --stroke: #2a2a2e;
  --text: #eeeae6;
  --muted: #b9b7b4;
  --accent: #d8d6d3;
  --accent-2: #f0efed;
  --shadow: 0 10px 30px rgba(0,0,0,.35);

  --font-display: "Impact", "Bebas Neue", "Anton", "Oswald", "Arial Narrow",
                  ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  /* Textură foarte discretă pe fundalul întregii pagini */
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px, 32px 32px;
  background-position: 0 0, 8px 12px;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { width: min(1100px, 92%); margin: 0 auto; }

/* ====== Nav ====== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,11,12,0.8); backdrop-filter: blur(8px); border-bottom: 1px solid var(--stroke); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.brand { font-weight: 800; letter-spacing: .5px; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: .55rem; }
.brand.foot { font-size: 1.1rem; }
.logo-mark { display: inline-block; }
.logo-text { letter-spacing: .3px; font-family: var(--font-display); }
.menu { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--text); text-decoration: none; padding: .6rem .8rem; border-radius: .6rem; position: relative; }
.menu a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px; background: transparent; transition: 240ms; }
.menu a:hover::after, .menu a.active::after { background: var(--accent); }

.hamburger { display: none; background: transparent; border: 0; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 200ms; }

/* ====== Hero ====== */
.hero { position: relative; display: grid; place-items: center; min-height: 70vh; text-align: center; background: radial-gradient(60% 60% at 50% 20%, rgba(255,255,255,.06), transparent 60%), var(--bg-2); border-bottom: 1px solid var(--stroke); }
.hero .overlay { position: absolute; inset: 0; background: radial-gradient(40% 40% at 50% 0%, rgba(255,255,255,.06), transparent 60%), repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,.012) 2px 3px); pointer-events: none; }
.hero-content { position: relative; padding: 4rem 0; }
.hero h1 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .8px; font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 .6rem; }
.tagline { font-size: 1.1rem; color: var(--accent-2); margin-bottom: .6rem; }
.lead { color: var(--muted); max-width: 58ch; margin: 0 auto 1.2rem; }
.cta { display: flex; gap: .8rem; justify-content: center; }

/* Decorative hero background */
.hero-bg { position: fixed; inset: -20vmax; z-index: -1; background: radial-gradient(36vmax 36vmax at 30% 20%, rgba(216,214,211,.06), transparent 55%), radial-gradient(42vmax 42vmax at 70% 60%, rgba(240,239,237,.05), transparent 55%); filter: blur(10px); }
/* ====== Layout ====== */
main { padding: 3rem 0 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.card { background: var(--card); border: 1px solid var(--stroke); border-radius: .9rem; padding: 1.2rem; box-shadow: var(--shadow); }
.card.accent { border-color: var(--accent); }

h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; margin: 0 0 .6rem; letter-spacing: .7px; }
h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .6px; margin: 0 0 .25rem; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }
.tiny { font-size: .85rem; }

.check { list-style: none; padding: 0; margin: .4rem 0 0; }
.check li { position: relative; padding-left: 1.4rem; margin: .35rem 0; }
.check li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--accent); }
.list { list-style: none; padding: 0; margin: .6rem 0 1rem; }
.list li { padding: .25rem 0; color: var(--text); }

.btn { display: inline-block; border-radius: .7rem; padding: .72rem 1.05rem; background: var(--accent); color: #111; text-decoration: none; font-weight: 900; letter-spacing: .3px; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; box-shadow: 0 10px 24px rgba(0,0,0,.28); }
.btn:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid var(--accent); box-shadow: none; }
.btn.ghost:hover { background: rgba(216,214,211,.09); }
.btn.full { width: 100%; text-align: center; }

/* Plans */
.plan h3 { font-size: 1.2rem; }
.plan .muted { margin: 0 0 .5rem; }

/* Contact */
.form .form-row { display: grid; gap: .35rem; margin-bottom: .7rem; }
.form label { color: var(--accent-2); font-size: .95rem; }
input, textarea, iframe { background: #111214; color: var(--text); border: 1px solid var(--stroke); border-radius: .6rem; padding: .7rem .8rem; font: inherit; }
iframe { width: 100%; min-height: 480px; display: block; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216,214,211,.15); }
.status { min-height: 1.2rem; margin-top: .4rem; color: var(--accent-2); }
.hint { margin-top: .6rem; }

/* Footer */
.footer { border-top: 1px solid var(--stroke); background: #0e0e0f; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; align-items: center; padding: 1.2rem 0 .6rem; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; gap: .8rem; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }

/* ====== SPA pages ====== */
.page[hidden] { display: none !important; }

/* ====== Animations ====== */
.reveal { opacity: 0; transform: translateY(10px); animation: fadeUp .7s ease forwards; }
.reveal.delay-1 { animation-delay: .12s; }
.reveal.delay-2 { animation-delay: .22s; }
.reveal.delay-3 { animation-delay: .32s; }

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

/* Smooth page transition */
.fade-page-enter { animation: pageIn .35s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ====== WhatsApp FAB ====== */
.fab-whatsapp { position: fixed; right: 20px; bottom: 20px; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #1a1a1c; color: var(--text); border: 1px solid var(--stroke); box-shadow: var(--shadow); text-decoration: none; transition: transform .15s ease, background .2s ease; z-index: 60; }
.fab-whatsapp:hover { transform: translateY(-2px); background: #242428; }
.fab-whatsapp:focus { outline: none; box-shadow: 0 0 0 3px rgba(158,158,158,.25); }

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .logo-mark { width: 64px; height: 64px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .menu { position: absolute; right: 4%; top: 64px; background: rgba(22,22,24,.98); border: 1px solid var(--stroke); border-radius: .8rem; padding: .6rem; display: none; flex-direction: column; width: 76vw; box-shadow: var(--shadow); }
  .menu.show { display: flex; }
  .hamburger { display: inline-block; }
}
