/* Revia - site public (revia.ro). Acelasi limbaj vizual ca aplicatia:
   ink / coral / teal pe fundal cald, accente mono. Static, fara framework. */

:root {
  --ink: #16181d;
  --ink-soft: #2a2e37;
  --coral: #e14b2a;
  --coral-dark: #c0392b;
  --coral-tint: #fdeeea;
  --teal: #0f8a7a;
  --teal-tint: #e8f5f2;
  --bg: #faf8f4;
  --card: #ffffff;
  --line: #e8e4dc;
  --gray-500: #8a8f99;
  --gray-700: #4a4f59;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

.mono { font-family: "IBM Plex Mono", monospace; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 30px; height: 30px; background: var(--ink); color: #fff; border-radius: 8px; display: grid; place-items: center; font-size: 15px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--gray-700); text-decoration: none; }
.nav a:hover { background: #f0ede6; color: var(--ink); }
.nav a.active { background: var(--ink); color: #fff; }
.nav a.cta { background: var(--coral); color: #fff; font-weight: 600; }
.nav a.cta:hover { background: var(--coral-dark); }

/* ---------- hero ---------- */
.hero { padding: 84px 0 40px; }
.eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); max-width: 820px; }
.hero .lead { font-size: 19px; color: var(--gray-700); max-width: 640px; margin: 22px 0 34px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; }
.btn.primary { background: var(--coral); color: #fff; }
.btn.primary:hover { background: var(--coral-dark); }
.btn.ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

.hero-shot { margin: 56px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(22, 24, 29, 0.35); }
.hero-shot img { width: 100%; display: block; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--gray-700); font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 18px; margin: 14px 0 8px; }
.card p { font-size: 14.5px; color: var(--gray-700); }
.card .num { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 600; color: var(--coral-dark); }
.icon-dot { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--coral-tint); }
.icon-dot.teal { background: var(--teal-tint); }

.feature-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding: 34px 0; }
.feature-row.flip { grid-template-columns: 1.25fr 1fr; }
.feature-row .shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px -25px rgba(22, 24, 29, 0.3); }
.feature-row .shot img { width: 100%; display: block; }
.feature-row h3 { font-size: 24px; margin-bottom: 10px; }
.feature-row p { color: var(--gray-700); font-size: 15.5px; margin-bottom: 10px; }
.feature-row ul { margin: 14px 0 0 18px; color: var(--gray-700); font-size: 14.5px; }
.feature-row li { margin-bottom: 6px; }

.check-list { list-style: none; margin-top: 16px !important; margin-left: 0 !important; }
.check-list li { padding-left: 26px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 700; color: var(--coral-dark); }
.step h4 { font-family: "Space Grotesk", sans-serif; font-size: 15.5px; margin: 8px 0 6px; }
.step p { font-size: 13px; color: var(--gray-700); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink); position: relative; }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .price { font-family: "Space Grotesk", sans-serif; font-size: 30px; font-weight: 700; margin: 14px 0 2px; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--gray-500); }
.plan .desc { font-size: 13.5px; color: var(--gray-500); margin-bottom: 18px; }
.plan ul { list-style: none; font-size: 14px; color: var(--gray-700); flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--teal); font-weight: 700; }
.plan .btn { margin-top: 22px; text-align: center; }

.note { font-size: 13px; color: var(--gray-500); margin-top: 26px; max-width: 720px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: 20px; padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); max-width: 560px; }
.cta-band p { color: #b8bcc6; margin-top: 8px; max-width: 520px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; margin-top: 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .col h5 { font-family: "Space Grotesk", sans-serif; font-size: 14px; margin-bottom: 12px; }
.site-footer a { display: block; font-size: 13.5px; color: var(--gray-700); text-decoration: none; margin-bottom: 7px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .fine { width: 100%; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--gray-500); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .plans, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 24px; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block !important; margin-left: auto; }
  .hero { padding-top: 56px; }
  .cta-band { padding: 40px 28px; }
}
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 14px; cursor: pointer; }

/* Login clienți (18.07.2026) — link discret înaintea CTA-ului din meniu */
.nav .login-link {
  font-weight: 600;
  opacity: 0.85;
}
