:root {
    --navy-950: #03102d;
    --navy-900: #061a42;
    --navy-800: #0a285a;
    --blue-700: #075fd7;
    --blue-600: #0878f9;
    --blue-500: #1994ff;
    --cyan: #35d6ff;
    --ink: #0b1b38;
    --muted: #64718a;
    --line: #dce6f2;
    --surface: #f3f7fc;
    --white: #fff;
    --font-cn: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    --font-en: "Segoe UI", Arial, sans-serif;
    --shadow: 0 24px 60px rgba(8, 43, 98, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-cn); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 78px; border-bottom: 1px solid rgba(255,255,255,.1); transition: .3s ease; }
.site-header.scrolled { height: 70px; background: rgba(4, 18, 49, .94); border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 8px 24px rgba(1,11,31,.18); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 12px; align-items: center; color: var(--white); }
.brand-mark { width: 38px; height: 38px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 8px; background: linear-gradient(145deg, var(--blue-500), #085bd8); border-radius: 9px; box-shadow: 0 8px 22px rgba(8,120,249,.28); transform: skew(-5deg); }
.brand-mark i { display: block; width: 4px; background: #fff; border-radius: 3px 3px 0 0; transform: skew(5deg); }
.brand-mark i:nth-child(1) { height: 7px; opacity: .75; }
.brand-mark i:nth-child(2) { height: 13px; opacity: .9; }
.brand-mark i:nth-child(3) { height: 20px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: .08em; line-height: 1.15; white-space: nowrap; }
.brand-name small { display: block; margin-top: 4px; font: 600 8px/1 var(--font-en); letter-spacing: .24em; opacity: .62; }
.site-nav { display: flex; align-items: center; gap: 34px; color: rgba(255,255,255,.78); font-size: 14px; }
.site-nav a { position: relative; padding: 8px 0; transition: color .2s; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--cyan); transition: right .2s; }
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.site-nav .nav-cta { padding: 10px 19px; color: #fff; border: 1px solid rgba(97,194,255,.6); border-radius: 5px; background: rgba(14,105,215,.22); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: white; transition: .25s; }

.hero { position: relative; min-height: 800px; height: 100vh; max-height: 940px; color: var(--white); overflow: hidden; background: radial-gradient(circle at 78% 44%, #0d4287 0, #071d49 37%, #03102d 76%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(to top, rgba(2,12,36,.45), transparent); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(98,168,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(98,168,255,.15) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, #000 35%, #000 80%, transparent); transform: perspective(700px) rotateX(58deg) scale(1.35) translateY(25%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-one { width: 360px; height: 360px; top: -170px; right: 12%; border: 1px solid rgba(60,153,255,.23); box-shadow: 0 0 90px rgba(0,104,255,.14) inset; }
.hero-orb-two { width: 120px; height: 120px; bottom: 7%; left: 4%; background: rgba(0,127,255,.12); filter: blur(30px); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 74px; padding-top: 68px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #79c9ff; font: 700 12px/1.2 var(--font-en); letter-spacing: .16em; }
.eyebrow > span { width: 28px; height: 2px; background: var(--blue-500); box-shadow: 0 0 9px var(--blue-500); }
.eyebrow.dark { color: var(--blue-700); }
.hero h1 { margin: 25px 0 23px; font-size: clamp(42px, 4.4vw, 68px); line-height: 1.16; letter-spacing: -.045em; }
.hero h1 em { color: transparent; font-style: normal; background: linear-gradient(90deg, #fff 2%, #67c7ff 60%, #34e0ff); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 560px; margin: 0; color: rgba(223,237,255,.74); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 30px; padding: 0 24px; border: 1px solid transparent; border-radius: 5px; font-weight: 600; font-size: 14px; transition: transform .2s, background .2s, border .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; border-color: var(--blue-600); background: linear-gradient(135deg, var(--blue-600), #0863df); box-shadow: 0 12px 30px rgba(7,120,249,.25); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(7,120,249,.36); }
.button-ghost { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.035); }
.button-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.07); }
.hero-tags { display: flex; gap: 25px; margin-top: 36px; color: rgba(194,216,246,.55); font-size: 12px; }
.hero-tags span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 8px 2px 0; border: 1px solid #3ea8ff; transform: rotate(45deg); }

.quant-visual { position: relative; border: 1px solid rgba(83,159,255,.32); border-radius: 9px; background: linear-gradient(145deg, rgba(13,52,106,.66), rgba(3,20,54,.88)); box-shadow: 0 35px 100px rgba(0,4,18,.45), 0 0 0 10px rgba(14,67,135,.08); backdrop-filter: blur(10px); transform: perspective(1000px) rotateY(-4deg) rotateX(1deg); }
.quant-visual::before, .quant-visual::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(58,139,244,.18); }
.quant-visual::before { inset: 28px -24px -22px 32px; }
.quant-visual::after { inset: -20px 34px 35px -22px; }
.visual-topbar { height: 44px; padding: 0 16px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid rgba(100,162,236,.16); color: rgba(187,214,248,.5); font: 600 9px/1 var(--font-en); letter-spacing: .15em; }
.visual-topbar > span { flex: 1; }
.visual-topbar > b { color: #3ce1bf; font-size: 9px; }
.visual-topbar > b::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #3ce1bf; box-shadow: 0 0 8px #3ce1bf; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #2b5d98; }
.visual-content { padding: 22px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric-row > div { padding: 13px 14px; border: 1px solid rgba(91,155,232,.13); background: rgba(8,34,74,.5); }
.metric-row span, .metric-row small { display: block; color: rgba(169,198,235,.48); font-size: 9px; }
.metric-row strong { display: block; margin: 9px 0 6px; color: #e5f3ff; font: 700 18px/1 var(--font-en); }
.metric-row small.up { color: #3ce1bf; }
.chart-card { margin-top: 10px; padding: 16px; border: 1px solid rgba(91,155,232,.13); background: rgba(8,34,74,.5); }
.chart-heading { display: flex; justify-content: space-between; color: rgba(226,240,255,.78); font-size: 10px; }
.chart-heading small { color: rgba(169,198,235,.4); }
.chart-area { position: relative; height: 185px; margin-top: 14px; overflow: hidden; }
.chart-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(100,158,226,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(100,158,226,.09) 1px, transparent 1px); background-size: 100% 46px, 60px 100%; }
.chart-fill { position: absolute; inset: 17% 0 0; opacity: .28; background: linear-gradient(to bottom, rgba(13,148,255,.68), transparent); clip-path: polygon(0 80%, 12% 70%, 21% 77%, 33% 48%, 44% 60%, 55% 38%, 64% 43%, 75% 20%, 84% 29%, 100% 4%, 100% 100%, 0 100%); }
.chart-path { position: absolute; inset: 17% 0 0; background: #21a4ff; clip-path: polygon(0 79%, 12% 69%, 21% 76%, 33% 47%, 44% 59%, 55% 37%, 64% 42%, 75% 19%, 84% 28%, 100% 3%, 100% 5%, 84% 30%, 75% 21%, 64% 44%, 55% 39%, 44% 61%, 33% 49%, 21% 78%, 12% 71%, 0 81%); filter: drop-shadow(0 0 5px #138df6); }
.chart-point { position: absolute; width: 7px; height: 7px; border: 2px solid #64ceff; border-radius: 50%; background: #0b3470; box-shadow: 0 0 12px #20a6ff; }
.point-one { left: 32.5%; top: 51%; }.point-two { left: 74.5%; top: 31%; }.point-three { right: 0; top: 17%; }
.chart-labels { display: flex; justify-content: space-between; color: rgba(163,193,230,.32); font: 500 8px/1 var(--font-en); }
.data-stream { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 15px; color: rgba(167,199,235,.52); font: 600 8px/1 var(--font-en); }
.data-stream span i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #27d6b6; }
.data-stream > div { height: 3px; background: rgba(94,146,210,.15); }
.data-stream > div b { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #0d77ec, #29c4ff); box-shadow: 0 0 8px #149cef; }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 25px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(201,222,248,.35); font: 600 8px/1 var(--font-en); letter-spacing: .2em; transform: translateX(-50%); }
.scroll-cue span { width: 1px; height: 28px; background: linear-gradient(to bottom, #4bb8ff, transparent); animation: scrollLine 1.8s infinite; }

.section { padding: 120px 0; }
.section-heading h2 { margin: 22px 0 0; font-size: clamp(32px, 3vw, 45px); line-height: 1.35; letter-spacing: -.035em; }
.section-heading.centered { text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered > p { margin: 18px auto 0; color: var(--muted); }
.about { position: relative; overflow: hidden; background: #fff; }
.about::before { content: "MIAOCE"; position: absolute; right: -22px; top: 44px; color: #f5f8fc; font: 800 140px/1 var(--font-en); letter-spacing: -.06em; }
.about-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; }
.about-content .lead { margin-top: 0; color: #182a4a; font-size: 20px; line-height: 1.85; }
.about-content > p:not(.lead) { color: var(--muted); font-size: 15px; line-height: 1.9; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.principle-grid > div { position: relative; padding: 23px 16px 20px; border-top: 2px solid #d6e4f5; background: var(--surface); }
.principle-grid b { position: absolute; right: 12px; top: 10px; color: #dbe8f7; font: 800 25px/1 var(--font-en); }
.principle-grid strong, .principle-grid span { position: relative; display: block; }
.principle-grid strong { margin-bottom: 8px; color: var(--blue-700); font-size: 15px; }
.principle-grid span { color: var(--muted); font-size: 12px; }

.services { color: #fff; background: var(--navy-950); position: relative; overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(88,160,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(88,160,255,.15) 1px, transparent 1px); background-size: 72px 72px; }
.services .container { position: relative; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; }
.service-card { position: relative; min-height: 410px; padding: 40px 34px; border: 1px solid rgba(91,154,231,.19); background: rgba(9,35,77,.78); transition: transform .28s, border-color .28s, background .28s; overflow: hidden; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(49,164,255,.55); background: rgba(10,48,102,.88); }
.service-card.featured { background: linear-gradient(155deg, rgba(10,91,190,.78), rgba(8,40,88,.82)); }
.service-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -70px; bottom: -80px; border: 1px solid rgba(53,169,255,.13); border-radius: 50%; }
.card-index { position: absolute; right: 26px; top: 24px; color: rgba(133,189,255,.18); font: 800 42px/1 var(--font-en); }
.service-icon { height: 55px; margin-bottom: 38px; color: #4ac7ff; }
.service-icon.bars { display: flex; align-items: flex-end; gap: 5px; }
.service-icon.bars i { width: 7px; border-radius: 1px; background: linear-gradient(to top, #0875ec, #44d0ff); box-shadow: 0 0 10px rgba(33,171,255,.25); }
.service-icon.bars i:nth-child(1){height:18px}.service-icon.bars i:nth-child(2){height:32px}.service-icon.bars i:nth-child(3){height:25px}.service-icon.bars i:nth-child(4){height:45px}
.service-icon.nodes { position: relative; width: 58px; }
.service-icon.nodes::before, .service-icon.nodes::after { content: ""; position: absolute; background: #168fea; transform-origin: left center; height: 1px; width: 40px; left: 13px; top: 28px; }
.service-icon.nodes::before { transform: rotate(-28deg); }.service-icon.nodes::after { transform: rotate(28deg); }
.service-icon.nodes i { position: absolute; width: 15px; height: 15px; border: 3px solid #35baff; border-radius: 50%; background: #0a2c61; box-shadow: 0 0 12px rgba(38,177,255,.45); }
.service-icon.nodes i:nth-child(1){left:0;top:20px}.service-icon.nodes i:nth-child(2){right:0;top:4px}.service-icon.nodes i:nth-child(3){right:0;bottom:1px}
.service-icon.code { font: 700 36px/55px var(--font-en); letter-spacing: -.08em; text-shadow: 0 0 18px rgba(43,187,255,.35); }
.service-card h3 { margin: 0 0 16px; font-size: 23px; }
.service-card p { margin: 0; min-height: 82px; color: rgba(205,225,249,.65); font-size: 14px; line-height: 1.85; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 7px 9px; color: rgba(168,209,255,.7); border: 1px solid rgba(76,154,238,.18); background: rgba(25,87,157,.18); font-size: 11px; }

.advantages { color: #fff; background: linear-gradient(128deg, #081b43, #06295b); overflow: hidden; }
.advantage-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 110px; }
.advantage-visual { position: relative; height: 460px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(81,158,250,.22); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 420px; height: 420px; }.orbit-two { width: 290px; height: 290px; }.orbit-three { width: 170px; height: 170px; }
.orbit::before, .orbit::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #39c4ff; box-shadow: 0 0 13px #31aeff; }
.orbit-one::before { left: 11%; top: 20%; }.orbit-one::after { left: 88%; top: 73%; }
.orbit-two::before { left: 90%; top: 35%; }.orbit-two::after { left: 8%; top: 63%; }
.orbit-three::before { left: 57%; top: -1px; }.orbit-three::after { left: 36%; top: auto; bottom: -1px; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #178fec; border-radius: 50%; background: radial-gradient(circle, #0c5bad, #08295a 70%); box-shadow: 0 0 70px rgba(6,116,226,.38); transform: translate(-50%,-50%); }
.orbit-core b { font: 800 28px/1 var(--font-en); }.orbit-core small { margin-top: 7px; color: #69c7ff; font: 600 8px/1 var(--font-en); letter-spacing: .22em; }
.orbit-label { position: absolute; padding: 6px 9px; color: #55c0ff; border: 1px solid rgba(54,156,237,.3); background: #082c61; font: 600 8px/1 var(--font-en); letter-spacing: .14em; }
.label-one { left: 8%; top: 19%; }.label-two { right: 4%; top: 36%; }.label-three { left: 14%; bottom: 13%; }
.advantage-list { margin-top: 40px; }
.advantage-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 21px 0; border-top: 1px solid rgba(137,181,232,.16); }
.advantage-list > div:last-child { border-bottom: 1px solid rgba(137,181,232,.16); }
.advantage-list b { color: #2f9fff; font: 700 11px/1.7 var(--font-en); }
.advantage-list p { margin: 0; }
.advantage-list strong, .advantage-list span { display: block; }
.advantage-list strong { margin-bottom: 7px; font-size: 17px; }
.advantage-list span { color: rgba(204,223,246,.6); font-size: 13px; line-height: 1.7; }

.process { background: #f5f8fc; }
.process-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; }
.process-line::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 54px; height: 1px; background: #cedbea; }
.process-step { position: relative; text-align: center; padding: 0 20px; }
.process-step b { color: #c8d8e9; font: 800 38px/1 var(--font-en); }
.process-step > span { position: relative; z-index: 1; display: block; width: 15px; height: 15px; margin: 10px auto 22px; border: 4px solid #f5f8fc; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 1px #a7c9ee, 0 0 18px rgba(8,120,249,.25); }
.process-step h3 { margin: 0 0 10px; font-size: 17px; }
.process-step p { margin: 0; color: var(--muted); font-size: 13px; }

.contact { position: relative; padding: 120px 0; color: #fff; background: #041433; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 700px; height: 700px; left: -350px; bottom: -500px; border: 1px solid rgba(36,126,231,.2); border-radius: 50%; box-shadow: 0 0 100px rgba(11,101,211,.12) inset; }
.contact::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(86,155,241,.12) 1px, transparent 1px),linear-gradient(90deg,rgba(86,155,241,.12) 1px,transparent 1px); background-size: 65px 65px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.contact-copy h2 { margin: 24px 0 20px; font-size: clamp(35px, 3.5vw, 50px); line-height: 1.35; }
.contact-copy > p { max-width: 470px; color: rgba(199,220,247,.6); font-size: 14px; line-height: 1.85; }
.address-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 15px; margin-top: 48px; padding: 21px; border: 1px solid rgba(89,158,237,.2); background: rgba(10,42,87,.62); transition: border .2s, transform .2s; }
.address-card:hover { border-color: rgba(64,174,255,.55); transform: translateY(-2px); }
.location-pin { position: relative; width: 34px; height: 34px; border: 1px solid rgba(55,172,255,.5); border-radius: 50% 50% 50% 8px; transform: rotate(-45deg) scale(.72); }
.location-pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #3bc1ff; box-shadow: 0 0 10px #3bc1ff; transform: translate(-50%,-50%); }
.address-card small, .address-card strong { display: block; }
.address-card small { margin-bottom: 7px; color: #48bfff; font-size: 11px; }
.address-card strong { color: rgba(231,242,255,.82); font-size: 13px; font-weight: 500; line-height: 1.7; }
.address-card > b { color: #42b9ff; font-size: 18px; }
.contact-form-wrap { padding: 38px 40px; border: 1px solid rgba(97,160,236,.18); background: rgba(8,32,70,.88); box-shadow: 0 25px 70px rgba(0,7,24,.25); }
.static-contact-panel { display: flex; min-height: 400px; flex-direction: column; justify-content: center; }
.panel-label { color: #4abfff; font: 700 10px/1 var(--font-en); letter-spacing: .18em; }
.static-contact-panel h3 { margin: 18px 0 14px; font-size: 30px; }
.static-contact-panel > p { margin: 0; color: rgba(204,224,248,.62); font-size: 14px; line-height: 1.9; }
.static-contact-actions { display: flex; gap: 12px; margin-top: 30px; }
.static-contact-actions .button { flex: 1; gap: 18px; }
.copy-notice { min-height: 24px; padding-top: 10px; color: #78e8c9; font-size: 12px; }
.copy-notice.error { color: #ffb4b4; }
.static-feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(105,159,222,.16); }
.static-feature-list span { color: rgba(194,219,247,.55); font-size: 11px; }
.static-feature-list i { display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: #31baff; box-shadow: 0 0 8px #31baff; }

.site-footer { color: rgba(200,220,244,.55); background: #020b20; }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 45px; padding-top: 45px; padding-bottom: 40px; }
.footer-main > p { margin: 0; padding-left: 45px; border-left: 1px solid rgba(123,159,206,.15); font-size: 12px; }
.footer-main nav { display: flex; gap: 22px; font-size: 12px; }
.footer-main nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 19px; padding-bottom: 22px; border-top: 1px solid rgba(111,153,205,.12); font-size: 10px; }
.footer-record { padding-bottom: 22px; text-align: center; font-size: 11px; }
.footer-record a { color: rgba(200,220,244,.48); transition: color .2s; }
.footer-record a:hover { color: #fff; }
.back-to-top { position: fixed; z-index: 20; right: 24px; bottom: 24px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; color: #fff; border: 1px solid rgba(255,255,255,.18); background: rgba(5,45,97,.8); backdrop-filter: blur(10px); transform: translateY(10px); transition: .25s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-short { transition-delay: .08s; }.reveal-delay { transition-delay: .16s; }
@keyframes scrollLine { 0%,100% { opacity:.25; transform:scaleY(.6); transform-origin:top } 50% { opacity:1; transform:scaleY(1); } }

@media (max-width: 1000px) {
    .site-nav { gap: 20px; }
    .hero { min-height: 760px; height: auto; max-height: none; }
    .hero-inner { grid-template-columns: 1fr 1fr; gap: 35px; padding-top: 130px; padding-bottom: 100px; }
    .hero h1 { font-size: 48px; }
    .metric-row { grid-template-columns: 1fr 1fr; }.metric-row > div:last-child { display: none; }
    .about-grid, .advantage-grid, .contact-grid { gap: 55px; }
    .about-grid { grid-template-columns: .75fr 1.25fr; }
    .service-card { padding: 34px 25px; }
    .footer-main { grid-template-columns: auto 1fr; }.footer-main nav { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
    .container { width: min(100% - 32px, 620px); }
    .site-header, .site-header.scrolled { height: 66px; background: rgba(4,18,49,.96); }
    .menu-toggle { display: block; }
    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav { position: absolute; top: 66px; left: 0; right: 0; display: grid; gap: 0; max-height: 0; padding: 0 24px; overflow: hidden; background: rgba(4,18,49,.98); opacity: 0; transition: .3s; }
    .site-nav.open { max-height: 420px; padding-top: 12px; padding-bottom: 18px; opacity: 1; border-top: 1px solid rgba(255,255,255,.08); }
    .site-nav a { padding: 13px 0; }
    .site-nav .nav-cta { margin-top: 8px; text-align: center; }
    .hero-inner, .about-grid, .advantage-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero { min-height: 980px; }
    .hero-inner { align-content: center; gap: 62px; padding-top: 105px; padding-bottom: 90px; }
    .hero-copy { text-align: center; }.hero-copy .eyebrow { justify-content: center; }.hero-copy > p { margin-inline: auto; }.hero-actions, .hero-tags { justify-content: center; }
    .hero h1 { font-size: clamp(40px, 11vw, 55px); }
    .quant-visual { width: min(100%, 560px); margin-inline: auto; transform: none; }
    .section { padding: 86px 0; }
    .about-grid { gap: 42px; }.about::before { font-size: 90px; }
    .service-grid { grid-template-columns: 1fr; }.service-card { min-height: auto; }.service-card p { min-height: 0; }
    .advantage-grid { gap: 35px; }.advantage-visual { height: 390px; order: 2; }.orbit-one { width: 350px; height: 350px; }
    .process-line { grid-template-columns: 1fr 1fr; row-gap: 50px; }.process-line::before { display: none; }
    .contact-grid { gap: 55px; }
    .footer-main { grid-template-columns: 1fr; gap: 25px; text-align: center; }.footer-brand { justify-content: center; }.footer-main > p { padding: 0; border: 0; }.footer-main nav { justify-content: center; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 520px) {
    .container { width: calc(100% - 28px); }
    .brand-name { font-size: 16px; }
    .hero { min-height: 930px; }
    .hero-inner { gap: 45px; }
    .hero h1 { margin-top: 20px; }
    .hero-copy > p { font-size: 14px; }
    .hero-actions { flex-direction: column; }.hero-actions .button { width: 100%; }
    .hero-tags { gap: 12px; flex-wrap: wrap; }
    .quant-visual::before, .quant-visual::after { display: none; }
    .visual-content { padding: 13px; }.chart-area { height: 145px; }
    .metric-row strong { font-size: 15px; }.visual-topbar { padding: 0 12px; }.visual-topbar > span { overflow: hidden; white-space: nowrap; }
    .section-heading h2 { font-size: 31px; }.about-content .lead { font-size: 17px; }
    .principle-grid { grid-template-columns: 1fr; }
    .advantage-visual { height: 310px; }.orbit-one { width: 285px; height: 285px; }.orbit-two { width: 210px; height: 210px; }.label-one { left: 2%; }.label-two { right: 0; }
    .process-line { grid-template-columns: 1fr; row-gap: 38px; }.process-step > span { margin-bottom: 14px; }
    .contact { padding: 85px 0; }.contact-form-wrap { padding: 28px 20px; }
    .static-contact-actions { flex-direction: column; }.static-feature-list { grid-template-columns: 1fr; }
    .address-card { padding: 16px 13px; grid-template-columns: 34px 1fr auto; }.address-card strong br { display: none; }
    .footer-main nav { flex-wrap: wrap; }.back-to-top { right: 14px; bottom: 14px; }
}

@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; }
}
