/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark-bg: #0a0e0f;
  --darker-bg: #050708;
  --card-bg: #0f1618;
  --card-hover: #131a1d;
  --primary: #144148;
  --primary-light: #1a5560;
  --primary-lighter: #206070;
  --primary-glow: rgba(20, 65, 72, 0.5);
  --accent: #2a7a88;
  --bright-accent: #3a9aac;
  --white: #ffffff;
  --off-white: #f0f0f0;
  --text-primary: #e8e8e8;
  --text-secondary: #a0a0a0;
  --text-muted: #707070;
  --border-subtle: rgba(20, 65, 72, 0.3);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background: var(--dark-bg);
  overflow-x: hidden;
}

body::selection {
  background: var(--primary);
  color: var(--text-secondary);
}
body::-moz-selection {
  background: var(--primary);
  color: var(--text-secondary);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 5%;
  background: rgba(10, 14, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 1rem 5%;
  background: rgba(10, 14, 15, 0.95);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  text-decoration: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  width: 65px;
  height: 60px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: auto;
}

.logo:hover .logo-mark {
  transform: scale(1.05);
}

.logo-text {
  font-family: "Kanit", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--primary-glow);
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary-lighter) 100%
  );
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 5% 80px;
  background: radial-gradient(
      ellipse at top right,
      rgba(20, 65, 72, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom left,
      rgba(20, 65, 72, 0.15) 0%,
      transparent 50%
    ),
    var(--dark-bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(20, 65, 72, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(42, 122, 136, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(20, 65, 72, 0.1) 0%,
      transparent 50%
    );
  animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-content h1 {
  font-family: "Kanit", sans-serif;
  font-size: clamp(2.3rem, 4.7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
  filter: drop-shadow(0 2px 10px var(--primary-glow));
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 30px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px var(--primary-glow);
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary-lighter) 100%
  );
}

.btn-secondary {
  color: var(--text-primary);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  background: rgba(20, 65, 72, 0.1);
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 30px var(--primary-glow);
}

.hero-visual {
  position: relative;
  width: 100%;
  flex: 1;
}

/* Carousel Styles */
.carousel-container {
  width: 100%;
  height: 500px;
  background: linear-gradient(
    135deg,
    rgba(20, 65, 72, 0.3) 0%,
    rgba(20, 65, 72, 0.1) 100%
  );
  border: 1px solid var(--primary);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-track {
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.carousel-slide.prev {
  transform: translateX(-100%);
}

.slide-content {
  text-align: center;
  max-width: 400px;
}

.slide-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: linear-gradient(
    135deg,
    rgba(42, 122, 136, 0.2) 0%,
    rgba(42, 122, 136, 0.1) 100%
  );
  border: 2px solid var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slide-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(42, 122, 136, 0.3) 0%,
    transparent 70%
  );
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.slide-icon svg {
  width: 60px;
  height: 60px;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.slide-title {
  font-family: "Kanit", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.slide-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.slide-features {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-tag {
  background: rgba(42, 122, 136, 0.2);
  border: 1px solid rgba(42, 122, 136, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background: rgba(42, 122, 136, 0.3);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  background: rgba(20, 65, 72, 0.8);
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
}

.carousel-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}

.indicator {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator.active {
  width: 24px;
  border-radius: 5px;
  background: var(--accent);
}

.indicator:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

/* Features Section */
.features {
  padding: 100px 5%;
  background: var(--darker-bg);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-subtle),
    transparent
  );
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  color: var(--primary-lighter);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
  text-shadow: 0 0 20px var(--primary-glow);
}

.section-title {
  font-family: "Kanit", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  padding: 2.5rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
  border-color: rgba(58, 154, 172, 0.3);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.feature-header h3 {
  margin-bottom: 0;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(20, 65, 72, 0.3) 0%,
    rgba(20, 65, 72, 0.2) 100%
  );
  border: 1px solid var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  color: var(--bright-accent);
  transform: scale(1.1);
}

.feature-title {
  font-family: "Kanit", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Stats Section */
.stats {
  padding: 80px 5%;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 50%,
    var(--primary-lighter) 100%
  );
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  color: white;
}

.stat-number {
  font-family: "Kanit", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* CTA Section */
.cta {
  padding: 100px 5%;
  background: var(--dark-bg);
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-subtle),
    transparent
  );
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--card-bg) 0%,
    rgba(20, 65, 72, 0.1) 100%
  );
  padding: 4rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--primary);
}

.cta-container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-title {
  font-family: "Kanit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 auto 1rem auto;
  position: relative;
  z-index: 1;
  max-width: 470px;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.email-button-mobile {
  display: none;
}
.email-button-desktop {
  display: inline-flex;
}

/* Media Queries */
@media (max-width: 1080px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
  }

  .hero-content h1 {
    margin-bottom: 0;
  }

  .hero-subtitle {
    margin-bottom: 0;
    max-width: 660px;
  }

  .hero-visual {
    width: 100%;
    max-width: none;
  }

  .carousel-container {
    height: 450px;
  }

  .carousel-slide {
    padding: 2rem;
  }

  .slide-icon {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    margin-bottom: 1.5rem;
  }

  .slide-icon svg {
    width: 50px;
    height: 50px;
  }

  .slide-title {
    font-size: 1.5rem;
  }

  .slide-description {
    font-size: 1rem;
  }

  .features-grid {
    padding: 0;
  }
}

@media (max-width: 768px) {
  /* Reset body scroll for mobile */
  html,
  body {
    overflow-x: hidden;
  }

  /* Hero section modifications */
  .hero {
    padding: 0;
    min-height: 100vh;
    position: relative;
    display: block;
  }

  /* Remove the before pseudo-element on mobile to prevent layout issues */
  .hero::before {
    display: none;
  }

  .hero-container {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    display: block;
  }

  .hero-content {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    margin: 0;
    gap: 2rem;
  }

  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
    margin: 0;
    width: 100%;
  }

  /* Adjust navigation for mobile */
  nav {
    position: fixed;
    background: rgba(10, 14, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
  }

  nav.scrolled {
    background: rgba(10, 14, 15, 0.95);
  }

  .nav-menu {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-container {
    padding: 2.5rem;
  }

  .feature-icon {
    margin-bottom: 0;
  }

  /* Visual indicator for scrolling - down arrow on hero content only */
  .hero-content::after {
    content: "";
    position: absolute;
    bottom: 2rem;
    left: 50%;
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: translateX(-50%) rotate(45deg);
    animation: scrollIndicator 2s ease-in-out infinite;
    opacity: 0.6;
  }

  @keyframes scrollIndicator {
    0%,
    100% {
      transform: translateX(-50%) translateY(0) rotate(45deg);
      opacity: 0.6;
    }
    50% {
      transform: translateX(-50%) translateY(10px) rotate(45deg);
      opacity: 0.3;
    }
  }

  /* Remove the floating orbs on mobile for better performance */
  .floating-orb {
    display: none;
  }

  .carousel-container {
    max-width: 90vw;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    max-width: 380px;
    margin-top: 0;
  }

  .hero-subtitle {
    text-align: center;
  }

  .carousel-container {
    height: 400px;
    width: 100%;
  }

  .carousel-slide {
    padding: 1.5rem;
  }

  .slide-title {
    font-size: 1.3rem;
  }

  .slide-description {
    font-size: 0.95rem;
  }

  .feature-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .feature-card {
    padding: 1rem;
  }

  .carousel-controls {
    display: none;
  }

  .carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    background: rgba(10, 14, 15, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
  }

  .carousel-indicators::before,
  .carousel-indicators::after {
    content: "";
    width: 10px;
    height: 10px;
    margin: 3px;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    animation: swipeHint 2s ease-in-out infinite;
  }

  .carousel-indicators::before {
    transform: rotate(-135deg);
    margin-right: 0.5rem;
  }

  .carousel-indicators::after {
    transform: rotate(45deg);
    margin-left: 0.5rem;
    animation-name: swipeHintRight;
  }

  @keyframes swipeHint {
    0%,
    100% {
      opacity: 0.3;
      transform: translateX(0) rotate(-135deg);
    }
    50% {
      opacity: 0.7;
      transform: translateX(-5px) rotate(-135deg);
    }
  }

  @keyframes swipeHintRight {
    0%,
    100% {
      opacity: 0.3;
      transform: translateX(0) rotate(45deg);
    }
    50% {
      opacity: 0.7;
      transform: translateX(5px) rotate(45deg);
    }
  }

  .carousel-slide {
    padding: 1.5rem 1.5rem 4rem 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
  }

  .slide-features {
    margin-bottom: 0.5rem;
    max-width: 100%;
    justify-content: center;
  }

  .carousel-container {
    position: relative;
    overflow: hidden;
  }

  .slide-icon {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 530px) {
  .hero-content {
    padding: 7rem 1rem 2rem 1rem;
  }
}

@media (max-width: 400px) {
  .hero-content {
    padding: 7rem 1rem 2rem 1rem;
  }

  .email-button-mobile {
    display: inline-flex;
  }
  .email-button-desktop {
    display: none;
  }

  .carousel-slide {
    padding: 1rem 1rem 4rem 1rem;
  }

  .slide-icon svg {
    width: 40px;
    height: 40px;
  }

  .slide-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .slide-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .slide-features {
    gap: 0.5rem;
  }

  .feature-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }
}

@media (max-width: 340px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }
}
