/* Container styling */
.db-how-it-works {
  background-color: #1c1c1c; /* dark background */
  color: #f5f5f5; /* light text for contrast */
  font-family: 'Inter', 'Arial', sans-serif;
  padding: 50px 20px;
  line-height: 1.7;
  max-width: 1200px;
  margin: 0 auto;
}

/* Headings */
.db-how-it-works h1 {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
}

.db-how-it-works h2 {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #ffd700; /* gold accent for headings */
  border-bottom: 2px solid #444;
  padding-bottom: 5px;
}

.db-how-it-works h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: #ffb347; /* slightly lighter accent for subheadings */
  margin-bottom: 15px;
}

.db-how-it-works h4 {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffb347;
}

/* Paragraphs */
.db-how-it-works p {
  font-size: 1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

/* Links */
.db-how-it-works a {
  text-decoration: underline;
}

.db-how-it-works a:hover {
  color: #63b3ed;
}

/* Lists */
.db-how-it-works ul {
  padding-left: 20px;
  margin-bottom: 20px;
  list-style-type: disc;
}

.db-how-it-works ul li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Example Profit Box */
.example-box {
  background-color: #2a2a2a;
  border: 1px solid #444;
  padding: 25px;
  border-radius: 12px;
  margin: 30px 0;
}

.example-box .highlight-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffd700;
}

.example-box ul li {
  color: #f5f5f5;
  margin-bottom: 8px;
}

.example-note, .example-note-bottom {
  font-weight: 600;
  margin-top: 10px;
  color: #ffb347;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .db-how-it-works {
    padding: 30px 15px;
  }
  .db-how-it-works h1 {
    font-size: 2em;
  }
  .db-how-it-works h2 {
    font-size: 1.6em;
  }
  .db-how-it-works h3 {
    font-size: 1.2em;
  }
}


.report-highlights {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.profit-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.profit-table {
  width: 100%;
  border-collapse: collapse;
  background: #1a1a1a;
  color: #fff;
}

.profit-table th, .profit-table td {
  border: 1px solid #444;
  padding: 10px 15px;
  text-align: left;
}

.profit-table th {
  background-color: #222;
}

.invoice-note {
  font-style: italic;
  color: #ffcc00;
}
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  color: var(--text);
  padding: 6rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

/* Decorative overlay shapes */
.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(15px, -15px) rotate(10deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.hero-overlay::before {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-overlay::after {
  width: 500px;
  height: 500px;
  background: var(--highlight);
  bottom: -150px;
  right: -150px;
  animation: drift 12s ease-in-out infinite;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;                  /* start hidden */
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.3s;       /* slight delay for smoother load */
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.hero-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}


