:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --panel: rgba(14, 29, 49, 0.76);
  --panel-strong: #10223a;
  --line: rgba(148, 174, 211, 0.16);
  --text: #f6f9ff;
  --muted: #9eb0c8;
  --accent: #55e6bd;
  --accent-2: #6da8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background-image:
    linear-gradient(rgba(126, 157, 198, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 157, 198, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}
.ambient { position: fixed; width: 48vw; height: 48vw; border-radius: 50%; filter: blur(90px); opacity: .18; pointer-events: none; z-index: -3; }
.ambient-a { background: #23e8b4; top: -18vw; right: -18vw; }
.ambient-b { background: #357cff; bottom: -26vw; left: -18vw; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  width: min(1220px, calc(100% - 32px));
  margin: 16px auto 0;
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(0,0,0,.18);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: #06141d; background: linear-gradient(135deg, var(--accent), #9bffe4); font-size: 13px; letter-spacing: .04em; }
.brand-text { font-size: 14px; letter-spacing: .08em; color: #d9e5f5; }
.top-nav { display: flex; align-items: center; gap: 26px; color: #b9c8dc; font-size: 14px; }
.top-nav a { transition: color .2s ease; }
.top-nav a:hover { color: white; }
.lang-switch { justify-self: end; display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; }
.lang-btn { border: 0; color: var(--muted); background: transparent; padding: 7px 9px; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 800; }
.lang-btn.active { background: rgba(85, 230, 189, .13); color: var(--accent); }

.hero { min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: 70px; padding: 90px 0 70px; }
.hero-copy { min-width: 0; }
.eyebrow, .section-kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .17em; font-size: 12px; font-weight: 800; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(85,230,189,.4); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(85,230,189,0); } 100% { box-shadow: 0 0 0 0 rgba(85,230,189,0); } }
h1 { margin: 0; max-width: 760px; font-size: clamp(48px, 6.2vw, 86px); line-height: .98; letter-spacing: -.055em; }
h1 span { display: block; max-width: 100%; }
.gradient-text { background: linear-gradient(95deg, #f7fbff 5%, #73efca 50%, #76a8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 700px; margin: 28px 0 0; color: #b7c6d9; font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; padding: 13px 18px; font-weight: 800; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #05151c; background: linear-gradient(135deg, var(--accent), #99f7df); box-shadow: 0 10px 30px rgba(85, 230, 189, .14); }
.button.secondary { color: #dae5f3; background: rgba(255,255,255,.035); border-color: var(--line); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-notes span { color: #91a6c0; font-size: 12px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(9, 22, 38, .5); }

.hero-visual { position: relative; }
.terminal-card { position: relative; min-height: 500px; padding: 18px; overflow: hidden; border-radius: 30px; border: 1px solid rgba(119, 157, 205, .22); background: linear-gradient(145deg, rgba(16, 34, 58, .92), rgba(6, 17, 30, .92)); box-shadow: var(--shadow); }
.terminal-card::before { content: ""; position: absolute; inset: -1px; background: linear-gradient(135deg, rgba(85,230,189,.2), transparent 36%, transparent 70%, rgba(109,168,255,.18)); pointer-events: none; }
.terminal-head { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 4px 2px 17px; color: #748ba8; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #4d6179; }
.terminal-body { position: relative; border-top: 1px solid var(--line); padding-top: 20px; color: #d7e5f6; font: 13px/1.85 ui-monospace, SFMono-Regular, Menlo, monospace; }
.prompt { color: var(--accent); margin-right: 9px; }
.terminal-muted { color: #7086a2; padding-left: 23px; }
.system-map { position: absolute; left: 34px; right: 34px; bottom: 35px; height: 195px; }
.node { position: absolute; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 20px; border: 1px solid rgba(115, 239, 202, .28); background: rgba(13, 31, 51, .88); box-shadow: inset 0 0 26px rgba(85,230,189,.045), 0 14px 35px rgba(0,0,0,.25); color: #bfeede; font: 700 11px ui-monospace, monospace; letter-spacing: .12em; }
.node-cloud { left: 0; top: 65px; }
.node-k8s { left: 31%; top: 7px; }
.node-app { right: 27%; bottom: 0; }
.node-edge { right: 0; top: 43px; }
.line { position: absolute; height: 1px; background: linear-gradient(90deg, rgba(85,230,189,.15), rgba(85,230,189,.7), rgba(109,168,255,.2)); transform-origin: left; }
.l1 { width: 36%; left: 70px; top: 94px; transform: rotate(-22deg); }
.l2 { width: 34%; left: 43%; top: 69px; transform: rotate(36deg); }
.l3 { width: 29%; right: 62px; bottom: 70px; transform: rotate(-32deg); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--line); }
.stat { padding: 27px 30px; background: rgba(8, 20, 35, .92); }
.stat strong { display: block; font-size: 25px; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 13px; }
.section { padding-top: 130px; }
.section-heading { max-width: 810px; margin-bottom: 42px; }
.section-heading h2, .audience-section h2, .contact-card h2 { margin: 10px 0 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 245px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17, 36, 59, .7), rgba(8, 20, 35, .8)); transition: transform .24s ease, border-color .24s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(85,230,189,.3); }
.card-number { color: #637a96; font: 700 11px ui-monospace, monospace; }
.card h3 { margin: 50px 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.stack-section { position: relative; }
.stack-grid { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stack-group { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 25px; min-height: 92px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: rgba(10, 23, 40, .62); }
.stack-group:last-child { border-bottom: 0; }
.stack-label { color: #6f86a1; font: 700 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .15em; }
.stack-group div { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-group b { padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); color: #dce8f7; font-size: 13px; }

.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.approach-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 24, 41, .62); }
.icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(85,230,189,.1); border: 1px solid rgba(85,230,189,.2); color: var(--accent); font: 800 12px ui-monospace, monospace; }
.approach-item h3 { margin: 1px 0 8px; font-size: 19px; }
.approach-item p { margin: 0; color: var(--muted); font-size: 14px; }

.audience-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: end; margin-top: 130px; padding: 54px; border: 1px solid rgba(85,230,189,.16); border-radius: 30px; background: radial-gradient(circle at 15% 20%, rgba(85,230,189,.09), transparent 35%), linear-gradient(135deg, rgba(13,31,51,.92), rgba(7,17,31,.95)); }
.audience-section { padding-top: 54px; }
.audience-section p { margin: 0; color: #aebed2; font-size: 17px; }

.contact-section { padding-bottom: 110px; }
.contact-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding: 54px; border-radius: 30px; background: linear-gradient(135deg, #eaf7ff 0%, #dffcf3 100%); color: #071522; box-shadow: var(--shadow); }
.contact-card .section-kicker { color: #08725b; }
.contact-card p { max-width: 640px; color: #456072; }
.contact-details { padding: 26px; border: 1px solid rgba(7, 21, 34, .1); border-radius: 22px; background: rgba(255,255,255,.38); }
.contact-name { margin-bottom: 15px; font-size: 21px; font-weight: 900; }
.reveal-button { width: 100%; }
.protected-contacts { display: grid; gap: 9px; margin-top: 16px; }
.contact-placeholder, .contact-link { min-height: 46px; display: flex; align-items: center; padding: 10px 13px; border-radius: 12px; background: rgba(7, 21, 34, .055); font: 700 14px ui-monospace, monospace; }
.contact-link { justify-content: space-between; gap: 14px; }
.contact-link small { color: #577183; font: 700 10px ui-sans-serif, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.noscript-note { font-size: 12px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: #6f829a; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .top-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 48px; padding-top: 100px; }
  .hero-visual { max-width: 700px; width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .audience-section, .contact-card { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 24px); max-width: 100%; }
  .site-header { width: calc(100% - 18px); top: 8px; margin-top: 8px; padding: 8px 9px; gap: 8px; }
  .brand-text { display: none; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .lang-switch { gap: 2px; padding: 3px; }
  .lang-btn { padding: 7px 9px; }

  .hero { gap: 34px; padding: 68px 0 48px; }
  .hero-copy, .hero-visual { min-width: 0; width: 100%; }
  .eyebrow { max-width: 100%; gap: 8px; margin-bottom: 18px; font-size: 10px; line-height: 1.45; letter-spacing: .12em; }
  .eyebrow span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .pulse { flex: 0 0 auto; }
  h1 { max-width: 100%; font-size: clamp(32px, 10.4vw, 44px); line-height: 1.02; letter-spacing: -.04em; overflow-wrap: normal; word-break: normal; hyphens: none; }
  .hero-lead { margin-top: 22px; font-size: 16px; line-height: 1.6; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .button { min-height: 50px; padding: 12px 16px; }
  .hero-notes { gap: 8px; margin-top: 22px; }
  .hero-notes span { max-width: 100%; padding: 6px 9px; font-size: 11px; line-height: 1.35; white-space: normal; }

  .terminal-card { width: 100%; min-width: 0; min-height: 390px; padding: 15px; border-radius: 24px; }
  .terminal-head { padding-bottom: 14px; }
  .terminal-body { padding-top: 17px; font-size: 11.5px; line-height: 1.8; white-space: nowrap; }
  .terminal-muted { padding-left: 18px; }
  .system-map { left: 10px; right: 10px; bottom: 22px; height: 165px; transform: scale(.82); transform-origin: center bottom; }
  .node { width: 68px; height: 68px; border-radius: 18px; font-size: 10px; }

  .stats { grid-template-columns: 1fr; border-radius: 18px; }
  .stat { padding: 23px 24px; }
  .cards, .approach-grid { grid-template-columns: 1fr; }
  .section { padding-top: 84px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .audience-section h2, .contact-card h2 { font-size: clamp(30px, 9vw, 42px); line-height: 1.08; overflow-wrap: normal; word-break: normal; hyphens: none; }
  #approach .section-heading h2 { font-size: clamp(28px, 8.3vw, 36px); line-height: 1.1; letter-spacing: -.035em; }
  .audience-section h2 { font-size: clamp(25px, 7.8vw, 31px); line-height: 1.12; letter-spacing: -.03em; }
  .section-heading p, .audience-section p { font-size: 15px; }
  .card { min-height: 0; padding: 22px; }
  .card h3 { margin-top: 32px; }
  .stack-group { grid-template-columns: 1fr; gap: 10px; min-width: 0; padding: 18px; }
  .stack-group div { min-width: 0; }
  .stack-group b { max-width: 100%; overflow-wrap: anywhere; }
  .approach-item { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 22px; }
  .icon { width: 42px; height: 42px; }
  .audience-section { margin-top: 84px; padding: 28px 22px; border-radius: 24px; }
  .contact-card { padding: 28px 20px; border-radius: 24px; }
  .contact-details { min-width: 0; padding: 17px; }
  .contact-placeholder, .contact-link { min-width: 0; font-size: 12px; overflow-wrap: anywhere; word-break: break-word; }
  .contact-link { align-items: flex-start; flex-direction: column; gap: 3px; }
  .site-footer { flex-direction: column; gap: 8px; }
}

@media (max-width: 430px) {
  .hero { padding-top: 60px; }
  h1 { font-size: clamp(29px, 9.6vw, 37px); line-height: 1.03; overflow-wrap: normal; word-break: normal; hyphens: none; }
  #approach .section-heading h2 { font-size: 28px; }
  .audience-section h2 { font-size: 25px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .terminal-card { min-height: 360px; }
  .system-map { transform: scale(.72); }
}

@media (max-width: 350px) {
  .container { width: calc(100% - 20px); }
  .site-header { width: calc(100% - 12px); }
  .brand-mark { width: 38px; height: 38px; }
  .lang-btn { padding-inline: 7px; }
  h1 { font-size: 27px; line-height: 1.04; }
  #approach .section-heading h2 { font-size: 26px; }
  .audience-section h2 { font-size: 23px; }
  .hero-lead { font-size: 15px; }
  .terminal-body { font-size: 10.5px; }
}

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