.webapp-section { background: var(--bg); padding-top: 110px; }

.webapp-intro { margin-bottom: 52px; }

.webapp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.webapp-grid--single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.webapp-card {
  background: #fff;
  border-radius: 28px;
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  border: 2px solid transparent;
  box-shadow: 0 6px 28px rgba(0,80,140,0.09);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}
.webapp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: 28px 28px 0 0;
}
.webapp-card--flash::before { background: linear-gradient(90deg, #0097a7, #1565c0); }
.webapp-card--spell::before { background: linear-gradient(90deg, #7c3aed, #a855f7); }

.webapp-card:hover                { transform: translateY(-8px); box-shadow: 0 20px 52px rgba(0,80,140,0.15); }
.webapp-card--flash:hover         { border-color: #67e8f9; }
.webapp-card--spell:hover         { border-color: #c4b5fd; }

.webapp-card-icon  { font-size: 68px; line-height: 1; }
.webapp-card-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 30px);
  color: var(--navy);
}
.webapp-card-desc {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.72;
  max-width: 360px;
  flex: 1;
}

.webapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
  white-space: nowrap;
}
.webapp-btn--flash {
  background: linear-gradient(135deg, #0097a7, #1565c0);
  color: #fff;
  box-shadow: 0 6px 22px rgba(0,151,167,0.38);
}
.webapp-btn--flash:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 32px rgba(0,151,167,0.52); }
.webapp-btn--spell {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  box-shadow: 0 6px 22px rgba(124,58,237,0.38);
}
.webapp-btn--spell:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 32px rgba(124,58,237,0.52); }

@media (max-width: 768px) {
  .webapp-grid { grid-template-columns: 1fr; }
  .webapp-card { padding: 40px 28px; }
}
