* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body {
  background: #f1f5f9;
}

/* Section */
.features {
  background: #ffffff;
  padding: 110px 20px;
  border-top-left-radius: 55px;
  border-top-right-radius: 55px;
  box-shadow: 0 -15px 50px rgba(0,0,0,0.06);
  margin-top: -50px;
}

/* Container */
.container {
  max-width: 1444px;
  margin: auto;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 70px;
}

.header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.header p {
  margin-top: 12px;
  color: #64748b;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-size: 16px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* Card */
.card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Hover lift + glow */
.card:hover {
  transform: translateY(-10px) scale(1.02);
  background: #ffffff;
  border-color: rgba(59,130,246,0.2);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.08),
    0 0 0 6px rgba(59,130,246,0.05);
}

/* subtle top glow line */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #22c55e, #f97316);
  opacity: 0;
  transition: 0.3s;
}

.card:hover::before {
  opacity: 1;
}

/* Icon */
.icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.35s ease;
}

.icon svg {
  width: 26px;
  height: 26px;
}

/* Colors */
.blue {
  background: #dbeafe;
  color: #2563eb;
}

.orange {
  background: #ffedd5;
  color: #f97316;
}

.green {
  background: #dcfce7;
  color: #16a34a;
}

/* Icon hover glow */
.card:hover .blue {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

.card:hover .orange {
  background: #f97316;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(249,115,22,0.3);
}

.card:hover .green {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(22,163,74,0.3);
}

/* Text */
.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .header h2 {
    font-size: 30px;
  }
}