:root {
  --bg: #060b12;
  --bg-soft: #0b1320;
  --surface: rgba(17, 28, 43, 0.72);
  --surface-strong: #111d2c;
  --border: rgba(255, 255, 255, 0.1);
  --border-bright: rgba(105, 167, 255, 0.32);
  --text: #f7fbff;
  --muted: #9aabba;
  --primary: #69a7ff;
  --primary-bright: #9cc7ff;
  --secondary: #8585ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 26px;
  --container: 1180px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body,
h1,
h2,
h3,
p,
ul {
  margin: 0;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: #06101f;
  background: var(--primary);
  font-weight: 750;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.page-bg {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

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

.orb-1 {
  width: 520px;
  height: 520px;
  top: -300px;
  left: -170px;
  background: rgba(72, 137, 255, 0.17);
}

.orb-2 {
  width: 520px;
  height: 520px;
  top: 100px;
  right: -300px;
  background: rgba(111, 102, 255, 0.16);
}

.grid-glow {
  position: absolute;
  inset: 0;
  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: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 62%);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--border);
  background: rgba(6, 11, 18, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  position: relative;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  bottom: 0.35rem;
  left: 0.9rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.nav-toggle,
.back-to-top {
  display: none;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 760px;
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary) !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 20px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 730px;
  margin-top: 1.25rem;
  font-size: clamp(3.5rem, 6.8vw, 6.2rem);
  font-weight: 780;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--primary-bright), #8db3ff 85%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text {
  max-width: 620px;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 0.55rem;
  padding: 0.82rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  line-height: 1.15;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #06101f;
  background: var(--primary);
  box-shadow: 0 14px 32px rgba(71, 138, 255, 0.18);
}

.btn-primary:hover {
  background: var(--primary-bright);
  box-shadow: 0 18px 38px rgba(71, 138, 255, 0.28);
}

.btn-secondary,
.btn-glass {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.045);
}

.btn-secondary:hover,
.btn-glass:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.btn-xs {
  min-height: 42px;
  padding: 0.7rem 0.9rem;
  border-radius: 11px;
  font-size: 0.84rem;
}

.hero-proof {
  display: flex;
  gap: 0;
  margin-top: 2.6rem;
}

.hero-proof div {
  display: grid;
  gap: 0.1rem;
  padding: 0 1.35rem;
  border-left: 1px solid var(--border);
}

.hero-proof div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof strong {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-showcase {
  position: relative;
  min-height: 500px;
}

.showcase-glow {
  position: absolute;
  inset: 12% 6%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(72, 145, 255, 0.28), rgba(128, 107, 255, 0.22));
  filter: blur(58px);
}

.showcase-card {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(25, 40, 57, 0.95), rgba(10, 18, 29, 0.9));
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.showcase-card-main {
  top: 46px;
  right: 7%;
  left: 7%;
  display: grid;
  min-height: 390px;
  align-content: space-between;
  padding: 1.5rem;
  border-radius: 34px;
  transform: rotate(2.5deg);
}

.showcase-card-main::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 26px;
  pointer-events: none;
}

.showcase-card-main > img {
  width: 122px;
  height: 122px;
  margin: 2rem auto;
  border-radius: 30px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.showcase-topline {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(105, 167, 255, 0.12);
}

.showcase-card-main p {
  color: var(--muted);
  font-size: 0.83rem;
}

.showcase-card-main h2 {
  margin-top: 0.1rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
}

.showcase-card-small {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border-radius: 18px;
  font-size: 0.84rem;
  font-weight: 750;
}

.showcase-card-small img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.showcase-card-left {
  z-index: 2;
  bottom: 24px;
  left: -8px;
  transform: rotate(-5deg);
}

.showcase-card-right {
  z-index: 2;
  top: 5px;
  right: -12px;
  transform: rotate(5deg);
}

.glass {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.apps {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 13, 21, 0.62);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 3.3rem;
}

.section-heading h2,
.about h2,
.cta-panel h2 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.about-copy > p:last-child {
  max-width: 670px;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  padding: 1.35rem;
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  background: rgba(19, 32, 48, 0.9);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.app-icon-wrap {
  width: 72px;
  height: 72px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-metric {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(105, 167, 255, 0.2);
  border-radius: 999px;
  color: #dceaff;
  background: rgba(105, 167, 255, 0.09);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
}

.app-category {
  margin-top: 1.3rem;
  color: var(--primary) !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-card h3 {
  margin-top: 0.35rem;
  font-size: 1.4rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.app-card > p:not(.app-category) {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.58;
}

.app-award {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1.35rem;
}

.app-award::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.app-card-awarded .app-award {
  margin-top: auto;
}

.app-card-awarded .app-actions {
  margin-top: 0;
}

.award-badge {
  width: 68px;
  height: auto;
}

.award-link {
  color: #dce8f1;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.award-link:hover {
  color: var(--primary);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.about {
  padding-top: 130px;
  padding-bottom: 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.about-panel {
  padding: 1.2rem;
  border-radius: var(--radius);
}

.about-list {
  display: grid;
}

.about-list div {
  position: relative;
  padding: 1.25rem 1.1rem 1.25rem 3.35rem;
  border-bottom: 1px solid var(--border);
}

.about-list div:last-child {
  border-bottom: 0;
}

.about-list div::before {
  content: "✓";
  position: absolute;
  top: 1.35rem;
  left: 1rem;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #06101f;
  background: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
}

.about-list strong {
  display: block;
  font-size: 1rem;
}

.about-list span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.cta {
  padding-top: 60px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5.5rem) 1.5rem;
  border-color: var(--border-bright);
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 115%, rgba(105, 167, 255, 0.2), transparent 44%),
    var(--surface);
}

.cta-panel .eyebrow {
  justify-content: center;
}

.cta-panel h2 {
  max-width: 800px;
  margin-inline: auto;
}

.cta-panel > p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
}

.cta-panel .btn {
  margin-top: 1.7rem;
}

.site-footer {
  padding: 20px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr;
  gap: 3rem;
  padding: 3.3rem 0;
  border-top: 1px solid var(--border);
}

.footer-brand p {
  max-width: 380px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer h3 {
  margin-bottom: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a,
.social-email {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.social-email:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 0.55rem;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--border-bright);
  background: rgba(105, 167, 255, 0.09);
}

.social-links img {
  width: 17px;
  height: 17px;
  filter: invert(1);
}

.social-divider {
  width: 100%;
  max-width: 190px;
  height: 1px;
  margin-top: 1rem;
  background: var(--border);
}

.social-email {
  display: inline-block;
  margin-top: 0.8rem;
  word-break: break-word;
}

.footer-bottom {
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

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

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

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 7vw, 5rem);
  }

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

@media (max-width: 820px) {
  .section {
    padding: 88px 0;
  }

  .nav-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.045);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 2px);
    right: 1.25rem;
    left: 1.25rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(9, 16, 25, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

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

  .nav-link {
    padding: 0.85rem 1rem;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-height) + 60px);
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-showcase {
    width: min(100%, 510px);
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 900;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    background: rgba(9, 16, 25, 0.9);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

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

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero {
    padding-top: calc(var(--header-height) + 46px);
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

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

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof div {
    padding: 0 0.55rem;
  }

  .hero-proof strong {
    font-size: 0.92rem;
  }

  .hero-proof span {
    font-size: 0.67rem;
  }

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

  .showcase-card-main {
    right: 4%;
    left: 4%;
    min-height: 330px;
  }

  .showcase-card-main > img {
    width: 96px;
    height: 96px;
  }

  .showcase-card-left {
    left: 0;
    bottom: 8px;
  }

  .showcase-card-right {
    top: 12px;
    right: 0;
  }

  .section-heading h2,
  .about h2,
  .cta-panel h2 {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
  }

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

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .app-card {
    min-height: 0;
  }

  .app-actions .btn {
    flex: 1 1 auto;
  }

  .cta-panel {
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
