/* Claim Voucher - mengikuti design system (section-label, section-title, --gn-*) */

/* Scoped reset agar tidak ganggu layout global */
.claim-voucher-section * {
  box-sizing: border-box;
}

/* Section typography (sama dengan section lain) */
.claim-voucher-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gn-purple);
  margin-bottom: 20px;
}
.claim-voucher-section .section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gn-purple);
}
.claim-voucher-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: rgba(16,10,34,.92);
  margin-bottom: 20px;
}
.claim-voucher-section .section-title em {
  color: var(--gn-purple);
  font-style: italic;
}

.claim-voucher-section {
  padding: var(--gn-section-py) 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.claim-voucher-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 420px at 15% 20%, rgba(124,58,237,.14) 0%, transparent 60%),
    radial-gradient(520px 420px at 85% 30%, rgba(167,139,250,.12) 0%, transparent 62%),
    radial-gradient(520px 420px at 70% 85%, rgba(79,70,229,.10) 0%, transparent 60%);
  z-index: 0;
}

.claim-voucher-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  /* padding-left: var(--gn-gutter);
  padding-right: var(--gn-gutter); */
  padding: var(--gn-section-py) var(--gn-gutter);
}

.claim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

/* Left: Promo & Testimonial */
.claim-left .section-title {
  max-width: 480px;
}

.premium-badge {
  margin-bottom: 28px;
}

.claim-testimonial-card {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(124,58,237,.12);
  border-radius: var(--gn-r-md);
  padding: 28px 24px;
  box-shadow: var(--gn-shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.claim-testimonial-card:hover {
  box-shadow: var(--gn-shadow-md);
}

.claim-testimonial-item {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.claim-rating {
  color: #fbbf24;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.claim-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gn-text-mid);
  margin-bottom: 20px;
}

.claim-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.claim-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gn-purple), var(--gn-purple-4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.claim-author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gn-text);
  margin-bottom: 2px;
}

.claim-author-info p {
  font-size: 0.8rem;
  color: var(--gn-text-mid);
}

/* Form */
.claim-voucher-form {
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(124,58,237,.1);
  border-radius: var(--gn-r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--gn-shadow-md);
  position: relative;
  overflow: hidden;
}

.claim-voucher-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gn-purple), var(--gn-purple-2));
}

.claim-form-header {
  text-align: center;
  margin-bottom: 28px;
}

.claim-form-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--gn-text);
  margin-bottom: 8px;
}

.claim-form-desc {
  font-size: 0.95rem;
  color: var(--gn-text-mid);
  line-height: 1.5;
}

.claim-voucher-form .input-group {
  margin-bottom: 1.25rem;
}

.claim-voucher-form .input-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gn-text-mid);
  margin-bottom: 6px;
}

.claim-voucher-form .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(124,58,237,.2);
  border-radius: var(--gn-r-sm);
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.claim-voucher-form .form-input:focus {
  border-color: var(--gn-purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
  outline: none;
}

.claim-voucher-form .form-input::placeholder {
  color: var(--gn-text-light);
}

.claim-voucher-form select.form-input {
  appearance: none;
  padding-right: 2.5rem;
}

.claim-voucher-form .input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.claim-voucher-form .terms-section {
  margin-top: 1.25rem;
  text-align: center;
}

.claim-voucher-form .terms-text {
  font-size: 0.8rem;
  color: var(--gn-text-mid);
  line-height: 1.6;
}

.claim-voucher-form .terms-link {
  color: var(--gn-purple);
  font-weight: 600;
}

.claim-voucher-form .terms-link:hover {
  text-decoration: underline;
}

.claim-submit {
  width: 100%;
  padding: 14px 24px;
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 700;
}

.error-message {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 4px;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.2s;
}

/* Modal */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,6,20,.5);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1060;
  padding: 1rem;
}

.success-modal {
  background: #fff;
  padding: 2rem;
  border-radius: var(--gn-r-lg);
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--gn-shadow-lg);
  border: 1px solid rgba(124,58,237,.1);
  animation: claimModalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes claimModalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(124,58,237,.08);
  color: var(--gn-text-mid);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.success-modal-close:hover {
  color: var(--gn-purple);
  background: rgba(124,58,237,.15);
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gn-purple), var(--gn-purple-4));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--gn-shadow-glow);
}

.success-icon {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
}

.success-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gn-text);
  margin-bottom: 0.75rem;
}

.success-modal-text {
  font-size: 0.95rem;
  color: var(--gn-text-mid);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.success-modal-button {
  background: linear-gradient(135deg, var(--gn-purple) 0%, var(--gn-purple-4) 100%) !important;
  color: #fff !important;
  border: none;
  padding: 12px 24px;
  width: 100%;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.success-modal-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--gn-shadow-glow);
}

@media (max-width: 992px) {
  .claim-grid {
    grid-template-columns: 1fr;
  }
  .claim-left {
    order: 1;
  }
  .claim-form-wrap {
    order: 2;
  }
}

@media (max-width: 576px) {
  .claim-voucher-form .input-row {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   UPGRADE INFO CARD (pengganti form)
   ============================================= */
   .upgrade-info-card {
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(124,58,237,.1);
    border-radius: var(--gn-r-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--gn-shadow-md);
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  .upgrade-info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gn-purple), var(--gn-purple-2));
  }
  .upgrade-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gn-purple), var(--gn-purple-4));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--gn-shadow-glow);
  }
  .upgrade-icon { font-size: 2rem; line-height: 1; }
  .upgrade-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 700;
    color: var(--gn-text);
    margin-bottom: 12px;
  }
  .upgrade-desc {
    font-size: .93rem;
    color: var(--gn-text-mid);
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .upgrade-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    text-align: left;
  }
  .upgrade-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(124,58,237,.05);
    border-radius: var(--gn-r-sm);
    border: 1px solid rgba(124,58,237,.08);
  }
  .upgrade-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gn-purple), var(--gn-purple-4));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .upgrade-step-text {
    font-size: .85rem;
    color: var(--gn-text-mid);
    line-height: 1.5;
  }
  .upgrade-step-text strong { color: var(--gn-text); }
  .upgrade-download-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
  }
  .upgrade-store-note {
    font-size: .75rem;
    color: var(--gn-text-mid);
    margin-top: 10px;
  }

