/* Light theme (default) */
:root {
  --primary-color: #0d6efd;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  /* Background colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  /* Text colors */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  /* Border colors */
  --border-color: #dee2e6;
  --border-light: #e9ecef;
  /* Shadow colors */
  --shadow-sm: rgba(0, 0, 0, 0.1);
  --shadow-md: rgba(0, 0, 0, 0.15);
  --shadow-lg: rgba(0, 0, 0, 0.2);
  /* Card colors */
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
  /* Hero gradient */
  --hero-gradient-start: #214eff;
  --hero-gradient-end: #4f69d6;
  /* Footer gradient */
  --footer-gradient-start: #1a1a2e;
  --footer-gradient-mid: #16213e;
  --footer-gradient-end: #0f3460;
}

/* Dark theme */
[data-theme=dark] {
  --primary-color: #4dabf7;
  --success-color: #51cf66;
  --danger-color: #ff6b6b;
  --warning-color: #ffd43b;
  --info-color: #74c0fc;
  /* Background colors */
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-tertiary: #0f3460;
  /* Text colors */
  --text-primary: #e9ecef;
  --text-secondary: #adb5bd;
  --text-muted: #6c757d;
  /* Border colors */
  --border-color: #495057;
  --border-light: #343a40;
  /* Shadow colors */
  --shadow-sm: rgba(0, 0, 0, 0.3);
  --shadow-md: rgba(0, 0, 0, 0.4);
  --shadow-lg: rgba(0, 0, 0, 0.5);
  /* Card colors */
  --card-bg: #16213e;
  --card-shadow: rgba(0, 0, 0, 0.3);
  /* Hero gradient (slightly adjusted for dark) */
  --hero-gradient-start: #2d4fff;
  --hero-gradient-end: #5f75e6;
  /* Footer gradient (darker) */
  --footer-gradient-start: #0f1419;
  --footer-gradient-mid: #1a1f2e;
  --footer-gradient-end: #0a0e14;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.hero {
  background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
  color: white;
  padding: 80px 0;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s linear infinite;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}
.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  /* Remove animation to improve LCP - element should be visible immediately */
  /* animation: fadeInDown 1s ease-out; */
  opacity: 1;
  transform: translateY(0);
  will-change: transform;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-hero {
  padding: 12px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
  width: 300px;
  height: 300px;
}

.btn-hero:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-hero:active {
  transform: translateY(-1px) scale(1.02);
}

.feature-card {
  border: none;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 10px var(--card-shadow);
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-primary);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(33, 78, 255, 0.05) 0%, rgba(79, 105, 214, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(33, 78, 255, 0.2);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Icon Styling - Universal */
.lucide-icon,
.ph,
.ti,
[data-heroicon] {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Feature Icons - Large size */
.feature-icon .lucide-icon,
.feature-icon .ph,
.feature-icon .ti,
.feature-icon [data-heroicon] {
  color: var(--primary-color);
  filter: drop-shadow(0 2px 4px rgba(33, 78, 255, 0.2));
  font-size: 48px !important;
  width: 48px !important;
  height: 48px !important;
}

.feature-card:hover .feature-icon .lucide-icon,
.feature-card:hover .feature-icon .ph,
.feature-card:hover .feature-icon .ti,
.feature-card:hover .feature-icon [data-heroicon] {
  color: var(--hero-gradient-end);
  filter: drop-shadow(0 4px 8px rgba(33, 78, 255, 0.4));
}

/* Other icon locations */
.benefit-item .lucide-icon,
.benefit-item .ph,
.benefit-item .ti,
.benefit-item [data-heroicon],
.card-title .lucide-icon,
.card-title .ph,
.card-title .ti,
.card-title [data-heroicon] {
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Theme switcher icons */
.theme-switcher .lucide-icon,
.theme-switcher .ph,
.theme-switcher .ti,
.theme-switcher [data-heroicon] {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.theme-switcher button.active .lucide-icon,
.theme-switcher button.active .ph,
.theme-switcher button.active .ti,
.theme-switcher button.active [data-heroicon] {
  color: white;
}

/* Footer love icon */
.footer-love-icon .lucide-icon,
.footer-love-icon .ph,
.footer-love-icon .ti,
.footer-love-icon [data-heroicon] {
  color: #ff6b6b;
  fill: #ff6b6b;
  filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.3));
}

/* Phosphor and Tabler specific sizing */
.ph,
.ti {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.section {
  padding: 60px 0;
}

.section-alt {
  background-color: var(--bg-secondary);
  transition: background-color 0.3s ease;
}

.status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 5px;
}

.badge-success {
  background-color: rgba(25, 135, 84, 0.15);
  color: var(--success-color);
}

.badge-danger {
  background-color: rgba(220, 53, 69, 0.15);
  color: var(--danger-color);
}

.badge-info {
  background-color: rgba(13, 202, 240, 0.15);
  color: var(--info-color);
}

.badge-warning {
  background-color: rgba(255, 193, 7, 0.15);
  color: var(--warning-color);
}

.benefit-item {
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-color);
  background-color: var(--bg-secondary);
  border-radius: 5px;
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Demo CTA Box - Call to action for demo pages */
.demo-cta-box {
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(33, 78, 255, 0.1) 0%, rgba(79, 105, 214, 0.1) 100%);
  border-left: 4px solid var(--primary-color);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .demo-cta-box {
  background: linear-gradient(135deg, rgba(77, 171, 247, 0.15) 0%, rgba(116, 192, 252, 0.15) 100%);
}

.demo-cta-title {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.demo-cta-text {
  margin: 0;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.demo-cta-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.faq-item {
  margin-bottom: 0;
  padding: 0;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 1rem;
}

.faq-question-btn:hover {
  opacity: 0.8;
}

.faq-question-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-question-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.4;
  transition: color 0.3s ease;
  flex: 1;
}

.faq-toggle-icon {
  flex-shrink: 0;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  padding: 0 0;
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
  padding: 0 0 1.5rem 0;
}

.faq-answer-wrapper > * {
  min-height: 0;
  overflow: hidden;
}

.faq-answer {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  padding-top: 0.5rem;
}

.faq-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
  margin: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.faq-divider::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  position: relative;
  top: -2px;
}

.cta-section {
  background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
  color: white;
  padding: 60px 0;
  border-radius: 15px;
  margin: 60px 0;
  transition: background 0.3s ease;
}

/* Demo Section */
.demo-section {
  padding: 80px 0;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.demo-video-wrapper {
  margin-bottom: 60px;
}

.demo-video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.demo-video-header h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.video-platform-switcher {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  min-width: 140px;
  justify-content: center;
}
.platform-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.platform-btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.platform-btn:not(:has(i)) {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.demo-video-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  box-shadow: 0 4px 20px var(--shadow-md);
  transition: box-shadow 0.3s ease;
}

.video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.video-embed-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder-content {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.video-placeholder-icon {
  margin-bottom: 1rem;
  opacity: 0.5;
  color: var(--text-muted);
}

.video-placeholder-text {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.video-placeholder-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.demo-screenshots-wrapper h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.screenshots-slider-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.screenshot-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  box-shadow: 0 2px 10px var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.screenshot-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px var(--shadow-md);
}
.screenshot-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.screenshot-placeholder {
  position: relative;
  width: 100%;
  padding-top: 62.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  color: var(--text-secondary);
  gap: 1rem;
}
.screenshot-placeholder i {
  opacity: 0.5;
  color: var(--text-muted);
}
.screenshot-placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
}

.screenshots-slider .splide__arrow {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px var(--shadow-sm);
  transition: all 0.3s ease;
}
.screenshots-slider .splide__arrow:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}
.screenshots-slider .splide__arrow svg {
  fill: currentColor;
}
.screenshots-slider .splide__pagination {
  bottom: -2rem;
}
.screenshots-slider .splide__pagination .splide__pagination__page {
  background-color: var(--border-color);
  opacity: 0.5;
  transition: all 0.3s ease;
}
.screenshots-slider .splide__pagination .splide__pagination__page.is-active {
  background-color: var(--primary-color);
  opacity: 1;
}

.fancybox__backdrop {
  background-color: rgba(0, 0, 0, 0.85);
}

.fancybox__nav .fancybox__button {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}
.fancybox__nav .fancybox__button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .demo-video-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .demo-video-header h3 {
    font-size: 1.5rem;
  }

  .video-platform-switcher {
    width: 100%;
  }
  .video-platform-switcher .platform-btn {
    flex: 1;
    justify-content: center;
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
}
footer {
  background: linear-gradient(135deg, var(--footer-gradient-start) 0%, var(--footer-gradient-mid) 50%, var(--footer-gradient-end) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  transition: background 0.3s ease;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 50%, var(--hero-gradient-start) 100%);
  transition: background 0.3s ease;
}

.footer-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.footer-love-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
  background: linear-gradient(135deg, #fff 0%, var(--hero-gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  transition: all 0.3s, background 0.3s ease;
}

.footer-love-text:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.footer-love-icon {
  font-size: 2rem;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
  margin: 0 0.5rem;
  transition: transform 0.3s;
}

.footer-love-text:hover .footer-love-icon {
  animation: heartbeat 0.8s ease-in-out infinite;
  transform: scale(1.2);
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
@media (max-width: 768px) {
  .footer-love-text {
    font-size: 1.8rem;
  }

  .footer-love-icon {
    font-size: 1.5rem;
  }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 2px 10px var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(33, 78, 255, 0.1), transparent);
  transition: left 0.5s, background 0.3s ease;
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 30px rgba(33, 78, 255, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s, background 0.3s ease;
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
}

.stat-number.animate {
  animation: countUp 1.5s ease-out;
}

@keyframes countUp {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.how-it-works-step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* Combined controls container */
.controls-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-switcher {
  background: var(--card-bg);
  border-radius: 25px;
  padding: 6px;
  box-shadow: 0 2px 10px var(--shadow-md);
  display: flex;
  gap: 4px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.lang-switcher .lang-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-block !important;
  /* Ensure buttons are always visible */
  position: relative;
}

.lang-switcher .lang-btn.active {
  background: var(--primary-color);
  color: white;
  font-weight: 700;
}

.lang-switcher .lang-btn:hover:not(.active) {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.lang-switcher .lang-btn.active:hover {
  background: var(--primary-color);
  opacity: 0.9;
}

/* Hide content by language (exclude lang switcher buttons) */
[data-lang]:not(.lang-btn) {
  display: none !important;
}

[data-lang]:not(.lang-btn).active {
  display: block !important;
}

/* For inline elements */
span[data-lang]:not(.lang-btn).active,
a[data-lang]:not(.lang-btn).active {
  display: inline !important;
}

/* For inline-block elements */
button[data-lang]:not(.lang-btn).active {
  display: inline-block !important;
}

/* Cursor effect for interactive elements */
.cursor-pointer {
  cursor: pointer;
  transition: transform 0.2s;
}

.cursor-pointer:hover {
  transform: scale(1.1);
}

/* Smooth transitions for all interactive elements */
a, button {
  transition: all 0.3s ease;
}

/* Glow effect on hover for cards */
.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  box-shadow: 0 10px 30px rgba(33, 78, 255, 0.15);
}

/* Pulse animation for important elements */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Theme switcher */
.theme-switcher {
  background: var(--card-bg);
  border-radius: 25px;
  padding: 6px;
  box-shadow: 0 2px 10px var(--shadow-md);
  display: flex;
  gap: 5px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.theme-switcher button {
  border: none;
  background: transparent;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
}

.theme-switcher button:hover {
  background: var(--bg-tertiary);
  transform: scale(1.1);
}

.theme-switcher button.active {
  background: var(--primary-color);
  color: white;
}

/* Section title */
.section-title {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

/* FAQ question */
.faq-question {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

/* Cards */
.card {
  background: var(--card-bg);
  color: var(--text-primary);
  border-color: var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, color 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px var(--shadow-lg);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .controls-container {
    top: 10px;
    right: 10px;
    gap: 8px;
  }

  .lang-switcher {
    padding: 5px;
    gap: 3px;
  }

  .lang-switcher .lang-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .theme-switcher {
    padding: 5px;
  }

  .theme-switcher button {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}
/* Extension tutorial section */
.extension {
  display: none;
  /* Hidden by default */
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.extension::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 50%, var(--hero-gradient-start) 100%);
  transition: background 0.3s ease;
}

.extension.show {
  display: block;
  animation: fadeInUp 0.6s ease-out;
}

/* Extension header/title */
.extension > .h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 50px;
  max-width: 900px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  animation: fadeInDown 0.8s ease-out;
  position: relative;
  transition: background 0.3s ease;
}

.extension > .h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--hero-gradient-end), transparent);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.extension > div:not(.h1) {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  padding: 20px;
}

.extension > div:not(.h1):last-child {
  margin-bottom: 0;
}

.extension > div:not(.h1) > div {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.extension img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.extension img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .extension {
    padding: 60px 0 40px;
  }

  .extension > .h1 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .extension > div:not(.h1) > div {
    font-size: 1.1rem;
  }
}
/* Products section */
.products-section {
  padding: 100px 0;
}

.product-card {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: 0 1px 3px var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
  min-height: 300px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 30px var(--shadow-lg), 0 0 0 1px rgba(33, 78, 255, 0.1);
  border-color: rgba(33, 78, 255, 0.3);
}

.product-card-large {
  min-height: 350px;
}

.product-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(33, 78, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover .product-card-gradient {
  opacity: 1;
}

.product-card-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  z-index: 1;
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-icon-wrapper {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: transparent;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.product-card:hover .product-icon-wrapper {
  background: var(--bg-secondary);
}

.product-icon {
  color: var(--text-secondary);
  transition: all 0.3s ease;
  width: 24px;
  height: 24px;
}

.product-card:hover .product-icon {
  color: var(--primary-color);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: var(--primary-color);
}

.product-image-wrapper {
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  max-height: 200px;
}

.product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

.product-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.product-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 0;
  white-space: nowrap;
}

.product-link-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .products-section {
    padding: 60px 0;
  }

  .product-card {
    min-height: 250px;
  }

  .product-card-large {
    min-height: 280px;
  }

  .product-card-content {
    padding: 1.25rem;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-description {
    font-size: 0.9rem;
  }

  .product-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .product-link-btn {
    width: 100%;
    justify-content: center;
  }
}
/* Privacy Policy Page Styles */
.privacy-policy {
  max-width: 100%;
}

.privacy-policy header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 2rem;
}

.privacy-policy h1 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.privacy-policy h2 {
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.privacy-policy h3 {
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-content {
  color: var(--text-primary);
  line-height: 1.8;
}

.privacy-content p {
  margin-bottom: 1rem;
}

.privacy-content ul,
.privacy-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

.privacy-content code {
  background: var(--bg-secondary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--primary-color);
  font-family: "Courier New", Courier, monospace;
}

.privacy-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-content a:hover {
  color: var(--hero-gradient-start);
  text-decoration: underline;
}

.privacy-content hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 3rem 0;
}

.privacy-content .lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.privacy-content section {
  scroll-margin-top: 2rem;
}

/* Privacy Policy button styles */
.privacy-policy .btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
  transition: all 0.3s ease;
}

.privacy-policy .btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

[data-theme=dark] .privacy-policy .btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

@media (max-width: 768px) {
  .privacy-policy h1 {
    font-size: 2rem;
  }

  .privacy-policy h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .privacy-content {
    font-size: 0.95rem;
  }

  .privacy-content .lead {
    font-size: 1rem;
  }
}

/*# sourceMappingURL=styles.css.map */
