/* ==========================================================================
   Hoxway.com - Target Baby & Car Seat Savings Landing Page
   Modern, High-Converting, Responsive Stylesheet
   ========================================================================== */

:root {
  --bg-color: #f0f2f5;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --primary-red: #cc0000;
  --primary-red-hover: #b30000;
  --primary-red-active: #990000;
  --primary-red-glow: rgba(204, 0, 0, 0.32);
  --notification-bg: #21252b; /* Soft dark charcoal black */
  --border-light: #e2e8f0;
  --border-card: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 16px 36px -8px rgba(0, 0, 0, 0.1), 0 6px 14px -3px rgba(0, 0, 0, 0.04);
  --trustpilot-green: #00b67a;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Animations ===== */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.32), 0 0 0 0 rgba(204, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 6px 24px rgba(204, 0, 0, 0.5), 0 0 0 5px rgba(204, 0, 0, 0.1);
  }
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

/* ===== Top Live Notification Bar (Reduced Height, Soft Black) ===== */
.notification-bar {
  background: var(--notification-bg);
  color: #f1f5f9;
  padding: 0.38rem 0.85rem;
  font-size: 0.78125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  position: relative;
  z-index: 50;
  line-height: 1.35;
}

.notification-clock-icon {
  width: 14px;
  height: 14px;
  stroke: #cbd5e1;
  flex-shrink: 0;
}

.notification-message {
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90vw;
}

.notification-message.fade-out {
  opacity: 0;
  transform: translateY(-3px);
}

.notification-message.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.notification-name,
.notification-amount {
  font-weight: 700;
  color: #ffffff;
}

.notification-item {
  color: #cbd5e1;
}

/* ===== Main Page Container ===== */
.main-wrapper {
  flex: 1;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.25rem;
}

/* ===== Main Offer Card (Reduced Height) ===== */
.offer-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeInCard 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Card Header */
.card-header {
  padding: 1.25rem 1.25rem 0.25rem;
  text-align: center;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
}

/* Target Logo: Shadow Removed */
.target-logo-img {
  width: 124px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: none; /* No shadow */
  transition: transform 0.3s ease;
}

.target-logo-img:hover {
  transform: scale(1.02);
}

/* Headings */
.offer-headline-hero {
  color: var(--primary-red);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.offer-subtext {
  color: var(--text-secondary);
  font-size: 0.90625rem;
  font-weight: 500;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ===== Infinite Marquee Ticker ===== */
.brand-ticker-section {
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
  padding: 0.45rem 0;
  margin: 0.85rem 0 1rem;
  position: relative;
}

.ticker-fade-left,
.ticker-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 2;
  pointer-events: none;
}

.ticker-fade-left {
  left: 0;
  background: linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.ticker-fade-right {
  right: 0;
  background: linear-gradient(270deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerScroll 26s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding-right: 0.8rem;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78125rem;
  font-weight: 600;
  color: #15803d;
}

.ticker-check {
  width: 13px;
  height: 13px;
  stroke: #16a34a;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.ticker-dot {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}

/* ===== Steps Instructions List ===== */
.steps-container {
  padding: 0 1.5rem 0.75rem;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.step-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f8fafc;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.step-row:hover {
  background: #f1f5f9;
  transform: translateX(2px);
}

.step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.71875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

/* ===== CTA Action Section ===== */
.cta-area {
  padding: 0.35rem 1.5rem 0.85rem;
}

.claim-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #d90429 0%, #b8001f 100%);
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px var(--primary-red-glow);
  animation: pulseGlow 2.2s infinite ease-in-out;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.claim-cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #b8001f 0%, #990017 100%);
  box-shadow: 0 6px 22px rgba(204, 0, 0, 0.45);
}

.claim-cta-btn:active {
  transform: translateY(1px);
}

.btn-arrow-icon {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

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

/* Urgency Micro-copy */
.urgency-badge-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.urgency-icon {
  width: 14px;
  height: 14px;
  stroke: #dc2626;
  flex-shrink: 0;
}

/* ===== Trustpilot & Security Section ===== */
.trust-summary-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: #fcfcfd;
  border-top: 1px solid #f1f5f9;
}

.trustpilot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trustpilot-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.trustpilot-stars-row {
  display: flex;
  gap: 3px;
}

.tp-star-cell {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--trustpilot-green);
  border-radius: 2px;
}

.tp-star-cell svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.tp-half-split {
  overflow: hidden;
  background: #00b67a;
  position: relative;
}

.tp-half-split .half-shade {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: #dcdce5;
}

.tp-half-split svg {
  position: relative;
  z-index: 2;
}

.trust-score-meta {
  font-size: 0.71875rem;
  color: #64748b;
}

.trust-score-meta strong {
  color: #1e293b;
}

/* Security Trust Badges */
.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding-top: 0.4rem;
  margin-top: 0.35rem;
  border-top: 1px dashed #e2e8f0;
  width: 100%;
  max-width: 420px;
  flex-wrap: wrap;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
}

.trust-badge-icon {
  width: 13px;
  height: 13px;
  stroke: #16a34a;
}

/* ===== FAQ Section ===== */
.faq-container {
  margin-top: 2rem;
}

.faq-header-group {
  text-align: center;
  margin-bottom: 1.25rem;
}

.faq-main-title {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.faq-main-subtitle {
  color: #0284c7;
  font-size: 0.8125rem;
  font-weight: 500;
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-card:hover {
  border-color: #cbd5e1;
}

.faq-card.active {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.faq-trigger:hover {
  background-color: #f8fafc;
}

.faq-card.active .faq-trigger {
  background-color: #f0f9ff;
}

.faq-card-title {
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.faq-chevron-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-card.active .faq-chevron-icon {
  transform: rotate(180deg);
  color: #0284c7;
}

.faq-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-drawer-inner {
  padding: 0 1.15rem 1.1rem;
  color: #475569;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.faq-drawer-inner p + p {
  margin-top: 0.5rem;
}

/* ===== Footer Section ===== */
.site-footer {
  margin-top: 2.25rem;
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
}

.footer-copyright {
  margin-bottom: 0.6rem;
  color: #334155;
  font-weight: 500;
}

.footer-brand-link {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--primary-red);
  text-decoration: underline;
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 640px) {
  .main-wrapper {
    padding: 1rem 0.75rem 2rem;
  }

  .card-header {
    padding: 1rem 0.85rem 0.2rem;
  }

  .target-logo-img {
    width: 108px;
  }

  .offer-headline-hero {
    font-size: 2.25rem;
  }

  .offer-subtext {
    font-size: 0.8125rem;
  }

  .steps-container {
    padding: 0 0.85rem 0.65rem;
  }

  .step-row {
    padding: 0.4rem 0.65rem;
  }

  .step-info {
    font-size: 0.78125rem;
  }

  .cta-area {
    padding: 0.25rem 0.85rem 0.85rem;
  }

  .claim-cta-btn {
    font-size: 0.95rem;
    padding: 0.875rem 1rem;
  }

  .trust-summary-block {
    padding: 0.85rem 0.85rem;
  }

  .faq-main-title {
    font-size: 1.2rem;
  }

  .faq-card-title {
    font-size: 0.8125rem;
  }
}

@media (max-width: 400px) {
  .offer-headline-hero {
    font-size: 1.95rem;
  }

  .claim-cta-btn {
    font-size: 0.9rem;
    padding: 0.8rem 0.85rem;
  }

  .trust-badges-row {
    gap: 0.45rem;
  }
}
