* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f8fb;
  color: #14213d;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e8ebf2;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.site-header.hide-header {
  transform: translateY(-100%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #1565ff;
}

nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero {
  padding: 72px 0 36px;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  margin: 0 0 16px;
}

.hero p {
  font-size: 20px;
  color: #667085;
  margin: 0;
}

.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 48px;
}

.tool-card {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  padding: 24px;
  min-height: 180px;
  transition: 0.2s ease;
}

.tool-card.active:hover,
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.tool-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
}

.tool-card p {
  margin: 0;
  color: #667085;
}

.why {
  padding-bottom: 56px;
}

.why h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  padding: 24px;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #e8ebf2;
  padding: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: #667085;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1565ff;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.tool-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.tool-icon.blue {
  background: #eaf2ff;
  color: #1565ff;
}

.tool-icon.green {
  background: #ebf9ef;
  color: #18a957;
}

.tool-icon.orange {
  background: #fff1e8;
  color: #f27a2b;
}

.tool-icon.purple {
  background: #f3edff;
  color: #7a4cff;
}

.tool-icon.yellow {
  background: #fff8e7;
  color: #d79a00;
}

.tool-icon.pink {
  background: #ffeef6;
  color: #d94b8a;
}

.tool-arrow {
  font-size: 30px;
  color: #94a0bd;
  line-height: 1;
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #eef4ff;
  color: #1565ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .tools,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    gap: 14px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  nav {
    justify-content: center;
  }
}