:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --text: #1f2328;
  --muted: #5b616b;
  --accent: #7a5cff;
  --border: #e9eaee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.2px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 22px;
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 100px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcff 100%);
}

.hero-content {
  max-width: 760px;
}

.tag {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.15;
}

.subtitle {
  color: var(--muted);
  margin: 18px 0 30px;
  max-width: 620px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(122, 92, 255, 0.28);
}

.section {
  padding: 70px 0;
}

.section h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.section p {
  color: var(--muted);
  max-width: 800px;
}

.lead-form {
  margin-top: 18px;
  max-width: 680px;
}

.lead-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.lead-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lead-row input {
  flex: 1 1 280px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.lead-row button {
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 0 16px;
  min-height: 44px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.lead-row button:hover {
  opacity: 0.95;
}

.lead-message {
  margin-top: 10px;
  min-height: 22px;
}

.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0 0 12px;
}

.card span {
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  nav a {
    margin-left: 14px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 72px;
  }
}
