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

:root {
  --bg-dark: #0A0F1E;
  --bg-dark-2: #111833;
  --accent: #4F7CFF;
  --accent-2: #8B5CF6;
  --green: #22C55E;
  --white: #FFFFFF;
  --gray: #F4F6FB;
  --line: #E4E8F2;
  --text: #121826;
  --muted: #5B6478;
  --radius: 18px;
  --max: 1120px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.gradient-text {
  background: linear-gradient(90deg, #7FA0FF, #B69CFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Navigație */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 30, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.08rem; white-space: nowrap; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links .cta { background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 999px; }
.nav-links .cta:hover { background: #3E6AF0; }
@media (max-width: 760px) { .nav-links li:not(.keep) { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(79,124,255,0.35), transparent 70%),
    radial-gradient(50% 45% at 85% 30%, rgba(139,92,246,0.30), transparent 70%),
    var(--bg-dark);
  padding: 72px 0 0;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pill {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.hero p.lead { margin-top: 18px; font-size: 1.15rem; color: rgba(255,255,255,0.76); max-width: 34em; }
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: #fff; color: #000; padding: 12px 22px; border-radius: 14px; font-weight: 700;
}
.store-btn svg { width: 22px; height: 22px; }
.store-btn small { display: block; font-size: 0.7rem; font-weight: 500; line-height: 1; }
.store-btn span { line-height: 1.1; }
.ghost { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 600; }
.hero-phone { align-self: end; }
.hero-phone img {
  width: 100%; max-width: 330px; margin: 0 auto -1px;
  border: 10px solid #1B2030; border-bottom: 0; border-radius: 48px 48px 0 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 80px rgba(0,0,0,0.55);
  aspect-ratio: 540 / 900; object-fit: cover; object-position: top;
}
@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .hero-phone img { max-width: 280px; }
}

/* Cifre */
.stats { background: var(--bg-dark-2); color: #fff; padding: 28px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats strong { display: block; font-size: 1.9rem; font-weight: 800; }
.stats span { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
@media (max-width: 640px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }

/* Secțiuni */
section.block { padding: 84px 0; }
section.block.alt { background: var(--gray); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.01em; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(79,124,255,0.14), rgba(139,92,246,0.14)); margin-bottom: 16px;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; }
.shots img { width: 240px; flex: 0 0 auto; border-radius: 22px; scroll-snap-align: center; box-shadow: 0 16px 40px rgba(10,15,30,0.18); }

.steps { counter-reset: step; display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

.cta-band {
  margin: 0 auto; max-width: var(--max); border-radius: 28px; color: #fff; text-align: center; padding: 56px 24px;
  background: radial-gradient(60% 80% at 20% 0%, rgba(79,124,255,0.45), transparent 70%), radial-gradient(60% 80% at 90% 100%, rgba(139,92,246,0.45), transparent 70%), var(--bg-dark);
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,0.75); margin: 10px 0 26px; }

footer { background: var(--bg-dark); color: rgba(255,255,255,0.6); padding: 44px 0; font-size: 0.9rem; margin-top: 84px; }
footer .wrap { display: grid; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
footer a:hover { color: #fff; }

/* Articole și pagini de text */
.page-hero { background: var(--bg-dark); color: #fff; padding: 56px 0 44px; }
.page-hero .crumbs { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.page-hero .crumbs a { color: rgba(255,255,255,0.8); text-decoration: none; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.12; max-width: 820px; letter-spacing: -0.01em; }
.page-hero p { margin-top: 14px; color: rgba(255,255,255,0.72); max-width: 720px; font-size: 1.08rem; }
.prose { max-width: 760px; margin: 0 auto; padding: 48px 20px 0; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; line-height: 1.25; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 1.04rem; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0 12px 22px; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.98rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--gray); }
.prose .source { color: var(--muted); font-size: 0.9rem; }
.note { background: var(--gray); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; margin: 22px 0; }
.signs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; }
.signs figure { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.signs img { width: 100%; }
.signs figcaption { padding: 10px 12px; font-size: 0.92rem; font-weight: 600; }
.article-list { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; padding: 48px 20px 0; }
.article-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.article-card:hover { border-color: var(--accent); }
.article-card h2 { font-size: 1.2rem; }
.article-card p { color: var(--muted); margin-top: 6px; }
.app-box { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 36px 0 0; }
.app-box img { width: 56px; height: 56px; border-radius: 13px; }
.app-box p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.app-box strong { color: var(--text); display: block; }

/* Formular de contact */
form.contact { display: grid; gap: 8px; margin-top: 8px; }
form.contact label { font-weight: 600; margin-top: 10px; }
form.contact input, form.contact textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; width: 100%;
}
form.contact input:focus, form.contact textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
form.contact button {
  margin-top: 16px; justify-self: start; font: inherit; font-weight: 700; color: #fff; cursor: pointer;
  background: var(--accent); border: 0; border-radius: 999px; padding: 12px 26px;
}
form.contact button:hover { background: #3E6AF0; }
