﻿:root {
  --font-title: "Sora", "Trebuchet MS", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --bg-1: #0b1224;
  --bg-2: #151a33;
  --ink-900: #f1f6ff;
  --ink-700: #c2d4f1;
  --ink-500: #9eb3d6;
  --line: rgba(150, 173, 222, 0.34);
  --card: rgba(15, 24, 48, 0.82);
  --brand: #38d6a6;
  --brand-strong: #67b2ff;
  --app-blue: #00e5ff;
  --accent: #ffc067;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-lg: 0 20px 44px rgba(0, 0, 0, 0.44);
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.26);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg-1);
}

html.page-loading body,
html.is-page-leaving body {
  opacity: 0;
}

html:not(.page-loading) body {
  transition: opacity 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.page-loading) body {
    transition: none;
  }
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink-900);
  background-color: #07101f;
  background-image:
    radial-gradient(circle at 2.45rem 1.075rem, rgba(0, 0, 0, 0.8) 0 0.62rem, rgba(5, 13, 28, 0.95) 0.64rem 0.78rem, rgba(255, 255, 255, 0.08) 0.79rem 0.84rem, transparent 0.86rem),
    radial-gradient(circle at 2.2rem 0.77rem, rgba(255, 255, 255, 0.14) 0 0.12rem, transparent 0.16rem),
    radial-gradient(circle at 2.45rem 1.075rem, rgba(0, 229, 255, 0.055) 0 0.9rem, rgba(0, 229, 255, 0.022) 1rem 1.25rem, transparent 1.42rem),
    linear-gradient(90deg, transparent 0 5.2rem, rgba(255, 115, 125, 0.32) 5.2rem 5.28rem, transparent 5.28rem calc(100% - 5.28rem), rgba(102, 224, 255, 0.34) calc(100% - 5.28rem) calc(100% - 5.2rem), transparent calc(100% - 5.2rem)),
    linear-gradient(rgba(102, 224, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.006) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(69, 247, 201, 0.1), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(102, 224, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #07101f 0%, #0b1830 48%, #07101f 100%);
  background-position:
    left 0 top 0.75rem,
    left 0 top 0.75rem,
    left 0 top 0.75rem,
    center,
    center 0.75rem,
    center,
    center,
    center,
    center;
  background-size:
    100% 4.3rem,
    100% 4.3rem,
    100% 4.3rem,
    100% 100%,
    100% 2.15rem,
    2.15rem 100%,
    100% 100%,
    100% 100%,
    100% 100%;
  background-repeat: repeat-y, repeat-y, repeat-y, no-repeat, repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-title);
  color: var(--ink-900);
}

p {
  margin: 0;
  color: var(--ink-700);
}

ol {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.4rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 166, 255, 0.55);
  background: rgba(57, 166, 255, 0.16);
  font-size: 0.83rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8fd2ff;
}

.eyebrow i {
  font-size: 0.84rem;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 1.9vw, 1.95rem);
  margin-bottom: 0.4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(137, 166, 219, 0.3);
  background: rgba(4, 10, 23, 0.76);
  backdrop-filter: blur(12px);
}

.nav-wrapper {
  width: calc(100% - 0.5rem);
  max-width: none;
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-title);
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-left: 0.55rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.32));
  flex: 0 0 auto;
}

.brand-text .app {
  color: var(--app-blue);
  text-shadow:
    0 0 8px rgba(0, 229, 255, 0.95),
    0 0 22px rgba(0, 229, 255, 0.52);
}

.brand-text .rest {
  background: linear-gradient(135deg, #ffffff 0%, #bbf7d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.menu-toggle {
  display: none;
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(14, 22, 45, 0.8);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  border: 1px solid transparent;
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  transition: color 0.2s ease, background 0.25s ease;
}

.site-nav a:hover {
  background: rgba(57, 166, 255, 0.14);
  color: #ffffff;
}

.site-nav a[aria-current="page"] {
  background: rgba(0, 229, 255, 0.14);
  color: var(--app-blue);
  border: 1px solid rgba(0, 229, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.18) inset,
    0 0 12px rgba(0, 229, 255, 0.28);
  text-shadow:
    0 0 6px rgba(0, 229, 255, 0.78),
    0 0 14px rgba(0, 229, 255, 0.36);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.02rem;
  border-radius: 12px;
  border: 1px solid rgba(166, 198, 255, 0.2);
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #021224;
  box-shadow:
    0 14px 30px rgba(24, 163, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.17) inset;
}

.btn-ghost {
  border-color: rgba(166, 198, 255, 0.34);
  background: rgba(11, 20, 42, 0.75);
  color: #d4e2ff;
}

.page-hero h1 {
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  margin-bottom: 0.7rem;
}

.page-hero p {
  max-width: 760px;
}

.site-footer {
  display: none;
}

.site-footer .container {
  width: calc(100% - 0.4rem);
  max-width: none;
}

.footer-content {
  min-height: 44px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.74rem;
  line-height: 1.25;
}

.footer-content p:first-child {
  text-align: left;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.55s ease, opacity 0.55s ease;
}

.mobile-bottom-bg {
  display: none;
}

@media (max-width: 900px) {
  .section {
    padding: 3.5rem 0;
  }

  .site-header {
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
    pointer-events: none;
  }

  .nav-wrapper {
    width: 0;
    min-height: 0;
    justify-content: flex-start;
    gap: 0;
    position: static;
  }

  .brand {
    display: none;
  }

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0.8rem;
    right: 0.8rem;
    left: auto;
    min-height: 46px;
    min-width: 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    border-color: rgba(0, 229, 255, 0.42);
    background:
      linear-gradient(145deg, rgba(0, 229, 255, 0.18), rgba(103, 178, 255, 0.12)),
      rgba(14, 22, 45, 0.92);
    color: #dffaff;
    font-size: 0;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
    border-radius: 12px;
    z-index: 60;
    pointer-events: auto;
  }

  .menu-toggle::before {
    content: "\2630";
    font-size: 1.3rem;
    line-height: 1;
    color: #dffaff;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: calc(0.8rem + 52px);
    right: 0.8rem;
    left: auto;
    width: min(20rem, calc(100vw - 1.6rem));
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    background:
      radial-gradient(circle at 10% 0%, rgba(0, 229, 255, 0.18), transparent 34%),
      linear-gradient(155deg, rgba(8, 17, 35, 0.98), rgba(10, 26, 48, 0.98));
    border: 1px solid rgba(130, 199, 255, 0.38);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 0.7rem;
    z-index: 55;
    pointer-events: auto;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0.78rem 0.9rem;
    border-radius: 14px;
    color: #e7f2ff;
    font-size: 0.98rem;
    background: rgba(255, 255, 255, 0.035);
    white-space: normal;
  }
}

@media (max-width: 640px) {
  body.has-mobile-bottom-bg > :not(.mobile-bottom-bg) {
    position: relative;
    z-index: 1;
  }

  body.has-mobile-bottom-bg > .site-header {
    z-index: 50;
  }

  .mobile-bottom-bg {
    display: none;
  }

  .mobile-bottom-bg-frame {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    transform: translateX(-50%);
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.8s ease;
  }

  .mobile-bottom-bg-frame.is-active {
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-bottom-bg-frame {
      transition: none;
    }
  }

  .site-footer {
    margin-top: 0.35rem;
  }

  .site-footer .container {
    width: calc(100% - 0.25rem);
  }

  .container {
    width: min(1120px, calc(100% - 1.25rem));
  }

  body {
    background-attachment: scroll;
  }

  .section {
    padding: 2.45rem 0;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .footer-content {
    min-height: 26px;
    padding: 0.15rem 0;
    justify-content: space-between;
    text-align: left;
    font-size: 0.56rem;
    line-height: 1.1;
    gap: 0.2rem;
  }

  .footer-content p {
    color: #b7c9e6;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(1120px, calc(100% - 1rem));
  }

  .brand {
    display: none;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
