@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --navy:        #16284F;
  --navy-dark:   #0D1B35;
  --navy-light:  #1E3A6E;
  --accent:      #4A7FC1;
  --accent-glow: rgba(74,127,193,0.18);
  --accent-light:#EBF3FB;
  --surface:     #F8FAFC;
  --surface2:    #F1F5F9;
  --border:      #E2E8F0;
  --text:        #1E293B;
  --text-muted:  #64748B;
  --white:       #ffffff;
  --ok:          #10B981;
  --ok-bg:       rgba(16,185,129,0.08);
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-lg:   0 8px 40px rgba(22,40,79,0.14);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Header ── */
.site-header {
  background: var(--navy-dark);
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.site-header .logo img {
  height: 42px;
  width: auto;
}
.site-header .logo-text {
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.site-header .logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Page hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 56px 40px 48px;
  text-align: center;
}
.page-hero h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Container ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Password screen ── */
.lock-wrap {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.lock-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.lock-card .logo img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}
.lock-card .logo-text-lock {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.lock-card .logo-sub-lock {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 32px;
}
.lock-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.lock-card h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.lock-card .lock-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.lock-card input[type="password"] {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  outline: none;
  text-align: center;
  letter-spacing: 0.1em;
  transition: border-color 0.15s, box-shadow 0.15s;
  margin-bottom: 16px;
}
.lock-card input[type="password"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}
.lock-card .error-msg {
  color: #E53935;
  font-size: 13px;
  margin-bottom: 12px;
  display: none;
}
.lock-card .error-msg.show { display: block; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.18s;
  width: 100%;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary:active { transform: none; }
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
  margin-top: 10px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── Landing: request type cards ── */
.landing-section {
  padding: 56px 0 80px;
}
.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.request-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.request-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.request-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.request-card:hover::before { transform: scaleX(1); }
.request-card .card-icon {
  font-size: 36px;
  line-height: 1;
}
.request-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.request-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.request-card .card-arrow {
  font-size: 20px;
  color: var(--accent);
  margin-top: 8px;
}

/* ── Forms ── */
.form-section {
  padding: 48px 0 80px;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-card .form-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.form-group .label-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 6px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
.form-group .domain-row {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group .domain-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}
.form-group .domain-row input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  flex: 1;
  min-width: 0;
}
.form-group .domain-suffix {
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--surface2);
  border-left: 1.5px solid var(--border);
  height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 500;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ── Plan cards ── */
.plans-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.plan-option { display: none; }
.plan-label {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
  background: var(--white);
  height: 100%;
}
.plan-option:checked + .plan-label {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--accent-light);
}
.plan-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.3;
}
.plan-tagline {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.plan-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 2px;
}
.plan-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.plan-billing {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.plan-features {
  list-style: none;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}
.plan-features li {
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

/* ── Term options ── */
.term-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.term-option { display: none; }
.term-label {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.18s;
  background: var(--white);
}
.term-option:checked + .term-label {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--accent-light);
}
.term-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
}
.term-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Offboarding checklist ── */
.offboard-section {
  margin-bottom: 28px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.offboard-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.offboard-section .section-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.radio-group, .check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-item, .check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.radio-item input, .check-item input {
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.radio-item .item-label, .check-item .item-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.radio-item .item-desc, .check-item .item-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ── Form divider ── */
.form-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* ── Submit area ── */
.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.form-submit .submit-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-submit .btn {
  width: auto;
  min-width: 180px;
}

/* ── Thank you page ── */
.thanks-wrap {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.thanks-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border);
}
.thanks-icon { font-size: 52px; margin-bottom: 20px; }
.thanks-card h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.thanks-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.thanks-card .contact-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 10px;
  text-decoration: none;
}
.thanks-card .contact-note:hover { border-color: var(--accent); color: var(--accent); }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 20px;
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* ── Notices / Disclaimers ── */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.6;
}
.notice-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.notice-text { flex: 1; }
.notice-text strong { font-weight: 600; }
.notice-warning {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  color: #92400E;
}
.notice-info {
  background: rgba(74,127,193,0.08);
  border: 1px solid rgba(74,127,193,0.25);
  color: #1E3A6E;
}

/* ── Date picker styling ── */
input[type="date"] {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
input[type="date"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}


@media (max-width: 680px) {
  .site-header { padding: 0 20px; }
  .page-hero { padding: 40px 20px 36px; }
  .page-hero h1 { font-size: 24px; }
  .request-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .term-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .form-submit { flex-direction: column; align-items: stretch; }
  .form-submit .btn { width: 100%; }
}
