:root {
  --blue-primary: #264E83;
  --blue-dark: #1B3A62;
  --blue-light: #EAF0F7;
  --blue-accent: #3568A6;
  --text-dark: #2C3E50;
  --text-medium: #4A5568;
  --text-light: #718096;
  --white: #FFFFFF;
  --bg-warm: #FAFBFD;
  --green-ok: #16A34A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-warm);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.nav-logo {
  height: 40px;
  object-fit: contain;
}

.nav-back {
  text-decoration: none;
  color: var(--text-medium);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--blue-primary);
}

.nav-back svg {
  width: 16px;
  height: 16px;
}

/* ── Main ── */

.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 80px;
  position: relative;
}

.page::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(38, 78, 131, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.card {
  max-width: 560px;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ── Badge ── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge svg {
  width: 14px;
  height: 14px;
}

/* ── Headline ── */

.headline {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.headline .highlight {
  color: var(--blue-primary);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  position: relative;
  display: inline-block;
}

.headline .highlight::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: -3px;
  right: -3px;
  height: 10px;
  background: rgba(38, 78, 131, 0.12);
  border-radius: 3px;
  z-index: -1;
}

/* ── Body copy ── */

.copy {
  text-align: left;
  margin-bottom: 36px;
}

.copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-medium);
  margin-bottom: 16px;
}

.copy p:last-child {
  margin-bottom: 0;
}

.copy strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ── Bullets (inline style, casual) ── */

.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  margin-bottom: 36px;
}

.perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 500;
}

.perk-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-icon svg {
  width: 12px;
  height: 12px;
  color: var(--blue-primary);
}

/* ── Form ── */

.form-wrap {
  background: var(--white);
  border: 1px solid rgba(38, 78, 131, 0.1);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(38, 78, 131, 0.06);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.form-wrap:focus-within {
  border-color: rgba(38, 78, 131, 0.25);
  box-shadow: 0 4px 24px rgba(38, 78, 131, 0.1);
}

.form-wrap input[type="email"] {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  color: var(--text-dark);
  background: transparent;
  min-width: 0;
}

.form-wrap input[type="email"]::placeholder {
  color: var(--text-light);
}

.form-wrap button {
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(38, 78, 131, 0.2);
}

.form-wrap button:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(38, 78, 131, 0.3);
  transform: translateY(-1px);
}

.form-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 14px;
}

/* ── Success state ── */

.success-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  animation: fadeUp 0.5s ease-out;
}

.success-msg.show {
  display: flex;
}

.success-icon {
  width: 48px;
  height: 48px;
  background: #ECFDF5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-ok);
}

.success-msg h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.success-msg p {
  font-size: 15px;
  color: var(--text-medium);
}

/* ── Footer ── */

.footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--text-light);
}

.footer a {
  color: var(--blue-primary);
  text-decoration: none;
}

/* ── Decorative dots ── */

.dot-pattern {
  position: absolute;
  z-index: 0;
  opacity: 0.3;
}

.dot-pattern.tl {
  top: 60px;
  left: 40px;
}

.dot-pattern.br {
  bottom: 80px;
  right: 50px;
}

/* ── Animations ── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  animation: fadeUp 0.6s ease-out;
}

.headline {
  animation: fadeUp 0.6s ease-out 0.08s both;
}

.copy {
  animation: fadeUp 0.6s ease-out 0.16s both;
}

.perks {
  animation: fadeUp 0.6s ease-out 0.22s both;
}

.form-wrap {
  animation: fadeUp 0.6s ease-out 0.28s both;
}

.form-note {
  animation: fadeUp 0.6s ease-out 0.32s both;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  .nav {
    padding: 16px 20px;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 24px 20px 60px;
  }
}

@media (max-width: 600px) {
  .form-wrap {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .form-wrap button {
    width: 100%;
    padding: 16px;
  }
}

@media (max-width: 600px) {
  .perks {
    flex-direction: column;
    align-items: center;
  }
}

