/* GateX Innovations — Premium Static Website */

:root {
  --bg: #06080f;
  --bg-2: #0b1020;
  --card: rgba(255,255,255,0.085);
  --card-strong: rgba(255,255,255,0.12);
  --line: rgba(255,255,255,0.15);
  --text: #f8fafc;
  --muted: #aab4c5;
  --dark-text: #121826;
  --light-muted: #556070;
  --white: #ffffff;
  --yellow: #ffc400;
  --yellow-2: #ffdd4a;
  --red: #ed1c24;
  --blue: #13a8e8;
  --blue-2: #7dd3fc;
  --shadow: 0 24px 60px rgba(0,0,0,0.28);
  --radius: 24px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Manrope", "Inter", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 5%, rgba(19,168,232,0.20), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255,196,0,0.18), transparent 30%),
    linear-gradient(180deg, #05070d 0%, #0a0e1b 45%, #070912 100%);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section { padding: 100px 0; position: relative; }
.section-head {
  max-width: 850px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #895d00;
  background: rgba(255,196,0,0.16);
  border: 1px solid rgba(255,196,0,0.28);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.section-kicker.light {
  color: var(--yellow-2);
  border-color: rgba(255,196,0,0.32);
  background: rgba(255,196,0,0.10);
}
.section-head h2,
.solution-grid h2,
.founder-copy h2,
.contact-copy h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}
.section-head p,
.solution-grid p,
.founder-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 16px;
}

/* Navigation */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(6,8,15,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.nav {
  width: min(1240px, 94%);
  margin: 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  padding: 6px;
}
.brand-text strong {
  display: block;
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  transition: 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  color: #111827;
  background: var(--yellow);
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(255,196,0,0.18);
}
.menu-toggle {
  display: none;
  color: #111827;
  background: var(--yellow);
  border: 0;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 900;
}

/* Hero */
.hero {
  padding: 90px 0 70px;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.85;
}
.orb-a {
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(19,168,232,0.24), transparent 62%);
  left: -120px;
  top: 30px;
}
.orb-b {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,196,0,0.24), transparent 62%);
  right: -160px;
  top: 80px;
}
.grid-glow {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 60% 20%, black, transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-2);
  border: 1px solid rgba(125,211,252,0.24);
  background: rgba(19,168,232,0.08);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
  animation: pulse 1.7s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
  max-width: 900px;
}
.hero h1::selection { background: var(--yellow); color: #111; }
.hero-lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
  max-width: 700px;
  margin: 26px 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 900;
  transition: 0.25s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--yellow), #ffef8a);
  color: #111827;
  box-shadow: 0 18px 35px rgba(255,196,0,0.18);
}
.btn-secondary {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.16);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: var(--muted);
}
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}
.hero-proof div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.hero-proof strong {
  display: block;
  font-family: var(--display);
  color: var(--yellow);
  font-size: 1.55rem;
}
.hero-proof span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.device-stage { position: relative; min-height: 560px; }
.device-card {
  position: absolute;
  inset: 28px 0 0 0;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(circle at 50% 10%, rgba(255,196,0,0.14), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-hero {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 34px;
  position: relative;
  z-index: 2;
}
.fallback-visual {
  display: none;
  text-align: center;
  padding: 46px;
  position: relative;
  z-index: 1;
}
.fallback-visual img {
  width: 170px;
  margin: 0 auto 22px;
  border-radius: 26px;
  background: #fff;
  padding: 16px;
}
.fallback-visual strong {
  display: block;
  font-family: var(--display);
  color: var(--yellow);
  font-size: 2rem;
}
.fallback-visual span { color: var(--muted); display: block; margin-top: 10px; }
.image-missing { display: none !important; }
.image-missing + .fallback-visual { display: block; }
.floating-chip {
  position: absolute;
  z-index: 5;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 13px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.20);
}
.floating-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}
.floating-chip strong { font-size: 1.1rem; color: var(--white); }
.chip-1 { left: -28px; top: 110px; }
.chip-2 { right: -22px; top: 230px; }
.chip-3 { left: 38px; bottom: 90px; }

/* Company Strip */
.company-strip {
  background: #fff;
  color: var(--dark-text);
  padding: 24px 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.strip-grid div {
  border-left: 4px solid var(--yellow);
  padding: 10px 0 10px 14px;
}
.strip-grid span {
  display: block;
  color: var(--light-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.strip-grid strong {
  font-size: 0.92rem;
}

/* White Sections */
#problem,
#ecosystem,
.technology,
.business,
.founder-section {
  background: #ffffff;
  color: var(--dark-text);
}
#problem .section-head p,
#ecosystem .section-head p,
.technology .section-head p,
.business .section-head p,
.founder-copy p { color: var(--light-muted); }

.problem-grid,
.ecosystem-grid,
.benefit-grid,
.traction-grid {
  display: grid;
  gap: 18px;
}
.problem-grid {
  grid-template-columns: repeat(4, 1fr);
}
.problem-card,
.eco-card,
.tech-card,
.model-card,
.benefit,
.traction-item {
  border: 1px solid rgba(15,23,42,0.10);
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.06);
}
.problem-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #fff7d1;
  border-radius: 15px;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.problem-card h3,
.eco-card h3,
.tech-card h3,
.model-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.problem-card p,
.eco-card p,
.tech-card p,
.model-card p,
.benefit span,
.traction-item p {
  color: var(--light-muted);
  line-height: 1.65;
}

/* Dark solution */
.dark-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,196,0,0.13), transparent 34%),
    linear-gradient(180deg, #070912, #0b1020);
}
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 46px;
  align-items: center;
}
.signal-flow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.signal-flow div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  min-width: 160px;
}
.signal-flow strong { display: block; color: var(--yellow); }
.signal-flow span { color: var(--muted); font-size: 0.84rem; }
.signal-flow b { color: var(--yellow); font-size: 1.35rem; }
.academic-dna {
  min-height: 390px;
  display: grid;
  place-items: center;
}
.dna-ring {
  width: min(380px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px;
  border: 1px solid rgba(255,196,0,0.36);
  background:
    radial-gradient(circle, rgba(255,196,0,0.24), transparent 58%),
    rgba(255,255,255,0.06);
  box-shadow:
    0 0 0 26px rgba(255,196,0,0.04),
    0 0 0 54px rgba(19,168,232,0.03),
    var(--shadow);
}
.dna-ring img {
  width: 120px;
  background: #fff;
  padding: 10px;
  border-radius: 22px;
}
.dna-ring strong {
  font-family: var(--display);
  font-size: 2.3rem;
  color: var(--yellow);
}
.dna-ring span { color: var(--muted); }

/* Ecosystem */
.ecosystem-grid { grid-template-columns: repeat(3, 1fr); }
.eco-card {
  position: relative;
  overflow: hidden;
}
.eco-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: #cbd5e1;
}
.eco-card.active::after { background: linear-gradient(90deg, #22c55e, var(--blue)); }
.eco-card.future::after { background: linear-gradient(90deg, var(--red), #fb7185); }
.eco-icon {
  width: 56px;
  height: 56px;
  background: #0f172a;
  color: #fff;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.eco-card span {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 10px;
  background: #f8fafc;
  border-radius: 999px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
}

/* Technology */
.technology {
  background:
    linear-gradient(180deg, #fff, #f8fafc);
}
.tech-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-card {
  background: #0f172a;
  color: #fff;
  border-color: rgba(255,255,255,0.08);
}
.tech-number {
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.9rem;
}
.tech-card p { color: #cbd5e1; }

/* Benefits */
.light-gradient {
  background:
    radial-gradient(circle at 10% 20%, rgba(19,168,232,0.15), transparent 26%),
    radial-gradient(circle at 92% 14%, rgba(255,196,0,0.18), transparent 28%),
    #f8fafc;
  color: var(--dark-text);
}
.light-gradient .section-head p { color: var(--light-muted); }
.benefit-grid { grid-template-columns: repeat(4, 1fr); }
.benefit {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit strong {
  font-family: var(--display);
  font-size: 1.15rem;
}

/* Business */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.model-card {
  padding: 34px;
}
.model-card.highlight {
  background: #111827;
  color: #fff;
}
.model-card.highlight p,
.model-card.highlight li { color: #cbd5e1; }
.model-tag {
  color: #111827;
  background: var(--yellow);
  padding: 7px 12px;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  font-size: 0.78rem;
  margin-bottom: 18px;
}
.model-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.model-card li {
  color: var(--light-muted);
  padding-left: 22px;
  position: relative;
}
.model-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 900;
}

/* Traction */
.traction-grid { grid-template-columns: repeat(3, 1fr); }
.traction-item {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.13);
  color: #fff;
}
.traction-item span {
  color: var(--yellow);
  font-weight: 900;
}
.traction-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 9px 0;
}
.traction-item p { color: #cbd5e1; }

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
}
.founder-card {
  position: relative;
  min-height: 520px;
  background:
    radial-gradient(circle at top, rgba(255,196,0,0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(19,168,232,0.18), transparent 42%),
    #0f172a;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}
.founder-photo-frame {
  position: relative;
  width: min(360px, 86%);
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 24px 60px rgba(0,0,0,0.30);
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  image-rendering: auto;
  filter: saturate(1.08) contrast(1.06) brightness(1.03);
}
.founder-fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  font-family: var(--display);
  font-size: 6rem;
  color: var(--yellow);
}
.founder-photo.image-missing + .founder-fallback { display: grid; }
.founder-nameplate {
  width: min(420px, 92%);
  margin: 20px auto 0;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(12px);
}
.founder-nameplate strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  color: #fff;
}
.founder-nameplate span {
  display: block;
  color: #cbd5e1;
  margin-top: 4px;
  font-size: 0.9rem;
}
.founder-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.founder-points span {
  padding: 11px 13px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Contact */
.contact {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,196,0,0.16), transparent 35%),
    linear-gradient(180deg, #0b1020, #06080f);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 44px;
  align-items: center;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.contact-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-card img {
  width: 110px;
  background: #fff;
  padding: 10px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.contact-card h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.contact-card p {
  color: #cbd5e1;
  line-height: 1.75;
  margin: 10px 0;
}

/* Footer */
.footer {
  background: #030712;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 54px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 40px;
}
.footer img {
  width: 92px;
  background: #fff;
  padding: 8px;
  border-radius: 18px;
  margin-bottom: 16px;
}
.footer-company {
  font-family: var(--display);
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.footer p,
.footer a,
.footer span {
  color: var(--muted);
  line-height: 1.7;
}
.footer strong {
  display: block;
  color: #fff;
  margin-bottom: 12px;
}
.footer a {
  display: block;
  margin: 8px 0;
}
.footer-bottom {
  width: min(1180px, 92%);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1050px) {
  .hero-grid,
  .solution-grid,
  .founder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .device-stage { min-height: 440px; }
  .problem-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ecosystem-grid,
  .tech-timeline,
  .traction-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav { height: auto; min-height: 78px; flex-wrap: wrap; padding: 12px 0; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links .nav-cta { text-align: center; margin-top: 12px; }
  .hero { padding-top: 50px; }
  .hero-proof,
  .problem-grid,
  .ecosystem-grid,
  .tech-timeline,
  .benefit-grid,
  .model-grid,
  .traction-grid,
  .strip-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 74px 0; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.3rem); }
  .device-stage { min-height: 360px; }
  .chip-1 { left: 8px; top: 74px; }
  .chip-2 { right: 8px; top: 170px; }
  .chip-3 { left: 24px; bottom: 60px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand-logo { width: 50px; height: 50px; }
  .brand-text strong { font-size: 0.92rem; white-space: normal; }
  .brand-text small { white-space: normal; }
  .hero-actions .btn,
  .contact-actions .btn { width: 100%; }
  .section-head { text-align: left; }
  .floating-chip { font-size: 0.86rem; }
}
