/* =================================================================================== */
/* 12_landing-page Stylesheet - PYME Administrative SaaS Template */
/* =================================================================================== */

/* Custom Fonts Precedence */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090b;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* =================================================================================== */
/* FLOATING BACKGROUND ORBS */
/* =================================================================================== */
@keyframes float-orb-1 {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes float-orb-2 {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.15); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes float-orb-3 {
  0% { transform: translate(0px, 0px) scale(1); }
  40% { transform: translate(40px, 20px) scale(0.9); }
  80% { transform: translate(-10px, -30px) scale(1.1); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.animate-orb-1 {
  animation: float-orb-1 22s infinite ease-in-out;
}

.animate-orb-2 {
  animation: float-orb-2 18s infinite ease-in-out 2s;
}

.animate-orb-3 {
  animation: float-orb-3 25s infinite ease-in-out 1s;
}

/* =================================================================================== */
/* ENTRANCE ANIMATIONS */
/* =================================================================================== */
@keyframes card-fade-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-card {
  animation: card-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

/* =================================================================================== */
/* GLASSMORPHISM & DECORATIONS */
/* =================================================================================== */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dark .glass-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-input {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(168, 85, 247, 0.5); /* Purple-500 */
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.dark .glass-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
}

.dark .glass-input:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

/* Glow gradient borders on hover */
.glow-card {
  position: relative;
  transition: all 0.3s ease;
}

.glow-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(to bottom right, rgba(139, 92, 246, 0), rgba(236, 72, 153, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.3s ease;
}

.glow-card:hover {
  transform: translateY(-4px);
}

.glow-card:hover::after {
  background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5));
}

/* =================================================================================== */
/* PRICE SWITCH TOGGLE BUTTON */
/* =================================================================================== */
.pricing-switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  user-select: none;
}

.pricing-switch {
  position: relative;
  width: 60px;
  height: 32px;
  background: #e4e4e7;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dark .pricing-switch {
  background: #27272a;
}

.pricing-switch-handle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 9999px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dark .pricing-switch-handle {
  background: #09090b;
}

.yearly-active .pricing-switch {
  background: #a855f7;
}

.yearly-active .pricing-switch-handle {
  transform: translateX(28px);
}

/* Price card value animation transition */
.price-value-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  overflow: hidden;
}

.price-value {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

/* =================================================================================== */
/* SHAKE ANIMATION FOR CONTACT FORM VALIDATION */
/* =================================================================================== */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%, 45%, 75% { transform: translateX(-6px); }
  30%, 60%, 90% { transform: translateX(6px); }
}

.animate-shake {
  animation: shake 0.4s ease-in-out;
}

/* =================================================================================== */
/* INTERACTIVE MODULE SHOWCASE (TABS) */
/* =================================================================================== */
.feature-tab-btn {
  position: relative;
  transition: all 0.3s ease;
}

.feature-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-tab-btn.active {
  color: #a855f7; /* Purple-500 */
}

.dark .feature-tab-btn.active {
  color: #c084fc; /* Purple-400 */
}

.feature-tab-btn.active::after {
  background: #a855f7;
}

.feature-pane {
  display: none;
  animation: fadeInUp 0.5s ease-out forwards;
}

.feature-pane.active {
  display: flex;
}

/* =================================================================================== */
/* ACCORDION (FAQ) */
/* =================================================================================== */
.faq-details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.dark .faq-details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  color: #a855f7;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-details[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding-bottom: 24px;
  color: #71717a;
  line-height: 1.6;
}

.dark .faq-content {
  color: #a1a1aa;
}

/* =================================================================================== */
/* DASHBOARD MOCKUP EMBEDDED IN HERO */
/* =================================================================================== */
.mockup-dashboard {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.dark .mockup-dashboard {
  background: #09090b;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.mockup-window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border-b: 1px solid rgba(0, 0, 0, 0.06);
}

.dark .mockup-bar {
  border-color: rgba(255, 255, 255, 0.06);
}
