:root {
  --navy-950: #061326;
  --navy-900: #081a33;
  --navy-800: #0d2748;
  --navy-700: #12365f;
  --sky-500: #38bdf8;
  --sky-400: #60d5ff;
  --sky-100: #e0f5ff;
  --red-600: #dc2626;
  --red-500: #ef4444;
  --white: #ffffff;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --success: #16a34a;
  --shadow: 0 24px 70px rgba(6, 19, 38, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--navy-950);
  background:
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.12), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(239, 68, 68, 0.08), transparent 25%),
    #f8fbff;
}

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

button,
input {
  font: inherit;
}

/* ---------- Topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(6, 19, 38, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(96, 213, 255, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(145deg, var(--sky-400), #168bd0);
  color: var(--white);
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.28);
}

.brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.2px;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: #9fc6e8;
  font-size: 12px;
}

.language-toggle {
  border: 1px solid rgba(96, 213, 255, 0.35);
  background: rgba(56, 189, 248, 0.08);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
}

.language-toggle:hover {
  background: rgba(56, 189, 248, 0.18);
  transform: translateY(-1px);
}

/* ---------- Main ---------- */

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  margin: 38px 0 30px;
  min-height: 460px;
  display: flex;
  align-items: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 20%, rgba(96, 213, 255, 0.28), transparent 28%),
    radial-gradient(circle at 92% 85%, rgba(239, 68, 68, 0.2), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800) 58%, #104875);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -150px;
  top: -170px;
  border-radius: 50%;
  border: 1px solid rgba(96, 213, 255, 0.22);
  box-shadow:
    0 0 0 40px rgba(96, 213, 255, 0.035),
    0 0 0 80px rgba(96, 213, 255, 0.025);
}

.hero::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 150px;
  right: 12%;
  bottom: -35px;
  border-radius: 20px;
  background: var(--red-500);
  transform: rotate(35deg);
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 64px clamp(28px, 7vw, 76px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sky-400);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--red-500);
}

.hero h1 {
  margin: 16px 0 18px;
  max-width: 680px;
  color: var(--white);
  font-size: clamp(40px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -2.8px;
}

.hero p {
  max-width: 610px;
  margin: 0;
  color: #c8def2;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

/* ---------- Buttons ---------- */

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background:
    linear-gradient(135deg, var(--red-600), var(--red-500));
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.34);
}

.btn-secondary {
  color: var(--navy-950);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.full-width {
  width: 100%;
}

/* ---------- Information cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 26px 0 70px;
}

.info-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(13, 39, 72, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 35px rgba(6, 19, 38, 0.07);
}

.info-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.08);
}

.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--sky-100);
  font-size: 23px;
}

.info-card:nth-child(3) .card-icon {
  background: #fee2e2;
}

.info-card h2 {
  margin: 0 0 9px;
  color: var(--navy-900);
  font-size: 19px;
}

.info-card p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ---------- Forms ---------- */

.form-section {
  margin: 0 auto 70px;
  scroll-margin-top: 100px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 10px 0 10px;
  color: var(--navy-950);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1.2px;
}

.section-heading p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.7;
}

.form-card {
  width: min(100%, 680px);
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid rgba(13, 39, 72, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card label {
  display: block;
  margin-bottom: 18px;
}

.form-card label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 800;
}

.form-card input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  outline: none;
  color: var(--navy-950);
  background: #fbfdff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-card input:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.13);
  background: var(--white);
}

.form-result {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--navy-800);
  line-height: 1.55;
  font-size: 14px;
}

.form-result.success {
  background: #f0fdf4;
  color: #166534;
}

.form-result.error {
  background: #fef2f2;
  color: #991b1b;
}

.hidden {
  display: none !important;
}

/* ---------- Earning callout ---------- */

.form-section:first-of-type::before {
  content: "MAKE MONEY ON FREEWIFI";
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--navy-950);
  color: var(--sky-400);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  box-shadow: 0 8px 24px rgba(6, 19, 38, 0.16);
}

/* ---------- Footer ---------- */

footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 30px 20px 42px;
  color: var(--slate-500);
  font-size: 13px;
}

footer span:first-child {
  color: var(--navy-900);
  font-weight: 800;
}

/* ---------- Responsive ---------- */

@media (max-width: 850px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 420px;
    border-radius: 24px;
  }

  .hero h1 {
    letter-spacing: -1.8px;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 12px 16px;
  }

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

  .brand span {
    display: none;
  }

  .page {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    margin-top: 20px;
    border-radius: 20px;
  }

  .hero-content {
    padding: 46px 24px 54px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .form-card {
    border-radius: 18px;
  }

  footer {
    flex-direction: column;
    align-items: center;
  }
}


.referral-box {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  background: #081a33;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.referral-box-label {
  margin-top: 14px;
  margin-bottom: 7px;
  color: #8bdcff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.referral-box-label:first-child {
  margin-top: 0;
}

.referral-code {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}


.referral-link-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.referral-link-row input {
  flex: 1;
  min-width: 0;
}

@media (max-width: 640px) {
  .referral-link-row {
    flex-direction: column;
  }

  .referral-link-row .btn {
    width: 100%;
  }
}

