:root {
  --bg: #060816;
  --bg-soft: #0e1226;
  --surface: rgba(15, 21, 43, 0.72);
  --surface-strong: rgba(10, 14, 29, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: #a8b0cd;
  --cyan: #5ee7ff;
  --pink: #ff4db8;
  --violet: #7a5cff;
  --gold: #ffbf47;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(94, 231, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(255, 77, 184, 0.16), transparent 20%),
    radial-gradient(circle at 72% 76%, rgba(122, 92, 255, 0.24), transparent 24%),
    linear-gradient(180deg, #060816 0%, #090d1d 45%, #060815 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

.page-glow {
  position: fixed;
  width: 34vw;
  height: 34vw;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
}

.page-glow-one {
  top: -10vw;
  right: -6vw;
  background: linear-gradient(135deg, var(--pink), var(--violet));
}

.page-glow-two {
  bottom: -12vw;
  left: -8vw;
  background: linear-gradient(135deg, var(--cyan), transparent);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  position: sticky;
  top: 0;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 0 0 26px 26px;
  background: rgba(9, 13, 29, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(122, 92, 255, 0.28);
}

.brand strong,
.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.timeline-item h3,
.service-spotlight h3 {
  font-family: "Syne", sans-serif;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  position: relative;
  padding: 0;
}

.menu-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--text);
  transition: 0.25s ease;
}

.menu-toggle span:first-child {
  top: 15px;
}

.menu-toggle span:last-child {
  top: 25px;
}

body.menu-open .menu-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.hero {
  padding-top: 10px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.95rem, 6.55vw, 6.35rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
}

.hero-text,
.service-item small,
.service-spotlight p,
.service-spotlight li,
.capability-card p,
.timeline-item p,
.contact-copy p,
.contact-panel p,
.contact-panel a {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet) 58%, var(--pink));
  color: #04111d;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(94, 231, 255, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

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

.hero-badges span,
.metrics article,
.service-item,
.service-spotlight,
.capability-card,
.timeline-item,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-badges span {
  padding: 10px 14px;
  border-radius: 999px;
}

.hero-showcase {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.showcase-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.orb-a {
  width: 170px;
  height: 170px;
  top: 10px;
  left: 10px;
  background: radial-gradient(circle, rgba(94, 231, 255, 0.6), transparent 70%);
}

.orb-b {
  width: 220px;
  height: 220px;
  right: 0;
  bottom: 20px;
  background: radial-gradient(circle, rgba(255, 77, 184, 0.45), transparent 70%);
}

.showcase-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.main-card {
  inset: 48px 36px 110px 20px;
  padding: 28px;
}

.floating-card {
  right: 0;
  bottom: 16px;
  width: min(300px, 85%);
  padding: 22px;
}

.floating-card p {
  margin: 0 0 10px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.floating-card strong {
  font-size: 1.3rem;
  line-height: 1.35;
}

.showcase-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.showcase-head img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 24px;
}

.showcase-head strong,
.service-item strong,
.capability-card strong,
.contact-panel span,
.timeline-item span {
  display: block;
}

.showcase-head span {
  color: var(--muted);
}

.signal-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.signal-grid article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-grid article span {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-grid article strong {
  margin-top: 8px;
  font-size: 1.15rem;
}

.section {
  padding-top: 88px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.metrics article {
  padding: 28px;
  border-radius: 28px;
}

.metrics strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.services-list {
  display: grid;
  gap: 12px;
}

.service-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  text-align: left;
  padding: 18px;
  border-radius: 24px;
  width: 100%;
}

.service-item span,
.contact-panel span {
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.service-item strong {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.service-item.active,
.service-item:hover {
  transform: translateX(6px);
  border-color: rgba(94, 231, 255, 0.34);
  background: linear-gradient(180deg, rgba(16, 22, 46, 0.96), rgba(11, 16, 35, 0.82));
}

.service-spotlight {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: 30px;
}

.spotlight-label {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.service-spotlight h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.service-spotlight ul {
  margin: 22px 0 0;
  padding-left: 18px;
}

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

.capability-card {
  padding: 26px;
  border-radius: 28px;
}

.capability-card strong {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: 30px;
  overflow: hidden;
}

.work-visual {
  position: relative;
  min-height: 320px;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(94, 231, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 77, 184, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(12, 18, 38, 0.96), rgba(7, 11, 24, 0.92));
}

.work-copy {
  padding: 24px 26px 28px;
}

.work-type {
  margin: 0 0 8px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.work-copy h3 {
  margin: 0 0 10px;
  font-family: "Syne", sans-serif;
  font-size: 1.6rem;
}

.work-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.browser-frame {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.browser-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-top span,
.phone-footer span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.browser-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 220px;
}

.browser-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.browser-content {
  padding: 18px;
}

.content-hero {
  height: 78px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(94, 231, 255, 0.75), rgba(122, 92, 255, 0.72), rgba(255, 77, 184, 0.72));
}

.content-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.content-row span,
.phone-list span {
  display: block;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.content-chart {
  height: 72px;
  margin-top: 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    linear-gradient(90deg, rgba(94, 231, 255, 0.3), rgba(255, 77, 184, 0.28));
}

.mobile-visual {
  display: grid;
  place-items: center;
}

.phone-frame {
  position: absolute;
  width: 180px;
  height: 320px;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.phone-front {
  transform: rotate(-8deg) translateX(42px);
  z-index: 2;
}

.phone-back {
  transform: rotate(9deg) translateX(-58px) translateY(20px);
  z-index: 1;
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  padding: 16px;
  background: rgba(6, 8, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-screen-back {
  display: grid;
  gap: 14px;
}

.phone-chart,
.phone-card,
.phone-card.small,
.phone-header {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.phone-header {
  height: 48px;
  background: linear-gradient(135deg, rgba(94, 231, 255, 0.4), rgba(122, 92, 255, 0.35));
}

.phone-card {
  height: 110px;
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(255, 77, 184, 0.26), rgba(94, 231, 255, 0.18));
}

.phone-card.small {
  height: 58px;
  margin-top: 12px;
}

.phone-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.phone-chart {
  height: 94px;
  background: linear-gradient(135deg, rgba(255, 191, 71, 0.34), rgba(255, 77, 184, 0.22));
}

.phone-list {
  display: grid;
  gap: 10px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 28px;
}

.timeline-item span {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.timeline-item p {
  margin: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 22px;
  padding: 32px;
  border-radius: 34px;
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-panel > div {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-panel a {
  font-size: 1.2rem;
  color: var(--text);
}

.site-footer {
  padding: 44px 0 10px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(9, 13, 29, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  z-index: 35;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-copy strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
}

.cookie-accept {
  min-width: 130px;
  flex-shrink: 0;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(94, 231, 255, 0.28);
  border-radius: 999px;
  background: rgba(9, 13, 29, 0.88);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 30;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 77, 184, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1024px) {
  .hero-layout,
  .services-layout,
  .capability-grid,
  .work-grid,
  .metrics,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 480px;
  }
}

@media (max-width: 840px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 92px 20px auto;
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(9, 13, 29, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: 0.25s ease;
  }

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

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 10px;
  }

  .topbar {
    padding: 14px 16px;
  }

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

  .hero-layout {
    min-height: auto;
    padding-top: 26px;
  }

  .main-card {
    inset: 24px 14px 110px;
    padding: 20px;
  }

  .work-visual {
    min-height: 280px;
  }

  .phone-front {
    transform: rotate(-8deg) translateX(24px);
  }

  .phone-back {
    transform: rotate(9deg) translateX(-34px) translateY(16px);
  }

  .floating-card {
    left: 14px;
    right: 14px;
    width: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 42px 1fr;
  }

  .service-spotlight,
  .contact-card,
  .capability-card,
  .timeline-item,
  .metrics article {
    border-radius: 24px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-accept {
    width: 100%;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
  }
}
