/* ===== Design tokens ===== */
:root {
  --navy: #0F1B2D;
  --navy-2: #16243a;
  --blue: #1E63E9;
  --blue-2: #1F8BD6;
  --cyan: #22D3C5;
  --ink: #0F1B2D;
  --muted: #5A6A80;
  --line: #E5EAF1;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FC;
  --grad: linear-gradient(120deg, #1E63E9 0%, #1F8BD6 55%, #22D3C5 100%);
  --radius: 16px;
  --shadow: 0 18px 40px -20px rgba(15, 27, 45, 0.28);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(30, 99, 233, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(30, 99, 233, .8); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-2); color: var(--blue); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 15px; color: #2c3a4f; }
.nav-links a:not(.btn):hover { color: var(--blue); }
/* Language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-left: 18px; }
.lang-switch a {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  color: var(--muted); padding: 7px 13px; transition: .2s; text-decoration: none;
}
.lang-switch a:hover { color: var(--blue); }
.lang-switch a.active { background: var(--grad); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-left: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 70% at 80% -10%, rgba(34,211,197,.16), transparent 60%),
    radial-gradient(50% 60% at 8% 0%, rgba(30,99,233,.14), transparent 55%);
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 620px; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 14px; color: var(--muted); }

/* ===== Strip ===== */
.strip { background: var(--navy); color: #cdd9ea; text-align: center; padding: 22px 0; }
.strip p { font-size: 16px; font-weight: 500; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue-2); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.5px; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ===== Cards ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(30,99,233,.12), rgba(34,211,197,.14)); color: var(--blue); margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-line { border-top: 3px solid transparent; border-image: var(--grad) 1; }

/* ===== Split (expertiză) ===== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split-text h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 18px; letter-spacing: -.5px; }
.split-text > p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 700;
}
.split-visual { display: grid; place-items: center; }
.glass-card {
  width: 100%; max-width: 420px; background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-radius: 22px; padding: 34px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.06);
}
.pulse-line svg { width: 100%; height: 90px; }
.glass-meta { color: #aebfd6; font-size: 14px; font-weight: 500; margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,197,.18); }

/* ===== Tech grid ===== */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tech {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 12px; text-align: center; font-weight: 700; font-size: 16px; color: var(--navy);
  transition: .2s;
}
.tech:hover { color: var(--blue); border-color: var(--blue-2); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ===== Steps ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { padding: 28px 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.step-num { font-size: 14px; font-weight: 800; letter-spacing: 1px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 18px; margin: 10px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ===== CTA ===== */
.cta { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.5px; }
.cta p { color: #b9c7dc; font-size: 18px; margin: 16px 0 30px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.cta .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ===== Footer ===== */
.site-footer { background: #0b1422; color: #9fb0c7; padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-cols h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .5px; }
.footer-cols a { display: block; font-size: 14.5px; margin-bottom: 9px; }
.footer-cols a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 22px; font-size: 13.5px; color: #6f819a; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    padding: 22px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .cards-3, .steps, .split, .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr; }
}
