/* Advanced layers and responsive refinements. */

/* ---------- News ---------- */
.news-section { padding-top: 148px; padding-bottom: 156px; }
.news-heading { align-items: center; }
.news-layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(470px, 1.07fr); gap: 18px; align-items: stretch; }
.featured-news { position: relative; min-height: 490px; display: flex; flex-direction: column; justify-content: flex-end; padding: 35px; overflow: hidden; border: 1px solid rgba(168,245,207,.24); background: radial-gradient(circle at 72% 18%, rgba(106,196,175,.25), transparent 34%), linear-gradient(145deg, #142b2d, #09141c 72%); }
.featured-news::before { content: ""; position: absolute; width: 430px; height: 430px; top: -210px; right: -150px; border: 1px solid rgba(168,245,207,.16); border-radius: 50%; box-shadow: 0 0 0 38px rgba(168,245,207,.035), 0 0 0 78px rgba(168,245,207,.02); }
.featured-news::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(5,10,14,.82)); }
.featured-news > * { position: relative; z-index: 1; }
.news-tag { display: inline-flex; width: max-content; padding: 6px 9px; color: var(--mint); border: 1px solid rgba(168,245,207,.24); background: rgba(168,245,207,.07); font: 8px var(--mono); letter-spacing: .1em; }
.featured-news h3 { max-width: 560px; margin: 20px 0 15px; font-size: clamp(26px, 3vw, 39px); line-height: 1.25; letter-spacing: -.045em; }
.featured-news p { max-width: 520px; margin: 0; color: #95a6a8; font-size: 13px; line-height: 1.8; }
.news-date { display: block; margin-top: 26px; color: #7f9494; font: 9px var(--mono); letter-spacing: .09em; }
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 95px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--line); transition: padding .3s ease, background .3s ease; }
.news-item:hover { padding-left: 12px; padding-right: 12px; background: rgba(255,255,255,.018); }
.news-item .news-date { margin: 4px 0 0; color: #566673; }
.news-item h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.45; font-weight: 500; letter-spacing: -.02em; }
.news-item p { margin: 0; color: #73828e; font-size: 11px; line-height: 1.7; }
.news-item .news-tag { margin-top: 2px; }

/* ---------- Help and contact ---------- */
.help-section { padding-bottom: 156px; }
.help-shell { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(330px, .68fr) minmax(290px, .57fr); gap: 16px; padding: 32px; border: 1px solid var(--line); background: linear-gradient(130deg, rgba(17,28,41,.88), rgba(7,12,19,.8)); }
.help-copy { padding: 22px 34px 22px 12px; }.help-copy p { max-width: 390px; margin: 24px 0 26px; color: #7d8d99; font-size: 13px; line-height: 1.85; }
.help-categories { display: grid; align-content: center; border-top: 1px solid var(--line); }
.help-category { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); color: #b4c0c7; font-size: 13px; transition: padding .25s ease, color .25s ease, background .25s ease; }.help-category small { color: #596873; font: 9px var(--mono); }.help-category:hover { padding-left: 12px; color: var(--mint); background: rgba(168,245,207,.03); }
.help-console { align-self: center; padding: 18px; border: 1px solid var(--line); background: #070c12; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.console-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: #667783; font-size: 8px; letter-spacing: .1em; }.console-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.console-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(196,219,226,.07); color: #71828c; font-size: 9px; }.console-line b { color: var(--mint); font-weight: 400; }
.console-action { display: grid; grid-template-columns: 24px 1fr; gap: 3px 8px; padding-top: 16px; color: #a8b8bf; font-size: 10px; }.console-action span { color: var(--mint); font-family: var(--mono); }.console-action p { margin: 0; line-height: 1.5; }.console-action i { grid-column: 2; display: block; width: 70%; height: 1px; background: var(--mint); opacity: .45; animation: pulse 2s ease infinite; }
.contact-section { position: relative; padding-top: 118px; padding-bottom: 132px; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(circle at 70% 40%, rgba(52,105,113,.19), transparent 34%), #080d13; }
.contact-orbit { position: absolute; width: 520px; height: 520px; right: -60px; top: 50%; transform: translateY(-50%); border: 1px solid rgba(168,245,207,.14); border-radius: 50%; box-shadow: 0 0 0 56px rgba(168,245,207,.025), 0 0 0 112px rgba(168,245,207,.012); }.contact-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }.contact-orbit i:nth-child(1) { left: 8%; top: 25%; }.contact-orbit i:nth-child(2) { right: 14%; top: 60%; background: var(--blue); }.contact-orbit i:nth-child(3) { left: 45%; bottom: 4%; background: var(--amber); }
.contact-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; }.contact-actions p { max-width: 460px; margin: 0 0 28px; color: #8898a4; font-size: 14px; line-height: 1.85; }
.site-footer { padding-top: 52px; padding-bottom: 30px; background: #05080d; }
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }.footer-links { display: flex; align-items: center; gap: 28px; color: #7e8e9a; font-size: 12px; }.footer-links a:hover { color: var(--mint); }.footer-top-link { justify-self: end; color: #9aaab4; font-size: 12px; }.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; color: #52606b; font-size: 9px; letter-spacing: .04em; }.api-status { display: inline-flex; align-items: center; gap: 8px; }

@keyframes globeTurn { 0% { background-position: 0 0, 0 0; } 100% { background-position: 84px 0, 0 0; } }

.product-card, [data-tilt] {
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card { transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s ease, background .3s ease; }
.product-card:hover { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, -8px)); }
[data-tilt] { transition: transform .5s cubic-bezier(.16,1,.3,1), border-color .3s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .section-pad { padding-left: 30px; padding-right: 30px; }
  .site-header { padding-left: 30px; padding-right: 30px; }
  .hero-section { grid-template-columns: minmax(350px, .83fr) minmax(490px, 1.17fr); gap: 26px; }
  .hero-title { font-size: clamp(57px, 6.5vw, 88px); }
  .hero-stage { min-height: 590px; }
  .hero-kpi-rail { left: 30px; right: 30px; }
  .product-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 36px; }
  .product-card { padding: 22px 19px; }
  .operations-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .network-layout { grid-template-columns: minmax(340px, .75fr) minmax(470px, 1.25fr); gap: 30px; }
  .globe-shell { transform: translate(-50%, -50%) scale(.88); }
  .help-shell { grid-template-columns: .75fr .75fr .7fr; padding: 24px; }
}

@media (max-width: 920px) {
  .site-header { height: 68px; }
  .menu-toggle { display: flex; width: 40px; height: 40px; margin-left: auto; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; background: var(--mint); transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: -1; top: 68px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 30px 25px; background: rgba(5,8,13,.98); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); transform: translateY(-20px); visibility: hidden; opacity: 0; transition: opacity .25s ease, transform .25s ease, visibility .25s ease; }
  .main-nav.is-open { transform: translateY(0); visibility: visible; opacity: 1; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid rgba(196,219,226,.08); }
  .main-nav a::after { display: none; }
  .header-actions { display: none; }
  .hero-section { min-height: auto; grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 150px; }
  .hero-title { max-width: 720px; font-size: clamp(56px, 11vw, 86px); }
  .hero-stage { min-height: 600px; margin-top: 22px; }
  .hero-kpi-rail { position: relative; left: auto; right: auto; bottom: auto; grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
  .rail-label { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail-metric:nth-child(3), .rail-metric:nth-child(5) { border-right: 0; }
  .rail-metric:nth-child(4), .rail-metric:nth-child(5) { border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .heading-aside { max-width: 560px; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-tabs { flex-direction: row; overflow-x: auto; border-top: 1px solid var(--line); }
  .product-tab { min-width: max-content; width: auto; gap: 16px; padding: 14px 18px 14px 0; border-bottom: 0; }
  .product-tab:hover, .product-tab.active { padding-left: 0; }
  .product-tab.active::before { bottom: 0; top: auto; width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operations-grid { grid-template-columns: 1fr; }
  .ops-features { grid-template-columns: 1fr 1fr; }
  .feature-card { min-height: 190px; }
  .feature-wide { min-height: 230px; }
  .network-layout { grid-template-columns: 1fr; gap: 20px; }
  .network-copy { max-width: 620px; }
  .network-visual { min-height: 560px; }
  .news-layout { grid-template-columns: 1fr; }
  .featured-news { min-height: 390px; }
  .help-shell { grid-template-columns: 1fr 1fr; }
  .help-copy { grid-column: 1 / -1; padding-right: 0; }
  .help-categories, .help-console { align-self: start; }
  .contact-wrap { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 640px) {
  .section-pad { padding-left: 20px; padding-right: 20px; }
  .site-header { padding-left: 20px; padding-right: 20px; }
  .main-nav { padding-left: 20px; padding-right: 20px; }
  .brand-copy small { font-size: 7px; }
  .brand-copy strong { font-size: 13px; }
  .hero-section { padding-top: 106px; padding-bottom: 74px; }
  .hero-title { margin: 26px 0 23px; font-size: clamp(46px, 14vw, 66px); }
  .hero-intro { font-size: 13px; line-height: 1.8; }
  .eyebrow { font-size: 8px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 28px; }
  .hero-proof { gap: 17px; margin-top: 34px; }
  .hero-proof small { font-size: 7px; }
  .hero-proof b { font-size: 10px; }
  .hero-stage { min-height: 485px; margin-left: -8px; margin-right: -8px; }
  .resource-scene { inset: 52px 0 44px; }
  .scene-grid { inset: 15% -40% -18%; }
  .resource-stack { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-38deg) scale(.68); }
  .scene-orbit.orbit-a { width: 340px; height: 340px; }
  .scene-orbit.orbit-b { width: 440px; height: 440px; }
  .scene-orbit.orbit-c { width: 250px; height: 250px; }
  .float-card { width: 132px; min-height: 86px; padding: 11px 12px; }
  .float-card-a { left: 3%; top: 13%; }
  .float-card-b { right: 2%; top: 43%; }
  .float-card-c { left: 5%; bottom: 13%; }
  .float-card strong { margin: 9px 0 5px; font-size: 18px; }
  .float-card .float-label, .float-card small { font-size: 7px; }
  .stage-footer { padding: 0 12px; font-size: 7px; }
  .stage-footer span:nth-child(2), .scene-axis { display: none; }
  .hero-kpi-rail { grid-template-columns: 1fr 1fr; }
  .rail-label, .rail-metric { padding: 14px 13px; }
  .rail-metric strong { font-size: 15px; }
  .rail-metric span, .rail-metric small { font-size: 8px; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2, .network-copy h2, .help-copy h2, .contact-wrap h2 { font-size: 37px; }
  .heading-aside p { font-size: 12px; line-height: 1.8; }
  .products-section { padding-top: 88px; padding-bottom: 94px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 275px; }
  .product-card p { min-height: auto; }
  .solutions-section { padding-top: 88px; padding-bottom: 96px; }
  .ops-window { overflow: hidden; }
  .ops-topbar { grid-template-columns: 1fr auto; }
  .ops-topbar > span:nth-child(2), .ops-sidebar { display: none; }
  .ops-body { grid-template-columns: 1fr; }
  .ops-content { padding: 15px; }
  .ops-kpi-row { gap: 6px; }
  .ops-kpi-row article { padding: 11px 9px; }
  .ops-kpi-row strong { font-size: 18px; }
  .chart { height: 130px; }
  .ops-event-list > div { grid-template-columns: 8px 1fr; }
  .ops-event-list time { display: none; }
  .ops-features { grid-template-columns: 1fr; }
  .feature-card, .feature-wide { min-height: 220px; }
  .network-section { padding-top: 90px; padding-bottom: 92px; }
  .network-metrics { margin-top: 28px; }
  .network-metrics strong { font-size: 18px; }
  .network-visual { min-height: 420px; }
  .globe-shell { width: 400px; height: 400px; transform: translate(-50%, -50%) scale(.8); }
  .globe-orbit-a { width: 500px; height: 500px; }
  .globe-orbit-b { width: 570px; height: 340px; }
  .globe-orbit-c { width: 330px; height: 560px; }
  .network-legend { left: 2px; bottom: 20px; }
  .network-card { right: 2px; bottom: 14px; width: 160px; padding: 12px; }
  .network-card strong { font-size: 20px; }
  .news-section { padding-top: 88px; padding-bottom: 94px; }
  .featured-news { min-height: 340px; padding: 23px; }
  .featured-news h3 { font-size: 25px; }
  .news-item { grid-template-columns: 72px 1fr; gap: 10px; }
  .news-item .news-tag { grid-column: 2; grid-row: 1; justify-self: end; }
  .news-item h3, .news-item p { grid-column: 2; }
  .news-item .news-date { grid-row: 1 / span 2; margin-top: 5px; }
  .help-section { padding-bottom: 94px; }
  .help-shell { grid-template-columns: 1fr; padding: 20px; }
  .help-copy { padding: 5px 2px 15px; }
  .help-copy p { margin: 18px 0 20px; }
  .help-console { margin-top: 5px; }
  .contact-section { padding-top: 78px; padding-bottom: 84px; }
  .contact-orbit { width: 340px; height: 340px; right: -180px; }
  .contact-actions p { font-size: 12px; }
  .site-footer { padding-top: 36px; }
  .footer-top { grid-template-columns: 1fr auto; gap: 18px; }
  .footer-links { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
  .footer-top-link { font-size: 10px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

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