/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ===== Nav ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.nav-logo { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a4a4a;
  transition: color 0.2s;
}

.nav-link:hover { color: #1a1a1a; }
.nav-link.active { color: #ff6347; font-weight: 600; }

.nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.nav-discord svg { width: 18px; height: 18px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  margin: 5px 0;
  transition: 0.3s;
}

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

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
  animation: fadeInUp 0.6s ease;
}

.hero h1 .accent { color: #ff6347; }

.hero p {
  font-size: 1.25rem;
  color: #4a4a4a;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865f2;
  color: #fff;
  padding: 16px 40px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.3);
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(88, 101, 242, 0.4);
}

.btn-primary svg { width: 22px; height: 22px; }

.btn-secondary {
  display: inline-block;
  background: #f0f0f0;
  color: #1a1a1a;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
}

.btn-download {
  display: inline-block;
  background: #ff6347;
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-download:hover {
  background: #ff4500;
  transform: translateY(-1px);
}

/* ===== Section Titles ===== */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 60px 0;
}

.feature-card {
  background: #f9f9f9;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid #f0f0f0;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #ff6347;
}

.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }

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

.feature-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== Sportsbook Grid ===== */
.sportsbooks-section { padding: 60px 0; }

.sportsbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.sportsbook-item {
  background: #fff;
  padding: 24px 16px;
  border-radius: 12px;
  border: 2px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}

.sportsbook-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #ff6347;
}

.sportsbook-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
}

.sportsbook-name {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== Stats Section ===== */
.stats-section {
  padding: 60px 0;
  text-align: center;
}

.stats-image {
  max-width: 560px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ===== Downloads Section ===== */
.downloads {
  padding: 40px 0;
  text-align: center;
}

.download-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  text-align: center;
  padding: 60px 20px;
  margin: 40px 0;
  background: linear-gradient(135deg, #f8f8ff 0%, #f0f0ff 100%);
  border-radius: 20px;
  border: 2px solid #e8e8f8;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  color: #4a4a4a;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 2px solid #f0f0f0;
  margin-top: 40px;
}

.footer p { font-size: 0.85rem; color: #999; }

.footer .warning {
  color: #ff6347;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* ===== Signal Cards (Demo Page) ===== */
.signals-feed { display: flex; flex-direction: column; gap: 16px; }

.signal-card {
  background: #f9f9f9;
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
}

.signal-card:hover {
  border-color: #ddd;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.signal-card.premium-blur {
  position: relative;
  overflow: hidden;
}

.signal-card.premium-blur .signal-body {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.signal-card.premium-blur .blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  z-index: 2;
}

.signal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.signal-league {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ff6347;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.signal-time {
  font-size: 0.8rem;
  color: #999;
}

.signal-matchup {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.signal-books {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.signal-book {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #eee;
}

.signal-book-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.signal-book-odds {
  font-size: 1.3rem;
  font-weight: 700;
}

.signal-book-stake {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

.signal-roi {
  display: flex;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.signal-roi-item {
  display: flex;
  flex-direction: column;
}

.signal-roi-label {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.signal-roi-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #22c55e;
}

/* ===== Live Counters ===== */
.live-counters {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 32px 0;
}

.counter-item { text-align: center; }

.counter-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
}

.counter-label {
  font-size: 0.85rem;
  color: #999;
  margin-top: 4px;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

/* ===== Calculator ===== */
.calc-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 0;
}

.calc-form {
  background: #f9f9f9;
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  padding: 32px;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.calc-field { display: flex; flex-direction: column; gap: 6px; }

.calc-field.full { grid-column: 1 / -1; }

.calc-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
}

.calc-field input {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.calc-field input:focus {
  outline: none;
  border-color: #ff6347;
}

.calc-btn {
  width: 100%;
  padding: 14px;
  background: #ff6347;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.calc-btn:hover { background: #ff4500; }

.calc-result {
  margin-top: 24px;
  padding: 24px;
  border-radius: 12px;
  display: none;
}

.calc-result.arb {
  display: block;
  background: #f0fdf4;
  border: 2px solid #22c55e;
}

.calc-result.no-arb {
  display: block;
  background: #fef2f2;
  border: 2px solid #ef4444;
}

.calc-result h3 { margin-bottom: 16px; font-size: 1.2rem; }

.calc-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc-result-item { display: flex; flex-direction: column; }

.calc-result-label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
}

.calc-result-value {
  font-size: 1.2rem;
  font-weight: 700;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 100;
    gap: 16px;
  }
  .nav-toggle { display: block; }

  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1.05rem; }
  .section-title { font-size: 1.75rem; }

  .live-counters { gap: 24px; }
  .counter-value { font-size: 1.75rem; }

  .signal-books { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }

  .btn-primary { padding: 14px 28px; font-size: 1rem; }
}
