/* ============================
   DropDeal Landing Page Theme
   Dark Atmospheric Design
   ============================ */

/* --- Variables --- */
:root {
  --bg-primary: #0d0d0f;
  --bg-secondary: #111113;
  --bg-card: #141416;
  --bg-card-hover: #19191c;
  --accent-amber: #f59e0b;
  --accent-amber-dim: rgba(245, 158, 11, 0.15);
  --accent-amber-glow: rgba(245, 158, 11, 0.08);
  --accent-green: #22c55e;
  --text-primary: #f5f4f2;
  --text-secondary: rgba(245, 244, 242, 0.55);
  --text-muted: rgba(245, 244, 242, 0.3);
  --border-subtle: rgba(245, 244, 242, 0.08);
  --border-amber: rgba(245, 158, 11, 0.2);
  --font-heading: 'Syne', sans-serif;
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1140px;
  --section-padding: 100px 24px;
}

/* --- Reset & Base --- */
*, *::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-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Layout Helpers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Shared --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================
   HERO SECTION
   ============================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text { display: flex; flex-direction: column; gap: 28px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-amber);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.headline-accent {
  color: var(--accent-amber);
  display: block;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 8px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* --- Hero Browser Mockup --- */
.hero-visual { position: relative; }

.browser-mockup {
  background: #0a0a0c;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(245,158,11,0.06),
    0 24px 80px rgba(0,0,0,0.6),
    0 0 120px rgba(245,158,11,0.04);
  position: relative;
}

.browser-chrome {
  background: #111113;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(245,244,242,0.15);
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url-bar {
  flex: 1;
  background: rgba(245,244,242,0.05);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
  text-align: center;
}

.browser-content {
  padding: 24px;
  min-height: 280px;
  position: relative;
}

.checkout-scene {
  position: relative;
  background: linear-gradient(145deg, #0d0d0f 0%, #141416 100%);
  border-radius: 8px;
  padding: 28px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scene-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.extension-panel {
  position: relative;
  background: rgba(20,20,22,0.95);
  border: 1px solid var(--border-amber);
  border-radius: 10px;
  padding: 20px;
  width: 260px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 0 1px rgba(245,158,11,0.08),
    0 8px 32px rgba(0,0,0,0.4),
    0 0 60px rgba(245,158,11,0.06);
  z-index: 2;
}

.panel-header { margin-bottom: 16px; }

.panel-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.coupon-result { display: flex; flex-direction: column; gap: 12px; }

.coupon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-amber);
}

.coupon-savings { display: flex; flex-direction: column; gap: 2px; }

.savings-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.savings-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.cashback-earned {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--accent-green);
  font-weight: 500;
}

.cb-icon { flex-shrink: 0; }

.panel-particles { position: absolute; inset: 0; pointer-events: none; }

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-amber);
}

.p1 { width: 4px; height: 4px; top: 10%; right: 15%; opacity: 0.6; animation: float-particle 3s ease-in-out infinite; }
.p2 { width: 3px; height: 3px; top: 60%; right: 8%; opacity: 0.4; animation: float-particle 4s ease-in-out infinite 0.5s; }
.p3 { width: 5px; height: 5px; top: 75%; left: 10%; opacity: 0.5; animation: float-particle 3.5s ease-in-out infinite 1s; }
.p4 { width: 2px; height: 2px; top: 20%; left: 20%; opacity: 0.3; animation: float-particle 4.5s ease-in-out infinite 1.5s; }
.p5 { width: 3px; height: 3px; bottom: 15%; right: 20%; opacity: 0.4; animation: float-particle 3s ease-in-out infinite 2s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-8px) scale(1.2); opacity: 1; }
}

.floating-coins { position: absolute; inset: 0; pointer-events: none; }

.coin {
  position: absolute;
  border-radius: 50%;
  animation: coin-float 4s ease-in-out infinite;
}

.coin1 { top: 15%; right: -5%; animation-delay: 0s; }
.coin2 { top: 50%; right: 5%; animation-delay: 1s; }
.coin3 { bottom: 20%; left: -5%; animation-delay: 2s; }

@keyframes coin-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(15deg); }
}

/* ============================
   HOW IT WORKS
   ============================ */

.how-it-works {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-amber), transparent);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  border-color: var(--border-amber);
  box-shadow: 0 0 40px rgba(245,158,11,0.05);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-amber);
  opacity: 0.6;
}

.step-icon { margin-bottom: 8px; }

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.6;
}

/* ============================
   WHY SECTION
   ============================ */

.why-section {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto 80px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-4px);
}

.feature-visual {
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #0a0a0c;
}

/* Cashback visual */
.fv-cashback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cb-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(34,197,94,0.1) 0%, transparent 70%);
}

.cb-panel {
  position: relative;
  background: rgba(15,15,17,0.95);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 10px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 0 40px rgba(34,197,94,0.08);
}

.cb-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 10px;
}

.cb-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.cb-earned {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.fv-coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fv-coin {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-amber);
  animation: coin-float 4s ease-in-out infinite;
}

.fvc-1 { width: 20px; height: 20px; top: 10%; right: 15%; opacity: 0.12; }
.fvc-2 { width: 14px; height: 14px; top: 60%; right: 5%; opacity: 0.08; animation-delay: 1s; }
.fvc-3 { width: 10px; height: 10px; bottom: 20%; left: 10%; opacity: 0.06; animation-delay: 2s; }

/* Coupon test visual */
.fv-coupon-test {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(245,158,11,0.08) 0%, transparent 70%);
}

.ct-panel {
  position: relative;
  background: rgba(15,15,17,0.95);
  border: 1px solid var(--border-amber);
  border-radius: 10px;
  padding: 16px 20px;
  width: 220px;
  box-shadow: 0 0 40px rgba(245,158,11,0.06);
}

.ct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ct-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.ct-spinner svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ct-codes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245,244,242,0.04);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-family: monospace;
  font-weight: 600;
  color: var(--text-secondary);
}

.ct-check { display: flex; align-items: center; }

.ct-pending { color: var(--text-muted); font-size: 0.65rem; }

/* Privacy visual */
.fv-privacy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.priv-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(245,158,11,0.12) 0%, transparent 70%);
}

.priv-panel {
  position: relative;
  text-align: center;
  padding: 20px;
}

.priv-icon { margin-bottom: 12px; }

.priv-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Feature card text */
.feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Comparison Table --- */
.competitors-strip {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-align: center;
}

.strip-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 32px;
}

.compare-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  background: var(--bg-card);
}

.compare-header {
  background: var(--bg-secondary);
  padding: 12px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-row:not(.compare-header) .compare-row {
  background: transparent;
}

.compare-row > span, .compare-row > div {
  padding: 14px 16px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}

.compare-feature {
  color: var(--text-secondary) !important;
  font-weight: 500;
}

.compare-val { color: var(--text-muted); }
.compare-val.muted { color: var(--text-muted); font-size: 0.78rem; }
.compare-winner { color: var(--accent-amber) !important; font-weight: 600; }

.compare-brand {
  color: var(--text-muted) !important;
  font-size: 0.78rem;
}

/* ============================
   MANIFESTO
   ============================ */

.manifesto {
  padding: 120px 24px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.manifesto-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(245,158,11,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(245,158,11,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.manifesto-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.manifesto-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 32px;
  opacity: 0.8;
}

.manifesto-statement {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 48px;
}

.statement-accent { color: var(--accent-amber); }

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 56px;
}

.manifesto-body p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

.manifesto-sigil {
  display: inline-block;
  opacity: 0.6;
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  padding: 80px 24px 40px;
  background: var(--bg-primary);
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
  opacity: 0.4;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand { max-width: 300px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link:hover { color: var(--accent-amber); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-slug {
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual { order: -1; }

  .hero-stats { flex-wrap: wrap; gap: 24px; }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .steps { flex-direction: column; }

  .step-connector { transform: rotate(90deg); }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links { flex-wrap: wrap; gap: 32px; }

  .compare-table { font-size: 0.78rem; }

  .compare-row > span, .compare-row > div { padding: 10px 12px; }
}

@media (max-width: 600px) {
  :root { --section-padding: 72px 20px; }

  .hero { padding: 100px 20px 60px; }

  .hero-headline { font-size: clamp(2.4rem, 10vw, 3.5rem); }

  .step { max-width: 100%; }

  .competitors-strip { padding: 32px 20px; }

  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}