:root {
  --bg: #0b1220;
  --bg-2: #0f1830;
  --surface: #ffffff;
  --surface-alt: #f5f7fb;
  --text: #1a2233;
  --text-soft: #52607a;
  --text-invert: #eaf0ff;
  --muted: #8a97b1;
  --brand: #0078d4;
  --brand-2: #00a99d;
  --brand-dark: #106ebe;
  --border: #e6ebf4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(16, 32, 70, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 32, 70, 0.18);
  --maxw: 1120px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); font-size: 1.25rem; letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand-logo { border-radius: 8px; }
.nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; align-items: center; }
.nav-menu a { color: var(--text-soft); font-weight: 500; }
.nav-menu a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; transition: .25s; }

.lang-switch { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.lang-switch button { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .9rem; color: var(--text-soft); padding: 4px 6px; border-radius: 6px; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(0, 120, 212, .32); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--brand); border-color: #cfe0f5; }
.btn-ghost:hover { background: #eef5ff; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 520px at 80% -15%, #d8ecff 0%, #f1f8ff 42%, #ffffff 78%);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding: clamp(64px, 12vw, 128px) 0 clamp(72px, 12vw, 132px);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
  color: var(--brand); margin: 0 0 14px;
}
.hero-title { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; margin-bottom: 18px; color: var(--brand); }
.hero-title span { color: var(--brand-2); }
.hero-sub { font-size: clamp(1.05rem, 2.3vw, 1.25rem); color: var(--text-soft); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 0; margin: 0; color: var(--text-soft); font-size: .95rem; }
.hero-glow {
  position: absolute; right: -8%; top: -18%; width: 560px; height: 560px; z-index: 1;
  background: radial-gradient(circle, rgba(0,169,157,.16), transparent 62%);
  filter: blur(10px); pointer-events: none;
}

/* Sections */
.section { padding: clamp(60px, 9vw, 104px) 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-lead { color: var(--text-soft); font-size: 1.1rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-featured { border-color: rgba(0,120,212,.35); box-shadow: 0 18px 44px rgba(0,120,212,.16); }
.card-icon {
  width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(0,120,212,.12), rgba(0,169,157,.12));
  border-radius: 14px; margin-bottom: 16px;
}
.card h3 { font-size: 1.25rem; }
.card p { color: var(--text-soft); margin: 0; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; padding: 0; margin: 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-soft); margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about-grid h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.about-grid p { color: var(--text-soft); }
.muted { color: var(--muted); font-size: .92rem; }
.facts { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.facts li:last-child { border-bottom: 0; }
.fact-k { color: var(--muted); font-weight: 500; }
.fact-v { font-weight: 600; text-align: right; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface-alt); border: 1px solid var(--border); }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--text-soft); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-grid h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--text-soft); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; color: var(--text); background: #fbfcff; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,120,212,.15); }
.form-note { margin: 12px 0 0; font-size: .92rem; color: var(--text-soft); min-height: 1.2em; }
.form-note.error { color: #d23b3b; }
.form-note.ok { color: #0a9d6e; }

/* Footer */
.site-footer { background: var(--bg); color: #aeb9d6; padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-invert); font-weight: 800; }
.footer-legal { margin: 0; font-size: .9rem; }
.footer-links { margin: 0; font-size: .9rem; }
.footer-links a { color: #c3cde6; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .steps, .features { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 8px 0;
    transform: translateY(-120%); transition: transform .28s ease; box-shadow: var(--shadow);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li { width: 100%; text-align: center; }
  .nav-menu a { display: block; padding: 14px; }
  .nav-cta { display: inline-block; margin: 8px auto; }
}
@media (max-width: 560px) {
  .cards, .steps, .features { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
