/* =============================================================================
   GeniusCount Design System
   Charte graphique pour tax.geniuscount.com
   ============================================================================= */

:root {
  /* Couleurs primaires */
  --gc-deep-blue: #3E57DA;
  --gc-light-blue: #77cbf3;
  --gc-dark-gray: #343a40;

  /* Couleurs secondaires */
  --gc-orange: #ff8c00;
  --gc-green: #28a745;
  --gc-light-green: #d4f8d4;

  /* Couleurs d'accent */
  --gc-purple: #5A31F4;
  --gc-blue-gradient: linear-gradient(135deg, #5A31F4 0%, #2D91F2 100%);
  --gc-gold: #FFC107;

  /* Backgrounds */
  --gc-white: #ffffff;
  --gc-gray-50: #f9fafb;
  --gc-gray-100: #f3f4f6;
  --gc-gradient-header: linear-gradient(180deg, #ffffff 0%, #77cdf4 100%);

  /* Spacing */
  --gc-mobile-margin: 20px;
  --gc-desktop-margin: 100px;

  /* Typography */
  --gc-heading-size: calc(1.5rem + 3vw);
  --gc-subtitle-size: calc(1rem + 0.8vw);
  --gc-card-title-size: calc(0.8rem + 0.6vw);
}

/* =============================================================================
   Typography
   ============================================================================= */

.gc-heading {
  font-size: var(--gc-heading-size);
  font-weight: bold;
  line-height: 1.2;
  color: var(--gc-dark-gray);
}

@media (min-width: 768px) {
  .gc-heading {
    font-size: calc(2rem + 3vw);
  }
}

.gc-subtitle {
  font-size: var(--gc-subtitle-size);
  line-height: 1.5;
  color: var(--gc-dark-gray);
}

@media (min-width: 768px) {
  .gc-subtitle {
    font-size: 2rem;
  }
}

/* =============================================================================
   Buttons
   ============================================================================= */

.gc-btn {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 90%;
}

.gc-btn-primary {
  background-color: var(--gc-deep-blue);
  color: white;
}

.gc-btn-primary:hover {
  background-color: #2A2A5A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(62, 87, 218, 0.3);
}

.gc-btn-secondary {
  background-color: var(--gc-light-blue);
  color: var(--gc-dark-gray);
}

.gc-btn-secondary:hover {
  background-color: #5ab8e0;
}

.gc-btn-cta {
  background: var(--gc-blue-gradient);
  color: white;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.gc-btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(90, 49, 244, 0.4);
}

/* =============================================================================
   Cards
   ============================================================================= */

.gc-card {
  background: white;
  max-width: 350px;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gc-card-bordered-blue {
  border-top: 0.5rem solid var(--gc-deep-blue);
}

.gc-card-bordered-green {
  border-top: 0.5rem solid var(--gc-green);
}

.gc-card-bordered-orange {
  border-top: 0.5rem solid var(--gc-orange);
}

.gc-card-bordered-yellow {
  border-top: 0.5rem solid var(--gc-gold);
}

.gc-card-bordered-purple {
  border-top: 0.5rem solid var(--gc-purple);
}

/* =============================================================================
   Gradients & Backgrounds
   ============================================================================= */

.gc-gradient-header {
  background: var(--gc-gradient-header);
}

.gc-gradient-blue {
  background: var(--gc-blue-gradient);
}

.gc-bg-light-blue {
  background-color: #e6f7ff;
}

/* =============================================================================
   Layout & Spacing
   ============================================================================= */

.gc-container {
  margin: 0 var(--gc-mobile-margin);
}

@media (min-width: 768px) {
  .gc-container {
    margin: 0 var(--gc-desktop-margin);
  }
}

.gc-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .gc-section {
    padding: 6rem 0;
  }
}

/* =============================================================================
   Hero Section
   ============================================================================= */

.gc-hero {
  background: linear-gradient(135deg, #ffffff 0%, #77cdf4 100%);
  padding: 5rem 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .gc-hero {
    padding: 8rem 2rem;
  }
}

.gc-hero-title {
  font-size: calc(2rem + 2vw);
  font-weight: bold;
  color: var(--gc-dark-gray);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .gc-hero-title {
    font-size: 3.5rem;
  }
}

.gc-hero-subtitle {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================================
   Features Grid
   ============================================================================= */

.gc-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
}

@media (min-width: 768px) {
  .gc-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gc-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================================================
   Testimonials
   ============================================================================= */

.gc-testimonial {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.gc-testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--gc-light-blue);
  position: absolute;
  top: 0;
  left: 1rem;
  line-height: 1;
}

.gc-testimonial-text {
  font-style: italic;
  color: #4a5568;
  margin-bottom: 1rem;
}

.gc-testimonial-author {
  font-weight: 600;
  color: var(--gc-dark-gray);
}

.gc-testimonial-rating {
  color: var(--gc-gold);
}

/* =============================================================================
   Pricing Cards
   ============================================================================= */

.gc-pricing-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gc-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gc-pricing-card-featured {
  border: 3px solid var(--gc-gold);
  transform: scale(1.05);
}

.gc-pricing-price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--gc-deep-blue);
}

.gc-pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.gc-pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
}

.gc-pricing-features li:last-child {
  border-bottom: none;
}

.gc-pricing-features li::before {
  content: '✓';
  color: var(--gc-green);
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

/* =============================================================================
   Badge Premium
   ============================================================================= */

.gc-badge-premium {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #4a5568;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.gc-badge-trial {
  background: linear-gradient(135deg, var(--gc-light-blue) 0%, var(--gc-deep-blue) 100%);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
}

/* =============================================================================
   Footer
   ============================================================================= */

.gc-footer {
  background-color: var(--gc-dark-gray);
  color: white;
  padding: 3rem 1rem 1.5rem;
}

.gc-footer a {
  color: var(--gc-light-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gc-footer a:hover {
  color: white;
}

/* =============================================================================
   Animations
   ============================================================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gc-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.gc-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* =============================================================================
   Utilities
   ============================================================================= */

.gc-text-center {
  text-align: center;
}

.gc-mb-2 {
  margin-bottom: 0.5rem;
}

.gc-mb-4 {
  margin-bottom: 1rem;
}

.gc-mb-8 {
  margin-bottom: 2rem;
}

.gc-mt-8 {
  margin-top: 2rem;
}

.gc-shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
