:root {
  --bg: #04111a;
  --bg-2: #061722;
  --surface: rgba(10, 27, 39, .74);
  --surface-solid: #091b27;
  --line: rgba(167, 207, 228, .13);
  --text: #f4f8fb;
  --muted: #a9bcc9;
  --green: #38e681;
  --green-rgb: 56, 230, 129;
  --gold: #f3b949;
  --gold-rgb: 243, 185, 73;
  --cyan: #38d7e8;
  --cyan-rgb: 56, 215, 232;
  --blue: #3b82f6;
  --blue-rgb: 59, 130, 246;
  --container: 1220px;
  --radius: 22px;
  --shadow: 0 28px 90px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 70% -5%, rgba(33, 103, 134, .11), transparent 30%),
    linear-gradient(180deg, #031019 0%, #05141e 54%, #04111a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::selection { background: rgba(var(--green-rgb), .28); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(3, 14, 22, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner { height: 88px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -.04em; }
.brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(var(--green-rgb), .18)); }
.brand span { color: #fff; }
.brand-small { font-size: 19px; }
.brand-small img { width: 34px; height: 34px; }
.main-nav { margin-left: auto; display: flex; gap: 34px; align-items: center; }
.main-nav a { color: #d8e3ea; font-size: 14px; position: relative; padding: 8px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--green); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta { display: inline-flex; align-items: center; gap: 14px; margin-left: 6px; border: 1px solid rgba(var(--green-rgb), .65); border-radius: 999px; padding: 12px 18px; font-size: 14px; background: rgba(var(--green-rgb), .035); transition: transform .2s ease, background .2s ease; }
.header-cta:hover { transform: translateY(-1px); background: rgba(var(--green-rgb), .1); }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

.hero {
  position: relative;
  min-height: 760px;
  padding: 162px 0 90px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 46%, rgba(9, 75, 79, .12), transparent 26%),
    radial-gradient(circle at 78% 31%, rgba(13, 72, 94, .17), transparent 33%),
    linear-gradient(90deg, rgba(3,14,22,.95) 0%, rgba(3,14,22,.72) 45%, rgba(3,14,22,.25) 100%);
  z-index: 0;
}
.hero-wave {
  position: absolute;
  width: min(1120px, 78vw);
  height: 650px;
  right: -30px;
  top: 72px;
  background: url('assets/ecosystem-waves.svg') center / contain no-repeat;
  opacity: .88;
  z-index: 0;
  pointer-events: none;
  filter: saturate(.95);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; }
.hero-copy { max-width: 610px; }
.eyebrow { margin: 0 0 18px; color: var(--green); text-transform: uppercase; letter-spacing: .27em; font-weight: 700; font-size: 11px; }
.hero h1, .section h2 { margin: 0; letter-spacing: -.045em; line-height: 1.03; }
.hero h1 { font-size: clamp(48px, 5.5vw, 78px); max-width: 710px; }
.hero h1 span, .section h2 span { color: var(--green); }
.hero-lead { max-width: 570px; margin: 26px 0 0; color: #c3d1da; font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button-primary { color: #02170b; background: linear-gradient(135deg, #57f29a, #2ed97a); box-shadow: 0 12px 40px rgba(var(--green-rgb), .18); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(var(--green-rgb), .24); }
.button-outline { border: 1px solid rgba(var(--green-rgb), .58); background: rgba(var(--green-rgb), .05); color: #fff; }
.button-outline:hover { transform: translateY(-2px); background: rgba(var(--green-rgb), .10); }
.text-link { color: #e2ebf0; font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(226,235,240,.45); }

.hero-visual { position: relative; min-height: 490px; }
.hero-symbol-wrap { position: absolute; left: 53%; top: 48%; width: 150px; height: 150px; transform: translate(-50%,-50%); border: 1px solid rgba(var(--green-rgb), .18); border-radius: 50%; background: radial-gradient(circle, rgba(56,230,129,.12), rgba(4,17,26,.08) 70%); display: grid; place-items: center; box-shadow: 0 0 80px rgba(var(--green-rgb), .12); }
.hero-symbol { width: 108px; height: 108px; object-fit: contain; filter: drop-shadow(0 0 22px rgba(var(--green-rgb), .28)); }
.hero-note { position: absolute; right: 0; top: 39%; padding-left: 20px; border-left: 1px solid rgba(var(--green-rgb), .75); color: #9ec7cc; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .26em; line-height: 1.75; }
.orbit { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid var(--line); background: rgba(3,16,24,.58); backdrop-filter: blur(12px); border-radius: 999px; font-size: 12px; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.orbit .dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 16px currentColor; }
.orbit-messaging { color: var(--green); left: 29%; top: 13%; }
.orbit-phone { color: var(--gold); right: 5%; top: 20%; }
.orbit-cc { color: var(--cyan); left: 22%; bottom: 18%; }
.orbit-smsc { color: var(--blue); right: 3%; bottom: 13%; }
.orbit strong { color: #eef5f8; font-weight: 700; }

.section { position: relative; padding: 98px 0; border-bottom: 1px solid var(--line); }
.section-about { background: linear-gradient(180deg, rgba(7,23,34,.42), rgba(4,17,26,.12)); }
.section-heading { margin-bottom: 54px; }
.split-heading { display: grid; grid-template-columns: 1.05fr .75fr; gap: 70px; align-items: end; }
.section h2 { font-size: clamp(38px, 4vw, 58px); }
.split-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 16px; max-width: 510px; }

.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.feature { padding-top: 6px; }
.feature-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); }
.feature-icon svg, .product-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin: 0 0 10px; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.product-green { color: var(--green); box-shadow: inset 0 0 24px rgba(var(--green-rgb), .05); }
.product-gold { color: var(--gold); box-shadow: inset 0 0 24px rgba(var(--gold-rgb), .05); }
.product-cyan { color: var(--cyan); box-shadow: inset 0 0 24px rgba(var(--cyan-rgb), .05); }
.product-blue { color: var(--blue); box-shadow: inset 0 0 24px rgba(var(--blue-rgb), .05); }

.ecosystem { overflow: hidden; background: linear-gradient(180deg, rgba(4,17,26,.2), rgba(7,24,36,.62)); }
.ecosystem-wave { position: absolute; left: 50%; bottom: -240px; width: 1700px; height: 800px; transform: translateX(-50%) rotate(3deg); opacity: .16; background: url('assets/ecosystem-waves.svg') center / contain no-repeat; pointer-events: none; }
.product-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.product-card { --accent: var(--green); --accent-rgb: var(--green-rgb); min-height: 360px; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 28px 26px 24px; border-radius: 18px; border: 1px solid rgba(var(--accent-rgb), .20); background: linear-gradient(180deg, rgba(var(--accent-rgb), .045), rgba(7,24,35,.78) 55%, rgba(4,17,26,.92)); box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease; }
.product-card::before { content: ""; position: absolute; left: -20%; right: -20%; bottom: -96px; height: 190px; background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), .16), transparent 68%); transform: rotate(-7deg); filter: blur(10px); }
.product-card::after { content: ""; position: absolute; left: -20px; right: -20px; bottom: 44px; height: 82px; opacity: .5; background: repeating-radial-gradient(ellipse at 42% 140%, rgba(var(--accent-rgb), .8) 0 1px, transparent 1px 8px); transform: rotate(-5deg) scaleY(.4); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 80%, transparent); }
.product-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .42); }
.card-green { --accent: var(--green); --accent-rgb: var(--green-rgb); }
.card-gold { --accent: var(--gold); --accent-rgb: var(--gold-rgb); }
.card-cyan { --accent: var(--cyan); --accent-rgb: var(--cyan-rgb); }
.card-blue { --accent: var(--blue); --accent-rgb: var(--blue-rgb); }
.product-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.product-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .38); background: rgba(var(--accent-rgb), .07); box-shadow: 0 0 28px rgba(var(--accent-rgb), .10); }
.product-card h3 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.product-card h3 span { color: var(--accent); }
.product-card > p { position: relative; z-index: 2; margin: 0; color: #b7c7d1; font-size: 14px; }
.product-card > a { position: relative; z-index: 3; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(var(--accent-rgb), .34); color: var(--accent); font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; }
.trust-strip { margin-top: 20px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); background: rgba(7,23,34,.58); border-radius: 16px; overflow: hidden; }
.trust-strip > div { padding: 20px 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip strong, .trust-strip small { grid-column: 2; }
.trust-strip strong { font-size: 14px; }
.trust-strip small { color: var(--muted); margin-top: 2px; }
.mini { grid-row: 1 / span 2; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; box-shadow: 0 0 18px currentColor; }
.mini.green { background: var(--green); color: var(--green); }
.mini.gold { background: var(--gold); color: var(--gold); }
.mini.cyan { background: var(--cyan); color: var(--cyan); }
.mini.blue { background: var(--blue); color: var(--blue); }

.contact { background: radial-gradient(circle at 76% 50%, rgba(var(--green-rgb), .07), transparent 32%), linear-gradient(180deg, #051722, #04131d); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact h2 { max-width: 590px; }
.contact-copy { display: flex; align-items: center; gap: 28px; justify-content: space-between; }
.contact-copy p { margin: 0; max-width: 470px; color: var(--muted); }
.contact-copy .button { flex: 0 0 auto; }

.site-footer { padding: 28px 0; background: #031019; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 30px; color: #8da3b1; font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a:hover { color: #fff; }
.footer-inner small { font-size: 11px; }

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

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

@media (max-width: 1050px) {
  .hero { min-height: 720px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { gap: 22px; }
  .header-cta { display: none; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .trust-strip > div:nth-child(2) { border-right: 0; }
  .trust-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { height: 74px; }
  .brand { font-size: 21px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 74px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(4,17,26,.96); backdrop-filter: blur(18px); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .main-nav a::after { display: none; }
  .hero { padding: 126px 0 72px; min-height: auto; }
  .hero::before { background: linear-gradient(180deg, rgba(3,14,22,.82), rgba(3,14,22,.55)); }
  .hero-wave { width: 1200px; right: -550px; top: 110px; opacity: .55; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(46px, 13vw, 68px); }
  .hero-lead { font-size: 17px; }
  .hero-visual { min-height: 390px; margin-top: 20px; }
  .hero-symbol-wrap { width: 120px; height: 120px; }
  .hero-symbol { width: 86px; height: 86px; }
  .hero-note { right: 8px; top: 43%; font-size: 9px; }
  .orbit { font-size: 10px; }
  .orbit-messaging { left: 2%; top: 7%; }
  .orbit-phone { right: 2%; top: 18%; }
  .orbit-cc { left: 0; bottom: 15%; }
  .orbit-smsc { right: 2%; bottom: 8%; }
  .section { padding: 74px 0; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading { margin-bottom: 42px; }
  .feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 330px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip > div:last-child { border-bottom: 0; }
  .contact-copy { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner nav { flex-wrap: wrap; }
}

@media (max-width: 430px) {
  .hero-actions { align-items: stretch; }
  .button-primary { width: 100%; }
  .text-link { width: fit-content; }
  .hero-visual { min-height: 340px; }
  .hero-note { display: none; }
  .orbit { padding: 8px 10px; }
  .orbit-phone { top: 22%; }
  .orbit-smsc { bottom: 2%; }
}

/* Language switcher */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3,16,24,.46);
  backdrop-filter: blur(12px);
}
.language-switch a {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #91a8b6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  transition: background .2s ease, color .2s ease;
}
.language-switch a:hover { color: #fff; }
.language-switch a.active {
  color: #03150b;
  background: var(--green);
}

@media (max-width: 780px) {
  .language-switch { margin-left: auto; }
  .language-switch a { min-width: 30px; padding: 5px 6px; font-size: 9px; }
  .menu-toggle { margin-left: 0; }
}

@media (max-width: 430px) {
  .brand span { display: none; }
}


/* Frictionless contact CTA */
.cta-note {
  width: 100%;
  max-width: 520px;
  margin: 14px 0 0;
  color: #8fa8b6;
  font-size: 12px;
  line-height: 1.55;
}
.cta-note::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
  font-weight: 800;
}
.contact-copy-simple {
  display: grid;
  justify-items: start;
  gap: 18px;
}
.contact-copy-simple > p { max-width: 560px; }
.contact-primary { min-width: 240px; }
.contact-note {
  margin: -4px 0 0 !important;
  color: #8fa8b6 !important;
  font-size: 12px;
  line-height: 1.55;
}
.plain-email {
  color: #d6e3ea;
  font-size: 13px;
  border-bottom: 1px solid rgba(214,227,234,.28);
  padding-bottom: 2px;
}
.plain-email:hover { color: #fff; border-color: rgba(var(--green-rgb), .55); }
.product-card > a {
  transition: opacity .2s ease, transform .2s ease;
}
.product-card > a:hover {
  opacity: .9;
  transform: translateX(2px);
}
@media (max-width: 780px) {
  .cta-note { max-width: none; }
  .contact-primary { width: 100%; min-width: 0; }
}


/* Human-friendly product cards + expandable descriptions */
.product-grid { align-items: start; }
.product-card { min-height: 0; }
.product-card > p.product-intro {
  color: #d7e3e9;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.product-use {
  position: relative;
  z-index: 2;
  margin: 0 0 18px !important;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), .15);
  background: rgba(var(--accent-rgb), .045);
  color: #9eb2bd !important;
  font-size: 12.5px !important;
  line-height: 1.55;
}
.product-use strong { color: var(--accent); font-weight: 750; }
.product-more {
  position: relative;
  z-index: 4;
  margin-top: 2px;
  border-top: 1px solid rgba(var(--accent-rgb), .23);
  border-bottom: 1px solid rgba(var(--accent-rgb), .23);
}
.product-more summary {
  list-style: none;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #dbe7ed;
  font-size: 13px;
  font-weight: 720;
  user-select: none;
}
.product-more summary::-webkit-details-marker { display: none; }
.product-more summary:hover { color: #fff; }
.summary-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .35);
  background: rgba(var(--accent-rgb), .06);
  font-size: 17px;
  line-height: 1;
  transition: transform .22s ease, background .22s ease;
}
.product-more[open] .summary-icon { transform: rotate(45deg); background: rgba(var(--accent-rgb), .12); }
.product-more-content { padding: 0 0 18px; animation: productReveal .2s ease; }
.product-more-content h4 { margin: 8px 0 12px; color: #fff; font-size: 15px; }
.product-more-content p { margin: 0 0 11px; color: #aebfc8; font-size: 12.5px; line-height: 1.65; }
.product-more-content p:last-child { margin-bottom: 0; }
.product-best { padding-top: 10px; color: #c8d6dd !important; }
.product-best strong { color: var(--accent); }
.product-card > a.product-contact {
  position: relative;
  z-index: 4;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(var(--accent-rgb), .35);
  border-radius: 11px;
  background: rgba(var(--accent-rgb), .075);
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card > a.product-contact:hover {
  opacity: 1;
  transform: translateY(-1px);
  background: rgba(var(--accent-rgb), .13);
  border-color: rgba(var(--accent-rgb), .52);
}
@keyframes productReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 780px) {
  .product-card > p.product-intro { font-size: 15px; }
  .product-more-content p { font-size: 13px; }
}
