/* Dr. Profit Flash Sale — Dark premium crypto theme */

:root {
  --bg: #06080f;
  --bg-card: #0d1117;
  --bg-card-hover: #131a24;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 166, 35, 0.4);
  --text: #e8eaed;
  --text-muted: #8b95a5;
  --gold: #f5a623;
  --gold-light: #ffd166;
  --gold-dark: #c47f0a;
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.15);
  --red: #ef4444;
  --red-dim: rgba(239, 68, 68, 0.15);
  --blue: #3b82f6;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Background effects */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--gold {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
  background: rgba(245, 166, 35, 0.12);
}

.bg-glow--green {
  width: 500px;
  height: 500px;
  bottom: 10%;
  left: -200px;
  background: rgba(34, 197, 94, 0.08);
}

main, header, footer, .urgency-bar { position: relative; z-index: 1; }

/* Typography helpers */
.text-gold { color: var(--gold-light); }
.text-green { color: var(--green); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 560px;
  margin-inline: auto;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  margin-bottom: 1rem;
}

.badge--red {
  background: var(--red-dim);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0a0a0a;
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.35);
}

.btn--gold:hover {
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--gold-light);
  border: 2px solid var(--border-gold);
}

.btn--outline:hover {
  background: rgba(245, 166, 35, 0.08);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn--disabled,
.btn--disabled:hover {
  opacity: 0.45;
  pointer-events: none;
  transform: none;
  cursor: not-allowed;
}

/* Urgency bar */
.urgency-bar {
  background: linear-gradient(90deg, #1a1208 0%, #0d1117 50%, #1a1208 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.65rem 0;
  font-size: 0.85rem;
}

.urgency-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.urgency-bar__timer {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-light);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s ease infinite;
  flex-shrink: 0;
}

.pulse-dot--sm { width: 6px; height: 6px; }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* Header */
.header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(6, 8, 15, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo--sm .logo__name { font-size: 0.95rem; }

.logo__text { display: flex; flex-direction: column; }

.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo__tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Chart card */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.chart-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.chart-card__badge {
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
}

.chart-card__badge--win {
  background: var(--green-dim);
  color: var(--green);
}

.chart-svg {
  width: 100%;
  height: 160px;
  display: block;
}

.chart-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.chart-dot { fill: var(--green); }

.chart-entry-line {
  stroke: rgba(34, 197, 94, 0.3);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.chart-card__footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.chart-card__footer .label {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Success ticker */
.success-ticker {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.success-ticker__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.85rem;
  animation: slideIn 0.6s ease both;
}

.success-ticker__item:nth-child(2) { animation-delay: 0.15s; }
.success-ticker__item:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Features */
.features {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.015);
  border-block: 1px solid var(--border);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.feature-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Wins section */
.wins {
  padding: 4rem 0;
}

.wins__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.win-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  align-items: flex-start;
}

.win-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.win-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.win-card__result {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mini-chart {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--green-dim);
  position: relative;
  overflow: hidden;
}

.mini-chart::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 6px;
  right: 6px;
  height: 24px;
  background: linear-gradient(to top right, transparent 40%, var(--green) 40%, var(--green) 45%, transparent 45%, transparent 55%, var(--green) 55%, var(--green) 60%, transparent 60%, transparent 70%, var(--green) 70%);
  clip-path: polygon(0 100%, 20% 70%, 40% 80%, 60% 40%, 80% 50%, 100% 10%, 100% 100%);
  opacity: 0.7;
}

/* Pricing */
.pricing {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 166, 35, 0.04) 50%, transparent 100%);
}

.pricing__header { margin-bottom: 3rem; }

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin-inline: auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.15), var(--shadow);
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.06) 0%, var(--bg-card) 40%);
}

.price-card__ribbon {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 0 0 8px 8px;
}

.price-card__badge {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--gold-light);
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.price-card__was {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-card__now {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.price-card__save {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.price-card__list {
  list-style: none;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.price-card__list li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.price-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.price-card__spots {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pricing__disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

/* Reviews */
.reviews {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.review-card__stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.review-card cite {
  font-size: 0.8rem;
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer__links a:hover { color: var(--gold-light); }

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sold out overlay — hidden until JS adds .is-active (display:flex was overriding [hidden]) */
.sold-out {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 15, 0.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.sold-out.is-active {
  display: flex;
}

.sold-out__box {
  text-align: center;
  padding: 3rem;
  max-width: 420px;
}

.sold-out__box h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sold-out__box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid,
  .features__grid,
  .wins__grid,
  .pricing__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid { gap: 2rem; }
  .hero { padding-top: 2.5rem; }
  .price-card__now { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .hero__stats { gap: 1.25rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .urgency-bar__inner { font-size: 0.78rem; }
}
