html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0A1228;
  color: #E6EEF3;
  font-family: "Space Grotesk", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a {
  color: #1D9E75;
  text-decoration: none;
}
a:hover {
  color: #35C494;
}

input, textarea, select, button {
  font-family: inherit;
}

img {
  max-width: 100%;
}

/* Constellation background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg stroke='%234FD1A8' stroke-width='1' fill='none' opacity='0.16'%3E%3Cpath d='M20 60 L110 20 L210 70 L300 30'/%3E%3Cpath d='M20 60 L60 170 L150 210 L210 70'/%3E%3Cpath d='M150 210 L280 260 L300 30'/%3E%3Cpath d='M60 170 L30 290 L160 300 L280 260'/%3E%3C/g%3E%3Cg fill='%234FD1A8' opacity='0.3'%3E%3Ccircle cx='110' cy='20' r='2'/%3E%3Ccircle cx='210' cy='70' r='2'/%3E%3Ccircle cx='60' cy='170' r='2'/%3E%3Ccircle cx='150' cy='210' r='2'/%3E%3Ccircle cx='280' cy='260' r='2'/%3E%3Ccircle cx='300' cy='30' r='2'/%3E%3Ccircle cx='30' cy='290' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 320px 320px;
  mask-image: radial-gradient(120% 80% at 50% 0%, rgba(0,0,0,.9), rgba(0,0,0,.35) 60%, rgba(0,0,0,.15));
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, rgba(0,0,0,.9), rgba(0,0,0,.35) 60%, rgba(0,0,0,.15));
}

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* Scroll reveal */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* Star field */
@keyframes twinkle {
  0%, 100% { opacity: .12; }
  50% { opacity: .7; }
}
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: .12;
  animation-name: twinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  will-change: opacity;
}
@media (prefers-reduced-motion: reduce) {
  .stars i { animation: none !important; opacity: .35; }
}

/* Buttons / links */
.btn-primary {
  font-size: 15px;
  font-weight: 500;
  color: #0A1228;
  background: #1D9E75;
  padding: 15px 26px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { background: #35C494; }

.btn-secondary {
  font-size: 15px;
  font-weight: 500;
  color: #E6EEF3;
  border: 1px solid rgba(230,238,243,.18);
  padding: 15px 26px;
  border-radius: 10px;
  display: inline-block;
}
.btn-secondary:hover { border-color: rgba(230,238,243,.45); }

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: #0A1228;
  background: #1D9E75;
  padding: 10px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: #35C494; }

.nav-link {
  font-size: 14px;
  color: #93A7B8;
  letter-spacing: .02em;
}
.nav-link:hover { color: #E6EEF3; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* Layout helpers */
.grid-r {
  display: grid;
}
.grid-r2 {
  display: grid;
}

/* Header */
.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 8px 0 0;
}
.logo-wrap {
  display: block;
  justify-self: center;
  margin-top: 18px;
  margin-right: min(420px, calc(100% - 176px));
}
.logo-mark {
  width: auto;
  height: 172px;
  display: block;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 8px 0 96px;
}
.hero-video-wrap {
  position: relative;
}
.hero-video-glow {
  position: absolute;
  inset: -14px;
  border-radius: 26px;
  background: radial-gradient(60% 60% at 60% 20%, rgba(29,158,117,.22), transparent 70%);
}
.video-fade {
  position: relative;
}
.video-fade video {
  mask-image: radial-gradient(72% 62% at 50% 46%, #000 42%, rgba(0,0,0,.55) 72%, transparent 96%);
  -webkit-mask-image: radial-gradient(72% 62% at 50% 46%, #000 42%, rgba(0,0,0,.55) 72%, transparent 96%);
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: 620px;
  object-fit: contain;
  background: transparent;
  cursor: pointer;
}
.video-play-btn {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #E6EEF3;
  background: rgba(10,18,40,.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(29,158,117,.5);
  padding: 13px 22px 13px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.video-play-btn[hidden] { display: none; }
.video-play-btn:hover { border-color: #35C494; }
.video-play-icon {
  width: 0;
  height: 0;
  border-left: 11px solid #35C494;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  display: block;
}

/* Cards */
.step-card {
  border: 1px solid rgba(230,238,243,.1);
  border-radius: 18px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(15,110,86,.08), rgba(6,12,27,0));
}
.perk-card {
  border: 1px solid rgba(230,238,243,.1);
  border-radius: 18px;
  padding: 30px;
  background: rgba(255,255,255,.02);
}

/* Section separator */
.section {
  padding: 90px 0;
  border-top: 1px solid rgba(230,238,243,.08);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Logos grid */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
  align-items: center;
}
.logo-float {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.logo-float img {
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.55));
}
.logo-float:hover {
  transform: translateY(-6px);
}
.logo-float:hover img {
  filter: drop-shadow(0 20px 34px rgba(0,0,0,.65)) drop-shadow(0 0 22px rgba(53,196,148,.32));
}

/* Form */
.field-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6C8298;
}
.field-input {
  background: #060C1B;
  border: 1px solid rgba(230,238,243,.14);
  border-radius: 10px;
  padding: 13px 14px;
  color: #E6EEF3;
  font-size: 15px;
  outline: none;
  width: 100%;
}
.field-input:focus { border-color: #1D9E75; }
select.field-input {
  cursor: pointer;
  padding: 12px 8px 12px 12px;
  background-color: #060C1B;
}
textarea.field-input {
  resize: vertical;
}

.avatar-option {
  display: block;
  border: 1px solid rgba(230,238,243,.14);
  border-radius: 12px;
  padding: 14px 15px;
  cursor: pointer;
  background: rgba(255,255,255,.02);
  position: relative;
}
.avatar-option:hover { border-color: rgba(53,196,148,.55); }
.avatar-option.selected {
  border-color: #35C494 !important;
  background: rgba(15,110,86,.2) !important;
}
.avatar-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Social icons */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(61,169,252,.3);
  background: rgba(61,169,252,.07);
  color: #4FB4FF;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease, color .28s ease;
}
.social-icon:hover {
  transform: translateY(-4px);
  color: #8FD3FF;
  border-color: rgba(111,200,255,.85);
  box-shadow: 0 0 0 1px rgba(111,200,255,.35), 0 0 22px rgba(61,169,252,.45), 0 0 44px rgba(61,169,252,.22);
}

.footer-link {
  font-size: 14px;
  color: #A9BCCB;
}
.footer-link:hover { color: #35C494; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #1FA855;
  color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 14px 34px -8px rgba(0,0,0,.65);
}
.wa-float:hover { background: #25c463; }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav a:not(:last-child) { display: none; }
}
@media (max-width: 900px) {
  .grid-r { grid-template-columns: 1fr !important; }
  .logos-grid { grid-template-columns: repeat(2, 1fr) !important; }
  h1 { font-size: 44px !important; }
  h2 { font-size: 30px !important; }
  .site-nav a:not(:last-child) { display: none; }
  .logo-mark { height: 96px !important; }
  .logo-wrap { margin-right: 0 !important; }
  .grid-r2 { grid-template-columns: 1fr !important; }
  .wa-float span { display: none !important; }
}
