/* PowerTheTrade - Landing page styles */

/* ── Custom properties ───────────────────────────────────────────── */
:root {
  --blue-950: #030f1e;
  --blue-900: #0a1f40;
  --blue-800: #0f2d6a;
  --blue-700: #1a3f9e;
  --blue-600: #1e51d4;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --white:    #ffffff;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-400: #a1a1aa;
  --zinc-600: #52525b;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--blue-950);
  color: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography helpers ──────────────────────────────────────────── */
.font-display { font-weight: 800; letter-spacing: -0.025em; }
.font-heading  { font-weight: 700; letter-spacing: -0.015em; }
.text-hero { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.1; }
.text-sub  { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.6; }

/* ── Button variants ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--blue-500);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.15s, transform 0.1s;
  text-align: center;
}
.btn-primary:hover  { background: var(--blue-400); transform: translateY(-1px); }
.btn-primary:active{ transform: translateY(0); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--blue-200);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 2px solid rgba(96,165,250,0.4);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-ghost:hover {
  border-color: var(--blue-300);
  color: var(--white);
  background: rgba(96,165,250,0.08);
}

/* ── Layout helpers ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background layers */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.55) saturate(0.8);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3,15,30,0.85) 0%,
    rgba(10,31,64,0.65) 50%,
    rgba(3,15,30,0.9) 100%
  );
}
/* Electric glow accent — top-right corner */
.hero__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Content layer */
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 6rem 0 5rem;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { display: none; }
}

/* Text block */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(96,165,250,0.3);
  color: var(--blue-200);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--blue-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero__headline strong { color: var(--blue-300); }

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.175rem);
  color: rgba(219,234,254,0.85);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero__note {
  font-size: 0.8125rem;
  color: var(--zinc-400);
  margin-top: 1rem;
}

/* Stats row */
.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(96,165,250,0.15);
}
@media (max-width: 640px) {
  .hero__stats { gap: 1.5rem; flex-wrap: wrap; }
}
.stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-300);
  line-height: 1;
}
.stat__label {
  font-size: 0.8125rem;
  color: var(--zinc-400);
  margin-top: 0.25rem;
}

/* Visual block */
.hero__visual {
  position: relative;
}
.hero__img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(96,165,250,0.2);
}
.hero__img-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(3,15,30,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(96,165,250,0.3);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.hero__badge-icon {
  width: 36px; height: 36px;
  background: var(--blue-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.hero__badge-text { font-size: 0.8125rem; line-height: 1.4; }
.hero__badge-name { font-weight: 700; color: var(--white); }
.hero__badge-sub   { color: var(--zinc-400); }

/* Floating chip */
.hero__chip {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  background: rgba(37,99,235,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(96,165,250,0.4);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  animation: float-chip 3s ease-in-out infinite;
}
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Comparison strip ─────────────────────────────────────────────── */
.compare {
  background: var(--blue-900);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(96,165,250,0.1);
}
.compare__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.compare__inner::-webkit-scrollbar { display: none; }
.compare__vs {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-500);
  white-space: nowrap;
  padding: 0 0.5rem;
}
.compare__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
}
.compare__icon-yes { color: #4ade80; }
.compare__icon-no  { color: #f87171; }

/* ── Section: How it works ───────────────────────────────────────── */
.section-how {
  background: var(--blue-950);
  padding: 5rem 0;
  text-align: center;
}
.section-how__headline {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.section-how__sub {
  font-size: 1rem;
  color: var(--zinc-400);
  margin-bottom: 3.5rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
}
.step__num {
  width: 48px; height: 48px;
  background: var(--blue-800);
  border: 1px solid rgba(96,165,250,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-300);
  margin: 0 auto 1rem;
}
.step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step__desc {
  font-size: 0.875rem;
  color: var(--zinc-400);
  line-height: 1.6;
}

/* ── Section: Social proof bar ────────────────────────────────────── */
.proof {
  background: var(--blue-900);
  border-top: 1px solid rgba(96,165,250,0.1);
  border-bottom: 1px solid rgba(96,165,250,0.1);
  padding: 2.5rem 0;
  text-align: center;
}
.proof__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-500);
  margin-bottom: 1.25rem;
}
.proof__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}
.proof__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--zinc-400);
}
.proof__item strong { color: var(--white); }

/* ── Footer CTA band ─────────────────────────────────────────────── */
.footer-cta {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  padding: 4rem 0;
  text-align: center;
}
.footer-cta__headline {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.footer-cta__sub {
  font-size: 1rem;
  color: var(--zinc-400);
  margin-bottom: 2rem;
}

/* ── Nav bar (minimal) ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: linear-gradient(to bottom, rgba(3,15,30,0.95) 0%, transparent 100%);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav__logo span { color: var(--blue-400); }
.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 640px) { .nav__links { display: none; } }
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--zinc-400);
  transition: color 0.15s;
}
.nav__link:hover { color: var(--white); }