/* style.css */
/* ===== VARIABLES ===== */
:root {
  --primary-color: #fec200;
  --primary-light: #feda00;
  --primary-dark: #e6ac00;
  --dark-900: #111827;
  --dark-800: #1f2937;
  --dark-700: #374151;
  --dark-600: #4b5563;
  --dark-500: #6b7280;
  --dark-400: #9ca3af;
  --dark-300: #d1d5db;
  --light-100: #f3f4f6;
  --light-200: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --container-width: 1200px;
  --font-main: 'Montserrat', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--dark-900);
  color: var(--light-100);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 25px;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-family: var(--font-main);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--dark-900);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(254, 194, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  background: linear-gradient(to bottom, var(--dark-900), var(--dark-800));
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/backgroundreturn.png') repeat;
  opacity: 0.2;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.highlight {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--dark-300);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-avatars {
  display: flex;
}

.user-avatars img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--dark-800);
  margin-left: -0.75rem;
}

.user-avatars img:first-child {
  margin-left: 0;
}

.stat-value {
  font-weight: 600;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--dark-400);
}

.hero-demo {
  flex: 1 1 40%;
  min-width: 300px;
  position: relative;
}

.blob {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.7;
  animation: blob 7s infinite;
  z-index: -1;
}

.blob-1 {
  top: -2rem;
  left: -2rem;
  background: var(--primary-color);
}

.blob-2 {
  bottom: -2rem;
  right: -2rem;
  background: var(--primary-dark);
  animation-delay: 2s;
}

@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(1.5rem, -1.5rem) scale(1.1);
  }
  66% {
    transform: translate(-1rem, 1rem) scale(0.9);
  }
}

.demo-terminal {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--dark-600);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 10;
}

.terminal-header {
  background: var(--dark-700);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.terminal-btn {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.red {
  background: #ef4444;
}

.yellow {
  background: #f59e0b;
}

.green {
  background: #10b981;
}

.terminal-content {
  padding: 1.5rem;
}

.terminal-code {
  background: var(--dark-900);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  font-family: monospace;
  font-size: 1rem;
  line-height: 1.5;
}

.terminal-command {
  color: #cfcfcf;
}

.terminal-text {
  color: var(--light-200);
}

.terminal-comment {
  color: var(--dark-500);
  padding-left: 1.5rem;
}

/* ===== STATS SECTION ===== */
.stats {
  padding: 4rem 0;
  background: var(--dark-800);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--dark-600);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--dark-400);
  margin-bottom: 0;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 6rem 0;
  background: var(--dark-900);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--dark-400);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--dark-600);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(254, 194, 0, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--dark-300);
}

/* ===== COMMAND DEMO SECTION ===== */
.command-demo {
  padding: 6rem 0;
  background: var(--dark-800);
}

.command-demo-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.command-demo-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.command-demo-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.command-demo-text p {
  font-size: 1.25rem;
  color: var(--dark-300);
  margin-bottom: 2rem;
}

.tab-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.5rem 1rem;
  background: var(--dark-700);
  border: 1px solid var(--dark-600);
  border-radius: var(--border-radius);
  color: var(--light-100);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-color);
  color: var(--dark-900);
  border-color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.command-item {
  margin-bottom: 1.5rem;
}

.command-item code {
  display: block;
  background: var(--dark-900);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-family: monospace;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.command-item p {
  color: var(--dark-400);
  padding-left: 1rem;
  margin-bottom: 0;
}

.command-demo-visual {
  flex: 1 1 40%;
  min-width: 300px;
}

.discord-demo {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--dark-600);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.discord-header {
  background: var(--dark-700);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
}

.discord-buttons {
  display: flex;
  gap: 0.5rem;
  margin-right: 1rem;
}

.discord-btn {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.channel-info {
  font-size: 0.875rem;
  color: var(--dark-400);
}

.discord-content {
  padding: 1.5rem;
}

.discord-embed {
  background-color: #36393f;
  border-left: 4px solid #fec200; /* Discord blurple */
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
  color: #dcddde;
  font-family: 'Segoe UI', sans-serif;
  max-width: 500px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.embed-author {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.embed-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.embed-field.inline {
  flex: 1 1 calc(33.333% - 12px); /* 3 par ligne */
  min-width: 150px;
  background-color: #36393f;
  border-radius: 4px;
  padding: 8px;
  box-sizing: border-box;
}

.field-name {
  font-weight: bold;
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

.field-value {
  color: #dcddde;
  font-size: 14px;
}

.embed-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 8px;
}

.author-name {
  font-weight: 600;
  color: #ffffff;
}

.embed-content {
  padding-left: 8px;
}

.embed-title {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 8px;
}

.embed-field {
  margin: 4px 0;
}

.field-name {
  font-weight: 600;
  color: #b9bbbe;
}

.field-value {
  margin-left: 6px;
  color: #dcddde;
}

a.field-value {
  text-decoration: none;
  color: #fec200;
}
a.field-value:hover {
  text-decoration: underline;
}

.message-bubble {
  background: #36393f;
  border-radius: var(--border-radius);
  padding: 1rem;
  flex: 1;
}

.username {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.message-content {
  color: var(--light-200);
}

.vtc-info div {
  margin-bottom: 0.5rem;
}

.vtc-info span {
  font-weight: 600;
  color: var(--light-200);
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: 6rem 0;
  background: var(--dark-900);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--dark-600);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-color);
  color: var(--dark-900);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  color: var(--dark-400);
}

.pricing-price {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-price span:first-child {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-price span:last-child {
  font-size: 1rem;
  color: var(--dark-400);
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--dark-700);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.feature-included {
  color: var(--light-100);
}

.feature-excluded {
  color: var(--dark-500);
}

.feature-included::before,
.feature-excluded::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
  background-size: contain;
  background-repeat: no-repeat;
}

.feature-included::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fec200'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7' /%3E%3C/svg%3E");
}

.feature-excluded::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 18L18 6M6 6l12 12' /%3E%3C/svg%3E");
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  text-align: center;
  border-radius: var(--border-radius);
  background: var(--dark-700);
  color: var(--light-100);
  font-weight: 600;
  transition: var(--transition);
}

.pricing-btn:hover {
  background: var(--dark-600);
  transform: translateY(-2px);
}

.pricing-btn.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--dark-900);
}

.pricing-btn.primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #36393f;
    border-radius: 8px;
    overflow: hidden;
    background: #2b2d31;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    text-align: left;
    background: #36393f;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.faq-question:hover {
    background: #40444b;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #36393f;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Style spécifique aux posts de forum */
.forum-post-content {
    color: #dcddde;
    padding: 0.5rem;
}

.forum-tags {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.tag {
    background: #5865F2;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.forum-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #b9bbbe;
    margin-top: 1rem;
    align-items: center;
}

.discord-link {
    color: #5865F2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.discord-link:hover {
    text-decoration: underline;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark-900), var(--dark-800));
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.25rem;
  color: var(--dark-300);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}