:root {
  --eo-gold: #f7c600;
  --eo-gold-dark: #d4a300;
  --eo-gold-glow: rgba(247, 198, 0, 0.4);
  --eo-navy: #0f172a;
  --eo-navy-mid: #1e293b;
  --eo-card-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

.eo-page {
  background: linear-gradient(165deg, #f8fafc 0%, #e2e8f0 45%, #f1f5f9 100%);
  min-height: 100vh;
}

.eo-header {
  background: linear-gradient(135deg, var(--eo-navy) 0%, var(--eo-navy-mid) 55%, #334155 100%);
  border-bottom: 4px solid var(--eo-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.eo-header-sub {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  max-width: 36rem;
}

.eo-billing-toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 9999px;
  background: #cbd5e1;
  gap: 4px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.eo-billing-toggle button {
  border-radius: 9999px;
  padding: 0.55rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  transition: all 0.2s ease;
}

.eo-billing-toggle button.active {
  background: linear-gradient(180deg, #fde047 0%, var(--eo-gold) 100%);
  color: var(--eo-navy);
  box-shadow: 0 3px 12px var(--eo-gold-glow);
}

.eo-package-card {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 1.125rem;
  padding: 1.35rem 1.25rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.eo-package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.2s;
}

.eo-package-card:hover {
  border-color: #94a3b8;
  transform: translateY(-3px);
  box-shadow: var(--eo-card-shadow);
}

.eo-package-card.selected {
  border-color: var(--eo-gold);
  box-shadow: 0 0 0 3px var(--eo-gold-glow), var(--eo-card-shadow);
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.eo-package-card.selected::before {
  background: var(--eo-gold);
}

.eo-package-card.featured .eo-badge {
  display: inline-block;
}

.eo-badge {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--eo-gold);
  color: var(--eo-navy);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.eo-selected-tag {
  display: none;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eo-gold-dark);
  margin-bottom: 0.35rem;
}

.eo-package-card.selected .eo-selected-tag {
  display: block;
}

.eo-yearly-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.eo-package-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--eo-navy);
}

.eo-package-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--eo-navy);
  margin-top: 0.5rem;
  line-height: 1.2;
}

.eo-package-features {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
  list-style: none;
  padding: 0;
}

.eo-package-features li {
  padding: 0.15rem 0;
  padding-left: 1rem;
  position: relative;
}

.eo-package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--eo-gold-dark);
  font-weight: 700;
  font-size: 0.7rem;
}

.eo-module-card {
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  position: relative;
}

.eo-module-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.eo-module-card.selected {
  border-color: var(--eo-gold);
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
  box-shadow: 0 0 0 2px var(--eo-gold-glow);
}

.eo-module-card.quote-only {
  border-style: dashed;
  background: #fafafa;
}

.eo-module-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.eo-module-card.selected .eo-module-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.eo-module-check-icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: transparent;
  flex-shrink: 0;
  font-weight: 800;
}

.eo-module-card.selected .eo-module-check-icon {
  background: var(--eo-gold);
  border-color: var(--eo-gold-dark);
  color: var(--eo-navy);
}

.eo-stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 0.875rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.eo-stepper button {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--eo-navy);
  background: #f8fafc;
  transition: background 0.15s;
}

.eo-stepper button:hover {
  background: #fde68a;
}

.eo-stepper input {
  width: 3.5rem;
  text-align: center;
  border: none;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--eo-navy);
  background: #fff;
}

.eo-summary-card {
  border-radius: 1.125rem;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--eo-card-shadow);
}

.eo-summary-sticky {
  position: sticky;
  top: 1rem;
}

.eo-summary-highlight {
  background: linear-gradient(135deg, var(--eo-navy) 0%, var(--eo-navy-mid) 100%);
  color: #fff;
  border-radius: 0.875rem;
  padding: 1rem;
  margin-top: 0.75rem;
}

.eo-summary-highlight .eo-summary-total {
  color: var(--eo-gold);
  font-size: 1.75rem;
}

.eo-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  align-items: flex-start;
}

.eo-summary-total {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--eo-navy);
  white-space: nowrap;
}

.eo-iban-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #94a3b8;
  border-radius: 0.875rem;
  padding: 1rem;
  font-size: 0.82rem;
}

.eo-iban-box .eo-iban-value {
  font-family: ui-monospace, monospace;
  font-weight: 600;
  color: var(--eo-navy);
  word-break: break-all;
}

.eo-btn-primary {
  width: 100%;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fde047 0%, var(--eo-gold) 50%, var(--eo-gold-dark) 100%);
  color: var(--eo-navy);
  font-weight: 800;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px var(--eo-gold-glow);
  letter-spacing: 0.02em;
}

.eo-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--eo-gold-glow);
}

.eo-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.eo-section {
  border-radius: 1.125rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.35rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.eo-section-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.eo-mobile-summary {
  display: none;
}

.eo-hidden {
  display: none !important;
}

@media (max-width: 1023px) {
  .eo-summary-desktop {
    display: none;
  }

  .eo-mobile-summary {
    display: block;
  }

  .eo-summary-mobile-bottom {
    display: block;
    margin-top: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .eo-summary-mobile-bottom {
    display: none;
  }
}

.eo-success-card {
  border-radius: 1.25rem;
  border: 1px solid #a7f3d0;
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
  box-shadow: var(--eo-card-shadow);
}
