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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  min-height: 100vh;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
}

/* Shared card surface: tinted panel on a white page */
.logo,
.steps-card,
.faq-item,
.final-cta {
  background: #fdeff1;
  border: 1px solid rgba(204,26,26,.09);
}

.page {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px 20px 44px;
}

/* ── Session timer ── */
.session-bar {
  background: #005dab;
  color: #fff;
  text-align: center;
  padding: 13px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 12px rgba(0,93,171,.28);
}

.session-time {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem;
  font-weight: 700;
  background: rgba(0,0,0,.18);
  padding: 2px 8px;
  border-radius: 5px;
  margin-left: 4px;
}

/* ── Logo ── */
.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  border-radius: 14px;
  padding: 14px 28px;
  user-select: none;
}

.logo-costco {
  font-size: 1.9rem;
  font-weight: 900;
  color: #cc1a1a;
  letter-spacing: -1px;
  font-style: italic;
  text-transform: uppercase;
}

.logo-specials {
  font-size: 1.9rem;
  font-weight: 900;
  color: #1a3a8f;
  letter-spacing: -1px;
  font-style: italic;
  text-transform: uppercase;
}

.logo-badge {
  font-size: 0.55rem;
  font-weight: 700;
  color: #cc1a1a;
  vertical-align: super;
  letter-spacing: 0;
}

/* ── Hero ── */
.hero {
  text-align: center;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.15;
}

/* ── Gift card ── */
.card-wrap {
  margin-bottom: 28px;
}

.gift-card {
  position: relative;
  overflow: hidden;
  height: 210px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: radial-gradient(125% 105% at 70% 25%, #c9352e 0%, #b02c27 36%, #8c221f 68%, #6d1a18 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 18px 40px rgba(94,22,20,.38),
    0 6px 16px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 50px rgba(94,22,20,.44),
    0 10px 22px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.18);
}

/* Shimmer sweep (transform-animated so it stays on the compositor) */
.gift-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.13) 50%, transparent 80%);
  animation: card-shimmer 4s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes card-shimmer {
  0%   { transform: translateX(-167%); }
  100% { transform: translateX(250%); }
}

.card-top,
.card-mid,
.card-bottom {
  position: relative;
  z-index: 2;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}

.card-wifi {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,.75);
  stroke-width: 1.8;
  stroke-linecap: round;
  fill: none;
  flex-shrink: 0;
}

.card-wifi circle { fill: rgba(255,255,255,.75); stroke: none; }

/* Watermark */
.card-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.6rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 4px;
  color: #fff;
  opacity: .13;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.card-chip {
  display: block;
  width: 40px;
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, #d4a017 0%, #f5c842 40%, #a07010 70%, #d4a017 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35);
}

.card-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.card-balance-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}

.card-balance {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* ── Social proof ── */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: -24px 0 6px;
  font-size: 0.87rem;
  color: #666;
}

.cta-note {
  text-align: center;
  font-size: 0.79rem;
  color: #9a9098;
  line-height: 1.5;
  margin-bottom: 36px;
}

.social-icon {
  width: 17px;
  height: 17px;
  stroke: #1a3a8f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* ── Steps card ── */
.steps-card {
  border-radius: 18px;
  padding: 30px 24px 32px;
  box-shadow: 0 3px 16px rgba(154,32,30,.05);
  margin-bottom: 40px;
}

.steps-title {
  text-align: center;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.steps-sub {
  text-align: center;
  font-size: 0.87rem;
  color: #777;
  line-height: 1.5;
  max-width: 300px;
  margin: 0 auto 26px;
}

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

.steps-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
  color: #333;
  line-height: 1.4;
}

/* Connector line down the step numbers */
.steps-list li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 31px;
  bottom: -19px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(204,26,26,.28), rgba(204,26,26,.08));
}

.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: #cc1a1a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 1px;
}

/* ── CTA ── */
.cta-btn {
  display: block;
  width: 100%;
  padding: 20px;
  background: #cc1a1a;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 40px;
  box-shadow: 0 6px 24px rgba(204,26,26,.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta-btn--pulse { animation: cta-bounce 2.8s ease-in-out 1.2s infinite; }
.cta-btn:hover { background: #b01515; box-shadow: 0 8px 28px rgba(204,26,26,.45); animation: none; }
.cta-btn:active { transform: scale(0.98); box-shadow: 0 3px 12px rgba(204,26,26,.3); animation: none; }

@keyframes cta-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ── FAQ ── */
.faq-section { margin-bottom: 40px; }

.faq-heading {
  text-align: center;
  font-size: clamp(1.15rem, 5.1vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #1a1a2e;
  margin-bottom: 22px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(154,32,30,.04);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.faq-q:hover { background: #fbe4e8; }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.2s;
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  stroke: #555;
  stroke-width: 2.5;
  fill: none;
  transition: stroke 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: #cc1a1a;
}

.faq-item.open .faq-icon svg { stroke: #fff; }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-body-inner {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

.faq-item.open .faq-body { max-height: 300px; }

/* ── Final CTA ── */
.final-cta {
  border-radius: 18px;
  padding: 32px 24px 28px;
  text-align: center;
  box-shadow: 0 3px 16px rgba(154,32,30,.05);
}

.final-cta-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.final-cta-sub {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.55;
  max-width: 320px;
  margin: 0 auto 24px;
}

.final-cta .cta-btn { margin-bottom: 0; }

/* ── Footer ── */
.site-footer {
  background: #005dab;
  color: #fff;
  text-align: center;
  padding: 36px 20px 32px;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-brand span {
  font-size: 0.5rem;
  font-style: normal;
  vertical-align: super;
  margin-left: 1px;
  opacity: .8;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: .82;
  padding: 15px 12px;
  transition: opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-links span { opacity: .4; }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,.55);
}

/* ── Focus states ── */
.cta-btn:focus-visible,
.faq-q:focus-visible {
  outline: 3px solid #005dab;
  outline-offset: 3px;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .gift-card::before,
  .cta-btn--pulse { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ── Responsive bump for wider screens ── */
@media (min-width: 480px) {
  .page { padding: 40px 32px 60px; }
  .logo-costco, .logo-specials { font-size: 2.1rem; }
}

@media (max-width: 380px) {
  .gift-card { height: 185px; padding: 18px; }
  .card-mark { font-size: 2.1rem; letter-spacing: 2px; }
  .card-balance { font-size: 1.7rem; }
  .card-chip { width: 34px; height: 26px; }
}
