/* ============================================
   INDEX.HTML CUSTOM STYLES - CharmsBot
   Styles specific to the homepage
   ============================================ */

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
  color: white;
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 44, 191, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: #9d4edd;
  border: 2px solid #7b2cbf;
}

.cta-button.secondary:hover {
  background: rgba(123, 44, 191, 0.1);
  transform: translateY(-2px);
}

/* How It Works Section */
.how-it-works {
  margin: 60px 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.step-card {
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(123, 44, 191, 0.3);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 44, 191, 0.6);
  box-shadow: 0 8px 24px rgba(123, 44, 191, 0.2);
}

.step-number {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 16px;
}

.step-card h3 {
  color: #e0e0e0;
  margin-bottom: 12px;
  font-size: 1.3em;
}

.step-card p {
  color: #b0b0b0;
  line-height: 1.5;
  margin-bottom: 12px;
}

.step-card code {
  background: rgba(123, 44, 191, 0.2);
  color: #c77dff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.95em;
  display: inline-block;
  margin-top: 8px;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.feature-card {
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(123, 44, 191, 0.3);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(123, 44, 191, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(123, 44, 191, 0.2);
}

.feature-icon {
  font-size: 2.5em;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  color: #e0e0e0;
  margin-bottom: 12px;
  font-size: 1.3em;
}

.feature-card p {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 12px;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.feature-card ul li {
  color: #a0a0a0;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.feature-card ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7b2cbf;
  font-weight: bold;
}

/* Use Cases Section */
.use-cases {
  margin: 60px 0;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.use-case {
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.1) 0%, rgba(94, 23, 235, 0.05) 100%);
  border: 1px solid rgba(123, 44, 191, 0.3);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.use-case:hover {
  border-color: rgba(123, 44, 191, 0.6);
  transform: translateX(4px);
}

.use-case-title {
  color: #c77dff;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.use-case-command {
  background: rgba(0, 0, 0, 0.4);
  color: #e0e0e0;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  margin: 12px 0;
  display: inline-block;
  border-left: 3px solid #7b2cbf;
}

.use-case-desc {
  color: #a0a0a0;
  line-height: 1.5;
  margin-top: 8px;
}

/* Technical Info Box */
.tech-info {
  background: rgba(30, 30, 30, 0.6);
  border-left: 4px solid #7b2cbf;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.tech-info h4 {
  color: #c77dff;
  margin-bottom: 12px;
  font-size: 1.1em;
}

.tech-info p, .tech-info ul {
  color: #b0b0b0;
  line-height: 1.6;
}

.tech-info code {
  background: rgba(123, 44, 191, 0.2);
  color: #e0e0e0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Command Preview */
.command-preview {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(123, 44, 191, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #e0e0e0;
  overflow-x: auto;
}

.command-preview .prompt {
  color: #7b2cbf;
  margin-right: 8px;
}

/* Discord Badge Enhancement */
.discord-card {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(88, 101, 242, 0.05) 100%);
  border: 2px solid rgba(88, 101, 242, 0.3);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.discord-card h3 {
  color: #e0e0e0;
  margin-bottom: 16px;
}

.discord-badge-wrap {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.discord-badge-wrap img {
  transition: transform 0.3s ease;
}

.discord-badge-wrap img:hover {
  transform: scale(1.05);
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.15) 0%, rgba(94, 23, 235, 0.1) 100%);
  border: 2px solid rgba(123, 44, 191, 0.4);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.highlight-box h3 {
  color: #c77dff;
  margin-bottom: 12px;
}

.highlight-box p {
  color: #b0b0b0;
  line-height: 1.6;
}

/* Header Box - Logo + Nav + Hero All in One */
.header-box {
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(123, 44, 191, 0.3);
  border-radius: 16px;
  padding: 32px 40px 60px;
  margin-bottom: 40px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(123, 44, 191, 0.2);
}

.logo-wrap {
  margin: 0;
}

.nav {
  margin: 0;
}

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

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .tagline {
  font-size: 1.3em;
  color: #a0a0a0;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-content .description {
  font-size: 1.1em;
  color: #c4c4c4;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Footer Links */
.footer-link {
  color: #ffd700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #ffed4e;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .header-box {
    padding: 20px;
  }
  
  .header-top {
    flex-direction: column;
    padding-bottom: 24px;
    margin-bottom: 32px;
  }
  
  .logo-wrap {
    margin-bottom: 16px;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2em;
  }

  .hero-content .tagline {
    font-size: 1.1em;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .steps-container,
  .features-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }
}
