:root {
  --bg: #07111f;
  --bg-soft: #0a1524;
  --surface: #0d1828;
  --surface-2: #121f33;
  --surface-3: #192942;
  --text: #f7f9fc;
  --muted: #9daabc;
  --muted-2: #718197;
  --primary: #5b7cfa;
  --primary-2: #7e97ff;
  --teal: #2dd4bf;
  --gold: #f7c65b;
  --danger: #ff7d8a;
  --border: rgba(157, 170, 188, .16);
  --border-strong: rgba(157, 170, 188, .28);
  --shadow: 0 22px 70px rgba(1, 7, 18, .32);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(91, 124, 250, .12), transparent 26%),
    radial-gradient(circle at 88% 22%, rgba(45, 212, 191, .08), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header { max-width: 760px; margin-bottom: 42px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--teal); text-transform: uppercase; letter-spacing: .14em;
  font-size: .75rem; font-weight: 800; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6.4vw, 5.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.02em; }
p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(1.04rem, 1.6vw, 1.26rem); max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 17, 31, .82); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(157,170,188,.10);
}
.navbar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 220px; height: 44px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--muted); padding: 10px 11px; border-radius: 10px; font-size: .93rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.05); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 19px; border-radius: 13px; border: 1px solid transparent;
  font-weight: 800; font-size: .94rem; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #6f8cff); color: #fff; box-shadow: 0 12px 34px rgba(91,124,250,.25); }
.btn-secondary { border-color: var(--border-strong); background: rgba(255,255,255,.03); color: var(--text); }
.btn-ghost { color: var(--muted); }
.btn-sm { min-height: 42px; padding-inline: 15px; font-size: .88rem; }

.hero { padding: 88px 0 74px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 span { color: var(--primary-2); }
.hero-copy > p { margin-top: 24px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(45,212,191,.11); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 12% 6% -4% 10%; background: linear-gradient(135deg, rgba(91,124,250,.25), rgba(45,212,191,.12)); filter: blur(64px); z-index: -1; }
.hero-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow); }

.trust-strip { border-block: 1px solid var(--border); background: rgba(255,255,255,.018); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 22px 18px; text-align: center; border-right: 1px solid var(--border); color: var(--muted); font-weight: 750; font-size: .91rem; }
.trust-item:last-child { border-right: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }

.card {
  background: linear-gradient(180deg, rgba(18,31,51,.96), rgba(13,24,40,.96));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: 0 18px 48px rgba(2,8,20,.16);
}
.card:hover { border-color: rgba(91,124,250,.34); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; background: rgba(91,124,250,.12); color: var(--primary-2); display: grid; place-items: center; margin-bottom: 20px; }
.icon-box img { width: 27px; height: 27px; }
.card h3 + p { margin-top: 12px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--text); font-weight: 780; font-size: .92rem; }
.card-link::after { content: "→"; color: var(--teal); }

.feature-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 27px; color: var(--muted); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 900; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 34px; }
.panel-soft { background: linear-gradient(135deg, rgba(91,124,250,.08), rgba(45,212,191,.05)); }

.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 30px; }
.stat { padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.025); }
.stat strong { display: block; font-size: 1.25rem; }
.stat span { color: var(--muted); font-size: .84rem; }

.work-card { overflow: hidden; padding: 0; }
.work-card .work-media { aspect-ratio: 16/9; background: var(--surface-3); border-bottom: 1px solid var(--border); }
.work-card .work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-card .work-body { padding: 26px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: .78rem; font-weight: 700; }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: rgba(45,212,191,.09); border: 1px solid rgba(45,212,191,.18); color: #7ce9dc; font-size: .76rem; font-weight: 800; }

.process { counter-reset: step; display: grid; gap: 14px; }
.process-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.018); }
.process-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(91,124,250,.12); color: var(--primary-2); font-weight: 900; }
.process-step h3 { font-size: 1.05rem; }
.process-step p { margin-top: 6px; font-size: .92rem; }

.page-hero { padding: 78px 0 62px; }
.page-hero .page-hero-inner { max-width: 860px; }
.page-hero p { margin-top: 22px; font-size: 1.15rem; }
.breadcrumb { display: flex; gap: 8px; color: var(--muted-2); font-size: .82rem; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--text); }

.company-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.fact { padding: 18px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.fact span { display: block; color: var(--muted-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.fact strong { display: block; margin-top: 6px; font-size: .96rem; overflow-wrap: anywhere; }

.notice { padding: 18px 20px; border-left: 3px solid var(--teal); background: rgba(45,212,191,.06); border-radius: 0 14px 14px 0; color: var(--muted); }
.notice strong { color: var(--text); }

.timeline { display: grid; gap: 16px; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.timeline-item time { color: var(--teal); font-weight: 850; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text); background: var(--surface-2); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.cta { padding: 38px; border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(91,124,250,.18), rgba(45,212,191,.10)); border: 1px solid rgba(91,124,250,.24); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta p { margin-top: 10px; max-width: 660px; }
.cta .hero-actions { margin-top: 0; flex-shrink: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1/-1; }
label { font-weight: 750; font-size: .9rem; }
input, textarea, select { width: 100%; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 13px; padding: 13px 14px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91,124,250,.12); }
textarea { min-height: 150px; resize: vertical; }
.form-status { margin-top: 14px; min-height: 24px; font-size: .9rem; }
.form-status.success { color: var(--teal); }
.form-status.error { color: var(--danger); }

.legal { max-width: 900px; }
.legal h2 { font-size: 1.75rem; margin-top: 42px; }
.legal h3 { font-size: 1.2rem; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal .meta { padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.02); margin-bottom: 28px; }

.site-footer { margin-top: 80px; border-top: 1px solid var(--border); background: #050d18; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 38px; padding: 58px 0 42px; }
.footer-brand img { width: 210px; margin-bottom: 18px; }
.footer-brand p { max-width: 380px; }
.footer-col h4 { font-size: .92rem; letter-spacing: 0; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .88rem; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .82rem; }

@media (max-width: 1040px) {
  .nav-links { position: fixed; left: 16px; right: 16px; top: 86px; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: rgba(13,24,40,.98); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-actions .btn { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-visual { max-width: 760px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / span 2; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .section-sm { padding: 50px 0; }
  .hero { padding: 62px 0 52px; }
  .brand img { width: 185px; }
  .grid-2, .grid-3, .grid-4, .form-grid, .company-facts { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .field.full { grid-column: auto; }
  .stat-grid { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; padding: 28px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .navbar { height: 68px; }
  .brand img { width: 165px; }
  h1 { font-size: 2.55rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-col:last-child { grid-column: auto; }
}
