/* 
 * Target GiftCard Reward Landing Page
 * Re-imagined in the clean, modern, high-contrast branding of Target
 * Based on the layout architecture of vsapply.com
 */

:root {
  /* Target Signature Brand Palette */
  --target-red: #CC0000;
  --target-red-dark: #A60000;
  --target-red-light: #FFF0F0;
  --target-red-glow: rgba(204, 0, 0, 0.25);
  
  --bg-color: #F8F9FA;
  --card-bg: #FFFFFF;
  --text-primary: #1F2937;
  --text-heading: #111827;
  --text-muted: #6B7280;
  --text-secondary: #4B5563;
  --border-light: #E5E7EB;
  --border-badge: rgba(204, 0, 0, 0.25);

  --btn-bg: #CC0000;
  --btn-hover: #B30000;
  --btn-text: #FFFFFF;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
}

/* Top 4px Target Brand Accent Border */
.top-accent-bar {
  width: 100%;
  height: 4px;
  background-color: var(--target-red);
}

/* Page Layout */
.page-container {
  width: 100%;
  min-height: calc(100vh - 4px);
  padding: 36px 16px 64px 16px;
  display: flex;
  justify-content: center;
}

.content-wrapper {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Brand Header Box */
.brand-header {
  margin-bottom: 28px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.brand-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border-top: 1.5px solid var(--target-red);
  border-bottom: 1.5px solid var(--target-red);
  padding: 12px 36px;
  background-color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.target-bullseye-svg {
  width: 32px;
  height: 32px;
  display: block;
}

.target-brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--target-red);
  line-height: 1;
}

.sub-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-top: 6px;
  padding-left: 0.28em; /* Visual center for tracking */
}

/* Subtitle Lead */
.subtitle-lead {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--target-red);
  margin-bottom: 12px;
}

/* Main Display Heading */
.main-heading {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-heading);
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .main-heading {
    font-size: 54px;
  }
}

.heading-accent {
  display: block;
  color: var(--target-red);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

/* Realistic Target GiftCard Preview Card */
.giftcard-preview {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 36px auto;
  perspective: 1000px;
}

.giftcard-inner {
  background: linear-gradient(135deg, #E60000 0%, #CC0000 55%, #A00000 100%);
  border-radius: 16px;
  padding: 24px 28px;
  color: #FFFFFF;
  box-shadow: 0 16px 36px -10px rgba(204, 0, 0, 0.4), 
              0 6px 12px -4px rgba(0, 0, 0, 0.1),
              inset 0 1px 1px rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.giftcard-inner:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 42px -10px rgba(204, 0, 0, 0.5), 
              0 8px 16px -4px rgba(0, 0, 0, 0.15);
}

/* Background Bullseye Watermark on Card */
.giftcard-inner::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 40%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.08) 60%, rgba(255, 255, 255, 0.08) 80%, transparent 80%);
  pointer-events: none;
}

.giftcard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.giftcard-chip {
  width: 42px;
  height: 30px;
  background: linear-gradient(135deg, #E5C378 0%, #D4AF37 50%, #B89730 100%);
  border-radius: 6px;
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.giftcard-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.giftcard-val-tag {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.giftcard-center {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.card-bullseye {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.card-logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.giftcard-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-info {
  display: flex;
  flex-direction: column;
}

.card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
}

.card-value {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.card-badge span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background-color: #FFFFFF;
  color: var(--target-red);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Steps to Qualify Card */
.steps-card {
  width: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 28px 22px;
  text-align: left;
  border-radius: 16px;
  position: relative;
}

@media (min-width: 640px) {
  .steps-card {
    padding: 32px 30px;
  }
}

.steps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.steps-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.steps-badge {
  background-color: var(--target-red-light);
  color: var(--target-red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-icon-wrapper {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Step Number as a Target Mini-Bullseye Badge */
.step-number {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--target-red);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--target-red-light);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
}

.step-description {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (min-width: 640px) {
  .step-title {
    font-size: 16px;
  }
  .step-description {
    font-size: 14px;
  }
}

/* CTA Button Container */
.cta-container {
  width: 100%;
  margin-top: 26px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 20px 28px;
  border-radius: 9999px; /* Target signature pill shape */
  box-shadow: 0 10px 24px -4px var(--target-red-glow), 0 4px 8px -2px rgba(0, 0, 0, 0.1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
}

.cta-btn:hover {
  background-color: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(204, 0, 0, 0.4), 0 6px 12px -2px rgba(0, 0, 0, 0.15);
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px -2px var(--target-red-glow);
}

.cta-btn:focus-visible {
  outline: 3px solid var(--target-red);
  outline-offset: 4px;
}

.cta-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-subtext {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Perks / Trust Badges Grid */
.perks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  margin-top: 32px;
}

@media (min-width: 540px) {
  .perks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
}

.perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--target-red-light);
  color: var(--target-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-icon svg {
  width: 20px;
  height: 20px;
}

.perk-text {
  display: flex;
  flex-direction: column;
}

.perk-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
}

.perk-text span {
  font-size: 11px;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  width: 100%;
  margin-top: 56px;
  text-align: left;
}

@media (min-width: 640px) {
  .faq-section {
    margin-top: 72px;
  }
}

.faq-header-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.faq-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--target-red);
  background-color: var(--target-red-light);
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 8px;
}

.faq-main-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-heading);
}

.accordion {
  border-top: 1px solid var(--border-light);
  background-color: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: background-color 0.2s ease;
}

.accordion-trigger:hover {
  background-color: #FBFBFA;
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--target-red);
  outline-offset: -2px;
}

.accordion-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-heading);
  padding-right: 16px;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .accordion-title {
    font-size: 14px;
  }
}

.chevron-icon {
  width: 18px;
  height: 18px;
  color: var(--target-red);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item[data-state="open"] .chevron-icon {
  transform: rotate(180deg);
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0;
}

.accordion-item[data-state="open"] .accordion-content {
  opacity: 1;
}

.accordion-body {
  padding: 0 20px 20px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Legal Disclaimer */
.legal-disclaimer {
  width: 100%;
  margin-top: 40px;
  background-color: #F3F4F6;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
}

.legal-disclaimer p {
  font-size: 11px;
  line-height: 1.5;
  color: #6B7280;
}

.legal-disclaimer strong {
  color: #374151;
}

/* Footer */
.page-footer {
  margin-top: 48px;
  width: 100%;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.footer-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--target-red);
}

.divider {
  color: #D1D5DB;
  font-size: 10px;
}

.copyright {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9CA3AF;
}

/* Interactive Lead Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background-color: #FFFFFF;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #9CA3AF;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: var(--text-heading);
}

.modal-bullseye {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-family);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  border-color: var(--target-red);
  box-shadow: 0 0 0 3px var(--target-red-light);
}

.modal-submit-btn {
  background-color: var(--target-red);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.modal-submit-btn:hover {
  background-color: var(--target-red-dark);
  transform: translateY(-1px);
}

.modal-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 14px;
}
