:root {
  --secondary-color: #c491f4;
  --tertiary-color: #20B2AA;
  --bg-color: #000;
  --text-color: #FFF;
}

/* Global Reset & Base Styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Global Particle Background Container */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}

/* Header & Navigation */
header {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  padding: 15px 30px;
  border-bottom: 1px solid #222;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.logo img {
  height: 40px;
  margin-right: 10px;
}
.logo h3 {
  margin: 0;
  font-size: 1.8rem;
  background: linear-gradient(90deg, var(--secondary-color), var(--tertiary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}
.nav-items {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-items li a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}
.nav-items li a:hover {
  color: var(--secondary-color);
}
.time {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  padding: 120px 20px;
  /* Use a subtle gradient overlay so the particles show through */
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.8), rgba(0, 0, 0, 0.8));
  overflow: hidden;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.hero h4 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}
.hero .button {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
  margin: 5px;
  display: inline-block;
}
.hero .button:hover {
  background: var(--secondary-color);
  color: var(--bg-color);
}

/* Features Section */
.features {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}
.features h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.feature-box {
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 250px;
  max-width: 300px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}
.feature-box p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
}

/* How It Works Section */
.how-it-works {
  padding: 60px 20px;
  background: #000;
  text-align: center;
}
.how-it-works h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}
.how-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.how-step {
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 250px;
  max-width: 300px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.how-step span.material-symbols-outlined {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  display: block;
}
.how-step h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}
.how-step p {
  font-size: 1rem;
  color: var(--text-color);
}

/* Testimonials Section */
.testimonials {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}
.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.testimonial {
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 300px;
  max-width: 350px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  font-style: italic;
}
.testimonial p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-color);
}
.testimonial .author {
  font-weight: bold;
  color: var(--secondary-color);
}

/* Community Section */
.community {
  padding: 60px 20px;
  background: #000;
  text-align: center;
  color: var(--text-color);
}
.community h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}
.community p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.community .button {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
  margin: 5px;
  display: inline-block;
}
.community .button:hover {
  background: var(--secondary-color);
  color: var(--bg-color);
}

/* Footer Styling */
footer {
  background-color: var(--bg-color);
  padding: 20px 10px;
  text-align: center;
  color: var(--text-color);
  border-top: 1px solid #222;
}
footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}
footer a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.4s;
}
footer a:hover {
  color: var(--text-color);
}

.seo-block {
  background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  font-size: 1rem;
  text-align: left;
  line-height: 1.6;
  margin: 20px auto;
  max-width: 800px;
  border: 2px solid var(--text-color);
}

.seo-block h2, .seo-block h3 {
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.seo-block ul {
  list-style-type: disc;
  padding-left: 20px;
}

.seo-block li {
  margin-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
  .hero h4 { font-size: 1.5rem; }
  .nav { flex-direction: column; gap: 10px; }
  .nav-items { flex-direction: column; gap: 10px; }
  .feature-grid, .how-grid, .testimonial-grid { flex-direction: column; }
}