:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: rgba(232, 240, 249, 0.74);
  --soft: rgba(232, 240, 249, 0.56);
  --navy: #071018;
  --panel: rgba(12, 20, 29, 0.76);
  --panel-strong: rgba(17, 28, 39, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --cyan: #66e6ff;
  --blue: #6b8cff;
  --amber: #f0b86e;
  --green: #8ee6c7;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--navy);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #071018 0%, #0d1721 42%, #0f1416 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 80%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 16, 24, 0.76);
  backdrop-filter: blur(22px) saturate(1.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  box-shadow: 0 0 24px rgba(102, 230, 255, 0.75);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  color: rgba(236, 244, 253, 0.76);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

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

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.82rem 1.18rem;
  font-weight: 800;
  line-height: 1.1;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.32), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

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

.button:hover::after {
  transform: translateX(120%);
}

.button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(102, 230, 255, 0.34);
  outline-offset: 3px;
}

.button-primary {
  color: #051018;
  background: linear-gradient(135deg, #f7fbff 0%, #7eeaff 52%, #f0b86e 100%);
  box-shadow: 0 18px 44px rgba(102, 230, 255, 0.22);
}

.button-secondary,
.button-outline {
  color: #edf7ff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover,
.button-outline:hover {
  border-color: rgba(102, 230, 255, 0.44);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(4rem, 6vw, 6.5rem) 0 clamp(3rem, 5vw, 5rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.98) 0%, rgba(7, 16, 24, 0.92) 31%, rgba(7, 16, 24, 0.52) 62%, rgba(7, 16, 24, 0.78) 100%),
    linear-gradient(180deg, rgba(7, 16, 24, 0.28), #071018 96%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-header h2,
.form-copy h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.55rem, 6.1vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1 {
  text-wrap: balance;
}

.hero p,
.section p,
.form-copy p,
.partner-copy p,
.spotlight-item p,
.process-step p,
.glass-card p,
.partner-contact p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 1.35rem 0 0;
  font-size: clamp(1.03rem, 1.4vw, 1.2rem);
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 0.52rem 0.72rem;
  color: rgba(248, 251, 255, 0.8);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(102, 230, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
}

.hero-card-inner {
  position: relative;
  min-height: 390px;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: calc(var(--radius) - 1px);
  background:
    linear-gradient(180deg, rgba(13, 22, 32, 0.92), rgba(9, 16, 23, 0.86)),
    rgba(13, 22, 32, 0.92);
  backdrop-filter: blur(18px);
}

.hero-card-inner::before {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(102, 230, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(102, 230, 255, 0.3) 0 4px, transparent 5px),
    conic-gradient(from 40deg, rgba(102, 230, 255, 0.7), transparent, rgba(240, 184, 110, 0.68), transparent);
  mask-image: radial-gradient(circle, transparent 0 34px, black 35px);
  animation: rotateSlow 11s linear infinite;
}

.card-label {
  margin: 0 0 0.85rem;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card h2 {
  max-width: 360px;
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
  line-height: 1.02;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.stats-grid div {
  min-height: 116px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.stats-grid strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #ffffff;
  font-size: 1.15rem;
}

.stats-grid span {
  color: var(--soft);
  font-size: 0.92rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-header {
  width: min(900px, 100%);
  margin: 0 auto clamp(2rem, 4vw, 3.4rem);
  text-align: center;
}

.section-header h2,
.form-copy h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
}

.grid,
.cards-grid,
.process-grid,
.content-grid,
.spotlight-list {
  display: grid;
  gap: 1rem;
}

.cards-grid,
.process-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

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

.glass-card,
.process-step,
.spotlight-item,
.partner-list div,
.partner-contact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.glass-card {
  position: relative;
  min-height: 280px;
  padding: 1.5rem;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.glass-card:hover,
.process-step:hover,
.spotlight-item:hover,
.partner-list div:hover {
  transform: translateY(-5px);
  border-color: rgba(102, 230, 255, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
}

.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 3.5rem;
  border: 1px solid rgba(102, 230, 255, 0.28);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
}

.glass-card h3,
.partner-contact h3,
.process-step h3 {
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.15;
}

.spotlight {
  padding-top: 0;
}

.spotlight-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr minmax(280px, 0.98fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(120deg, rgba(102, 230, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.spotlight-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.spotlight-inner > div > p:not(.eyebrow) {
  max-width: 620px;
  margin: 1.2rem 0 0;
}

.spotlight-list {
  gap: 0.85rem;
}

.spotlight-item {
  padding: 1.2rem;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.spotlight-item strong {
  color: #ffffff;
  font-size: 1.02rem;
}

.spotlight-item p {
  margin-bottom: 0;
}

.process-section {
  position: relative;
}

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

.process-step {
  min-height: 260px;
  padding: 1.35rem;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  color: #061018;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  box-shadow: 0 12px 28px rgba(102, 230, 255, 0.18);
  font-weight: 900;
}

.process-step p {
  margin-bottom: 0;
}

.application-section {
  padding-top: 0;
}

.form-pane {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr minmax(320px, 0.98fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  overflow: hidden;
  padding: clamp(1.4rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(102, 230, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.form-pane::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 230, 255, 0.9), rgba(240, 184, 110, 0.72), transparent);
}

.form-copy {
  position: sticky;
  top: 106px;
}

.form-copy p {
  max-width: 590px;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(239, 247, 255, 0.82);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(142, 230, 199, 0.72);
}

.application-form,
.partner-contact form {
  display: grid;
  gap: 1rem;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #ffb4a8;
}

label {
  display: grid;
  gap: 0.48rem;
  color: rgba(244, 249, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  outline: none;
  background: rgba(5, 12, 18, 0.72);
  color: #f8fbff;
  padding: 0.92rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 118px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(232, 240, 249, 0.38);
}

input:focus,
textarea:focus {
  border-color: rgba(102, 230, 255, 0.68);
  background: rgba(5, 12, 18, 0.88);
  box-shadow: 0 0 0 4px rgba(102, 230, 255, 0.1);
}

.partners-section {
  padding-top: 0;
}

.content-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(1.4rem, 4vw, 4rem);
}

.partner-copy > p {
  margin-top: 0;
  font-size: 1.08rem;
}

.partner-list {
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.partner-list div {
  padding: 1.15rem;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.partner-list strong {
  color: #ffffff;
}

.partner-list p {
  margin-bottom: 0;
}

.partner-contact {
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.partner-contact h3 {
  font-size: 1.55rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.6rem 0;
  background: rgba(4, 10, 15, 0.52);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner p,
.footer-inner small {
  margin: 0;
  color: rgba(225, 236, 248, 0.58);
}

.footer-inner small {
  max-width: 650px;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }
.delay-6 { transition-delay: 0.48s; }

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 70px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(7, 16, 24, 0.96), rgba(7, 16, 24, 0.72)),
      linear-gradient(180deg, rgba(7, 16, 24, 0.18), #071018 96%);
  }

  .hero-grid,
  .spotlight-inner,
  .process-grid,
  .cards-grid,
  .content-grid,
  .form-pane {
    grid-template-columns: 1fr;
  }

  .form-copy {
    position: static;
  }
}

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

  .header-inner {
    min-height: 64px;
  }

  .header-inner > .button {
    display: none;
  }

  .hero {
    padding-top: 3.3rem;
  }

  .hero h1,
  .section-header h2,
  .form-copy h2 {
    font-size: clamp(2.2rem, 14vw, 3.65rem);
  }

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

  .button {
    width: 100%;
  }

  .hero-card-inner {
    min-height: auto;
  }

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

  .section {
    padding: 3.6rem 0;
  }

  .spotlight-inner,
  .form-pane {
    padding: 1.25rem;
  }

  .glass-card,
  .process-step {
    min-height: auto;
  }

  .card-mark {
    margin-bottom: 2rem;
  }
}

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

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