:root {
  --max-width: 1100px;
  --brand: #1f4af2;
  --brand-dark: #102c94;
  --text: #1b1d21;
  --muted: #5d6068;
  --surface: #f5f7ff;
  --border: #dde2f8;
  --background: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: inherit;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

header.hero {
  background: linear-gradient(135deg, var(--surface), #fff);
  padding: 2.5rem 1.5rem 4rem;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 2.5rem;
  max-width: var(--max-width);
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--brand);
}

.logo-icon .logo-mark {
  width: 100%;
  height: 100%;
  display: block;
}

.top-nav .cta {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.top-nav .cta:hover {
  border-color: rgba(31, 74, 242, 0.4);
  background: rgba(31, 74, 242, 0.08);
}

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

.hero-copy h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.2rem);
  margin-bottom: 1rem;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions a {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-actions .primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 32px rgba(31, 74, 242, 0.2);
}

.hero-actions .primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(31, 74, 242, 0.25);
}

.hero-actions .secondary {
  color: var(--brand);
  border: 1px solid rgba(31, 74, 242, 0.15);
}

.hero-actions .secondary:hover {
  border-color: rgba(31, 74, 242, 0.4);
}

.hero-visual {
  justify-self: center;
  max-width: 420px;
}

main section {
  padding: 4rem 1.5rem;
}

.features {
  background: #fff;
  text-align: center;
}

.features h2,
.workflow h2,
.cta-section h2 {
  font-size: clamp(1.9rem, 3vw + 0.5rem, 2.6rem);
  margin-bottom: 1.2rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

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

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(16, 44, 148, 0.08);
}

.workflow {
  background: var(--surface);
}

.cat-note {
  max-width: 560px;
  margin: 2.25rem auto 0;
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--max-width);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}

.steps li {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  position: relative;
  min-height: 220px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(31, 74, 242, 0.1);
  color: var(--brand);
  font-weight: 600;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.steps h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

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

.cta-section {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: flex;
  justify-content: center;
}

.cta-card {
  max-width: 720px;
  width: 100%;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.cta-card p {
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.86);
}

.signup label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.input-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.input-row input {
  flex: 1 1 220px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
}

.input-row input:focus {
  outline: none;
  border-color: rgba(31, 74, 242, 0.6);
  box-shadow: 0 0 0 3px rgba(31, 74, 242, 0.2);
}

.input-row button {
  background: #fff;
  color: var(--brand);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.input-row button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid #eceef6;
}

@media (max-width: 640px) {
  .top-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    text-align: center;
  }

  .steps li {
    min-height: auto;
  }
}

.workflow h2 {
  text-align: center;
}
