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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #3b4ec8;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.nav-links li a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

.nav-links li a:hover {
  opacity: 0.75;
}

/* ===== HERO ===== */
.hero-section {
  background: #909090;
  padding: 50px 30px 60px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-text p {
  color: #f0f0f0;
  font-size: 14px;
  margin-bottom: 8px;
}

.hero-text strong {
  color: #fff;
}

.hero-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-full {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  color: #555;
  outline: none;
  background: #fff;
}

.hero-form-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-half {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  color: #555;
  outline: none;
  background: #fff;
}

.btn-start-mining {
  background: #3b4ec8;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-start-mining:hover {
  background: #2d3db0;
}

.hero-image {
  flex-shrink: 0;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 280px;
  border-radius: 50%;
}

/* ===== FEATURES ===== */
.features-section {
  background: #f5f5f5;
  padding: 50px 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-item h3 {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.feature-item p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* ===== AFFILIATE ===== */
.affiliate-section {
  background: #fff;
  padding: 60px 20px;
}

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

.section-title h2 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.title-underline {
  width: 40px;
  height: 3px;
  background: #3b4ec8;
  margin: 8px auto 0;
  border-radius: 2px;
}

.affiliate-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 50px;
}

.affiliate-text {
  flex: 1;
}

.affiliate-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 14px;
}

.affiliate-text p {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.7;
}

.btn-upgrade {
  display: inline-block;
  background: #3b4ec8;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 12px;
  transition: background 0.2s;
}

.btn-upgrade:hover {
  background: #2d3db0;
}

.affiliate-chart {
  flex-shrink: 0;
  width: 200px;
}

.affiliate-chart img {
  width: 100%;
}

/* ===== PLANS ===== */
.plans-title {
  text-align: center;
  margin-bottom: 35px;
}

.plans-label {
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-bottom: 6px;
}

.plans-title h2 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px 20px 20px;
  text-align: center;
  background: #fff;
  transition: box-shadow 0.2s;
}

.plan-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  font-style: italic;
}

.plan-amount {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.plan-details {
  margin-bottom: 18px;
  border-top: 1px solid #eee;
  padding-top: 14px;
}

.plan-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  padding: 4px 0;
}

.plan-days-val {
  background: #3b4ec8;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.btn-upgrade-now {
  background: #3b4ec8;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.btn-upgrade-now:hover {
  background: #2d3db0;
}

/* ===== PAYMENTS TABLE ===== */
.payments-section {
  background: #fafafa;
  padding: 60px 20px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 4px;
  border: 1px solid #eee;
}

.payments-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}

.payments-table thead tr {
  background: #f0f0f0;
}

.payments-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  color: #444;
  font-size: 12px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid #ddd;
}

.payments-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}

.payments-table tbody tr:hover {
  background: #f9f9f9;
}

.trx-val {
  color: #26c6da;
  font-weight: 600;
}

.txid-val {
  color: #27ae60;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.txid-val:hover {
  text-decoration: underline;
  color: #1e8449;
}

/* Affiliate bar chart */
.aff-bar-chart {
  flex-shrink: 0;
  width: 280px;
  position: relative;
}
.aff-rocket {
  text-align: right;
  font-size: 20px;
  margin-bottom: 6px;
  padding-right: 4px;
}
.aff-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding-bottom: 0;
}
.aff-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.aff-bar-fill {
  width: 100%;
  background: linear-gradient(to top, #e67e22, #f39c12);
  border-radius: 3px 3px 0 0;
  min-width: 26px;
}
.aff-bar-pct {
  font-size: 11px;
  color: #666;
  margin-top: 5px;
  font-weight: 600;
}

.view-more-wrap {
  text-align: center;
  margin-top: 28px;
}

.btn-view-more {
  background: #3b4ec8;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}

.btn-view-more:hover {
  background: #2d3db0;
}

/* ===== FAQ ===== */
.faq-section {
  background: #fff;
  padding: 60px 20px;
}

.faq-about-box {
  background: #3b4ec8;
  color: #fff;
  padding: 20px 24px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.7;
}

.faq-about-box p {
  margin-bottom: 8px;
}

.faq-about-box ul {
  padding-left: 20px;
  list-style: disc;
}

.faq-about-box ul li {
  margin-bottom: 4px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  transition: background 0.15s;
  user-select: none;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-icon {
  font-size: 18px;
  color: #888;
  font-weight: 300;
  min-width: 20px;
  text-align: right;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 14px 18px;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #1a2a6c 0%, #1a6c5a 100%);
  padding: 30px 20px 20px;
  text-align: center;
  color: #ccc;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  margin-bottom: 4px;
}

.footer-links {
  font-size: 12px;
  color: #bbb;
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  color: #7ec8c8;
}

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

.footer-sep {
  color: #666;
}

.footer-bottom-links {
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-bottom-links a {
  color: #bbb;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .affiliate-content {
    flex-direction: column;
  }
  .affiliate-chart {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 650px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-image {
    width: 220px;
  }
  .hero-form-row {
    flex-direction: column;
  }
  .input-half {
    width: 100%;
  }
  .btn-start-mining {
    width: 100%;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links li a {
    font-size: 11px;
  }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Navbar */
  .navbar { padding: 0 14px; }
  .nav-links { gap: 10px; flex-wrap: wrap; }
  .nav-links li a { font-size: 10px; letter-spacing: 0.3px; }

  /* Hero */
  .hero-section { padding: 40px 16px 50px; }
  .hero-inner { flex-direction: column; gap: 30px; text-align: center; }
  .hero-text h1 { font-size: 26px; }
  .hero-text p { font-size: 13px; }
  .hero-form { max-width: 100%; }
  .input-full { font-size: 13px; padding: 11px 14px; }
  .hero-form-row { flex-direction: column; gap: 10px; }
  .input-half { width: 100%; }
  .btn-start-mining { width: 100%; padding: 12px; font-size: 14px; }
  .hero-image { display: none; }

  /* Features */
  .features-section { padding: 30px 16px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Affiliate */
  .affiliate-content { flex-direction: column; gap: 24px; }
  .aff-bar-chart { display: none; }

  /* Plans */
  .plans-grid { grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 8px; }
  .plan-card { padding: 18px 14px; }
  .plan-name { font-size: 15px; }
  .plan-amount { font-size: 20px; }

  /* Payments table */
  .payments-section { padding: 30px 12px; }
  .table-wrapper { overflow-x: auto; }
  .payments-table { min-width: 520px; font-size: 12px; }

  /* FAQ */
  .faq-section { padding: 30px 14px; }
  .faq-question { font-size: 13px; padding: 14px 14px; }
  .faq-about-box { padding: 16px; font-size: 13px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { flex-direction: column; gap: 6px; }
  .footer-sep { display: none; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 22px; }
  .features-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 6px; }
  .nav-links li a { font-size: 9px; }
  .plan-amount { font-size: 18px; }
  .hero-section { padding: 30px 12px 40px; }
  .section-title h2 { font-size: 18px; }
  .payments-table { min-width: 440px; }
}
