/* Corrige cor dos links do menu no tema claro */
[data-bs-theme="light"] .navbar-modern .nav-link {
  color: #22223b !important;
  font-weight: 600;
}

[data-bs-theme="light"] .navbar-modern .nav-link:hover,
[data-bs-theme="light"] .navbar-modern .nav-link:focus {
  color: var(--primary) !important;
  text-decoration: underline;
}
/* =============================
   DYSKET - MODERN LANDING PAGE
   ============================= */

/* =============================
   CUSTOM VARIABLES & TOKENS
   ============================= */
:root {
  /* Cores modernas */
  --primary: #6366f1;
  --primary-dark: #4338ca;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  /* Gradientes modernos */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  
  /* Tipografia */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  
  /* Sombras modernas */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 0 1px rgb(99 102 241 / 0.05), 0 1px 3px 0 rgb(99 102 241 / 0.1);
  
  /* Bordas */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Espaçamentos */
  --section-padding: 5rem 0;
}

/* =============================
   THEME CUSTOMIZATIONS
   ============================= */

/* Light theme customization */
[data-bs-theme="light"] {
  --bs-body-bg: #ffffff;
  --bs-body-color: #22223b;
  --bs-emphasis-color: #111111;
  --bs-secondary-color: #3a3a3a;
  --bs-tertiary-color: #6c757d;
  --bs-border-color: #d1d5db;
  --bs-surface: #f8fafc;
  --bs-surface-secondary: #e2e8f0;
  /* Light theme gradients */
  --gradient-dark: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  /* Light theme shadows */
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10);
}

/* Dark theme customization */
[data-bs-theme="dark"] {
  --bs-body-bg: #0f172a;
  --bs-body-color: #f8fafc;
  --bs-emphasis-color: #ffffff;
  --bs-secondary-color: #94a3b8;
  --bs-tertiary-color: #64748b;
  --bs-border-color: #334155;
  --bs-surface: #1e293b;
  --bs-surface-secondary: #334155;
}

/* Theme-specific overrides */
[data-bs-theme="light"] .hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-bs-theme="light"] .hero-section::before {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='%23cbd5e1'%3e%3cpath d='m0 .5 32 32M32 .5 0 32'/%3e%3c/svg%3e") center/32px 32px;
  opacity: 0.3;
}

[data-bs-theme="light"] .navbar-modern {
  background: rgba(248, 250, 252, 0.9) !important;
  border-bottom: 1px solid var(--bs-border-color);
}

[data-bs-theme="light"] .card-modern {
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bs-border-color);
}

[data-bs-theme="light"] .footer-modern {
  background: var(--gradient-dark);
  border-top: 1px solid var(--bs-border-color);
}

/* Light theme specific adjustments */
[data-bs-theme="light"] .section-modern.bg-dark {
  background: var(--bs-surface) !important;
}

[data-bs-theme="light"] .badge-modern {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

[data-bs-theme="light"] .carousel-modern .carousel-control-prev,
[data-bs-theme="light"] .carousel-modern .carousel-control-next {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

/* Theme toggle button styles */
#themeToggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#themeToggle:hover {
  background: var(--bs-surface) !important;
  transform: scale(1.1);
}

[data-bs-theme="light"] #themeToggle {
  color: #f59e0b;
}

[data-bs-theme="dark"] #themeToggle {
  color: #60a5fa;
}

/* =============================
   BASE STYLES
   ============================= */
* {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
}

.font-display {
  font-family: var(--font-display);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: var(--shadow-glow); }
  50% { box-shadow: 0 0 0 1px rgb(99 102 241 / 0.15), 0 1px 3px 0 rgb(99 102 241 / 0.3); }
}

/* Animation classes */
.animate-fade-up {
  animation: fadeInUp 0.8s ease-out both;
}

.animate-fade-left {
  animation: fadeInLeft 0.8s ease-out both;
}

.animate-fade-right {
  animation: fadeInRight 0.8s ease-out both;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Delay classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up, .animate-fade-left, .animate-fade-right, .animate-float, .animate-glow {
    animation: none;
  }
}

/* =============================
   CUSTOM COMPONENTS
   ============================= */

/* Gradient backgrounds */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

.bg-gradient-dark {
  background: var(--gradient-dark);
}

/* Modern buttons */
.btn-modern {
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-primary-modern {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-outline-modern {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-modern:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Modern cards */
.card-modern {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--radius-lg);
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

/* Modern navbar */
.navbar-modern {
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.9) !important;
  border-bottom: 1px solid var(--bs-border-color);
}

/* Navbar brand styling */
.navbar-brand {
  font-weight: 700;
  text-decoration: none;
}

.navbar-brand .brand-name {
  color: white !important;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.navbar-brand .brand-subtitle {
  color: #94a3b8 !important;
  opacity: 0.9;
}

/* Light theme navbar adjustments */
[data-bs-theme="light"] .navbar-modern {
  background: rgba(248, 250, 252, 0.9) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

[data-bs-theme="light"] .navbar-brand .brand-name {
  color: #0f172a !important;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

[data-bs-theme="light"] .navbar-brand .brand-subtitle {
  color: #64748b !important;
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='%23334155'%3e%3cpath d='m0 .5 32 32M32 .5 0 32'/%3e%3c/svg%3e") center/32px 32px;
  opacity: 0.3;
  pointer-events: none;
}

/* Text gradient */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Badge modern */
.badge-modern {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Section modern */
.section-modern {
  padding: var(--section-padding);
  position: relative;
}

/* Custom carousel */
.carousel-modern .carousel-item img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.carousel-modern .carousel-control-prev,
.carousel-modern .carousel-control-next {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  top: 50%;
  transform: translateY(-50%);
  margin: 0 1rem;
}

.carousel-modern .carousel-control-prev:hover,
.carousel-modern .carousel-control-next:hover {
  background: var(--primary);
}

/* Stats counter */
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
}

/* Pricing cards */
.pricing-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Mais Popular';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 0 0 1rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 10;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 0.45rem;
  top: 1.5rem;
  width: 2px;
  height: calc(100% - 1rem);
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item:last-child::after {
  display: none;
}

/* Footer modern */
.footer-modern {
  background: var(--gradient-dark);
  border-top: 1px solid var(--bs-border-color);
}
