:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f9;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b76;
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-border: #e6e6ea;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --container-width: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; }

.section__title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover { border-color: var(--color-primary); }

/* Header */
.header {
  position: sticky;
  top: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 10;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { font-weight: 700; font-size: 20px; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--color-text-muted); font-weight: 500; }
.nav a:hover { color: var(--color-text); }
.nav__cta { display: inline-block; }

/* Hero */
.hero { padding: 96px 0; text-align: center; background: var(--color-bg-alt); }
.hero__inner { max-width: 720px; }
.hero__title { font-size: 48px; }
.hero__subtitle { font-size: 18px; color: var(--color-text-muted); margin-bottom: 32px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; }

/* Features */
.features { padding: 96px 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.feature-card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 8px;
  margin-bottom: 16px;
  color: var(--color-primary);
}
.feature-card p { color: var(--color-text-muted); margin: 0; }

/* About */
.about { padding: 96px 0; background: var(--color-bg-alt); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about__text p { color: var(--color-text-muted); }
.about__image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-primary), #a5b4fc);
  border-radius: var(--radius);
}

/* CTA */
.cta { padding: 96px 0; text-align: center; }
.cta p { color: var(--color-text-muted); margin-bottom: 32px; }

/* Contact */
.contact { padding: 96px 0; background: var(--color-bg-alt); }
.contact__form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__form input,
.contact__form textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
}
.contact__form button { align-self: flex-start; }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--color-border); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__links { display: flex; gap: 24px; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero__title { font-size: 32px; }
  .features__grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
}
