:root {
  --bg: #080912;
  --bg-soft: #0d0f1a;
  --surface: rgba(18, 20, 34, 0.76);
  --surface-solid: #11131f;
  --line: rgba(255, 255, 255, 0.11);
  --line-bright: rgba(103, 217, 236, 0.28);
  --text: #f3f5f8;
  --muted: #a3a7b5;
  --muted-strong: #c7cad3;
  --cyan: #33e3e6;
  --blue: #4da8f0;
  --violet: #7c6ff0;
  --magenta: #c24dd6;
  --gradient: linear-gradient(100deg, var(--cyan), var(--blue) 38%, var(--violet) 67%, var(--magenta));
  --max-width: 1180px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
svg { display: block; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }
.section { padding: 116px 0; position: relative; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 1000; background: white; color: #070812; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 20px; }
.ambient { position: fixed; pointer-events: none; filter: blur(120px); opacity: .13; border-radius: 50%; z-index: -1; }
.ambient-one { width: 520px; height: 520px; background: var(--blue); top: -260px; right: -120px; }
.ambient-two { width: 420px; height: 420px; background: var(--magenta); bottom: 5%; left: -250px; opacity: .08; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.site-header.scrolled { background: rgba(8, 9, 18, .82); border-color: var(--line); backdrop-filter: blur(18px); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 730; letter-spacing: -.04em; }
.brand img { width: 38px; height: 38px; }
.main-nav { display: flex; align-items: center; gap: 31px; color: var(--muted-strong); font-size: 14px; }
.main-nav a { transition: color .2s; }
.main-nav a:hover { color: white; }
.main-nav .nav-cta { color: white; border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.04); }
.main-nav .nav-cta:hover { border-color: rgba(91, 210, 239, .45); }
.menu-button { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); border-radius: 50%; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-button span { width: 18px; height: 1px; background: white; transition: transform .2s; }

.hero { min-height: 800px; padding-top: 172px; padding-bottom: 56px; display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: 1.07fr .93fr; gap: 70px; align-items: center; }
.eyebrow, .case-tag { display: inline-flex; align-items: center; gap: 9px; color: var(--muted-strong); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; }
.status-dot { width: 7px; height: 7px; background: var(--cyan); box-shadow: 0 0 13px rgba(51,227,230,.8); border-radius: 50%; display: inline-block; flex: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(50px, 6.2vw, 79px); line-height: 1.02; letter-spacing: -.065em; font-weight: 640; margin: 23px 0 25px; max-width: 760px; }
h1 span { background: var(--gradient); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-lead { font-size: 19px; line-height: 1.65; color: var(--muted-strong); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 17px; }
.button { min-height: 50px; padding: 13px 21px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; font-weight: 650; font-size: 14px; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(#11131f, #11131f) padding-box, var(--gradient) border-box; color: white; box-shadow: 0 11px 35px rgba(65, 153, 220, .13); }
.button-primary:hover { box-shadow: 0 15px 42px rgba(65, 153, 220, .24); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.05); }
.microcopy { color: #777d8e; font-size: 13px; }

.hero-system { position: relative; min-height: 500px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero-system::before { content: ""; position: absolute; inset: 8% 2%; border-radius: 50%; background: radial-gradient(circle, rgba(85,102,232,.17), transparent 65%); filter: blur(10px); }
.system-card { position: relative; width: min(100%, 430px); padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,15,26,.88); backdrop-filter: blur(14px); box-shadow: 0 25px 80px rgba(0,0,0,.26); }
.input-card { margin-right: 62px; transform: rotate(-1.2deg); }
.input-card p { color: var(--muted-strong); margin: 9px 0 0; font-size: 15px; line-height: 1.55; }
.system-label { color: #757b8d; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.system-flow { height: 71px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; position: relative; }
.system-flow::before { content: ""; position: absolute; width: 1px; top: 0; bottom: 0; background: linear-gradient(var(--cyan), var(--violet)); opacity: .55; }
.system-flow span { width: 7px; height: 7px; border: 1px solid var(--cyan); border-radius: 50%; background: var(--bg); z-index: 1; }
.system-flow span:last-child { border-color: var(--violet); }
.system-flow i { width: 4px; height: 4px; border-radius: 50%; background: white; box-shadow: 0 0 10px white; z-index: 1; }
.output-card { margin-left: 44px; border-color: var(--line-bright); }
.output-topline { display: flex; justify-content: space-between; align-items: center; }
.live-pill { font-size: 10px; color: #b9f7ed; background: rgba(42,180,157,.1); border: 1px solid rgba(42,180,157,.21); border-radius: 999px; padding: 4px 8px; text-transform: uppercase; letter-spacing: .08em; }
.live-pill i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #44e0c5; margin-right: 5px; }
.solution-node { display: flex; align-items: center; gap: 14px; padding: 18px 0; margin-top: 8px; border-bottom: 1px solid var(--line); }
.solution-node img { width: 42px; height: 42px; }
.solution-node strong, .solution-node small { display: block; }
.solution-node strong { font-size: 16px; }
.solution-node small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.result-list { list-style: none; padding: 0; margin: 15px 0 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.result-list li { color: var(--muted-strong); font-size: 11px; line-height: 1.35; }
.result-list span { color: var(--cyan); margin-right: 3px; }
.trust-line { border-top: 1px solid var(--line); margin-top: 86px; padding-top: 27px; display: flex; align-items: center; justify-content: space-between; color: #6f7484; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.tech-list { display: flex; align-items: center; gap: clamp(18px,3vw,44px); color: #858b9b; }
.tech-list b { font-size: 12px; font-weight: 600; }

.solutions { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018), transparent); }
.section-heading { display: grid; grid-template-columns: 1.1fr .7fr; gap: 90px; align-items: end; margin-bottom: 58px; }
.section-heading.compact { grid-template-columns: 1fr; }
.section-heading h2, .method-intro h2, .contact-copy h2 { font-size: clamp(38px, 4.6vw, 59px); line-height: 1.08; letter-spacing: -.05em; font-weight: 590; margin: 14px 0 0; }
.section-heading > p { color: var(--muted); margin: 0 0 5px; font-size: 16px; }
.kicker { color: var(--cyan); font-size: 11px; font-weight: 720; text-transform: uppercase; letter-spacing: .16em; }
.solution-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.solution-card { min-height: 390px; padding: 38px 42px 35px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: background .3s; }
.solution-card:hover { background: rgba(255,255,255,.023); }
.solution-card.featured::after { content: ""; position: absolute; width: 220px; height: 220px; right: -110px; bottom: -120px; background: var(--violet); opacity: .12; filter: blur(50px); border-radius: 50%; }
.card-number { position: absolute; top: 28px; right: 32px; color: #5e6373; font-size: 11px; letter-spacing: .1em; }
.line-icon { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 42px; }
.line-icon svg { width: 25px; fill: none; stroke: url(#fake); stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.solution-card h3 { font-size: 25px; letter-spacing: -.03em; margin-bottom: 12px; }
.solution-card p { color: var(--muted); max-width: 490px; }
.solution-card ul { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.solution-card li { padding: 6px 10px; border: 1px solid var(--line); color: #aeb2bf; border-radius: 999px; font-size: 11px; }

.method { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.method-intro { position: sticky; top: 130px; align-self: start; }
.method-intro p { color: var(--muted); margin: 27px 0; max-width: 470px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 3px; }
.text-link span { color: var(--cyan); }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 17px; border-top: 1px solid var(--line); padding: 42px 0 47px; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps > li > span { color: var(--cyan); font-size: 12px; letter-spacing: .1em; padding-top: 5px; }
.steps h3 { font-size: 25px; letter-spacing: -.03em; margin-bottom: 10px; }
.steps p { color: var(--muted); max-width: 520px; margin: 0; }

.case-card { border: 1px solid var(--line); border-radius: 27px; overflow: hidden; display: grid; grid-template-columns: 1fr .9fr; background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.case-copy, .case-detail { padding: clamp(42px,5vw,70px); }
.case-copy { border-right: 1px solid var(--line); }
.case-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.case-copy h2 { font-size: clamp(43px,5vw,67px); letter-spacing: -.055em; line-height: 1; margin: 25px 0 14px; }
.case-lead { font-size: 21px; line-height: 1.45; color: var(--muted-strong); max-width: 520px; }
.case-copy > p:not(.case-lead) { color: var(--muted); max-width: 550px; margin-bottom: 31px; }
.case-detail { display: flex; flex-direction: column; justify-content: space-between; background: rgba(5,6,14,.3); }
.case-orbit { height: 210px; position: relative; display: grid; place-items: center; margin-bottom: 35px; }
.case-orbit > img { position: relative; z-index: 2; filter: drop-shadow(0 0 24px rgba(82,124,235,.2)); }
.orbit { position: absolute; border: 1px solid rgba(128,132,178,.23); border-radius: 50%; }
.orbit-one { width: 152px; height: 152px; }
.orbit-two { width: 258px; height: 154px; transform: rotate(-13deg); }
.orbit-label { position: absolute; border: 1px solid var(--line); background: #11131f; border-radius: 999px; padding: 5px 9px; font-size: 9px; color: var(--muted-strong); font-weight: 650; z-index: 3; }
.label-one { left: 4%; top: 23%; }.label-two { right: 0; top: 39%; }.label-three { left: 30%; bottom: 2%; }
.case-detail dl { margin: 0; }
.case-detail dl div { display: grid; grid-template-columns: 85px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 15px 0; }
.case-detail dt { color: #74798a; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.case-detail dd { margin: 0; color: var(--muted-strong); font-size: 13px; }
.case-detail dd .status-dot { margin-right: 6px; width: 6px; height: 6px; }

.principles { padding-top: 40px; }
.principle-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.principle { padding: 30px 25px 0 0; border-right: 1px solid var(--line); min-height: 190px; }
.principle:not(:first-child) { padding-left: 25px; }
.principle:last-child { border-right: 0; }
.principle > span { color: #666b7a; font-size: 10px; }
.principle h3 { margin: 35px 0 7px; font-size: 18px; }
.principle p { color: var(--muted); font-size: 13px; line-height: 1.55; }

.contact-section { background: linear-gradient(145deg, rgba(31,43,73,.35), rgba(11,12,23,0) 50%); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: start; }
.contact-copy { position: sticky; top: 125px; }
.contact-copy p { color: var(--muted); font-size: 17px; max-width: 450px; margin: 25px 0 36px; }
.contact-note { border-top: 1px solid var(--line); padding-top: 23px; display: flex; gap: 15px; max-width: 450px; }
.contact-note > span { color: var(--cyan); }
.contact-note p { margin: 0; font-size: 13px; }
.contact-note strong { color: var(--text); }
.contact-form { border: 1px solid var(--line); background: rgba(17,19,31,.72); border-radius: 22px; padding: clamp(25px,4vw,45px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; color: #d8dae2; font-size: 12px; font-weight: 650; letter-spacing: .01em; margin-bottom: 19px; }
.contact-form label > span { color: var(--cyan); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; color: white; background: rgba(5,7,15,.55); border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; outline: none; margin-top: 7px; transition: border-color .2s, box-shadow .2s; font-weight: 400; font-size: 14px; }
.contact-form input, .contact-form select { min-height: 48px; }
.contact-form textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,#8f94a3 50%),linear-gradient(135deg,#8f94a3 50%,transparent 50%); background-position: calc(100% - 18px) 21px,calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.contact-form option { background: #121420; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #606575; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(65,204,231,.52); box-shadow: 0 0 0 3px rgba(65,204,231,.07); }
.contact-form [aria-invalid="true"] { border-color: #e47d9a; }
.textarea-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 3px; min-height: 17px; }
.textarea-meta small:last-child { color: #646979; font-weight: 400; margin-left: auto; }
.textarea-meta b { font-weight: 400; }
.field-error { display: block; color: #ee9bb1; font-size: 11px; font-weight: 400; min-height: 0; }
.contact-form .consent { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-weight: 400; margin: 4px 0 0; line-height: 1.45; }
.contact-form .consent input { appearance: none; width: 17px; min-height: 17px; height: 17px; border-radius: 4px; padding: 0; margin: 1px 0 0; flex: none; }
.contact-form .consent input:checked { background: var(--gradient); border-color: transparent; box-shadow: inset 0 0 0 3px #11131f; }
.contact-form .consent span { color: var(--muted); }
.consent-error { margin: 2px 0 15px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.submit-button { width: 100%; justify-content: space-between; margin-top: 11px; }
.submit-button:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: 13px; margin: 14px 0 0; color: var(--muted-strong); text-align: center; min-height: 20px; }
.form-status.success { color: #78e5d2; }
.form-status.error { color: #ee9bb1; }

.learning-strip { padding: 63px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.014); }
.learning-inner { display: grid; grid-template-columns: 1fr .75fr; gap: 90px; align-items: center; }
.learning-inner h2 { font-size: clamp(28px,3.2vw,42px); letter-spacing: -.045em; line-height: 1.15; margin: 9px 0 0; }
.learning-inner p { color: var(--muted); margin: 0; }
.site-footer { padding: 58px 0 25px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; padding-bottom: 45px; }
.footer-top p { color: var(--muted); font-size: 13px; margin: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; color: #666b7a; font-size: 11px; }

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

@media (max-width: 920px) {
  .section { padding: 88px 0; }
  .hero { padding-top: 145px; }
  .hero-grid, .method-grid, .contact-grid { grid-template-columns: 1fr; gap: 65px; }
  .hero-system { min-height: 460px; max-width: 590px; width: 100%; margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .method-intro, .contact-copy { position: static; }
  .case-card { grid-template-columns: 1fr; }
  .case-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid { grid-template-columns: repeat(2,1fr); }
  .principle { border-bottom: 1px solid var(--line); }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(3) { padding-left: 0; }
  .learning-inner { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .nav-wrap { height: 70px; }
  .menu-button { display: flex; z-index: 3; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { display: none; position: fixed; inset: 0; background: rgba(8,9,18,.98); flex-direction: column; justify-content: center; font-size: 22px; gap: 27px; }
  .main-nav.open { display: flex; }
  .main-nav .nav-cta { padding: 12px 20px; }
  .hero { min-height: auto; padding-top: 128px; }
  h1 { font-size: clamp(43px,13vw,61px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .input-card { margin-right: 25px; }
  .output-card { margin-left: 18px; }
  .trust-line { margin-top: 55px; display: block; }
  .tech-list { margin-top: 17px; flex-wrap: wrap; gap: 12px 24px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; padding: 31px 27px; }
  .line-icon { margin-bottom: 30px; }
  .case-copy, .case-detail { padding: 34px 25px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle, .principle:not(:first-child) { border-right: 0; padding: 26px 0; min-height: auto; }
  .principle h3 { margin: 20px 0 5px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { border-radius: 17px; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .footer-top .text-link { width: fit-content; }
  .footer-bottom { gap: 20px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
