/* Page Specific CSS for landing.html */

/* Hero Section with Glowing Neon Gradients */
.clean-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92vh;
  margin-top: -80px; /* Pull into header space for overlay effect */
  padding: 140px 24px 100px 24px;
  overflow: hidden;
  background-color: var(--bg-base);
  transition: background-color 0.4s ease;
}

/* Glassmorphic/Grid decorations */
.hero-glow-1 {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 24, 250, 0.22) 0%, rgba(124, 58, 237, 0.08) 70%, transparent 100%);
  filter: blur(70px);
  z-index: 1;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, rgba(236, 72, 153, 0.1) 70%, transparent 100%);
  filter: blur(70px);
  z-index: 1;
  pointer-events: none;
}

[data-theme="dark"] .hero-glow-1,
[data-theme="dark"] .hero-glow-2 {
  filter: blur(80px);
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  z-index: 2;
  pointer-events: none;
}

/* 3D POS Hero Scene */
#hero-3d-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: drop-shadow(0 25px 35px rgba(17, 24, 250, 0.16));
}

#hero-3d-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, rgba(17, 24, 250, 0.06) 45%, transparent 72%);
  z-index: -1;
}

[data-theme="dark"] #hero-3d-stage {
  filter: drop-shadow(0 25px 45px rgba(59, 130, 246, 0.25));
}

#hero-3d-stage.is-ready {
  opacity: 1;
}

#hero-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.clean-hero .text {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  pointer-events: none;
}

.clean-hero .text a,
.clean-hero .text .scroll-down-indicator {
  pointer-events: auto;
}

.clean-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  line-height: 1.15;
  color: var(--font-primary);
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--font-secondary);
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.gradient-text-blue {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.gradient-text-rainbow {
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Mouse Scroll Down Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin-top: 40px;
}

.scroll-down-indicator .mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--font-tertiary);
  border-radius: 20px;
  display: block;
  position: relative;
  opacity: 0.7;
}

.scroll-down-indicator .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 2px;
  display: block;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s infinite ease-in-out;
}

@keyframes scroll-wheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 22px;
    opacity: 0;
  }
}

/* Section Spacings & Themes */
.clean-block {
  padding: 100px 0;
  position: relative;
  transition: background-color 0.4s ease;
}

.clean-block.dark {
  background-color: var(--bg-base);
}

.clean-block.light {
  background-color: var(--bg-elevated);
}

.bg-elevated-section {
  background-color: var(--bg-elevated);
  transition: background-color 0.4s ease;
}

.bg-section {
  background-color: var(--bg-elevated) !important;
  transition: background-color 0.4s ease;
}

/* Override Bootstrap bg-light for dark mode */
[data-theme="dark"] .bg-light {
  background-color: var(--bg-elevated) !important;
}

.block-heading {
  margin-bottom: 60px;
}

.block-heading h2 {
  font-size: 38px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  letter-spacing: -0.03em;
  color: var(--font-primary);
}

.block-heading h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-rainbow);
  border-radius: 4px;
}

.block-heading p {
  color: var(--font-secondary);
  font-size: 18px;
  margin-top: 20px;
}

/* Stat Cards */
.stats-bar {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.stat-card {
  text-align: center;
  padding: 24px;
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.stat-icon-wrapper {
  font-size: 24px;
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  transition: var(--transition);
}

.stat-card:hover .stat-icon-wrapper {
  background: var(--primary-color);
  color: #ffffff;
}

.stat-number-wrapper {
  font-size: 40px;
  font-weight: 800;
  color: var(--font-primary);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  color: var(--primary-color);
  font-size: 28px;
  margin-left: 2px;
}

.stat-label {
  font-size: 14px;
  color: var(--font-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Info Section Image & Glow Effects */
.info-img-wrapper {
  position: relative;
  z-index: 3;
}

.border-gradient {
  border: 1px solid var(--border-color);
  transition: border-color 0.4s ease;
}

.info-img-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 80%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.glow-cyan {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 80%);
}

.highlight-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-elevated);
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.highlight-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.badge-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.text-color-primary {
  color: var(--font-primary);
}

/* Feature Cards Grid */
.feature-box {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.2) !important;
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(var(--primary-rgb), 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.feature-box:hover .icon-wrapper {
  background: var(--primary-color);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

.feature-box:hover .icon-wrapper i {
  color: #ffffff !important;
}

.icon-wrapper i {
  font-size: 24px;
  color: var(--primary-color) !important;
  transition: var(--transition);
}

.feature-box h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--font-primary);
}

.feature-bullets li {
  color: var(--font-secondary);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bullet-check {
  color: var(--primary-color);
  font-size: 12px;
  width: 20px;
  height: 20px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Comparison Section */
.comparison-card {
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 44px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-elevated);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-legacy {
  background: var(--neutral-light);
  color: var(--font-secondary);
}

.badge-scloud {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
}

.comparison-card.legacy {
  border-top: 4px solid var(--font-tertiary);
}

.comparison-card.scloud {
  border-top: 4px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.comparison-card.scloud:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.comparison-card h3 {
  margin-bottom: 28px;
  font-weight: 800;
  font-size: 22px;
}

.comparison-list li {
  margin-bottom: 18px;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  color: var(--font-secondary);
  line-height: 1.5;
}

.comparison-list li i {
  margin-right: 14px;
  margin-top: 3px;
  font-size: 16px;
}

/* AI Bullets */
.ai-bullets li {
  line-height: 1.4;
}

.ai-bullet-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  transition: var(--transition);
}

.ai-bullets li:hover .ai-bullet-icon {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.05);
}

/* Interactive Product Tour styling */
.tour-container {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.tour-tabs-wrapper {
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 40px;
}

.tour-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  min-width: 550px;
}

.tour-tab {
  background: none;
  border: 1px solid transparent;
  outline: none;
  color: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.tour-tab i {
  font-size: 18px;
}

.tour-tab:hover {
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.05);
}

.tour-tab.active {
  color: #ffffff;
  background: var(--primary-color);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.tour-pane {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tour-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.pane-text {
  padding-right: 20px;
}

.bg-primary-soft {
  background: rgba(var(--primary-rgb), 0.08);
  font-weight: 600;
}

.pane-bullets li {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: var(--font-secondary);
}

.pane-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.pane-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Brands Logo Grid */
.client-logo-grid {
  margin-top: 20px;
}

.client-logo-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.client-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.client-logo {
  max-height: 105px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  opacity: 1; /* Always fully colored */
  transition: var(--transition);
}

[data-theme="dark"] .client-logo {
  opacity: 1; /* Always fully colored in dark mode too */
}

.client-logo-card:hover .client-logo {
  transform: scale(1.05); /* Slight grow animation on hover */
}


/* FAQ Accordion Styling */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
}

.faq-item summary {
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--font-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

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

/* Render FontAwesome icon inside pseudo-element */
.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 14px;
  color: var(--font-secondary);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-content {
  padding: 0 28px 22px 28px;
  color: var(--font-secondary);
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
  .clean-block {
    padding: 70px 0;
  }
  
  .block-heading {
    margin-bottom: 45px;
  }
  
  .block-heading h2 {
    font-size: 30px;
  }
  
  .pane-image-wrapper img {
    height: 250px;
  }
  
  .tour-container {
    padding: 15px;
    border-radius: 16px;
  }

  .tour-tabs-wrapper {
    margin-bottom: 25px;
  }

  .comparison-card {
    padding: 30px;
  }
  
  .scroll-down-indicator {
    display: none;
  }
}