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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #041317;
  background: #f5f7fb;
}

/* Layout helpers */

.container {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  color: #020617;
  letter-spacing: -0.04em;
}

.logo span {
  color: #22c55e;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.nav a {
  color: #0f172a;
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #14b8a6);
  transition: width 0.18s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
}

/* HERO */

.page-main {
  min-height: calc(100vh - 60px);
}

.hero {
  position: relative;
  padding: 32px 0 56px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, #a7f3d0 0, transparent 55%),
    radial-gradient(circle at 100% 0, #7dd3fc 0, transparent 55%),
    radial-gradient(circle at 50% 100%, #4ade80 0, transparent 60%);
  opacity: 0.9;
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: stretch;
}

/* Left side */

.hero-copy {
  padding-top: 40px;
}

.hero-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(15, 23, 42, 0.7);
  margin: 0 0 10px;
}

.hero-title {
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  letter-spacing: -0.06em;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 34rem;
  color: rgba(15, 23, 42, 0.78);
  margin: 0 0 16px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: rgba(15, 23, 42, 0.82);
}

.hero-bullets li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #059669;
}

.hero-meta {
  display: grid;
  gap: 10px;
  max-width: 34rem;
}

.meta-pill {
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: rgba(15, 23, 42, 0.7);
}

.meta-value {
  font-size: 0.86rem;
}

/* Form card */

.hero-form-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.form-card {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  padding: 20px 22px 22px;
}

.form-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.li-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #0a66c2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.32);
}

.li-logo-circle span {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
}

.form-header-text h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.form-header-text p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.7);
}

.form-grid {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.9);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  outline: none;
  background: rgba(248, 250, 252, 0.95);
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5);
  background: #ffffff;
}

.form-row textarea {
  resize: vertical;
  min-height: 70px;
}

/* Button + status */

.btn-primary {
  margin-top: 14px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: #ecfdf5;
  background: linear-gradient(90deg, #22c55e, #14b8a6);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.35);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    opacity 0.12s ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(22, 163, 74, 0.4);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.form-status {
  min-height: 18px;
  margin: 8px 2px 0;
  font-size: 0.8rem;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
}

.footer-inner {
  padding: 14px 0 18px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.75);
}

/* Responsive */

@media (max-width: 960px) {
  .hero {
    padding-top: 20px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero-form-wrapper {
    justify-content: center;
  }

  .form-card {
    max-width: 480px;
  }

  .nav {
    display: none;
    position: absolute;
    right: 20px;
    top: 52px;
    flex-direction: column;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  }

  .nav.show {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ===================================================
   SUCCESS POPUP
=================================================== */

.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.success-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.success-modal {
  position: relative;
  max-width: 420px;
  width: calc(100% - 40px);
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
  animation: success-pop 0.22s ease-out;
}

@keyframes success-pop {
  from {
    transform: translateY(16px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.success-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(15, 23, 42, 0.6);
}

.success-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.success-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #bbf7d0, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.55);
}

.success-check {
  color: #022c22;
  font-size: 1.6rem;
  font-weight: 700;
}

.success-kicker {
  margin: 6px 0 2px;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(15, 23, 42, 0.7);
}

.success-title {
  margin: 2px 0 8px;
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.success-text {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.86);
}

.success-text-secondary {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: rgba(15, 23, 42, 0.72);
}

.success-text-secondary a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.success-text-secondary a:hover {
  text-decoration: underline;
}

.success-button {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  color: #ecfdf5;
  background: linear-gradient(90deg, #22c55e, #14b8a6);
  box-shadow: 0 14px 36px rgba(22, 163, 74, 0.4);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.success-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(22, 163, 74, 0.5);
}
