:root {
  --bg: #151821;
  --bg-soft: rgba(27, 31, 43, 0.88);
  --surface: rgba(27, 31, 43, 0.62);
  --surface-strong: rgba(19, 22, 31, 0.84);
  --text: #edf2ff;
  --muted: #98a1b9;
  --line: rgba(237, 242, 255, 0.09);
  --line-strong: rgba(87, 227, 239, 0.28);
  --primary: #57e3ef;
  --primary-deep: #77dfff;
  --shadow: 0 0 32px rgba(87, 227, 239, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --container-narrow: 860px;
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top, rgba(87, 227, 239, 0.08), transparent 34%),
    linear-gradient(180deg, #11141b 0%, #151821 38%, #12151d 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

textarea {
  -webkit-appearance: none;
  appearance: none;
}

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

.narrow {
  max-width: var(--container-narrow);
}

.center {
  text-align: center;
}

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

.max-width-2 {
  max-width: 860px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(17, 20, 27, 0.78);
  border-bottom: 1px solid rgba(237, 242, 255, 0.06);
}

.topbar-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-dot,
.status-dot,
.success-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0.85rem rgba(87, 227, 239, 0.7);
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #071116;
  box-shadow: 0 0 24px rgba(87, 227, 239, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 0 32px rgba(87, 227, 239, 0.32);
}

.btn-secondary {
  border-color: rgba(87, 227, 239, 0.3);
  color: var(--text);
  background: rgba(17, 20, 27, 0.5);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(87, 227, 239, 0.48);
  background: rgba(87, 227, 239, 0.08);
}

.btn-small {
  min-height: 2.75rem;
  padding: 0.75rem 1.15rem;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: clip;
}

.hero-media,
.hero-overlay,
.section-grain::before {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0.42;
}

.hero-overlay-dark {
  background: linear-gradient(to bottom, rgba(17, 20, 27, 0.6), rgba(17, 20, 27, 0.82), rgba(17, 20, 27, 1));
}

.hero-overlay-side {
  background: linear-gradient(to right, rgba(17, 20, 27, 0.92), rgba(17, 20, 27, 0.15), rgba(17, 20, 27, 0.6));
}

.section-grain::before {
  content: "";
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(87, 227, 239, 0.58), transparent);
  box-shadow: 0 0 12px rgba(87, 227, 239, 0.44);
  animation: scan 7s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(-8vh); opacity: 0; }
  6% { opacity: 1; }
  50% { transform: translateY(64vh); opacity: 1; }
  100% { transform: translateY(95vh); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8.5rem 0 6.5rem;
}

.status-label,
.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.hero h1,
h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 850px;
  margin-top: 1.6rem;
  font-size: clamp(2.8rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.65rem);
}

.hero-copy,
.lead-copy {
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.hero-copy {
  max-width: 760px;
  margin: 1.75rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted-text {
  color: #8f97ad;
}

.section {
  position: relative;
  padding: 7rem 0;
}

.section-divider {
  border-top: 1px solid rgba(237, 242, 255, 0.06);
  border-bottom: 1px solid rgba(237, 242, 255, 0.06);
}

.section-label {
  display: block;
  margin-bottom: 1rem;
}

.lead-copy {
  max-width: 720px;
  margin: 1.45rem auto 0;
}

.lead-copy strong {
  color: var(--text);
}

.lead-copy-spaced {
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.cards-grid,
.chips-grid,
.stats-grid {
  margin-top: 3.25rem;
}

.card {
  border-radius: var(--radius);
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top-color: rgba(237, 242, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.glass-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 0 34px rgba(87, 227, 239, 0.12);
}

.cards-grid .glass-card {
  padding: 2rem;
}

.card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

.gallery-card {
  overflow: visible;
  padding: 0.75rem !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.gallery-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 14px;
}

.icon-wrap,
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.05rem;
  border-radius: 999px;
  background: rgba(87, 227, 239, 0.08);
}

.icon-wrap.small {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
}

.icon-badge {
  width: 3.8rem;
  height: 3.8rem;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  background: rgba(87, 227, 239, 0.1);
}

.icon-wrap svg,
.icon-badge svg {
  width: 1.55rem;
  height: 1.55rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip-card {
  padding: 1.6rem 1rem;
  text-align: center;
}

.chip-card p {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
}

.centered-card {
  text-align: center;
}

.section-cta {
  margin-top: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
}

.stat-value {
  margin: 0 0 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.form-shell {
  max-width: 720px;
}

.lead-form {
  margin-top: 3rem;
}

.form-row {
  margin-bottom: 1.6rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(237, 242, 255, 0.16);
  background: transparent !important;
  padding: 0.4rem 0 0.85rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.22s ease;
  border-radius: 0;
  resize: vertical;
  box-shadow: none;
}

.form-row textarea {
  min-height: 120px;
  line-height: 1.6;
  display: block;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(152, 161, 185, 0.45);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  background: transparent !important;
}

.form-success {
  margin-top: 2rem;
  padding: 2.5rem 2rem;
  text-align: center;
}

.form-success h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.35rem;
}

.form-success p {
  margin: 0;
  color: var(--muted);
}

.final-cta {
  padding-bottom: 5.5rem;
}

.footer {
  padding: 0 0 2.5rem;
}

.footer-inner {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(237, 242, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  color: var(--muted);
}

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

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

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
}

.form-alert strong {
  display: inline-block;
  margin-bottom: 0.2rem;
}

.form-alert-success {
  border: 1px solid rgba(87, 227, 239, 0.28);
}

.form-alert-error {
  border: 1px solid rgba(255, 122, 122, 0.28);
}

.error-dot {
  background: #ff7a7a;
  box-shadow: 0 0 0.85rem rgba(255, 122, 122, 0.65);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 960px) {
  .grid-2,
  .grid-3,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 5.5rem 0;
  }

  .hero-media img {
    object-position: center 12%;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 68px;
  }

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

  .topbar-inner {
    gap: 0.75rem;
  }

  .brand {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
  }

  .btn {
    min-height: 3.2rem;
    padding: 0.9rem 1.25rem;
  }

  .hero-content {
    padding: 7rem 0 5rem;
  }

  .hero-media img {
    object-position: center 8%;
  }

  .hero-copy br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-2,
  .grid-3,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid .glass-card {
    padding: 1.5rem;
  }

  .gallery-card {
    padding: 0.6rem !important;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
