:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  background-color: #f7f8fb;
  color: #0f1228;
  --bg: #f7f8fb;
  --hero-gradient: radial-gradient(
      circle at 20% -10%,
      rgba(250, 205, 248, 0.35),
      transparent 45%
    ),
    radial-gradient(circle at 80% 0%, rgba(96, 165, 250, 0.25), transparent 50%),
    linear-gradient(125deg, #0a0d2a, #161a4b 50%, #0b0f2c);
  --surface: #ffffff;
  --surface-soft: #eef2ff;
  --surface-muted: #f1f5fb;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(99, 102, 241, 0.25);
  --text-muted: #5b6178;
  --accent: #ec4899;
  --accent-alt: #6366f1;
  --accent-soft: #0ea5e9;
  --shadow-soft: 0 25px 60px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 15px 40px rgba(15, 23, 42, 0.12);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: inherit;
  font-family: inherit;
  padding-bottom: 4rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Sora", "Space Grotesk", sans-serif;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
  color: inherit;
}

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

main {
  width: min(1150px, calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.hero {
  background: var(--hero-gradient);
  color: #f4f6ff;
  padding: 2.5rem 0 3.75rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 80%,
    rgba(12, 44, 132, 0.5),
    transparent 70%
  );
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1rem 0 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(12, 17, 60, 0.7);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.logo {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links .ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.75rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(3, 6, 30, 0.65);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 8px 30px rgba(3, 5, 25, 0.65);
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-alt));
  color: #fff;
  box-shadow: 0 15px 35px rgba(236, 72, 153, 0.35);
}

.btn.secondary {
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: var(--accent-alt);
  background: rgba(99, 102, 241, 0.08);
}

.hero .btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #f7f8ff;
  background: transparent;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.hero-highlights li {
  padding-left: 1.6rem;
  position: relative;
  color: rgba(255, 255, 255, 0.97);
  text-shadow: 0 8px 25px rgba(2, 6, 15, 0.55);
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  left: 0;
  top: 0.65rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

.hero-visual {
  position: relative;
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 9, 35, 0.85);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.4);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 30% 0%,
    rgba(132, 180, 255, 0.25),
    transparent 55%
  );
  pointer-events: none;
}

.visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.25rem;
  padding: 1.35rem;
  box-shadow: 0 25px 45px rgba(3, 5, 25, 0.65);
  color: #fdfcff;
  text-shadow: 0 10px 30px rgba(2, 5, 20, 0.6);
}

.visual-card.primary {
  min-height: 220px;
}

.visual-card.secondary {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.visual-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  color: rgba(255, 255, 255, 0.97);
  display: grid;
  gap: 0.35rem;
}

.stat-value {
  font-size: 2.1rem;
  font-weight: 600;
}

.visual-pill {
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.2);
  color: #e0e7ff;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.muted {
  color: rgba(244, 246, 255, 0.7);
}

.small {
  font-size: 0.85rem;
}

.hero-trust {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.hero-trust p {
  margin: 0 0 1rem;
  color: rgba(244, 246, 255, 0.85);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.portal-cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.portal-card {
  background: var(--surface);
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 1.85rem;
  box-shadow: var(--shadow-soft);
}

.portal-card.alt {
  background: var(--surface-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.card.alt {
  background: var(--surface-soft);
}

.icon-pill {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent-alt);
  background: rgba(99, 102, 241, 0.12);
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.automation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.automation ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.automation-panel {
  display: grid;
  gap: 1rem;
}

.panel-card {
  background: var(--surface);
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.workflow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.workflow-header p {
  color: var(--text-muted);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.form-card .lead {
  color: var(--text-muted);
  margin: 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #3f4763;
  gap: 0.35rem;
}

input,
textarea {
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--surface-muted);
  color: inherit;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--accent-alt);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: contents;
}

button {
  margin-top: 0.2rem;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 0.95rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-alt));
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  box-shadow: 0 20px 35px rgba(99, 102, 241, 0.25);
}

button:active {
  transform: translateY(1px);
}

button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status strong {
  color: var(--accent-alt);
}

.status.error {
  color: #db2777;
}

.status.success {
  color: #0f9d58;
}

.form-card.is-locked {
  border-style: dashed;
  border-color: rgba(15, 23, 42, 0.25);
}

.form-card.is-locked fieldset {
  opacity: 0.5;
  pointer-events: none;
}

.lock-message {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(99, 102, 241, 0.08);
  color: var(--text-muted);
  font-size: 0.9rem;
}

code {
  background: rgba(99, 102, 241, 0.12);
  padding: 0.2rem 0.45rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
}

.site-footer {
  text-align: center;
  color: var(--text-muted);
  margin-top: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--accent-alt);
  margin: 0 0 0.5rem;
}

.api {
  margin-top: 0.5rem;
}

@media (max-width: 720px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 1.25rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
