/* ==========================================================================
   MAIN CSS - Import All Styles
   mpFaktura Gold Premium Style
   ========================================================================== */

/* Import order matters! */
@import url('variables.css?v=32');
@import url('reset.css?v=32');
@import url('base.css?v=32');
@import url('layout.css?v=32');
@import url('components.css?v=32');
@import url('backgrounds.css?v=32');
@import url('animations.css?v=32');
@import url('scroll-effects.css?v=32');
@import url('responsive.css?v=32');
@import url('cookies.css?v=32');

/* ========================================
   GOOGLE FONTS - Poppins
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ========================================
   PAGE-SPECIFIC STYLES
   ======================================== */

/* Hero Section Enhancements */
.hero {
  background: var(--bg-primary);
  position: relative;
}

/* Note: hero::before is now defined in backgrounds.css with network pattern */

/* Gold decorative lines */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary-30), transparent);
}

/* ========================================
   SECTION TRANSITIONS & GRADIENTS
   ======================================== */
/* Smooth gradient transitions between sections */
.section {
  position: relative;
}

/* Section divider line */
.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 1200px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(184, 134, 11, 0.08) 15%,
    rgba(184, 134, 11, 0.15) 50%,
    rgba(184, 134, 11, 0.08) 85%,
    transparent 100%
  );
  pointer-events: none;
}

.section:last-of-type::after {
  display: none;
}

/* Light theme - wyrazniejsze dividers */
[data-theme="light"] .section::after {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(184, 134, 11, 0.12) 15%,
    rgba(184, 134, 11, 0.25) 50%,
    rgba(184, 134, 11, 0.12) 85%,
    transparent 100%
  );
}

/* Alternating section backgrounds - auto via PHP data-section-alt attribute */
[data-section-alt] > .section {
  background: linear-gradient(
    180deg,
    rgba(18, 18, 26, 0.6) 0%,
    rgba(18, 18, 26, 0.8) 50%,
    rgba(18, 18, 26, 0.6) 100%
  );
}

/* Light theme override */
[data-theme="light"] [data-section-alt] > .section {
  background: linear-gradient(
    180deg,
    rgba(248, 249, 250, 0.6) 0%,
    rgba(248, 249, 250, 0.8) 50%,
    rgba(248, 249, 250, 0.6) 100%
  );
}

/* Top glow effect for sections */
.section-glow {
  position: relative;
}

.section-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 200px;
  background: radial-gradient(
    ellipse 80% 100% at 50% 0%,
    rgba(184, 134, 11, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* KSeF Section Special Styling - dark theme (default) */
.ksef-section {
  background: linear-gradient(
    180deg,
    rgba(18, 18, 26, 0) 0%,
    rgba(18, 18, 26, 0.7) 10%,
    rgba(18, 18, 26, 0.85) 50%,
    rgba(18, 18, 26, 0.7) 90%,
    rgba(18, 18, 26, 0) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Light theme override */
[data-theme="light"] .ksef-section {
  background: linear-gradient(
    180deg,
    rgba(248, 249, 250, 0) 0%,
    rgba(248, 249, 250, 0.7) 10%,
    rgba(248, 249, 250, 0.85) 50%,
    rgba(248, 249, 250, 0.7) 90%,
    rgba(248, 249, 250, 0) 100%
  );
}

.ksef-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(184, 134, 11, 0.06) 0%,
    rgba(184, 134, 11, 0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* KSeF Section - Unified Card spanning both columns - dark theme (default) */
.ksef-unified-card {
  padding: var(--space-10);
  background: linear-gradient(
    135deg,
    rgba(21, 21, 31, 0.95) 0%,
    rgba(26, 26, 36, 0.9) 30%,
    rgba(212, 165, 55, 0.05) 70%,
    rgba(21, 21, 31, 0.92) 100%
  );
  border: 1px solid rgba(212, 165, 55, 0.15);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

/* Light theme override */
[data-theme="light"] .ksef-unified-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 249, 250, 0.9) 30%,
    rgba(184, 134, 11, 0.03) 70%,
    rgba(255, 255, 255, 0.92) 100%
  );
  border-color: rgba(184, 134, 11, 0.15);
}

/* Subtle gold gradient overlay on the right side */
.ksef-unified-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 134, 11, 0.04) 40%,
    rgba(184, 134, 11, 0.08) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.ksef-unified-card .grid {
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.ksef-timeline-col {
  padding-right: var(--space-6);
  border-right: 1px solid rgba(184, 134, 11, 0.1);
}

.ksef-features-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: var(--space-6);
  height: 100%;
}

.ksef-features-col h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

.ksef-features-col .check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ksef-features-col .list-item {
  font-size: var(--text-base);
  padding: var(--space-1) 0;
}

.ksef-features-col .flex {
  margin-top: var(--space-6);
}

/* Responsive for mobile */
@media (max-width: 1024px) {
  .ksef-unified-card .grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .ksef-timeline-col {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
    padding-bottom: var(--space-8);
  }

  .ksef-features-col {
    padding-left: 0;
  }
}

/* Timeline Component */
.timeline {
  position: relative;
  padding-left: var(--space-6);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-primary-30), var(--border-subtle));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-5);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Default (future) dot: dim, just outline */
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-6) - 4px);
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--text-muted);
  box-shadow: none;
  transition: all var(--transition-base);
}

/* Future items: dimmed text */
.timeline-item .timeline-date {
  color: var(--text-muted);
}
.timeline-item .timeline-title {
  color: var(--text-secondary);
}

/* Completed dot: gold filled, no glow */
.timeline-item.completed::before {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: none;
}

/* Completed items: normal text */
.timeline-item.completed .timeline-date {
  color: var(--accent-primary);
}
.timeline-item.completed .timeline-title {
  color: var(--text-primary);
}

/* Current dot: gold filled, large pulsing glow */
.timeline-item.current::before {
  width: 13px;
  height: 13px;
  left: calc(-1 * var(--space-6) - 6px);
  top: 2px;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-primary), 0 0 28px rgba(212, 175, 55, 0.4);
  animation: timeline-pulse 2s ease-in-out infinite;
}

/* Current item: bright text */
.timeline-item.current .timeline-date {
  color: var(--accent-primary);
  font-size: var(--text-sm);
}
.timeline-item.current .timeline-title {
  color: var(--text-primary);
  font-size: var(--text-lg);
}

@keyframes timeline-pulse {
  0%, 100% { box-shadow: 0 0 12px var(--accent-primary), 0 0 28px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 20px var(--accent-primary), 0 0 44px rgba(212, 175, 55, 0.6); }
}

.timeline-date {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.timeline-title {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-1);
}

.timeline-description {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* Pricing Cards - Glass Effect */
/* Dark theme (default) */
.pricing-card {
  background: linear-gradient(
    155deg,
    rgba(21, 21, 31, 0.96) 0%,
    rgba(26, 26, 36, 0.9) 50%,
    rgba(21, 21, 31, 0.88) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 165, 55, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  position: relative;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(212, 165, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Light theme override */
[data-theme="light"] .pricing-card {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(248, 249, 250, 0.9) 50%,
    rgba(255, 255, 255, 0.88) 100%
  );
  border-color: rgba(184, 134, 11, 0.1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.03),
    0 1px 3px rgba(184, 134, 11, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Top accent line */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    var(--accent-primary-30),
    var(--accent-primary-50),
    var(--accent-primary-30),
    transparent
  );
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 2px;
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 120% 80% at 50% -10%,
    rgba(184, 134, 11, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.pricing-card:hover {
  border-color: rgba(184, 134, 11, 0.2);
  transform: translateY(-8px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.05),
    0 6px 16px rgba(184, 134, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .pricing-card:hover {
  border-color: rgba(184, 134, 11, 0.3);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.1),
    0 6px 16px rgba(184, 134, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.pricing-card:hover::before {
  opacity: 1;
  width: 70%;
}

.pricing-card:hover::after {
  opacity: 1;
}

/* Featured pricing card */
/* Featured pricing card - dark theme (default) */
.pricing-card.featured {
  background: linear-gradient(
    155deg,
    rgba(26, 26, 36, 0.98) 0%,
    rgba(212, 165, 55, 0.06) 50%,
    rgba(21, 21, 31, 0.95) 100%
  );
  border-color: rgba(212, 165, 55, 0.3);
  box-shadow:
    0 8px 32px rgba(212, 165, 55, 0.15),
    0 2px 8px rgba(212, 165, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-top: var(--space-6);
  overflow: visible;
}

/* Light theme override */
[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(184, 134, 11, 0.04) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
  border-color: rgba(184, 134, 11, 0.25);
  box-shadow:
    0 8px 32px rgba(184, 134, 11, 0.12),
    0 2px 8px rgba(184, 134, 11, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Badge inside featured card */
.pricing-card.featured > .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10;
}

/* More padding for header in featured card */
.pricing-card.featured .pricing-header {
  padding-top: var(--space-2);
}

.pricing-card.featured::before {
  width: 80%;
  opacity: 0.7;
  background: linear-gradient(90deg,
    transparent,
    var(--accent-primary-50),
    var(--accent-primary),
    var(--accent-primary-50),
    transparent
  );
}

.pricing-card.featured:hover {
  box-shadow:
    0 20px 60px rgba(184, 134, 11, 0.15),
    0 8px 24px rgba(184, 134, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .pricing-card.featured:hover {
  box-shadow:
    0 20px 60px rgba(184, 134, 11, 0.18),
    0 8px 24px rgba(184, 134, 11, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.pricing-card.featured:hover::before {
  opacity: 1;
  width: 90%;
}

.pricing-header {
  text-align: center;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-4);
}

.pricing-name {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.pricing-price {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--accent-primary);
}

.pricing-price span {
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  color: var(--text-muted);
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* Testimonial Cards - Glass Effect */
/* Dark theme (default) */
.testimonial-card {
  background: linear-gradient(
    150deg,
    rgba(21, 21, 31, 0.95) 0%,
    rgba(26, 26, 36, 0.88) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 165, 55, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(212, 165, 55, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Light theme override */
[data-theme="light"] .testimonial-card {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 249, 250, 0.88) 100%
  );
  border-color: rgba(184, 134, 11, 0.1);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.03),
    0 1px 3px rgba(184, 134, 11, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Decorative quote accent */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  font-size: 3rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(184, 134, 11, 0.12);
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(184, 134, 11, 0.2);
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(184, 134, 11, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .testimonial-card:hover {
  border-color: rgba(184, 134, 11, 0.25);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(184, 134, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.testimonial-card:hover::before {
  color: rgba(184, 134, 11, 0.2);
}

.testimonial-quote {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-subtle);
}

.testimonial-name {
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* CTA Section - Premium Glass */
/* Dark theme (default) */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 26, 0) 0%,
    rgba(18, 18, 26, 0.8) 15%,
    rgba(18, 18, 26, 0.95) 50%,
    rgba(18, 18, 26, 0.8) 85%,
    rgba(18, 18, 26, 0) 100%
  );
}

/* Light theme override - wzmocnione tlo */
[data-theme="light"] .cta-section {
  background: linear-gradient(
    180deg,
    rgba(241, 243, 245, 0) 0%,
    rgba(241, 243, 245, 0.9) 15%,
    rgba(233, 236, 239, 0.95) 50%,
    rgba(241, 243, 245, 0.9) 85%,
    rgba(241, 243, 245, 0) 100%
  );
}

/* Light theme - Trust Badges section */
[data-theme="light"] .trust-badges-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%) !important;
  border-bottom-color: rgba(184,134,11,0.15) !important;
}

[data-theme="light"] .trust-badge-icon {
  background: rgba(184,134,11,0.12) !important;
}

[data-theme="light"] .trust-badge-title {
  color: var(--text-primary) !important;
}

[data-theme="light"] .trust-badge-desc {
  color: var(--text-secondary) !important;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 800px);
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(184, 134, 11, 0.2) 20%,
    rgba(184, 134, 11, 0.5) 50%,
    rgba(184, 134, 11, 0.2) 80%,
    transparent 100%
  );
  border-radius: 2px;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(184, 134, 11, 0.08) 0%,
    rgba(184, 134, 11, 0.03) 35%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  padding: var(--space-20) var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
}

.mobile-menu .mobile-menu-a11y-toggle {
  position: absolute !important;
  top: var(--space-4);
  right: calc(var(--space-4) + 104px); /* Obok theme toggle */
  color: var(--text-secondary);
}

.mobile-menu .mobile-menu-a11y-toggle:hover {
  color: var(--accent-primary);
}

.mobile-menu-theme-toggle {
  position: absolute;
  top: var(--space-4);
  right: calc(var(--space-4) + 52px); /* Obok przycisku zamknięcia */
}

.mobile-menu-theme-toggle .theme-icon-light {
  display: none;
}

[data-theme="light"] .mobile-menu-theme-toggle .theme-icon-dark {
  display: none;
}

[data-theme="light"] .mobile-menu-theme-toggle .theme-icon-light {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-menu-link {
  padding: var(--space-4);
  font-size: var(--text-xl);
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  transition: var(--transition-colors);
}

.mobile-menu-link:hover {
  color: var(--text-primary);
  background: var(--accent-primary-10);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) 0;
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition-base), color var(--transition-base);
  flex-shrink: 0;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding-bottom: var(--space-4);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}

/* ========================================
   GOLD PREMIUM SECTION HEADERS
   ======================================== */
.section-header h2 .text-gradient {
  font-style: italic;
}

/* ========================================
   FOOTER ENHANCEMENTS
   ======================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary-20), transparent);
}

/* ========================================
   FEATURE CARD ENHANCEMENTS
   ======================================== */
.feature-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-primary) 100%);
}

.feature-card:hover {
  border-color: var(--border-accent);
}

.feature-card.card-gradient:hover::before {
  opacity: 0.8;
}

/* ========================================
   STATS SECTION (for use in other sections)
   ======================================== */
.stats-row {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  text-align: center;
  min-width: 140px;
  position: relative;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary-30), transparent);
}

.stat-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
  font-weight: var(--font-medium);
}

.stat-value {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================
   INTEGRATION LOGOS
   ======================================== */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.logo-strip img {
  height: 28px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: all var(--transition-base);
}

.logo-strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========================================
   HERO GLOW EFFECTS
   ======================================== */
.hero-glow {
  background: var(--accent-primary);
  opacity: 0.2;
}

.hero-glow-1 {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
}

.hero-glow-2 {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary-30);
}

/* ========================================
   SELECTION COLOR
   ======================================== */
::selection {
  background: var(--accent-primary-30);
  color: var(--text-primary);
}

::-moz-selection {
  background: var(--accent-primary-30);
  color: var(--text-primary);
}

/* ========================================
   NAV DROPDOWN SUBMENUS
   ======================================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.6;
  transition: transform var(--transition-base);
}

.nav-dropdown:hover > .nav-link::after {
  transform: rotate(-135deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-2) 0;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: calc(var(--z-sticky) + 1);
  margin-top: var(--space-1);
}

[data-theme="light"] .nav-dropdown-menu {
  background: #fff;
  border-color: var(--border-default);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-item {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: var(--accent-primary-10);
  color: var(--accent-primary);
}

/* ========================================
   TRUST BADGES - Optical alignment fix
   ======================================== */

/* Add top margin to icons for optical alignment with first line of text */
section[style*="linear-gradient(180deg, #0a0a0a"] div[style*="border-radius: 50%"][style*="width: 40px"] {
  margin-top: 6px;
}
section[style*="linear-gradient(180deg, #0a0a0a"] div[style*="font-size: 0.8rem"] {
  margin: 0.125rem 0 0 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}
