/* Sleek Academia — Interactive Scope Estimator Styles */

.gc-estimator {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(1.5rem, 2.8vw, 2.5rem);
  align-items: stretch;
  margin-top: clamp(1.2rem, 2vw, 2rem);
}

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

/* Left panel: Interactive Controls */
.gc-estimator__controls {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.gc-estimator__group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gc-estimator__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gc-text, #1b1f24);
  letter-spacing: -0.01em;
}

.gc-estimator__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gc-brand, #009fe3);
  color: #ffffff;
  font-size: 0.75rem;
  margin-right: 0.45rem;
}

/* Option Grids */
.gc-estimator__grid {
  display: grid;
  gap: 0.75rem;
}

.gc-estimator__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.gc-estimator__grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 600px) {
  .gc-estimator__grid--3,
  .gc-estimator__grid--2 {
    grid-template-columns: 1fr;
  }
}

/* Card Option Buttons */
.gc-estimator__option {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(220, 226, 235, 0.85);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.9, 0.25, 1);
  text-align: left;
  user-select: none;
  outline: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .gc-estimator__option {
  background: rgba(28, 33, 44, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e6edf3;
}

.gc-estimator__option:hover {
  border-color: var(--gc-brand, #009fe3);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 159, 227, 0.12);
}

.gc-estimator__option[aria-checked="true"],
.gc-estimator__option.is-active {
  border-color: var(--gc-brand, #009fe3);
  background: linear-gradient(135deg, rgba(0, 159, 227, 0.07) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: 0 4px 18px rgba(0, 159, 227, 0.18), inset 0 0 0 1px var(--gc-brand, #009fe3);
}

[data-theme="dark"] .gc-estimator__option[aria-checked="true"],
[data-theme="dark"] .gc-estimator__option.is-active {
  background: linear-gradient(135deg, rgba(0, 159, 227, 0.15) 0%, rgba(28, 33, 44, 0.95) 100%);
  border-color: var(--gc-brand, #009fe3);
  box-shadow: 0 4px 18px rgba(0, 159, 227, 0.25), inset 0 0 0 1px var(--gc-brand, #009fe3);
}

.gc-estimator__option-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--gc-text, #1b1f24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

[data-theme="dark"] .gc-estimator__option-title {
  color: #ffffff;
}

.gc-estimator__option-sub {
  font-size: 0.82rem;
  color: var(--gc-muted, #5a6578);
  line-height: 1.35;
}

[data-theme="dark"] .gc-estimator__option-sub {
  color: #94a3b8;
}

.gc-estimator__option-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 159, 227, 0.12);
  color: var(--gc-brand, #009fe3);
}

/* Right Panel: Output & WhatsApp Closing Card */
.gc-estimator__summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 248, 252, 0.85) 100%);
  border: 1.5px solid rgba(0, 159, 227, 0.35);
  border-radius: 20px;
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
  box-shadow: 0 16px 36px rgba(20, 24, 31, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .gc-estimator__summary {
  background: linear-gradient(165deg, rgba(24, 29, 39, 0.9) 0%, rgba(17, 21, 28, 0.95) 100%);
  border-color: rgba(0, 159, 227, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.gc-estimator__summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #009fe3, #00d26a, #7928ca);
}

.gc-estimator__summary-top {
  margin-bottom: 1.2rem;
}

.gc-estimator__scope-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gc-brand, #009fe3);
  background: rgba(0, 159, 227, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}

.gc-estimator__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.gc-estimator__price-label {
  font-size: 0.88rem;
  color: var(--gc-muted, #5a6578);
  font-weight: 500;
}

.gc-estimator__total-price {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gc-text, #1b1f24);
  line-height: 1.1;
}

[data-theme="dark"] .gc-estimator__total-price {
  color: #ffffff;
}

/* Highlighted Bi-Weekly Installment Box */
.gc-estimator__installment-box {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(0, 159, 227, 0.08) 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

[data-theme="dark"] .gc-estimator__installment-box {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.16) 0%, rgba(0, 159, 227, 0.12) 100%);
  border-color: rgba(37, 211, 102, 0.3);
}

.gc-estimator__installment-header {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

[data-theme="dark"] .gc-estimator__installment-header {
  color: #34d399;
}

.gc-estimator__installment-rate {
  font-size: 1.45rem;
  font-weight: 800;
  color: #107c41;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .gc-estimator__installment-rate {
  color: #25d366;
}

.gc-estimator__installment-rate span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gc-muted, #5a6578);
}

.gc-estimator__installment-note {
  font-size: 0.82rem;
  color: var(--gc-muted, #5a6578);
  line-height: 1.35;
}

/* Feature Inclusions */
.gc-estimator__inclusions {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.gc-estimator__inclusions li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--gc-text, #2d3748);
  line-height: 1.4;
}

[data-theme="dark"] .gc-estimator__inclusions li {
  color: #cbd5e1;
}

.gc-estimator__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.2);
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

[data-theme="dark"] .gc-estimator__check {
  background: rgba(37, 211, 102, 0.25);
  color: #34d399;
}

/* Primary WhatsApp CTA */
.gc-estimator__whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #25d366;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.25, 1);
  text-align: center;
}

.gc-estimator__whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0, 0, 0, 0.12);
  filter: brightness(1.04);
}

.gc-estimator__whatsapp-btn:active {
  transform: translateY(0) scale(0.98);
}

.gc-estimator__whatsapp-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.gc-estimator__subtext {
  font-size: 0.78rem;
  color: var(--gc-muted, #5a6578);
  text-align: center;
  margin-top: 0.7rem;
  line-height: 1.35;
}
