/* ============================================================
   TARGET GIFT CARD LANDING PAGE — style.css
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:        #CC0000;
  --red-dark:   #a80000;
  --red-light:  #ff2222;
  --gray-bg:    #f7f7f7;
  --border:     #e5e5e5;
  --text:       #1a1a1a;
  --subtext:    #555;
  --green:      #00b67a;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(0, 0, 0, 0.09);
  --shadow-btn: 0 6px 24px rgba(204, 0, 0, 0.35);
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--gray-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

/* ── CARD ── */
.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 400px;
  width: 100%;
  overflow: hidden;
  animation: fadeUp 0.5s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HERO ── */
.hero {
  background: var(--white);
  padding: 32px 28px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid var(--red);
  position: relative;
  flex-shrink: 0;
}

.logo-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid var(--red);
  background: var(--white);
}

.logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.5px;
}

.logo-text span {
  font-size: 0.6em;
  vertical-align: super;
}

/* Heading */
.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 6px;
}

.hero-title .amount {
  color: var(--red);
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--subtext);
  font-weight: 400;
  margin-bottom: 22px;
}

/* Steps box */
.steps-box {
  background: #fff8f8;
  border: 1.5px solid #f0d5d5;
  border-radius: 14px;
  padding: 18px 20px;
  text-align: left;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 0;
  animation: fadeUp 0.5s ease both;
}

.step:nth-child(1) { animation-delay: 0.10s; }
.step:nth-child(2) { animation-delay: 0.20s; }
.step:nth-child(3) { animation-delay: 0.30s; }
.step:nth-child(4) { animation-delay: 0.40s; }

.step + .step {
  border-top: 1px solid #f0d5d5;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 8px rgba(204, 0, 0, 0.25);
}

.step-text {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.4;
  font-weight: 600;
}

.step-text .note {
  font-weight: 400;
  color: var(--subtext);
  font-size: 0.85rem;
  display: block;
}

/* ── CTA ── */
.cta-section {
  padding: 26px 28px 20px;
  text-align: center;
}

.btn-claim {
  display: block;
  width: 100%;
  background: var(--red);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  padding: 16px 0;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-claim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  border-radius: 50px;
  pointer-events: none;
}

.btn-claim:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(204, 0, 0, 0.4);
}

.btn-claim:active {
  transform: translateY(0);
}

/* ── TIMER ── */
.timer-wrap {
  margin-top: 18px;
}

.timer-label {
  font-size: 0.85rem;
  color: var(--subtext);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.timer-label .hourglass {
  font-size: 1rem;
}

.timer-display {
  font-family: 'Nunito', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 2px;
  line-height: 1;
}

.timer-urgency {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 700;
  margin-top: 5px;
  letter-spacing: 0.2px;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 28px;
}

/* ── TRUSTPILOT ── */
.trust-section {
  padding: 20px 28px;
  text-align: center;
}

.tp-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.tp-star-logo {
  color: var(--green);
  font-size: 1.1rem;
}

.tp-name {
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

.tp-stars {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin-bottom: 6px;
}

.tp-star {
  width: 28px;
  height: 28px;
  background: var(--green);
  clip-path: polygon(
    50%  0%,
    61%  35%,
    98%  35%,
    68%  57%,
    79%  91%,
    50%  70%,
    21%  91%,
    32%  57%,
     2%  35%,
    39%  35%
  );
}

.tp-score {
  font-size: 0.82rem;
  color: var(--subtext);
}

.tp-score strong {
  color: var(--text);
}

.tp-score a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

/* ── FAQ ── */
.faq-section {
  border-top: 1px solid var(--border);
  padding: 20px 28px 8px;
}

.faq-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
}

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

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  padding: 14px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: color 0.15s;
}

.faq-q:hover {
  color: var(--red);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  border-right: 2.5px solid var(--subtext);
  border-bottom: 2.5px solid var(--subtext);
  transform: rotate(45deg);
  transition: transform 0.25s, border-color 0.15s;
  flex-shrink: 0;
  margin-top: -4px;
}

.faq-item.open .faq-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: var(--red);
}

.faq-a {
  font-size: 0.88rem;
  color: var(--subtext);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 14px;
}

/* ── FOOTER ── */
.footer {
  padding: 16px 28px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: #aaa;
}

.footer a {
  color: #999;
  text-decoration: none;
  margin: 0 6px;
}

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