.gwa-homepage {
  display: grid;
  gap: 3rem;
}

.gwa-calculator-section {
  background: #ffffff;
  color: #0f172a;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.12);
  border: 1px solid rgba(29, 78, 216, 0.08);
  position: relative;
  overflow: hidden;
}

.gwa-calculator-section::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 60%);
  pointer-events: none;
}

.gwa-calculator-section::after {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -30%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.14), transparent 65%);
  pointer-events: none;
}

.gwa-calculator-header {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.gwa-calculator-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 700;
}

.gwa-calculator-title {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  color: #0f172a;
}

.gwa-calculator-subtitle {
  margin: 0;
  color: #475569;
  max-width: 600px;
}


.gwa-calculator-table {
  display: grid;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.gwa-calculator-row {
  display: grid;
  grid-template-columns: 0.15fr 1.2fr 0.6fr 0.6fr 0.45fr;
  gap: 0.75rem;
  align-items: center;
}

.gwa-calculator-row--head {
  font-weight: 700;
  color: #1d4ed8;
}

.gwa-calculator-row--body {
  padding: 0.5rem 0.6rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gwa-calculator-row--body:focus-within {
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.12);
  transform: translateY(-2px);
  background: #ffffff;
}

.gwa-calculator-cell--count {
  justify-content: center;
}

.gwa-row-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.12);
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.9rem;
}

.gwa-calculator-cell {
  display: flex;
  align-items: center;
}

.gwa-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gwa-input:focus {
  outline: 2px solid #1d4ed8;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.12);
}

.gwa-calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.gwa-button {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  background: #1d4ed8;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gwa-button:hover,
.gwa-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.22);
}

.gwa-button--secondary {
  background: linear-gradient(135deg, #0f766e, #10b981);
}

.gwa-button--ghost {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #1f2937;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.gwa-button--danger {
  border-color: #fecaca;
  color: #b91c1c;
}

.gwa-button--danger:hover,
.gwa-button--danger:focus {
  background: #fee2e2;
}

.gwa-button .dashicons {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
}

.gwa-calculator-result {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.gwa-result-card {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(16, 185, 129, 0.12));
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid rgba(29, 78, 216, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.gwa-result-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: #0f766e;
}

.gwa-result-value {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
}

.gwa-result-meta {
  margin: 0;
  color: #475569;
}

.gwa-result-tip {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #64748b;
}

.gwa-homepage-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 2rem;
}

.gwa-homepage-heading {
  margin-top: 0;
  color: #0f172a;
}

.gwa-homepage-text {
  margin-bottom: 0;
  color: #475569;
}

@media (max-width: 900px) {
  .gwa-calculator-section {
    padding: 2rem 1.5rem;
  }

  .gwa-calculator-row {
    grid-template-columns: 1fr;
  }

  .gwa-calculator-cell--count {
    justify-content: flex-start;
  }

  .gwa-calculator-row--head {
    display: none;
  }
}
