
:root {
  --bg: #07111f;
  --bg-2: #0b1729;
  --surface: rgba(255,255,255,.065);
  --surface-2: #f5f7fb;
  --text: #0f172a;
  --muted: #667085;
  --white: #ffffff;
  --line: rgba(255,255,255,.12);
  --blue: #4f7cff;
  --cyan: #46d7ff;
  --purple: #7a5cff;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(5, 15, 35, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.section { padding: 112px 0; position: relative; }
.section-soft { background: #f6f8fc; }
.section-dark { background: var(--bg); color: var(--white); }

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .14;
  z-index: -1;
}
.orb-1 { background: var(--blue); top: -120px; right: -80px; }
.orb-2 { background: var(--purple); bottom: -150px; left: -120px; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: .3s ease;
}
.site-header.scrolled {
  background: rgba(7,17,31,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; gap: 12px; align-items: center; color: #fff; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 20px;
  background: linear-gradient(135deg,var(--cyan),var(--blue),var(--purple));
  box-shadow: 0 10px 30px rgba(79,124,255,.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 15px; letter-spacing: .2px; }
.brand-text small { font-size: 10px; opacity: .62; margin-top: 4px; text-transform: uppercase; letter-spacing: 1.4px; }

.main-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.78); }
.main-nav a { font-size: 14px; transition: .25s; }
.main-nav a:hover { color: #fff; }
.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span {
  display:block; width:24px; height:2px; background:#fff;
  margin:5px 0; transition:.25s;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 130px;
  background:
    radial-gradient(circle at 65% 35%, rgba(73,122,255,.17), transparent 35%),
    linear-gradient(135deg, #07111f 0%, #091629 50%, #0c1324 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.9px;
  color: var(--blue);
  margin-bottom: 18px;
}
.hero .eyebrow, .section-dark .eyebrow { color: #7fb7ff; }
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -4px;
  max-width: 780px;
}
.hero h1 span {
  background: linear-gradient(90deg, #fff, #8adfff 35%, #8a74ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy > p {
  color: rgba(255,255,255,.68);
  font-size: 18px;
  max-width: 640px;
  margin: 26px 0 0;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: .25s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg,var(--blue),var(--purple));
  box-shadow: 0 14px 36px rgba(79,124,255,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(79,124,255,.4); }
.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
}
.btn-secondary:hover { background: rgba(255,255,255,.09); }

.hero-meta {
  display: flex;
  gap: 34px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-meta div { display:flex; flex-direction:column; }
.hero-meta strong { font-size: 14px; }
.hero-meta span { color: rgba(255,255,255,.46); font-size: 12px; margin-top: 3px; }

.hero-visual { min-width: 0; }
.visual-card {
  height: 560px;
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(79,124,255,.22), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: inset 0 0 50px rgba(255,255,255,.025), 0 30px 100px rgba(0,0,0,.3);
}
.visual-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}
.glow-ring {
  position:absolute; left:50%; top:50%;
  border:1px solid rgba(88,174,255,.35);
  border-radius:50%;
  transform:translate(-50%,-50%);
  animation: floatRing 7s ease-in-out infinite;
}
.ring-a { width:160px;height:160px; }
.ring-b { width:280px;height:280px; animation-delay:-2s; }
.ring-c { width:410px;height:410px; animation-delay:-4s; }
.core {
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:130px;height:130px;border-radius:50%;
  padding:1px;
  background:linear-gradient(135deg,#52e3ff,#4f7cff,#8a5cff);
  box-shadow:0 0 70px rgba(79,124,255,.5);
}
.core-inner {
  height:100%; border-radius:50%;
  display:grid; place-items:center;
  background:#0b1527;
  font-weight:800; font-size:32px;
  letter-spacing:2px;
}
.data-chip {
  position:absolute;
  display:flex; align-items:center; gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(7,17,31,.82);
  border:1px solid rgba(255,255,255,.1);
  font-size:12px; color:rgba(255,255,255,.78);
  backdrop-filter:blur(12px);
}
.data-chip span { width:7px;height:7px;border-radius:50%;background:#65d8ff;box-shadow:0 0 14px #65d8ff; }
.chip-1 { top:20%; left:8%; }
.chip-2 { right:7%; top:48%; }
.chip-3 { left:16%; bottom:16%; }
@keyframes floatRing {
  0%,100% { transform:translate(-50%,-50%) scale(1); opacity:.7; }
  50% { transform:translate(-50%,-50%) scale(1.035); opacity:1; }
}

.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading h2, .tech-copy h2, .mission-card h2, .contact-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -2px;
}
.section-heading p, .tech-copy p, .contact-copy > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.section-dark .tech-copy p { color: rgba(255,255,255,.62); }

.about-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
}
.info-card, .service-card {
  background:#fff;
  border:1px solid #e7ebf2;
  border-radius:var(--radius);
  padding:30px;
  box-shadow:0 12px 40px rgba(15,23,42,.05);
  transition:.3s;
}
.info-card:hover, .service-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.icon-box {
  width:48px;height:48px;border-radius:15px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#eef3ff,#f2efff);
  color:var(--blue); font-size:22px;
}
.info-card h3, .service-card h3 { margin:20px 0 10px; font-size:20px; }
.info-card p, .service-card p { margin:0; color:var(--muted); font-size:14px; }

.split-panel {
  margin-top:24px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:60px;
  background:#0b1729;
  color:#fff;
  border-radius:32px;
  padding:46px;
}
.split-panel h3 { margin:0; font-size:30px; line-height:1.15; }
.split-panel p { margin:0; color:rgba(255,255,255,.62); }

.services-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.service-card { min-height:250px; position:relative; overflow:hidden; }
.service-card::after {
  content:"";
  position:absolute; width:140px;height:140px;border-radius:50%;
  right:-50px; bottom:-60px;
  background:radial-gradient(circle,rgba(79,124,255,.14),transparent 70%);
}
.service-number { font-size:12px; font-weight:800; color:var(--blue); letter-spacing:1px; }

.tech-grid {
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:80px;
  align-items:center;
}
.check-list {
  list-style:none; padding:0; margin:34px 0 0;
  display:grid; grid-template-columns:1fr 1fr; gap:16px;
}
.check-list li {
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.035);
  border-radius:14px;
  color:rgba(255,255,255,.82);
  font-size:14px;
}
.check-list li::before { content:"✓"; margin-right:10px; color:#61d7ff; }

.tech-board {
  height:480px;
  border-radius:32px;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(79,124,255,.2), transparent 30%);
  background-size:36px 36px,36px 36px,auto;
  border:1px solid rgba(255,255,255,.1);
}
.board-core {
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:110px;height:110px;border-radius:28px;
  display:grid;place-items:center;text-align:center;
  font-weight:800; letter-spacing:2px; line-height:1.05;
  background:linear-gradient(145deg,#193866,#121d34);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 0 60px rgba(79,124,255,.28);
}
.board-node {
  position:absolute;
  padding:11px 14px;
  border-radius:12px;
  background:#0d1a2f;
  border:1px solid rgba(255,255,255,.1);
  font-size:12px;
  color:rgba(255,255,255,.72);
}
.node-a { left:12%; top:20%; }
.node-b { right:11%; top:25%; }
.node-c { left:16%; bottom:20%; }
.node-d { right:14%; bottom:18%; }
.board-line { position:absolute; left:50%; top:50%; height:1px; background:linear-gradient(90deg,transparent,#57c9ff,transparent); transform-origin:left; opacity:.45; }
.line-1 { width:260px; transform:rotate(34deg); }
.line-2 { width:260px; transform:rotate(-34deg); }

.mission { background:#fff; }
.mission-card {
  text-align:center;
  max-width:920px;
  margin:0 auto;
  padding:70px 50px;
  border-radius:36px;
  background:linear-gradient(135deg,#f7f9ff,#f4f2ff);
  border:1px solid #e9edf5;
}
.mission-card p { max-width:720px;margin:20px auto 0;color:var(--muted);font-size:17px; }

.contact-grid {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:start;
}
.contact-list { margin-top:34px; display:grid; gap:12px; }
.contact-list a {
  display:flex; align-items:center; gap:14px;
  background:#fff; border:1px solid #e7ebf2;
  padding:16px; border-radius:16px;
}
.contact-icon {
  width:42px;height:42px;border-radius:13px;
  display:grid;place-items:center;
  background:#eef3ff;color:var(--blue);
}
.contact-list span:last-child { display:flex;flex-direction:column; }
.contact-list small { color:var(--muted); font-size:11px; }
.contact-list strong { font-size:14px; }

.contact-form {
  background:#fff;
  border:1px solid #e6eaf1;
  border-radius:28px;
  padding:30px;
  box-shadow:0 18px 60px rgba(15,23,42,.07);
}
.form-row { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.contact-form label { display:grid;gap:8px;font-size:13px;font-weight:700;margin-bottom:16px; }
.contact-form input,.contact-form textarea {
  width:100%; border:1px solid #dfe5ee; border-radius:13px;
  padding:13px 14px; color:var(--text); background:#fbfcfe; outline:none;
}
.contact-form input:focus,.contact-form textarea:focus { border-color:#7d9cff; box-shadow:0 0 0 4px rgba(79,124,255,.08); }
.form-note { margin:13px 0 0;color:var(--muted);font-size:11px; }

.site-footer {
  background:#07111f; color:rgba(255,255,255,.65);
  padding:70px 0 24px;
}
.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.2fr;
  gap:40px;
}
.footer-brand { margin-bottom:16px; }
.footer-grid h4 { color:#fff; font-size:13px; margin:0 0 15px; }
.footer-grid > div:not(:first-child) { display:flex; flex-direction:column; gap:10px; }
.footer-grid a { font-size:13px; }
.footer-grid a:hover { color:#fff; }
.footer-grid p { font-size:13px; }
.footer-bottom {
  margin-top:46px;padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;justify-content:space-between;gap:20px;
  font-size:12px;
}

.legal-page {
  min-height:100vh;
  padding:140px 0 80px;
  background:#f7f9fc;
}
.legal-wrap {
  max-width:900px;
  background:#fff;
  border:1px solid #e7ebf2;
  border-radius:28px;
  padding:46px;
  box-shadow:0 24px 70px rgba(15,23,42,.08);
}
.legal-wrap h1 { font-size:42px;letter-spacing:-1.5px;line-height:1.1;margin:0 0 8px; }
.legal-wrap .updated { color:var(--muted);font-size:13px;margin-bottom:34px; }
.legal-wrap h2 { margin:34px 0 10px;font-size:22px; }
.legal-wrap p,.legal-wrap li { color:#556070; }
.legal-wrap a { color:var(--blue); }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  .hero-grid,.tech-grid,.contact-grid { grid-template-columns:1fr; gap:50px; }
  .hero { min-height:auto; }
  .hero-visual { max-width:680px; width:100%; margin:0 auto; }
  .visual-card { height:500px; }
  .about-grid { grid-template-columns:1fr; }
  .split-panel { grid-template-columns:1fr; gap:20px; }
  .footer-grid { grid-template-columns:1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column:1/-1; }
}

@media (max-width: 760px) {
  .container { width:min(100% - 28px,1180px); }
  .section { padding:78px 0; }
  .nav-wrap { height:72px; }
  .menu-toggle { display:block; }
  .main-nav {
    position:absolute;
    top:72px; left:14px; right:14px;
    padding:18px;
    border-radius:18px;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    background:rgba(7,17,31,.97);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 20px 50px rgba(0,0,0,.28);
    opacity:0; visibility:hidden; transform:translateY(-8px);
    transition:.25s;
  }
  .main-nav.open { opacity:1; visibility:visible; transform:none; }
  .main-nav a { padding:11px 10px; }
  .nav-cta { text-align:center; }
  .hero { padding-top:110px; }
  .hero h1 { font-size:clamp(42px,14vw,62px); letter-spacing:-2.8px; }
  .hero-copy > p { font-size:16px; }
  .hero-meta { gap:18px; justify-content:space-between; }
  .hero-meta div { flex:1; }
  .visual-card { height:420px; border-radius:28px; }
  .ring-c { width:330px;height:330px; }
  .ring-b { width:230px;height:230px; }
  .chip-1 { left:4%;top:14%; }
  .chip-2 { right:3%;top:50%; }
  .chip-3 { left:7%;bottom:11%; }
  .services-grid { grid-template-columns:1fr; }
  .service-card { min-height:unset; }
  .check-list { grid-template-columns:1fr; }
  .tech-board { height:390px; }
  .mission-card { padding:46px 22px; border-radius:28px; }
  .form-row { grid-template-columns:1fr; }
  .contact-form { padding:22px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > div:first-child,.footer-grid > div:last-child { grid-column:1/-1; }
  .footer-bottom { flex-direction:column; }
  .legal-wrap { padding:28px 20px; border-radius:22px; }
  .legal-wrap h1 { font-size:34px; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width:100%; }
  .hero-meta { display:grid;grid-template-columns:1fr;gap:12px; }
  .visual-card { height:360px; }
  .ring-c { width:285px;height:285px; }
  .ring-b { width:205px;height:205px; }
  .core { width:105px;height:105px; }
  .data-chip { font-size:10px; padding:8px 10px; }
  .split-panel { padding:28px 22px; border-radius:24px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > div:first-child,.footer-grid > div:last-child { grid-column:auto; }
}
