:root {
  color-scheme: light;
  --green-900: #1e1e1e;
  --green-800: #183322;
  --green-700: #23442b;
  --green-600: #345e3d;
  --green-500: #4f7b4e;
  --gold-700: #a57d32;
  --gold-600: #c8a96a;
  --gold-300: #e7d3a3;
  --cream-100: #fefdcf;
  --cream-200: #fbf5df;
  --cream-300: #f3ead2;
  --ink: #162018;
  --muted: #65735f;
  --white: #ffffff;
  --danger: #c54848;
  --line-light: rgba(35, 68, 43, 0.14);
  --line-dark: rgba(231, 211, 163, 0.22);
  --shadow-soft: 0 24px 80px rgba(35, 68, 43, 0.13);
  --shadow-deep: 0 34px 120px rgba(0, 0, 0, 0.28);
  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 38px;
  --radius-xl: 56px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 300px;
  overflow-x: hidden;
  background: var(--cream-200);
  color: var(--ink);
  font-family: "Cairo", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--cream-100);
  background: rgba(35, 68, 43, 0.72);
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 3%, rgba(200, 169, 106, 0.28), transparent 24%),
    radial-gradient(circle at 90% 12%, rgba(52, 94, 61, 0.20), transparent 28%),
    linear-gradient(180deg, var(--green-800) 0, var(--green-700) 640px, var(--cream-200) 641px, var(--cream-200) 100%);
}

.container {
  width: min(var(--container), calc(100% - clamp(22px, 5vw, 64px)));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 80;
  pointer-events: none;
}

.nav {
  width: min(var(--container), calc(100% - 24px));
  min-height: 70px;
  margin-inline: auto;
  padding: 9px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(231, 211, 163, 0.30);
  border-radius: 999px;
  background: rgba(24, 51, 34, 0.72);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(22px);
  pointer-events: auto;
}

.brand {
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: 12px 16px;
  color: var(--cream-100);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.nav-menu {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border: 1px solid rgba(231, 211, 163, 0.08);
  border-radius: 999px;
  background: rgba(30, 30, 30, 0.22);
}

.nav-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 17px;
  border-radius: 999px;
  color: rgba(254, 253, 207, 0.80);
  font-weight: 800;
  font-size: 0.94rem;
  transition: color 0.24s var(--ease), background 0.24s var(--ease), transform 0.24s var(--ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--cream-100);
  background: rgba(254, 253, 207, 0.10);
  transform: translateY(-1px);
}

.nav-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  color: var(--green-800);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(200, 169, 106, 0.26);
  transition: transform 0.26s var(--ease), filter 0.26s var(--ease);
}

.nav-action:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.04);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(231, 211, 163, 0.18);
  border-radius: 50%;
  background: rgba(254, 253, 207, 0.09);
  color: var(--cream-100);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }

.nav-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(124px, 17vh, 176px) 0 clamp(76px, 10vh, 112px);
  color: var(--cream-100);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(35, 68, 43, 0.96), rgba(24, 51, 34, 0.92)),
    radial-gradient(circle at 80% 18%, rgba(200, 169, 106, 0.26), transparent 32%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 390px;
  right: min(8vw, 110px);
  bottom: -80px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(120deg, transparent 0 39%, rgba(231, 211, 163, 0.22) 40% 42%, transparent 43%),
    linear-gradient(160deg, rgba(231, 211, 163, 0.22), rgba(35, 68, 43, 0.24));
  opacity: 0.45;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.25));
}

.hero::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(254, 253, 207, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(254, 253, 207, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 82%, transparent 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.38;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(44px);
}

.hero-glow-one {
  width: 330px;
  height: 330px;
  background: rgba(200, 169, 106, 0.26);
  top: 10%;
  left: -120px;
  animation: floatOrb 9s var(--ease) infinite alternate;
}

.hero-glow-two {
  width: 360px;
  height: 360px;
  background: rgba(52, 94, 61, 0.46);
  bottom: 4%;
  right: -130px;
  animation: floatOrb 11s var(--ease) infinite alternate-reverse;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 7vw, 86px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid rgba(231, 211, 163, 0.35);
  border-radius: 999px;
  background: rgba(231, 211, 163, 0.10);
  color: var(--gold-300);
  font-weight: 900;
  font-size: 0.86rem;
}

.eyebrow.light {
  border-color: rgba(35, 68, 43, 0.22);
  background: rgba(52, 94, 61, 0.08);
  color: var(--green-600);
}

.hero h1,
.section-head h2,
.cinematic-copy h2,
.contact-copy h2 {
  margin: 20px 0 0;
  font-size: clamp(2.75rem, 9vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.hero p {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(254, 253, 207, 0.78);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  font-weight: 900;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--green-800);
  box-shadow: 0 20px 60px rgba(200, 169, 106, 0.26);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 30px 80px rgba(200, 169, 106, 0.35);
}

.btn-ghost {
  border-color: rgba(231, 211, 163, 0.24);
  background: rgba(254, 253, 207, 0.08);
  color: var(--cream-100);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(254, 253, 207, 0.14);
}

.btn-outline {
  border-color: rgba(35, 68, 43, 0.18);
  background: rgba(35, 68, 43, 0.04);
  color: var(--green-700);
}

.btn-outline:hover {
  background: rgba(35, 68, 43, 0.08);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
}

.hero-metrics {
  width: min(100%, 650px);
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(231, 211, 163, 0.22);
  border-radius: var(--radius-md);
  background: rgba(254, 253, 207, 0.07);
  overflow: hidden;
}

.hero-metrics div {
  padding: 18px;
  min-width: 0;
}

.hero-metrics strong {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.28rem, 4vw, 2.05rem);
  line-height: 1;
  color: var(--gold-300);
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(254, 253, 207, 0.70);
  font-size: 0.86rem;
}

.hero-stage {
  position: relative;
  min-width: 0;
  min-height: 580px;
  perspective: 1200px;
}

.pyramid-identity {
  position: absolute;
  inset: 2% 12% auto auto;
  width: 260px;
  height: 260px;
  opacity: 0.48;
  transform: rotate(-8deg);
  pointer-events: none;
}

.pyramid-identity span {
  position: absolute;
  inset-inline: 0;
  margin-inline: auto;
  height: 52px;
  border: 1px solid rgba(231, 211, 163, 0.25);
  background: linear-gradient(135deg, rgba(231, 211, 163, 0.46), rgba(35, 68, 43, 0.40));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.pyramid-identity span:nth-child(1) { top: 0; width: 82px; }
.pyramid-identity span:nth-child(2) { top: 54px; width: 136px; }
.pyramid-identity span:nth-child(3) { top: 108px; width: 194px; }
.pyramid-identity span:nth-child(4) { top: 162px; width: 250px; }

.device-3d {
  position: relative;
  width: min(100%, 520px);
  margin: 52px auto 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(231, 211, 163, 0.24);
  border-radius: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(circle at 20% 8%, rgba(200, 169, 106, 0.18), transparent 30%),
    linear-gradient(160deg, rgba(35, 68, 43, 0.96), rgba(24, 51, 34, 0.98));
  box-shadow: var(--shadow-deep);
  transform-style: preserve-3d;
  animation: deviceFloat 6s var(--ease) infinite alternate;
  overflow: hidden;
}

.device-3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(254, 253, 207, 0.12) 38%, transparent 52%);
  transform: translateX(110%);
  animation: shine 4.8s ease-in-out infinite;
}

.device-top,
.device-banner,
.device-cards,
.bars,
.device-products {
  position: relative;
  z-index: 2;
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.device-top span {
  color: rgba(254, 253, 207, 0.78);
  font-weight: 900;
}

.device-top strong {
  font-family: "Inter", sans-serif;
  color: var(--gold-300);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 1;
}

.device-banner {
  min-height: 122px;
  margin-top: 22px;
  padding: 24px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(254, 253, 207, 0.12), transparent 42%),
    linear-gradient(135deg, #fefdcf, #e7d3a3 56%, #c8a96a);
  color: var(--green-800);
  overflow: hidden;
}

.device-banner::after {
  content: "";
  position: absolute;
  inset: auto -24px -44px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 94, 61, 0.38), transparent 62%);
}

.device-banner span {
  color: var(--green-700);
  font-weight: 900;
}

.device-banner b {
  margin-top: 8px;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  line-height: 1.2;
}

.device-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.device-cards article {
  min-width: 0;
  padding: 16px 12px;
  border: 1px solid rgba(231, 211, 163, 0.16);
  border-radius: 20px;
  background: rgba(254, 253, 207, 0.08);
}

.device-cards span {
  display: block;
  color: rgba(254, 253, 207, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.device-cards strong {
  display: block;
  margin-top: 10px;
  font-family: "Inter", sans-serif;
  color: var(--cream-100);
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  line-height: 1.15;
}

.bars {
  height: 144px;
  margin-top: 18px;
  padding: 16px 18px 0;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border: 1px solid rgba(231, 211, 163, 0.16);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.16);
}

.bars i {
  flex: 1;
  min-width: 10px;
  height: var(--h);
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-600), var(--green-500));
  transform-origin: bottom;
  animation: barGrow 1.3s var(--ease) both;
}

.device-products {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.device-products span {
  aspect-ratio: 1.1;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, rgba(254, 253, 207, 0.96), rgba(231, 211, 163, 0.35) 42%, transparent 43%),
    linear-gradient(135deg, rgba(200, 169, 106, 0.30), rgba(52, 94, 61, 0.34));
}

.floating-chip {
  position: absolute;
  z-index: 4;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(231, 211, 163, 0.22);
  border-radius: 999px;
  background: rgba(24, 51, 34, 0.82);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  color: var(--cream-100);
  font-weight: 900;
  animation: chipFloat 5s var(--ease) infinite alternate;
}

.chip-one { top: 8%; right: 0; }
.chip-two { top: 42%; left: -8px; animation-delay: -1.4s; }
.chip-three { bottom: 10%; right: 8%; animation-delay: -2.5s; }

.trust-strip {
  background: var(--green-900);
  border-block: 1px solid var(--line-dark);
  overflow: hidden;
}

.trust-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

.trust-grid span {
  min-width: 0;
  text-align: center;
  color: rgba(254, 253, 207, 0.75);
  font-weight: 900;
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 10vw, 122px) 0;
}

.section-cream {
  background:
    radial-gradient(circle at 10% 10%, rgba(200, 169, 106, 0.18), transparent 28%),
    var(--cream-200);
  color: var(--ink);
}

.section-green,
.cinematic {
  background:
    radial-gradient(circle at 18% 14%, rgba(200, 169, 106, 0.15), transparent 30%),
    linear-gradient(180deg, var(--green-800), var(--green-700));
  color: var(--cream-100);
}

.section-head {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.cinematic-copy h2,
.contact-copy h2 {
  font-size: clamp(2.15rem, 6vw, 4.9rem);
  letter-spacing: -0.045em;
}

.section-head p,
.cinematic-copy p,
.contact-copy p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
}

.section-green .section-head p,
.section-green .contact-copy p,
.cinematic-copy p {
  color: rgba(254, 253, 207, 0.72);
}

.stack-showcase {
  position: relative;
  min-height: 1360px;
  margin-top: 58px;
}

.stack-card {
  position: sticky;
  top: 108px;
  min-height: 520px;
  margin-inline: auto;
  margin-bottom: 44px;
  padding: clamp(22px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  border: 2px solid rgba(254, 253, 207, 0.75);
  border-radius: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 18% 22%, rgba(200, 169, 106, 0.16), transparent 32%),
    linear-gradient(145deg, var(--green-900), #14251b);
  color: var(--cream-100);
  box-shadow: var(--shadow-deep);
  transform-origin: center top;
}

.stack-card:nth-child(2) {
  top: 132px;
  max-width: 96%;
  background:
    radial-gradient(circle at 88% 12%, rgba(200, 169, 106, 0.16), transparent 32%),
    linear-gradient(145deg, #121714, var(--green-700));
}

.stack-card:nth-child(3) {
  top: 156px;
  max-width: 92%;
  background:
    radial-gradient(circle at 15% 85%, rgba(231, 211, 163, 0.18), transparent 32%),
    linear-gradient(145deg, var(--green-800), #1d2419);
}

.card-index {
  position: absolute;
  inset: 30px 34px auto auto;
  font-family: "Inter", sans-serif;
  color: rgba(254, 253, 207, 0.97);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 0.8;
}

.stack-copy {
  position: relative;
  z-index: 2;
}

.stack-card small {
  color: var(--gold-300);
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.stack-card h3 {
  margin: 14px 0 0;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.stack-card p {
  max-width: 540px;
  margin: 18px 0 0;
  color: rgba(254, 253, 207, 0.72);
  font-size: 1.05rem;
}

.pill-link {
  min-height: 44px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid rgba(231, 211, 163, 0.34);
  border-radius: 999px;
  color: var(--cream-100);
  font-weight: 900;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.pill-link:hover {
  background: rgba(231, 211, 163, 0.12);
  transform: translateY(-2px);
}

.mini-screen {
  min-width: 0;
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(231, 211, 163, 0.22);
  border-radius: 34px;
  display: grid;
  gap: 14px;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(200, 169, 106, 0.16), rgba(254, 253, 207, 0.08)),
    rgba(254, 253, 207, 0.035);
}

.mini-screen b {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1;
  color: rgba(254, 253, 207, 0.96);
}

.mini-screen i {
  height: 48px;
  border-radius: 999px;
  background: rgba(231, 211, 163, 0.12);
}

.solution-grid,
.plans-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.solution-card,
.plan-card,
.lead-form {
  min-width: 0;
  border: 1px solid rgba(231, 211, 163, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 84% 12%, rgba(200, 169, 106, 0.14), transparent 32%),
    rgba(254, 253, 207, 0.055);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.solution-card {
  padding: 28px;
  transform-style: preserve-3d;
}

.solution-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(231, 211, 163, 0.12);
  font-size: 1.75rem;
}

.solution-card h3,
.plan-card h3 {
  margin: 22px 0 0;
  font-family: "Inter", "Cairo", sans-serif;
  font-size: 1.6rem;
  line-height: 1.1;
}

.solution-card p,
.plan-card p {
  margin: 14px 0 0;
  color: rgba(254, 253, 207, 0.70);
}

.solution-card ul,
.plan-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.solution-card li,
.plan-card li {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(254, 253, 207, 0.82);
  font-weight: 800;
}

.solution-card li::before,
.plan-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 18px rgba(200, 169, 106, 0.78);
}

.cinematic {
  overflow: hidden;
}

.cinematic-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 100px);
}

.cinematic-copy {
  max-width: 620px;
}

.cinematic-copy .btn {
  margin-top: 30px;
}

.cinematic-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(231, 211, 163, 0.22);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 50% 50%, rgba(200, 169, 106, 0.15), rgba(254, 253, 207, 0.035) 42%, rgba(254, 253, 207, 0.02));
  overflow: hidden;
  perspective: 1000px;
}

.orbit {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(231, 211, 163, 0.24);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(0deg);
  animation: rotateOrbit 12s linear infinite;
}

.orbit-two {
  inset: 27%;
  animation-duration: 8s;
  animation-direction: reverse;
}

.core-pyramid {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(45deg);
  transform-style: preserve-3d;
  animation: cubeFloat 5s var(--ease) infinite alternate;
}

.core-pyramid span {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, rgba(231, 211, 163, 0.88), rgba(52, 94, 61, 0.78));
  border: 1px solid rgba(254, 253, 207, 0.24);
  box-shadow: 0 32px 90px rgba(200, 169, 106, 0.17);
}

.core-pyramid span:nth-child(2) { transform: translateZ(38px) scale(0.82); opacity: 0.9; }
.core-pyramid span:nth-child(3) { transform: translateZ(76px) scale(0.64); opacity: 0.72; }
.core-pyramid span:nth-child(4) { transform: translateZ(114px) scale(0.46); opacity: 0.56; }

.orbit-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(231, 211, 163, 0.22);
  border-radius: 999px;
  background: rgba(24, 51, 34, 0.76);
  backdrop-filter: blur(18px);
  color: var(--cream-100);
  font-weight: 900;
}

.label-a { top: 16%; right: 16%; }
.label-b { bottom: 18%; left: 13%; }
.label-c { top: 52%; left: 8%; }

.plans-grid {
  align-items: stretch;
}

.plan-card {
  padding: 30px;
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-light);
  box-shadow: var(--shadow-soft);
}

.plan-card.featured {
  background:
    radial-gradient(circle at 20% 12%, rgba(231, 211, 163, 0.22), transparent 34%),
    linear-gradient(150deg, var(--green-700), var(--green-800));
  color: var(--cream-100);
  transform: translateY(-14px);
  border-color: rgba(200, 169, 106, 0.38);
}

.plan-card small {
  color: var(--gold-700);
  font-family: "Inter", sans-serif;
  font-weight: 900;
}

.plan-card p {
  color: var(--muted);
}

.plan-card.featured p {
  color: rgba(254, 253, 207, 0.72);
}

.plan-card li {
  color: inherit;
}

.plan-card:not(.featured) li::before {
  background: var(--green-600);
  box-shadow: 0 0 18px rgba(52, 94, 61, 0.35);
}

.plan-card .btn {
  margin-top: 26px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: start;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(231, 211, 163, 0.22);
  border-radius: 999px;
  color: rgba(254, 253, 207, 0.76);
  font-weight: 800;
}

.lead-form {
  padding: clamp(18px, 4vw, 30px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-form label {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: rgba(254, 253, 207, 0.80);
  font-weight: 800;
}

.lead-form span {
  padding-inline: 4px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid rgba(231, 211, 163, 0.18);
  border-radius: 18px;
  padding: 13px 15px;
  outline: 0;
  background: rgba(30, 30, 30, 0.22);
  color: var(--cream-100);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(254, 253, 207, 0.48);
}

.lead-form select option {
  background: var(--green-800);
  color: var(--cream-100);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(231, 211, 163, 0.78);
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.13);
  background: rgba(30, 30, 30, 0.32);
}

.lead-form textarea {
  resize: vertical;
}

.form-wide,
.lead-form .btn-full,
.form-status {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute !important;
  display: none !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(254, 253, 207, 0.72);
  font-weight: 800;
}

.form-status.is-success {
  color: var(--gold-300);
}

.form-status.is-error {
  color: #ffb0a8;
}

.footer {
  padding: 44px 0;
  background: var(--green-900);
  border-top: 1px solid var(--line-dark);
  color: rgba(254, 253, 207, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr;
  gap: 24px;
  align-items: start;
}

.footer img {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  border-radius: 16px;
  object-fit: cover;
}

.footer p {
  max-width: 430px;
  margin: 0;
}

.footer nav,
.footer-meta {
  display: grid;
  gap: 10px;
}

.footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(254, 253, 207, 0.76);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

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

@keyframes floatOrb {
  to { transform: translate3d(30px, -24px, 0) scale(1.08); }
}

@keyframes deviceFloat {
  from { transform: rotateX(5deg) rotateY(-7deg) translateY(0); }
  to { transform: rotateX(2deg) rotateY(7deg) translateY(-14px); }
}

@keyframes shine {
  0%, 48% { transform: translateX(120%) skewX(-15deg); }
  72%, 100% { transform: translateX(-120%) skewX(-15deg); }
}

@keyframes barGrow {
  from { transform: scaleY(0.15); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes chipFloat {
  to { transform: translate3d(10px, -14px, 0); }
}

@keyframes rotateOrbit {
  to { transform: rotateX(64deg) rotateZ(360deg); }
}

@keyframes cubeFloat {
  to { transform: translate(-50%, -54%) rotateX(58deg) rotateZ(64deg); }
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .cinematic-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .device-3d {
    max-width: 560px;
  }

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

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

  .stack-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    inset: 10px 0 auto;
  }

  .nav {
    grid-template-columns: auto auto;
    border-radius: 28px;
  }

  .brand span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-action {
    display: none;
  }

  .nav-menu {
    position: fixed;
    inset: 78px 12px auto;
    display: grid;
    justify-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(231, 211, 163, 0.28);
    border-radius: 26px;
    background: rgba(24, 51, 34, 0.97);
    box-shadow: var(--shadow-deep);
    transform: translateY(-10px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s var(--ease);
  }

  body.nav-open .nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-menu a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .hero {
    padding-top: 108px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .device-cards,
  .device-products,
  .trust-grid,
  .solution-grid,
  .plans-grid,
  .lead-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-chip {
    position: relative;
    inset: auto;
    margin: 10px 4px 0;
  }

  .stack-showcase {
    min-height: auto;
  }

  .stack-card,
  .stack-card:nth-child(2),
  .stack-card:nth-child(3) {
    position: relative;
    top: auto;
    max-width: 100%;
    margin-bottom: 18px;
  }

  .card-index {
    position: relative;
    inset: auto;
    display: block;
    margin-bottom: 18px;
    font-size: 4rem;
  }

  .mini-screen {
    min-height: 230px;
  }

  .cinematic-visual {
    min-height: 390px;
  }

  .plan-card.featured {
    transform: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 18px, var(--container));
  }

  .nav {
    width: calc(100% - 16px);
    min-height: 60px;
    padding: 7px;
  }

  .brand {
    padding-inline: 8px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero h1,
  .section-head h2,
  .contact-copy h2,
  .cinematic-copy h2 {
    letter-spacing: -0.035em;
  }

  .device-3d {
    border-radius: 28px;
  }

  .device-banner {
    min-height: 104px;
    padding: 18px;
  }

  .bars {
    height: 112px;
    gap: 8px;
    padding-inline: 12px;
  }

  .solution-card,
  .plan-card,
  .lead-form {
    border-radius: 26px;
    padding: 20px;
  }
}
