@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0d0f1a;
  --bg-secondary: #141625;
  --bg-card: #1a1d30;
  --bg-card-hover: #222540;
  --nav-bg: #111326;
  --text-primary: #ffffff;
  --text-secondary: #8b8fa3;
  --text-muted: #5a5e73;
  --accent-gold: #d4a843;
  --accent-orange: #e8853d;
  --accent-green: #34c759;
  --accent-red: #ff3b30;
  --accent-blue: #4a7dff;
  --border-color: #2a2d42;
  --gradient-gold: linear-gradient(135deg, #d4a843, #e8a838);
  --gradient-orange: linear-gradient(135deg, #e8853d, #f5a623);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--gradient-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-primary {
  background: var(--gradient-orange);
  color: var(--text-primary);
  box-shadow: 0 4px 14px rgba(232, 133, 61, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 133, 61, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: rgba(212, 168, 67, 0.08);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 110px 0 50px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}

.hero h1 .highlight {
  color: var(--accent-gold);
  display: block;
}

.hero h1 .subtitle-line {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 16px auto 28px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== HERO SCREENSHOTS ===== */
.hero-screenshots {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px auto 0;
  max-width: 960px;
}

.screenshot-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.screenshot-card img {
  width: 100%;
  display: block;
}

/* ===== FEATURE SCREENSHOTS ===== */
.feature-screenshots {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-screenshot-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-screenshot-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold);
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .overline {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bg-primary);
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== WHY NEWS FAILURES ===== */
.why-nf-intro {
  max-width: 760px;
  margin: 0 auto;
}

.why-nf-intro p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.why-nf-intro p:last-child {
  margin-bottom: 0;
}

.why-nf-intro strong {
  color: var(--text-primary);
}

.video-section {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
}

.video-headline {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.video-subheadline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 168, 67, 0.2);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.wizard-quotes {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.wizard-quote-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s;
}

.wizard-quote-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
}

.wizard-book-cover {
  flex-shrink: 0;
  width: 140px;
}

.wizard-book-cover img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.wizard-quote-content {
  flex: 1;
}

.wizard-quote-content blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  border-left: 3px solid var(--accent-gold);
  padding-left: 20px;
  margin: 0 0 20px 0;
}

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

.wizard-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.wizard-book {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .wizard-quote-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 24px;
  }

  .wizard-book-cover {
    width: 120px;
  }

  .wizard-quote-content blockquote {
    border-left: none;
    border-top: 3px solid var(--accent-gold);
    padding-left: 0;
    padding-top: 16px;
  }
}

/* ===== PRICING ===== */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  transition: all 0.3s;
  max-width: 420px;
  width: 100%;
}

.pricing-card.featured {
  border-color: var(--accent-gold);
  position: relative;
  transform: scale(1.02);
}


.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(42, 45, 66, 0.5);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: var(--accent-green);
  font-weight: 700;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

/* ===== AUTH PAGES ===== */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 60px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 48px;
  width: 100%;
  max-width: 440px;
}

.auth-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .auth-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background: #fff;
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-google:hover {
  background: #f1f1f1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 16px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-divider span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-footer a {
  color: var(--accent-gold);
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 50px 0;
  text-align: center;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 40px;
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ===== HOME BLOG SECTION ===== */
.home-blog-section {
  background: var(--bg-primary);
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.home-blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.home-blog-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.home-blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-blog-tag {
  background: rgba(212, 168, 67, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.74rem;
  font-weight: 600;
}

.home-blog-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.home-blog-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  flex: 1;
}

.home-blog-excerpt {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.home-blog-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: auto;
}

@media (max-width: 900px) {
  .home-blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}


.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--accent-gold);
}

.footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

/* ===== NEWS FAILURE TABLE ===== */
.nf-table-wrapper {
  overflow-x: auto;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.nf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nf-table thead {
  background: rgba(212, 168, 67, 0.1);
}

.nf-table th {
  padding: 0.7rem 0.9rem;
  text-align: left;
  color: var(--accent-gold);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

.nf-table td {
  padding: 0.7rem 0.9rem;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

.nf-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.nf-table .pos {
  color: #4ade80;
}

.nf-table .neg {
  color: #f87171;
}

.nf-table .neutral {
  color: var(--text-muted);
}

.nf-table .signal-bullish,
.signal-bullish {
  color: #4ade80 !important;
  font-weight: 600;
}

.nf-table .signal-bearish,
.signal-bearish {
  color: #f87171 !important;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .navbar .container {
    flex-wrap: wrap;
  }

  .nav-links,
  .nav-actions {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--nav-bg);
    padding: 12px 24px;
    gap: 12px;
  }

  .nav-links {
    order: 10;
    padding-bottom: 8px;
  }

  .nav-actions {
    order: 11;
    padding-top: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.open,
  .nav-actions.open {
    display: flex;
  }

  .nav-actions .btn {
    text-align: center;
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-content {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-legal {
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-legal p {
    white-space: normal;
  }
  .footer-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 1.6rem;
  }

  .auth-card {
    padding: 32px 24px;
  }
}


@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
}
