/* ============================================
   AMAZON CHEAPEST FINDER — STYLESHEET
============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #FF6B00; 
  --orange-light: #fff3e8;
  --orange-mid: #ff9040;
  --white: #ffffff;
  --off-white: #f7f7f5;
  --charcoal: #1a1a1a;
  --muted: #6b6b6b;
  --border: #ebebeb;
}

.orange-text {
  color: var(--orange);
  font-weight: 800;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled { border-color: var(--border); box-shadow: 0 1px 16px rgba(0,0,0,0.05); }

.nav-logo { flex: 1; text-decoration: none; display: flex; align-items: center; }
.nav-logo-img { height: 48px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--charcoal); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; cursor: pointer; border: none; transition: all 0.22s;
  white-space: nowrap;
}
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 4px 20px rgba(255,107,0,0.25); }
.btn-orange:hover { background: #e05e00; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255,107,0,0.35); }
.btn-large { padding: 18px 38px; font-size: 1.05rem; }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--charcoal); }

/* ── HERO ── */
.hero {
  min-height: 80vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 140px 24px 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,107,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, #d8d8d8 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 80%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-light); border: 1px solid rgba(255,107,0,0.2);
  color: var(--orange); border-radius: 100px;
  padding: 6px 16px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.6s ease 0.1s forwards;
}
.badge-dot {
  width: 7px; height: 7px; background: var(--orange); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted); max-width: 540px;
  margin: 0 auto 44px; line-height: 1.7; font-weight: 400;
  opacity: 0; animation: fadeUp 0.65s ease 0.3s forwards;
}
.hero h1 span { color: var(--orange); }
.hero-cta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp 0.65s ease 0.4s forwards;
}
.hero-note {
  font-size: 0.8rem; color: var(--muted); margin-top: 14px;
  opacity: 0; animation: fadeUp 0.65s ease 0.5s forwards;
}
.hero-note span { color: var(--orange); font-weight: 600; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0; padding: 18px 24px;
}
.trust-item { display: flex; align-items: center; gap: 8px; padding: 6px 28px; font-size: 0.84rem; font-weight: 500; color: var(--muted); }
.trust-item svg { color: var(--orange); }
.trust-divider { width: 1px; height: 18px; background: var(--border); }

/* ── SHARED SECTION STYLES ── */
section { padding: 100px 24px; }
.container { max-width: 1080px; margin: 0 auto; }

/* FIXED: 0.72rem matches fp-label used in feature panels */
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 14px;
}
.section-desc { display: none; }

/* ── HOW IT WORKS ── */
.hiw-section { background: var(--white); }
.hiw-header { text-align: center; margin-bottom: 62px; }
.hiw-header .section-desc { margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 32px; position: relative; }
.step-num {
  width: 60px; height: 60px; background: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.4rem; color: #fff;
  box-shadow: 0 8px 24px rgba(255,107,0,0.3); margin-bottom: 28px;
  position: relative; z-index: 1;
}
.step h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.step p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; max-width: 240px; }

/* ── FEATURES ── */
.features-section { background: var(--off-white); }
.features-header { margin-bottom: 56px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--white); border-radius: 20px; padding: 36px 32px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.07); }
.feature-icon {
  width: 48px; height: 48px; background: var(--orange-light); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon svg { color: var(--orange); }
.feature-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ── CTA ── */
.cta-section { background: var(--charcoal); text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 14px; }
.cta-section p { font-size: 1.05rem; color: rgba(255,255,255,0.55); max-width: 400px; margin: 0 auto 40px; }

/* ── FOOTER ── */
footer {
  background: #111; padding: 36px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { text-decoration: none; display: flex; align-items: center; }
.footer-logo-img { height: 28px; width: auto; display: block; filter: brightness(10); opacity: 0.6; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 0.83rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.55); text-align: right; margin-left: auto; line-height: 1.7; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.19s; }
.reveal-d4 { transition-delay: 0.26s; }
.reveal-d5 { transition-delay: 0.33s; }

/* ── MOBILE MENU ── */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s; }
.mobile-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; z-index: 99; flex-direction: column; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-size: 1rem; color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--border); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.6rem); }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .trust-divider { display: none; }
  .trust-item { padding: 6px 14px; }
}