/* ============================================================
   Secret Walmart Offer — styles.css
   Brand colors sourced from brandcenter.walmart.com
   ============================================================ */

/* ── Walmart Brand Tokens ── */
:root {
  --blue:        #0071CE;   /* True Blue */
  --blue-dark:   #005EA6;
  --blue-deep:   #041F41;   /* Bentonville Blue */
  --yellow:      #FFC220;   /* Spark Yellow */
  --yellow-dk:   #E6A800;
  --yellow-lt:   #FFF6D6;
  --sky:         #78B9E7;   /* Sky Blue */
  --white:       #FFFFFF;
  --off-white:   #F5F8FC;
  --gray-lt:     #EBF1F8;
  --gray:        #6B7A90;
  --text-dark:   #041F41;
  --border:      #D0DFF0;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}
svg { display: block; }
a { text-decoration: none; color: inherit; }

/* ── Keyframes ── */
@keyframes slide-in {
  from { transform: translateX(-110%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes slide-out {
  from { transform: translateX(0);     opacity: 1; }
  to   { transform: translateX(-110%); opacity: 0; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.7); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes glow-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,194,32,0.6), 0 6px 0 var(--yellow-dk), 0 14px 40px rgba(255,194,32,0.3); }
  50%       { box-shadow: 0 0 0 16px rgba(255,194,32,0), 0 6px 0 var(--yellow-dk), 0 14px 40px rgba(255,194,32,0.12); }
}

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
.navbar {
  background: var(--blue-deep);
  padding: 0 1.5rem;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-spark {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.nav-badge {
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 3px;
}
.nav-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--blue) 50%, var(--yellow) 100%);
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  background: var(--blue-deep);
  padding: 3rem 1.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 480px) {
  .hero { padding: 3.5rem 1.5rem 4rem; }
}
.hero-watermark {
  position: absolute;
  top: -40px; right: -40px;
  width: 280px; height: 280px;
  opacity: 0.06;
  pointer-events: none;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  animation: fade-up 0.6s ease both;
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse-dot 1.3s ease-in-out infinite;
  flex-shrink: 0;
}
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--white);
  max-width: 38rem;
  animation: fade-up 0.65s 0.1s ease both;
}
.hero h1 .yellow { color: var(--yellow); }
.hero h1 .sky    { color: var(--sky); }

.hero-sub {
  font-size: clamp(0.93rem, 2vw, 1.05rem);
  color: rgba(255,255,255,0.62);
  max-width: 32rem;
  line-height: 1.8;
  font-weight: 500;
  animation: fade-up 0.65s 0.2s ease both;
}

/* tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  animation: fade-up 0.65s 0.25s ease both;
}
.tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
}
.tag-yellow  { background: var(--yellow); color: var(--blue-deep); }
.tag-blue    { background: rgba(120,185,231,0.2); color: var(--sky); border: 1px solid rgba(120,185,231,0.35); }
.tag-outline { background: transparent; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.2); }

/* urgency strip */
.urgency-strip {
  background: rgba(255,194,32,0.12);
  border: 1px solid rgba(255,194,32,0.35);
  color: var(--yellow);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fade-up 0.65s 0.3s ease both;
}
.urgency-strip .blink {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse-dot 1s infinite;
  flex-shrink: 0;
}

/* ── CTA BLOCK ── */
.hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  animation: fade-up 0.65s 0.4s ease both;
}
@media (min-width: 480px) {
  .hero-cta-block { max-width: 28rem; }
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: 'Sora', sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 5vw, 1.45rem);
  letter-spacing: -0.02em;
  padding: 1.35rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--yellow-dk), 0 10px 32px rgba(255,194,32,0.3);
  transition: background 0.15s, box-shadow 0.1s, transform 0.1s;
  position: relative;
  overflow: hidden;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.38) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}
.btn-primary:hover,
.btn-primary:active {
  background: #FFD34E;
  box-shadow: 0 2px 0 var(--yellow-dk), 0 4px 16px rgba(255,194,32,0.18);
  transform: translateY(3px);
}
.btn-arrow {
  font-size: 1.1em;
  transition: transform 0.15s;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.btn-primary:hover .btn-arrow,
.btn-primary:active .btn-arrow { transform: translateX(5px); }
.btn-primary span:not(.btn-arrow) { position: relative; z-index: 1; }

.cta-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
}
.cta-note::before { content: '🔒'; font-size: 0.8em; }

.btn-how {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none; border: none;
}
.btn-how:hover { color: rgba(255,255,255,0.7); }

/* ── INSTRUCTIONS BOX ── */
.instructions-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  max-width: 26rem;
  width: 100%;
  text-align: left;
  animation: fade-up 0.65s 0.35s ease both;
}
.instructions-box .inst-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}
.instructions-box ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.instructions-box ol li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.inst-num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 3px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: 'Sora', sans-serif;
  font-weight: 900;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ════════════════════════════════
   HOW IT WORKS
════════════════════════════════ */
.steps-section {
  background: var(--white);
  padding: 4.5rem 1.5rem;
}
.section-label {
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.steps-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  text-align: center;
  color: var(--blue-deep);
  margin-bottom: 2.75rem;
  letter-spacing: -0.03em;
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 60rem;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: border-top-color 0.15s, box-shadow 0.15s;
}
.step-card:hover {
  border-top-color: var(--yellow-dk);
  box-shadow: 0 4px 20px rgba(0,113,206,0.09);
}
.step-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.step-num {
  width: 2rem; height: 2rem;
  border-radius: 3px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: 'Sora', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-icon {
  width: 2.2rem; height: 2.2rem;
  border-radius: 4px;
  background: var(--gray-lt);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: -0.015em;
}
.step-card p {
  font-size: 0.855rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ════════════════════════════════
   TRUST BAR
════════════════════════════════ */
.trust-bar {
  background: var(--blue);
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
}
.trust-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

/* ════════════════════════════════
   CENTRE PAGE CTA SECTION
════════════════════════════════ */
.cta-section {
  background: var(--blue-deep);
  padding: 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 2 L21.8 17.4 L36 10 L24.6 21.8 L38 25 L23 24.5 L28 38 L20 25.5 L12 38 L17 24.5 L2 25 L15.4 21.8 L4 10 L18.2 17.4 Z' fill='white'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
.cta-section-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.cta-section-label .bdot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse-dot 1.1s infinite;
}
.cta-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--white);
  max-width: 30rem;
  line-height: 1.1;
}
.cta-section h2 .yl { color: var(--yellow); }
.cta-section p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 26rem;
  line-height: 1.75;
}
.btn-page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: 'Sora', sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  letter-spacing: -0.025em;
  padding: 1.3rem 3rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: glow-ring 2.2s ease-in-out infinite;
  transition: background 0.15s, transform 0.1s;
  margin-top: 0.4rem;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-page-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.4) 50%, transparent 65%);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}
.btn-page-cta:hover,
.btn-page-cta:active { background: #FFD34E; transform: translateY(3px); }
.btn-page-cta .pa { font-size: 1.1em; transition: transform 0.15s; position: relative; z-index: 1; }
.btn-page-cta:hover .pa,
.btn-page-cta:active .pa { transform: translateX(5px); }
.btn-page-cta span:not(.pa) { position: relative; z-index: 1; }
.cta-section-note {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.cta-section-note::before { content: '🔒'; font-size: 0.78em; }

/* ════════════════════════════════
   AVAILABILITY
════════════════════════════════ */
.avail-section {
  background: var(--off-white);
  padding: 4rem 1.5rem;
  border-top: 2px solid var(--border);
}
.avail-card {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-top: 5px solid var(--yellow);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
@media (min-width: 720px) { .avail-card { padding: 3rem; } }
.avail-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--yellow-lt);
  border: 2px solid var(--yellow-dk);
  display: flex; align-items: center; justify-content: center;
}
.avail-card h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  color: var(--blue-deep);
  letter-spacing: -0.025em;
}
.avail-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}
.country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.chip {
  background: var(--gray-lt);
  color: var(--blue-deep);
  border: 1.5px solid var(--border);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.28rem 0.75rem;
  border-radius: 3px;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  background: var(--blue-deep);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  line-height: 1.7;
}
footer strong { color: var(--yellow); }

/* ════════════════════════════════
   NOTIFICATION POPUP
════════════════════════════════ */
#notif {
  position: fixed;
  bottom: 1.25rem;
  left: 1rem;
  z-index: 99;
  max-width: 21rem;
  display: none;
}
.notif-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 5px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 4px 20px rgba(0,31,65,0.12);
}
.notif-avatar {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--yellow-lt);
  border: 2px solid var(--yellow-dk);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'Sora', sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  color: var(--blue-deep);
}
.notif-name { font-size: 0.875rem; font-weight: 700; color: var(--blue-deep); }
.notif-loc  { font-size: 0.73rem;  color: var(--gray); margin-top: 1px; }
