/**
 * OPERAR.CSS - BILLONS CAPITAL
 * Estilos específicos para la página de operación
 */

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero--small {
  min-height: 300px;
  padding: 40px 0;
}

.hero--small .hero__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hero--small .hero__subtitle {
  max-width: 50ch;
  margin-bottom: 24px;
}

/* ============================================ */
/* OPERATE SECTION */
/* ============================================ */
.operate-section {
  padding: 60px 0;
  background: var(--bg-alt);
}

.operate-flow {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================ */
/* OPERATE STEPS */
/* ============================================ */
.operate-step {
  background: var(--blur-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.operate-step:hover {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.step-header {
  text-align: center;
  margin-bottom: 40px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: var(--shadow-gold);
}

.step-header h2 {
  color: var(--gold);
  font-size: 1.8rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.step-header p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

/* ============================================ */
/* OPERATION OPTIONS (Paso 1) */
/* ============================================ */
.operation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.operation-option {
  background: rgba(5, 6, 9, 0.6);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.operation-option:hover {
  border-color: var(--gold-soft);
  background: rgba(5, 6, 9, 0.8);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.operation-option__icon {
  font-size: 3rem;
  line-height: 1;
}

.operation-option h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
}

.operation-option p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================ */
/* OPERATE FORM (Paso 2) */
/* ============================================ */
.operate-form {
  max-width: 600px;
  margin: 0 auto;
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input-wrapper .form__input {
  padding-right: 80px;
}

.amount-currency {
  position: absolute;
  right: 15px;
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  pointer-events: none;
}

.form__hint {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* Pricing Tiers - Usar los mismos estilos que index.html (definidos en styles.css) */
/* Los estilos de .pricing-tiers, .pricing-tier, etc. están en styles.css */
/* No duplicar estilos aquí para mantener consistencia */

/* ============================================ */
/* OPERATION SUMMARY (Paso 3 y 4) */
/* ============================================ */
.operation-summary {
  max-width: 600px;
  margin: 0 auto;
}

.summary-card {
  background: rgba(5, 6, 9, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
}

.summary-card--final {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}

.summary-card h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin: 0 0 20px;
  text-align: center;
  font-weight: 700;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.1);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row--highlight {
  border-top: 2px solid var(--gold);
  border-bottom: none;
  padding-top: 20px;
  margin-top: 10px;
}

.summary-label {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.summary-value {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: right;
}

.summary-value--total {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 800;
}

.summary-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.summary-actions .btn {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

/* ============================================ */
/* KYC NOTICE (Paso 4) */
/* ============================================ */
.kyc-notice {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  padding: 25px;
  margin: 30px 0;
  text-align: center;
}

.kyc-notice__icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.kyc-notice h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin: 0 0 15px;
  font-weight: 700;
}

.kyc-notice p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin: 10px 0;
}

.kyc-notice p strong {
  color: var(--gold-soft);
}

/* ============================================ */
/* WHATSAPP ACTION (Paso 4) */
/* ============================================ */
.whatsapp-action {
  text-align: center;
  margin-top: 40px;
}

.btn--whatsapp {
  background: linear-gradient(180deg, #25D366, #128C7E);
  border: none;
  font-size: 1.2rem;
  padding: 18px 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  background: linear-gradient(180deg, #128C7E, #25D366);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp span {
  font-size: 1.5rem;
}

.whatsapp-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 15px;
  margin-bottom: 0;
}

/* ============================================ */
/* CALCULATOR ACTION BUTTON (index.html) */
/* ============================================ */
.calculator__action {
  margin-top: 30px;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.calculator__operate-btn {
  font-size: 1.2rem;
  padding: 16px 40px;
  width: 100%;
  max-width: 400px;
}

.calculator__action-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
  margin-bottom: 0;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 768px) {
  .operate-step {
    padding: 25px 20px;
  }

  .step-header h2 {
    font-size: 1.5rem;
  }

  .operation-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .operation-option {
    padding: 25px;
  }

  .operation-option__icon {
    font-size: 2.5rem;
  }

  .operation-option h3 {
    font-size: 1.2rem;
  }

  .summary-card {
    padding: 20px;
  }

  .summary-card h3 {
    font-size: 1.3rem;
  }

  .summary-value--total {
    font-size: 1.3rem;
  }

  .summary-actions {
    flex-direction: column;
  }

  .summary-actions .btn {
    width: 100%;
    max-width: 100%;
  }

  .kyc-notice {
    padding: 20px;
  }

  .kyc-notice__icon {
    font-size: 2.5rem;
  }

  .kyc-notice h3 {
    font-size: 1.2rem;
  }

  .btn--whatsapp {
    font-size: 1.1rem;
    padding: 16px 30px;
    width: 100%;
  }

  .pricing-tiers {
    flex-direction: column;
  }

  .pricing-tier {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .operate-step {
    padding: 20px 15px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .step-header h2 {
    font-size: 1.3rem;
  }

  .operation-option {
    padding: 20px;
  }

  .operation-option__icon {
    font-size: 2rem;
  }

  .summary-card {
    padding: 15px;
  }

  .summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .summary-value {
    text-align: left;
  }
}

/* ========= OPERAR: ESTADO DE WALLET ========= */
.operate-wallet-status {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.operate-wallet-status__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 16px;
}

.operate-wallet-status__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.operate-wallet-status__line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.operate-wallet-status__label {
  color: var(--muted);
}

.operate-wallet-status__address {
  font-family: 'Montserrat', monospace;
  font-weight: 600;
  color: var(--gold);
  word-break: break-all;
}

.operate-wallet-status__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: all var(--transition-fast);
  width: fit-content;
}

.operate-wallet-status__link:hover {
  color: var(--gold-hover);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .operate-wallet-status {
    padding: 20px 24px;
    margin-bottom: 32px;
  }

  .operate-wallet-status__title {
    font-size: 1.125rem;
  }

  .operate-wallet-status__line {
    font-size: 0.9rem;
  }
}

