/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(128.06% 160.08% at 100% 0%, #00AEEF 0%, #00658D 50%, #001E2D 100%);
  color: #fff;
  overflow-x: hidden;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 clamp(22px, 4vw, 56px);
  background: rgba(247, 251, 255, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.34);
  box-shadow: 0 14px 38px rgba(0, 30, 45, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: #005b82;
  letter-spacing: 0.01em;
}

.nav-right {
  font-weight: 800;
  font-size: 1rem;
  color: #005b82;
  letter-spacing: 0.01em;
}

/* ===========================
   HERO LAYOUT
=========================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: safe center;
  justify-content: center;
  gap: clamp(40px, 5vw, 72px);
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  padding: clamp(20px, 3vh, 34px) clamp(32px, 5vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
  isolation: isolate;
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  width: 34vw;
  height: 34vw;
  left: -8vw;
  top: 8vh;
  background: rgba(0, 174, 239, 0.24);
  filter: blur(70px);
}

/* ===========================
   FORM CARD
=========================== */
.form-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 12px;
  padding: clamp(24px, 3vh, 32px);
  min-width: 330px;
  max-width: 430px;
  width: 100%;
  flex-shrink: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 18, 27, 0.24), inset 0 1px 0 rgba(255,255,255,0.24);
}

.form-title {
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
}

.field {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

.field input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field input::placeholder {
  color: rgba(255,255,255,0.45);
}

.field input:focus {
  border-color: rgba(130, 207, 255, 0.9);
  background: rgba(255,255,255,0.17);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.16);
}

.btn-register {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  background: linear-gradient(135deg, #8ddfff 0%, #00aeef 48%, #0085bd 100%);
  color: #002f45;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 14px 30px rgba(0, 174, 239, 0.28);
}

.btn-register:hover {
  background: linear-gradient(135deg, #b7edff 0%, #18bdf8 46%, #0085bd 100%);
  box-shadow: 0 18px 36px rgba(0, 174, 239, 0.34);
}

.btn-register:active {
  transform: scale(0.98);
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.lock-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ===========================
   CONTENT SIDE (RIGHT)
=========================== */
.content-side {
  flex: 1;
  max-width: 570px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.headline {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 38px rgba(0, 24, 36, 0.22);
}

/* ===========================
   VIDEO
=========================== */
.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 22px 54px rgba(0, 15, 22, 0.34), 0 0 28px rgba(0, 174, 239, 0.22);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ===========================
   TAGLINE
=========================== */
.tagline {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  margin-bottom: 18px;
  font-style: italic;
}

/* ===========================
   DIVIDER
=========================== */
.divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 18px;
}

/* ===========================
   BADGES
=========================== */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge svg {
  width: 14px;
  height: 14px;
  opacity: 0.85;
  flex-shrink: 0;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: calc(100svh - 64px);
    padding: 24px 20px 28px;
    gap: 36px;
  }

  .form-card {
    min-width: unset;
    max-width: 100%;
  }

  .content-side {
    max-width: 100%;
  }

  .headline {
    font-size: 1.8rem;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .hero {
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .headline {
    font-size: clamp(2rem, 3.3vw, 2.7rem);
    margin-bottom: 16px;
  }

  .form-card {
    padding: 22px;
  }

  .form-title {
    margin-bottom: 16px;
  }

  .field {
    margin-bottom: 10px;
  }

  .field input {
    padding: 10px 13px;
  }

  .video-wrapper,
  .tagline,
  .divider {
    margin-bottom: 14px;
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 58px;
  }

  .navbar {
    padding: 0 18px;
    gap: 16px;
  }

  .nav-brand,
  .nav-right {
    font-size: 0.9rem;
  }

  .hero {
    min-height: calc(100svh - 58px);
  }

  .headline {
    font-size: 1.5rem;
  }

  .form-title {
    font-size: 1.35rem;
  }
}
