:root {
  --navy: #0a1a33;
  --navy-2: #10264a;
  --brand: #1b6fb5;
  --brand-dark: #155690;
  --accent: #3aa8ff;
  --ink: #142033;
  --body: #3d4a5c;
  --muted: #6b778a;
  --line: #e3e8ef;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --max: 1180px;
  --shadow: 0 10px 30px rgba(10, 26, 51, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, p, td, li { overflow-wrap: anywhere; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 16px; letter-spacing: .5px; }
.brand-text small { font-size: 10.5px; color: var(--muted); letter-spacing: .3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-size: 15px; }
.nav a:hover { color: var(--brand); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: 13px; }
.nav .lang:hover { border-color: var(--brand); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(58, 168, 255, .22), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(27, 111, 181, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #c9d6ea;
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--accent);
  border: 1px solid rgba(58, 168, 255, .4); border-radius: 999px; padding: 4px 14px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: 46px; margin: 0 0 18px; letter-spacing: 1px; }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: 18px; margin: 0 0 12px; max-width: 560px; }
.hero .company-en { font-size: 14px; color: #8fa3c2; margin: 0 0 34px; letter-spacing: .3px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 8px; font-weight: 600; font-size: 15px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }

/* hero illustration */
.hero-art { position: relative; width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: 1; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-art .orbit { transform-origin: 240px 240px; animation: spin 60s linear infinite; }
.hero-art .tag {
  position: absolute; white-space: nowrap; font-size: 13px; color: #dbe7f7;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(16, 38, 74, .75); border: 1px solid rgba(58, 168, 255, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-art .t1 { left: 27%; top: 27%; transform: translate(-50%, -150%); }
.hero-art .t2 { left: 73%; top: 27%; transform: translate(-50%, -150%); }
.hero-art .t3 { left: 73%; top: 73%; transform: translate(-50%, 60%); }
.hero-art .t4 { left: 27%; top: 73%; transform: translate(-50%, 60%); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .orbit { animation: none; } }

/* ---------- facts strip ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.fact strong { font-size: 17px; color: var(--ink); letter-spacing: .5px; }

/* ---------- sections ---------- */
section { padding: 100px 0; }
section.alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; letter-spacing: 3px; color: var(--brand); font-weight: 600; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: 34px; margin: 0 0 16px; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }

/* about */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about > * { min-width: 0; }
.about-text p { margin: 0 0 18px; }
.values { display: grid; gap: 18px; }
.value {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.value h3 { margin: 0 0 4px; font-size: 18px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(27, 111, 181, .12), rgba(58, 168, 255, .12)); color: var(--brand);
}
.icon svg { width: 24px; height: 24px; }

/* services */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 22px 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* product */
.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.product > * { min-width: 0; }
.product-visual { position: relative; }
.product-visual > img { border-radius: 20px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product-badge {
  position: absolute; left: -20px; bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 16px; padding: 14px 20px 14px 14px; box-shadow: var(--shadow);
}
.product-badge img { width: 56px; height: 56px; border-radius: 13px; }
.product-badge strong { display: block; color: var(--ink); font-size: 17px; }
.product-badge span { font-size: 13px; color: var(--muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 32px 0; }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.feature .icon { width: 40px; height: 40px; border-radius: 10px; }
.feature .icon svg { width: 20px; height: 20px; }
.feature h4 { margin: 0 0 2px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.platforms { display: flex; gap: 10px; flex-wrap: wrap; }
.platforms span { font-size: 13px; padding: 5px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 30px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 34px; font-weight: 700; color: transparent;
  -webkit-text-stroke: 1px var(--brand); margin-bottom: 8px; letter-spacing: 1px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* company info */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.info { width: 100%; border-collapse: collapse; }
table.info th, table.info td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: 0; }
table.info th { width: 210px; color: var(--muted); font-weight: 500; white-space: nowrap; background: #fafbfd; }
table.info td { color: var(--ink); }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact > * { min-width: 0; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card.wide { grid-column: 1 / -1; }
.contact-card h3 { margin: 16px 0 4px; font-size: 15px; color: var(--muted); font-weight: 500; }
.contact-card p { margin: 0; color: var(--ink); font-size: 16px; font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #8fa3c2; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding: 72px 0 48px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-text small { color: #8fa3c2; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #b7c5da; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}

/* ---------- legal / simple pages ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #8fa3c2; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: 34px; margin: 0 0 6px; }
.page-hero p { margin: 0; }
.legal { padding: 64px 0 96px; }
.legal .wrap, .page-hero .wrap { max-width: 860px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p { margin: 0 0 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { gap: 18px; }
}

@media (max-width: 860px) {
  section { padding: 72px 0; }
  .site-header { position: static; }
  .site-header .wrap { height: auto; padding-top: 14px; padding-bottom: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav { flex-wrap: wrap; gap: 6px 18px; }
  .hero { padding: 64px 0 72px; }
  .hero .wrap, .about, .product, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 32px; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { padding-left: 16px; }
  h2 { font-size: 27px; }
  .product-badge { left: 12px; bottom: 12px; }
  table.info th { width: 120px; white-space: normal; padding: 14px; }
  table.info td { padding: 14px; }
}

@media (max-width: 560px) {
  .grid-4, .steps, .features, .contact-cards, .footer-top { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding-left: 0; }
  .fact:nth-child(2) { border-top: 1px solid var(--line); }
  .hero h1 { font-size: 28px; }
  .hero-art .tag { font-size: 11px; padding: 4px 10px; }
}
