:root {
  --white: #ffffff;
  --blue-50: #eff8ff;
  --blue-100: #d8eeff;
  --blue-200: #b8defc;
  --blue-400: #4eb3ff;
  --blue-500: #2196f3;
  --blue-600: #1e88e5;
  --blue-700: #1976d2;
  --text: #1a2b40;
  --text-muted: #5a6b80;
  --border: #e2eef9;
  --shadow-sm: 0 1px 2px rgba(30, 136, 229, .06);
  --shadow-md: 0 8px 24px rgba(30, 136, 229, .08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--blue-600);
}

/* ===== Hero ===== */

.hero {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  padding: 88px 0 104px;
  text-align: center;
}

.logo {
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.lead {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--text-muted);
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s, background .15s, border-color .15s;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-700);
  border: 1px solid var(--blue-200);
}

.btn-ghost:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
}

/* ===== Features ===== */

.features {
  padding: 88px 0;
}

.features h2,
.contacts h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  text-align: center;
  margin-bottom: 56px;
  color: var(--text);
  letter-spacing: -0.5px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.card:hover {
  border-color: var(--blue-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  color: var(--blue-700);
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== Contacts ===== */

.contacts {
  background: var(--blue-50);
  padding: 88px 0;
}

.contacts-lead {
  text-align: center;
  color: var(--text-muted);
  margin-top: -32px;
  margin-bottom: 48px;
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.contact-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-700);
  word-break: break-word;
}

/* ===== Footer ===== */

footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-600);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
}

.footer-links a:hover {
  color: var(--blue-600);
}

.copyright {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Responsive ===== */

@media (max-width: 640px) {
  .hero {
    padding: 56px 0 72px;
  }

  .features,
  .contacts {
    padding: 64px 0;
  }

  .features h2,
  .contacts h2 {
    margin-bottom: 36px;
  }

  .contacts-lead {
    margin-top: -20px;
  }

  .card {
    padding: 24px;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
