:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg-soft: #0a1020;
  --surface: rgba(255, 255, 255, 0.072);
  --surface-strong: rgba(255, 255, 255, 0.115);
  --stroke: rgba(255, 255, 255, 0.15);
  --stroke-strong: rgba(127, 221, 255, 0.38);
  --text: #f7fbff;
  --muted: #aeb8c8;
  --muted-strong: #d5ddea;
  --blue: #20b7ff;
  --violet: #8b5cf6;
  --emerald: #34d399;
  --amber: #f7c948;
  --rose: #ff6b9d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --radius-lg: 18px;
  --max: 1180px;
  --nav-height: 76px;
  --font: "Cairo", "Tajawal", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 6%, rgba(32, 183, 255, 0.19), transparent 28rem),
    radial-gradient(circle at 18% 28%, rgba(52, 211, 153, 0.13), transparent 30rem),
    linear-gradient(145deg, #05070f 0%, #090a15 42%, #0d0b18 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.75;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
  z-index: -1;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 15, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px);
}

.navbar {
  width: min(100% - 32px, 1240px);
  height: var(--nav-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 183, 255, 0.18), rgba(139, 92, 246, 0.16)),
    rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 0 30px rgba(32, 183, 255, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.73rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
}

.nav-panel a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.87rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-panel a:hover,
.nav-panel a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-hero {
  display: grid;
  align-items: center;
  padding: calc(var(--nav-height) + 38px) 0 58px;
  isolation: isolate;
}

.network-canvas,
.hero-aurora,
.hero-grid,
.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.network-canvas {
  z-index: -4;
  opacity: 0.68;
}

.hero-aurora {
  z-index: -5;
  background:
    conic-gradient(from 210deg at 74% 45%, transparent 0deg, rgba(32, 183, 255, 0.2) 70deg, rgba(139, 92, 246, 0.16) 130deg, rgba(52, 211, 153, 0.16) 190deg, transparent 290deg),
    radial-gradient(ellipse at 72% 38%, rgba(247, 201, 72, 0.11), transparent 28rem);
  filter: blur(18px);
  animation: auroraShift 14s ease-in-out infinite alternate;
}

.hero-grid {
  z-index: -3;
  background:
    linear-gradient(rgba(32, 183, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(600px) rotateX(62deg) translateY(20%);
  transform-origin: bottom;
  opacity: 0.34;
  mask-image: linear-gradient(to bottom, transparent 0%, black 45%, transparent 92%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(34px, 6vw, 74px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #9ee8ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--emerald));
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  display: grid;
  gap: 7px;
  font-size: clamp(3.25rem, 8vw, 7.25rem);
  font-weight: 900;
}

.hero h1 span:first-child {
  direction: ltr;
  text-align: right;
  background: linear-gradient(105deg, #ffffff 10%, #b7edff 42%, #bda8ff 68%, #bbf7d0 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 50px rgba(32, 183, 255, 0.22);
}

.hero h1 span:last-child {
  font-size: clamp(2.05rem, 4.7vw, 4.65rem);
  color: rgba(255, 255, 255, 0.93);
}

.hero-title {
  margin: 20px 0 12px;
  direction: ltr;
  text-align: right;
  color: #e4ecf8;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
}

.hero h2 {
  max-width: 830px;
  margin: 0;
  color: #dbeafe;
  font-size: clamp(1.45rem, 3.2vw, 3.1rem);
  line-height: 1.35;
  font-weight: 800;
}

.hero-description {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.18) 48%, transparent 55%);
  transform: translateX(130%);
  transition: transform 520ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::before {
  transform: translateX(-130%);
}

.btn span,
.btn svg {
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(32, 183, 255, 0.96), rgba(139, 92, 246, 0.86));
  box-shadow: 0 18px 44px rgba(32, 183, 255, 0.24);
}

.btn-primary:hover {
  border-color: rgba(183, 237, 255, 0.72);
  box-shadow: 0 24px 60px rgba(32, 183, 255, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.btn-secondary:hover {
  border-color: rgba(52, 211, 153, 0.58);
  box-shadow: 0 18px 42px rgba(52, 211, 153, 0.16);
}

.btn-ghost {
  color: #cfeeff;
  background: rgba(32, 183, 255, 0.075);
}

.hero-stage {
  z-index: -2;
  perspective: 1100px;
  transform-style: preserve-3d;
  transform: translate3d(var(--stage-x, 0), var(--stage-y, 0), 0);
  transition: transform 450ms ease-out;
  will-change: transform;
}

.float-layer {
  position: absolute;
  transition: transform 400ms ease-out;
  will-change: transform;
}

.core-chip {
  top: 17%;
  left: 12%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(32, 183, 255, 0.38);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(32, 183, 255, 0.11), rgba(52, 211, 153, 0.06)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 0 34px rgba(32, 183, 255, 0.1),
    0 0 70px rgba(32, 183, 255, 0.14);
  transform: rotateX(58deg) rotateZ(-14deg);
  animation: floatA 8s ease-in-out infinite;
}

.core-chip::before,
.core-chip::after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}

.core-chip::after {
  inset: 72px;
  border-color: rgba(52, 211, 153, 0.42);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.22);
}

.chip-line {
  position: absolute;
  height: 1px;
  width: 72px;
  background: linear-gradient(90deg, transparent, rgba(32, 183, 255, 0.85), transparent);
}

.chip-line:nth-child(1) {
  top: 35px;
  left: 68px;
}

.chip-line:nth-child(2) {
  bottom: 42px;
  right: 64px;
}

.chip-line:nth-child(3) {
  width: 1px;
  height: 78px;
  top: 62px;
  right: 34px;
  background: linear-gradient(180deg, transparent, rgba(52, 211, 153, 0.82), transparent);
}

.chip-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbf7d0;
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.82);
}

.chip-dot-a {
  top: 32px;
  right: 52px;
}

.chip-dot-b {
  left: 42px;
  bottom: 55px;
}

.chip-dot-c {
  left: 88px;
  top: 90px;
  background: #b7edff;
  box-shadow: 0 0 18px rgba(32, 183, 255, 0.82);
}

.wire-cube {
  top: 20%;
  right: 7%;
  width: 170px;
  height: 170px;
  transform-style: preserve-3d;
  animation: cubeDrift 10s ease-in-out infinite;
}

.cube-face,
.cube-edge {
  position: absolute;
  border: 1px solid rgba(183, 237, 255, 0.36);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.17);
}

.cube-face {
  inset: 0;
  border-radius: 16px;
}

.cube-front {
  transform: translateZ(35px);
}

.cube-back {
  transform: translate(-34px, 34px) translateZ(-35px);
  border-color: rgba(52, 211, 153, 0.26);
}

.cube-edge {
  width: 52px;
  height: 1px;
  transform-origin: left center;
}

.edge-a {
  top: 0;
  left: 0;
  transform: rotate(135deg);
}

.edge-b {
  top: 0;
  right: 0;
  transform: rotate(135deg);
}

.edge-c {
  bottom: 0;
  left: 0;
  transform: rotate(135deg);
}

.edge-d {
  bottom: 0;
  right: 0;
  transform: rotate(135deg);
}

.signal-ring {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    conic-gradient(from 0deg, rgba(32, 183, 255, 0.02), rgba(32, 183, 255, 0.55), rgba(52, 211, 153, 0.04), rgba(139, 92, 246, 0.42), rgba(32, 183, 255, 0.02));
  mask-image: radial-gradient(circle, transparent 58%, black 60%);
  animation: rotateSlow 16s linear infinite;
}

.ring-one {
  width: 320px;
  height: 320px;
  right: 17%;
  bottom: 11%;
}

.ring-two {
  width: 190px;
  height: 190px;
  left: 21%;
  bottom: 14%;
  animation-duration: 11s;
  animation-direction: reverse;
}

.data-panel {
  min-width: 142px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 13, 28, 0.54);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.data-panel span,
.data-panel b {
  display: block;
}

.data-panel span {
  color: var(--muted);
  font-size: 0.72rem;
}

.data-panel b {
  color: #ffffff;
  font-size: 1.35rem;
}

.panel-one {
  left: 24%;
  top: 42%;
  animation: floatB 7s ease-in-out infinite;
}

.panel-two {
  right: 27%;
  top: 68%;
  animation: floatA 9s ease-in-out infinite reverse;
}

.hero-console {
  position: relative;
  max-width: 380px;
  margin-inline-start: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(8, 13, 28, 0.58);
  box-shadow: var(--shadow), 0 0 90px rgba(32, 183, 255, 0.16);
  backdrop-filter: blur(24px);
  transform: perspective(900px) rotateY(7deg) rotateX(3deg);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(32, 183, 255, 0.6), transparent 42%, rgba(52, 211, 153, 0.44));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.console-top {
  display: flex;
  gap: 7px;
  margin-bottom: 26px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.console-top span:nth-child(2) {
  background: var(--amber);
}

.console-top span:nth-child(3) {
  background: var(--emerald);
}

.console-line,
.console-metric {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.console-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  direction: ltr;
}

.console-line span,
.console-metric p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.console-line strong {
  color: var(--emerald);
}

.console-metric {
  direction: ltr;
}

.metric-bars {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.metric-bars span {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.metric-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--emerald));
  box-shadow: 0 0 20px rgba(32, 183, 255, 0.45);
  animation: growBar 1000ms ease both;
}

.console-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  direction: ltr;
}

.console-tags span,
.project-label,
.category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #b7edff;
  font-size: 0.72rem;
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.section-heading {
  max-width: 700px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  font-weight: 900;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-card,
.glass-card,
.project-card,
.content-card,
.contact-panel,
.link-strip {
  border: 1px solid var(--stroke);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mini-card,
.glass-card {
  position: relative;
  min-height: 220px;
  padding: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
}

.mini-card::after,
.glass-card::after,
.project-card::after,
.content-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.14), transparent 30%);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.tilt-card:hover::after {
  opacity: 1;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(32, 183, 255, 0.16), rgba(52, 211, 153, 0.11));
  color: #a5f3fc;
  box-shadow: 0 14px 36px rgba(32, 183, 255, 0.13);
}

.mini-card h3,
.service-card h3,
.project-card h3,
.content-card h3 {
  margin: 18px 0 10px;
  color: #ffffff;
  font-size: 1.16rem;
  line-height: 1.35;
}

.mini-card p,
.service-card p,
.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.service-card {
  min-height: 280px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  border-color: var(--stroke-strong);
  background:
    linear-gradient(145deg, rgba(32, 183, 255, 0.115), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.projects-section::before,
.content-section::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 0;
  width: min(460px, 52vw);
  height: 420px;
  background: linear-gradient(135deg, rgba(32, 183, 255, 0.14), rgba(247, 201, 72, 0.1), transparent);
  filter: blur(62px);
  opacity: 0.7;
  pointer-events: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.project-card {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transition: border-color 180ms ease, transform 180ms ease;
}

.project-card:hover {
  border-color: rgba(52, 211, 153, 0.44);
}

.project-visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    #08101f;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  transform: perspective(700px) rotateX(60deg) rotateZ(-18deg);
}

.project-visual span {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.project-visual span:nth-child(1) {
  width: 78px;
  height: 78px;
  top: 62px;
  right: 56px;
  border-radius: 14px;
  animation: floatA 7s ease-in-out infinite;
}

.project-visual span:nth-child(2) {
  width: 116px;
  height: 64px;
  left: 48px;
  top: 88px;
  border-radius: 12px;
  animation: floatB 8s ease-in-out infinite;
}

.project-visual span:nth-child(3) {
  width: 150px;
  height: 1px;
  right: 26%;
  bottom: 64px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  border: 0;
}

.qareeb-visual {
  background:
    radial-gradient(circle at 74% 36%, rgba(52, 211, 153, 0.34), transparent 9rem),
    linear-gradient(135deg, rgba(32, 183, 255, 0.12), rgba(255, 255, 255, 0.03)),
    #07111e;
}

.studio-visual {
  background:
    radial-gradient(circle at 48% 42%, rgba(139, 92, 246, 0.36), transparent 9rem),
    linear-gradient(135deg, rgba(255, 107, 157, 0.12), rgba(255, 255, 255, 0.03)),
    #0b0b18;
}

.hub-visual {
  background:
    radial-gradient(circle at 42% 38%, rgba(247, 201, 72, 0.27), transparent 9rem),
    linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(255, 255, 255, 0.03)),
    #10100c;
}

.project-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.project-content h3 {
  margin-top: 14px;
  font-size: 1.45rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.content-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 365px;
  padding: 14px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
}

.thumbnail {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}

.thumbnail::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: perspective(450px) rotateX(55deg) rotateZ(-23deg);
  z-index: -1;
}

.thumbnail::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  transform: rotate(45deg);
  z-index: -1;
}

.thumbnail span {
  direction: ltr;
  font-weight: 900;
  font-size: 1.35rem;
  color: #ffffff;
  text-shadow: 0 0 26px rgba(255, 255, 255, 0.35);
}

.ai-news {
  background: linear-gradient(135deg, rgba(32, 183, 255, 0.28), rgba(52, 211, 153, 0.12)), #07111e;
}

.tools {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(32, 183, 255, 0.1)), #0c0a19;
}

.explainers {
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.24), rgba(52, 211, 153, 0.1)), #111007;
}

.apps {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.21), rgba(32, 183, 255, 0.1)), #120914;
}

.content-card > div:last-child {
  padding: 18px 4px 4px;
}

.content-card h3 {
  min-height: 58px;
  margin-bottom: 18px;
}

.content-card a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #dff7ff;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.content-card a:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 183, 255, 0.45);
  background: rgba(32, 183, 255, 0.12);
}

.links-section {
  padding: 54px 0;
}

.link-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-lg);
}

.link-strip a {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  color: #eaf7ff;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.link-strip a:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 211, 153, 0.46);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: clamp(26px, 5vw, 54px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 460px;
  height: 460px;
  background: conic-gradient(from 120deg, rgba(32, 183, 255, 0.26), rgba(139, 92, 246, 0.18), rgba(52, 211, 153, 0.22), rgba(32, 183, 255, 0.26));
  filter: blur(60px);
  opacity: 0.58;
  pointer-events: none;
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-panel h2 {
  max-width: 850px;
  font-size: clamp(1.95rem, 3.4vw, 4rem);
}

.contact-panel p {
  margin: 18px 0 0;
  color: var(--muted);
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  padding: 42px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 7, 15, 0.58);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
}

.footer-inner strong {
  display: block;
}

.footer-inner p,
.footer-inner small {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #dff7ff;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes auroraShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-3%, 2%, 0) scale(1.07);
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatA {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

@keyframes floatB {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 12px 16px;
  }
}

@keyframes cubeDrift {
  0%,
  100% {
    transform: rotateX(58deg) rotateZ(22deg) translateY(0);
  }
  50% {
    transform: rotateX(64deg) rotateZ(35deg) translateY(-18px);
  }
}

@keyframes growBar {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (max-width: 1080px) {
  .hero-content,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-console {
    margin-inline: 0;
    max-width: 520px;
    transform: none;
  }

  .card-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .link-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 68px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .navbar {
    width: min(100% - 24px, 1240px);
  }

  .menu-toggle {
    display: grid;
  }

  .nav-panel {
    position: fixed;
    top: calc(var(--nav-height) + 8px);
    right: 12px;
    left: 12px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(5, 7, 15, 0.92);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .menu-open .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-panel a {
    display: block;
    padding: 13px 14px;
  }

  .section {
    padding: 84px 0;
  }

  .section-hero {
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 48px;
  }

  .hero h1 span:first-child,
  .hero-title {
    text-align: right;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    flex: 1 1 100%;
  }

  .hero-console {
    display: none;
  }

  .core-chip {
    width: 150px;
    height: 150px;
    top: 13%;
    left: -34px;
    opacity: 0.68;
  }

  .wire-cube {
    width: 120px;
    height: 120px;
    right: -18px;
    top: 16%;
    opacity: 0.7;
  }

  .ring-one {
    width: 220px;
    height: 220px;
    right: 34%;
    bottom: 22%;
    opacity: 0.55;
  }

  .ring-two,
  .panel-one,
  .panel-two {
    display: none;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .mini-card {
    min-height: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-hero {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 44px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 16vw, 4.2rem);
  }

  .hero h1 span:last-child {
    font-size: clamp(1.65rem, 10vw, 2.8rem);
  }

  .hero h2 {
    font-size: clamp(1.25rem, 7vw, 2rem);
  }

  .hero-description,
  .section-heading p {
    font-size: 0.96rem;
  }

  .card-grid,
  .content-grid,
  .link-strip {
    grid-template-columns: 1fr;
  }

  .glass-card,
  .mini-card {
    min-height: auto;
  }

  .project-visual,
  .thumbnail {
    min-height: 180px;
  }

  .content-card {
    min-height: auto;
  }

  .content-card h3 {
    min-height: auto;
  }

  .link-strip a {
    justify-content: flex-start;
  }
}

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

/* Nawa bilingual expansion */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(52, 211, 153, 0.95);
  outline-offset: 4px;
}

html[dir="ltr"] body {
  text-align: left;
}

html[dir="ltr"] .hero h1 span:first-child,
html[dir="ltr"] .hero-title {
  text-align: left;
}

html[dir="ltr"] .eyebrow::before {
  background: linear-gradient(90deg, var(--emerald), var(--blue), transparent);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  white-space: nowrap;
}

.nav-panel .language-switcher a {
  padding: 4px 2px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-panel .language-switcher a:hover,
.nav-panel .language-switcher a.is-active {
  color: #ffffff;
  background: transparent;
  transform: none;
}

.project-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.featured-product {
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: var(--shadow), 0 0 80px rgba(45, 212, 191, 0.14);
}

.featured-product:hover {
  border-color: rgba(103, 232, 249, 0.62);
}

.nawa-visual {
  background:
    radial-gradient(circle at 72% 34%, rgba(45, 212, 191, 0.42), transparent 8rem),
    radial-gradient(circle at 28% 70%, rgba(32, 183, 255, 0.22), transparent 9rem),
    linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(255, 255, 255, 0.03)),
    #06131d;
}

.nawa-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 249, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 249, 232, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.nawa-mini-phone {
  position: absolute;
  right: 28%;
  top: 32px;
  width: 126px;
  height: 190px;
  padding: 18px 12px;
  border: 1px solid rgba(167, 243, 208, 0.34);
  border-radius: 24px;
  background: rgba(2, 12, 22, 0.66);
  box-shadow: 0 24px 70px rgba(45, 212, 191, 0.18);
  transform: perspective(650px) rotateY(-18deg) rotateX(8deg);
}

.nawa-mini-phone i {
  display: block;
  height: 18px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.74), rgba(32, 183, 255, 0.28));
}

.nawa-mini-phone i:nth-child(2) {
  width: 72%;
}

.nawa-mini-phone i:nth-child(3) {
  width: 88%;
}

.nawa-mini-phone i:nth-child(4) {
  width: 58%;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  color: #a7f3d0;
  font-weight: 900;
}

.nawa-page .hero-aurora {
  background:
    conic-gradient(from 200deg at 70% 38%, transparent 0deg, rgba(45, 212, 191, 0.24) 74deg, rgba(32, 183, 255, 0.18) 136deg, rgba(139, 92, 246, 0.12) 210deg, transparent 300deg),
    radial-gradient(ellipse at 22% 72%, rgba(52, 211, 153, 0.16), transparent 27rem);
}

.product-hero {
  min-height: 100svh;
}

.product-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}

.product-hero-copy h1,
.legal-content h1,
.support-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: 1.03;
  font-weight: 950;
}

.product-hero-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
}

.product-hero-copy small {
  display: block;
  margin-top: 18px;
  color: #a7f3d0;
  font-weight: 800;
}

.phone-showcase {
  justify-self: center;
  perspective: 1100px;
}

.phone-frame {
  width: min(360px, 78vw);
  min-height: 640px;
  padding: 18px;
  border: 1px solid rgba(167, 243, 208, 0.28);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(3, 12, 24, 0.74);
  box-shadow: 0 30px 110px rgba(45, 212, 191, 0.18), var(--shadow);
  transform: rotateY(-10deg) rotateX(4deg);
}

html[dir="ltr"] .phone-frame {
  transform: rotateY(10deg) rotateX(4deg);
}

.phone-status {
  width: 86px;
  height: 8px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.mock-screen {
  min-height: 580px;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 74% 16%, rgba(45, 212, 191, 0.32), transparent 9rem),
    linear-gradient(180deg, rgba(9, 21, 36, 0.96), rgba(4, 10, 20, 0.96));
}

.mock-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.14);
  color: #99f6e4;
  font-size: 0.76rem;
  font-weight: 900;
}

.mock-screen h3 {
  margin: 26px 0 12px;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.3;
}

.mock-screen p {
  margin: 0;
  color: var(--muted);
}

.mock-bars {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.mock-bars span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.75), rgba(32, 183, 255, 0.18));
}

.mock-bars span:nth-child(2) {
  width: 74%;
}

.mock-bars span:nth-child(3) {
  width: 88%;
}

.tool-stack {
  display: grid;
  gap: 12px;
}

.tool-stack span,
.use-case-card,
.support-card,
.support-panel,
.faq-item,
.pricing-card,
.toc,
.legal-content,
.feature-list {
  border: 1px solid var(--stroke);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.tool-stack span {
  padding: 14px;
  border-radius: 12px;
  color: #eafffb;
  font-weight: 800;
}

.steps-grid,
.pricing-grid,
.support-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.step-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.88), rgba(32, 183, 255, 0.72));
  color: #001018;
  font-weight: 950;
}

.step-card h3,
.pricing-card h3,
.support-card h2,
.support-panel h2,
.legal-content h2 {
  margin: 18px 0 10px;
  color: #ffffff;
  line-height: 1.28;
}

.step-card p,
.pricing-card li,
.support-card p,
.support-panel p,
.faq-item p,
.legal-content p {
  color: var(--muted);
}

.use-case-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.use-case-card {
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-weight: 900;
}

.use-case-card svg {
  color: #99f6e4;
  flex: 0 0 auto;
}

.feature-column {
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 8px;
  color: #edf7ff;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.feature-list div span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.8);
  flex: 0 0 auto;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-lg);
}

.pricing-card-pro {
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: var(--shadow), 0 0 80px rgba(45, 212, 191, 0.14);
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-card li::before {
  content: "•";
  color: #5eead4;
  margin-inline-end: 8px;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.legal-hero,
.support-hero {
  padding-top: calc(var(--nav-height) + 76px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 780px);
  align-items: start;
  gap: 28px;
}

html[dir="rtl"] .legal-layout {
  grid-template-columns: minmax(0, 780px) 280px;
}

html[dir="rtl"] .toc {
  order: 2;
}

.toc,
.legal-content,
.support-card,
.support-panel,
.faq-item {
  border-radius: var(--radius-lg);
}

.toc {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: grid;
  gap: 8px;
  padding: 18px;
}

.toc h2 {
  margin: 8px 0;
  font-size: 1rem;
}

.toc a,
.back-link {
  color: var(--muted-strong);
  font-weight: 800;
}

.toc a:hover,
.back-link:hover {
  color: #99f6e4;
}

.legal-content {
  padding: clamp(24px, 5vw, 52px);
}

.legal-content h1,
.support-hero h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
}

.last-updated {
  margin: 14px 0 34px;
  color: #99f6e4;
  font-weight: 800;
}

.legal-content section {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content a {
  color: #99f6e4;
  font-weight: 900;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.support-card,
.support-panel {
  padding: clamp(22px, 4vw, 34px);
}

.support-card .btn {
  margin-top: 18px;
}

.faq-grid {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #ffffff;
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
}

.support-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .product-hero-grid,
  .support-grid,
  .legal-layout,
  html[dir="rtl"] .legal-layout {
    grid-template-columns: 1fr;
  }

  html[dir="rtl"] .toc {
    order: 0;
  }

  .toc {
    position: relative;
    top: auto;
  }

  .steps-grid,
  .use-case-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .language-switcher {
    justify-content: flex-start;
    border-radius: 8px;
    padding: 10px 14px;
  }

  .nav-panel .language-switcher a {
    display: inline-flex;
    padding: 2px;
  }

  .product-hero {
    min-height: auto;
  }

  .phone-frame {
    min-height: 560px;
    transform: none;
  }

  html[dir="ltr"] .phone-frame {
    transform: none;
  }

  .mock-screen {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .product-hero-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .phone-frame {
    width: 100%;
    min-height: 500px;
    border-radius: 30px;
  }

  .mock-screen {
    min-height: 440px;
    border-radius: 22px;
  }

  .steps-grid,
  .use-case-grid,
  .pricing-grid,
  .trust-grid,
  .support-panels {
    grid-template-columns: 1fr;
  }

  .support-hero,
  .legal-hero {
    padding-top: calc(var(--nav-height) + 48px);
  }

  .legal-content {
    padding: 22px;
  }
}
/* End Nawa bilingual expansion */
