/* ====================================
   TISIT Landing Page Styles
   Modern, clean design for MVP launch
   ==================================== */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* ====================================
   SECTION 1: HERO
   ==================================== */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.hero-icon {
  animation: float 3s ease-in-out infinite;
}

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

.hero-ctas .btn {
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-ctas .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.hero-ctas .btn-outline-secondary:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ====================================
   SECTION 2: VALUE PROPOSITIONS
   ==================================== */
.value-props-section {
  padding: 5rem 1rem;
}

.value-prop-card {
  border: 1px solid rgba(var(--bs-border-color-rgb), 0.5);
  transition: all 0.3s ease;
  background: var(--bs-body-bg);
}

.value-prop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
  border-color: var(--primary);
}

.value-prop-card .icon-wrapper {
  transition: transform 0.3s ease;
}

.value-prop-card:hover .icon-wrapper {
  transform: scale(1.1);
}

.value-prop-card ul li {
  padding: 0.5rem 0;
}

/* ====================================
   SECTION 3: FEATURES SHOWCASE
   ==================================== */
.features-section {
  padding: 5rem 1rem;
  background: rgba(var(--bs-secondary-bg-rgb), 0.3);
}

.feature-card {
  padding: 2rem 1rem;
}

.feature-icon {
  position: relative;
}

.feature-icon .badge {
  position: absolute;
  top: -10px;
  right: -20px;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
}

/* Placeholder boxes for future illustrations */
.feature-placeholder {
  margin: 2rem auto;
}

.placeholder-box {
  aspect-ratio: 16/9;
  border: 2px dashed rgba(var(--bs-border-color-rgb), 0.3);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(var(--bs-secondary-bg-rgb), 0.2);
  transition: all 0.3s ease;
}

.placeholder-box:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

/* ====================================
   SECTION 4: HOW IT WORKS
   ==================================== */
.how-it-works-section {
  padding: 5rem 1rem;
  background: rgba(var(--bs-secondary-bg-rgb), 0.3);
}

.how-step {
  position: relative;
  padding: 1rem;
}

.step-number {
  position: relative;
  margin-bottom: 1.5rem;
}

.step-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.how-step:hover .step-circle {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.step-badge {
  position: absolute;
  top: -10px;
  right: calc(50% - 70px);
  background: var(--warning);
  color: var(--dark);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ====================================
   ABOUT PAGE: ALTERNATE SECTIONS
   ==================================== */
.about-alt-section {
  background: rgba(var(--bs-secondary-bg-rgb), 0.3);
}

/* ====================================
   SECTION 5: USE CASES / SOCIAL PROOF
   ==================================== */
.use-cases-section {
  padding: 5rem 1rem;
}

.use-case-card {
  border: 1px solid rgba(var(--bs-border-color-rgb), 0.5);
  transition: all 0.3s ease;
  background: var(--bs-body-bg);
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
}

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

.use-case-card:hover .use-case-icon {
  transform: scale(1.15);
}

/* ====================================
   SECTION 6: FINAL CTA
   ==================================== */
.final-cta-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 100%);
}

.cta-icon {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.final-cta-section .btn-primary {
  font-weight: 600;
  transition: all 0.3s ease;
}

.final-cta-section .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

/* ====================================
   SECTION 7: FOOTER
   ==================================== */
.landing-footer {
  padding: 2rem 1rem;
  background: rgba(var(--bs-secondary-bg-rgb), 0.3);
}

.landing-footer a {
  transition: color 0.3s ease;
}

.landing-footer a:hover {
  color: var(--primary) !important;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Tablets and below */
@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    padding: 3rem 1rem;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section .lead {
    font-size: 1.125rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .value-props-section,
  .features-section,
  .how-it-works-section,
  .use-cases-section,
  .final-cta-section {
    padding: 3rem 1rem;
  }

  .step-badge {
    right: calc(50% - 55px);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-icon i {
    font-size: 3rem !important;
  }

  .value-prop-card .icon-wrapper i,
  .feature-icon i,
  .use-case-icon i {
    font-size: 2.5rem !important;
  }

  .step-circle {
    width: 80px;
    height: 80px;
  }

  .step-circle i {
    font-size: 1.5rem !important;
  }

  .step-badge {
    width: 25px;
    height: 25px;
    font-size: 0.875rem;
    right: calc(50% - 50px);
  }

  .final-cta-section h2 {
    font-size: 2rem;
  }

  .placeholder-box {
    aspect-ratio: 4/3;
    padding: 1rem;
  }
}

/* ====================================
   DARK MODE ENHANCEMENTS
   ==================================== */
[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 100%);
}

[data-theme="dark"] .value-prop-card,
[data-theme="dark"] .use-case-card {
  background: rgba(var(--bs-dark-rgb), 0.3);
  border-color: rgba(var(--bs-border-color-rgb), 0.2);
}

[data-theme="dark"] .value-prop-card:hover,
[data-theme="dark"] .use-case-card:hover {
  background: rgba(var(--bs-dark-rgb), 0.5);
  border-color: var(--primary);
}

[data-theme="dark"] .features-section {
  background: rgba(var(--bs-dark-rgb), 0.2);
}

[data-theme="dark"] .how-it-works-section {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(var(--bs-border-color-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--bs-border-color-rgb), 0.1);
}

[data-theme="dark"] .about-alt-section {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(var(--bs-border-color-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--bs-border-color-rgb), 0.1);
}

[data-theme="dark"] .final-cta-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.05) 100%);
}

[data-theme="dark"] .landing-footer {
  background: rgba(var(--bs-dark-rgb), 0.5);
  border-top-color: rgba(var(--bs-border-color-rgb), 0.2);
}

[data-theme="dark"] .placeholder-box {
  background: rgba(var(--bs-dark-rgb), 0.3);
  border-color: rgba(var(--bs-border-color-rgb), 0.2);
}

[data-theme="dark"] .placeholder-box:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
}

/* ====================================
   ACCESSIBILITY
   ==================================== */

/* Focus states for keyboard navigation */
.hero-ctas .btn:focus,
.feature-card .btn:focus,
.final-cta-section .btn:focus {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Ensure sufficient contrast */
.text-muted {
  opacity: 0.8;
}

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

/* ====================================
   PERFORMANCE OPTIMIZATIONS
   ==================================== */

/* Use transform for animations (GPU accelerated) */
.value-prop-card,
.use-case-card,
.how-step,
.btn {
  will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
