:root {
  --header-height: 80px;
  --safe-top-margin: clamp(48px, 8vw, 100px);
}

.hero-modern {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
  background: linear-gradient(90deg, #f8fafd 60%, #f9c5d1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-modern .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  z-index: 2;
}

.hero-modern-content {
  flex: 1 1 400px;
  max-width: 540px;
  padding: 0 24px;
}

.hero-modern-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #2d214f;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-modern-desc {
  color: #6b6b6b;
  font-size: 1.18rem;
  margin-bottom: 38px;
  line-height: 1.6;
}

.hero-modern-badges {
  display: flex;
  gap: 18px;
  margin-bottom: 0;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-modern-badges img {
  height: 48px;
  border-radius: 12px;
  background: #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(45, 33, 79, 0.08);
}

.hero-modern-badges img:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(162, 89, 198, 0.13);
}

.hero-modern-img {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  max-width: 100%;
}

.hero-phone-mockup {
  width: 320px;
  max-width: 90vw;
  aspect-ratio: 9 / 19;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 8px 32px rgba(45, 33, 79, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-top: 0 !important;
}

.hero-phone-mockup img {
  width: 92%;
  height: auto;
  border-radius: 24px;
  background: none;
  box-shadow: none;
}

@media (max-width: 900px) {
  .hero-modern .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-modern-content,
  .hero-modern-img {
    max-width: 100%;
    padding: 0 10px;
  }

  .hero-modern-badges {
    justify-content: center;
  }

  .hero-modern-content {
    order: 2;
    margin-top: 30px;
  }

  .app-showcase .features {
    gap: 24px;
  }

  .app-showcase .feature {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-modern-title {
    font-size: 2rem;
  }

  .hero-modern-badges img {
    height: 40px;
  }

  .hero-phone-mockup {
    width: 90vw;
    border-radius: 18px;
  }

  .hero-phone-mockup img {
    border-radius: 10px;
  }

  .app-showcase {
    padding: 36px 0 20px 0;
  }

  .app-showcase .features {
    flex-direction: column;
    gap: 18px;
  }

  .app-showcase .feature {
    padding: 22px 10px 18px 10px;
  }

  .hero-modern-title {
    font-size: 2rem;
  }

  .hero-modern-badges img {
    height: 40px;
  }
}

.app-showcase {
  background: #f8fafd;
  padding: 60px 0 40px 0;
}

.app-showcase .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2d214f;
  margin-bottom: 40px;
  text-align: center;
}

.app-showcase .features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.app-showcase .feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(45, 33, 79, 0.07);
  padding: 32px 22px 28px 22px;
  max-width: 260px;
  min-width: 220px;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-showcase .feature:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(45, 33, 79, 0.13);
}

.app-showcase .feature img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  border: 3px solid #f9c5d1;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(45, 33, 79, 0.06);
}

.app-showcase .feature h3 {
  font-size: 1.18rem;
  font-weight: 600;
  color: #2d214f;
  margin-bottom: 10px;
  margin-top: 0;
}

.app-showcase .feature p {
  color: #6b6b6b;
  font-size: 0.98rem;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-container {
    padding: 0 15px;
  }

  .faq-header {
    padding: 20px 20px;
  }

  .faq-header h3 {
    font-size: 1.1rem;
  }

  .faq-item-modern.active .faq-content {
    padding: 0 20px 20px;
  }
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 1.6s infinite;
  opacity: 0.7;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
  display: block;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(12px);
  }
}

.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.faq-item-modern {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(45, 33, 79, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.faq-item-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(162, 89, 198, 0.15);
  border-color: rgba(162, 89, 198, 0.1);
}

.faq-header {
  padding: 24px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #fafbff 100%);
  transition: all 0.3s ease;
}

.faq-header:hover {
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
}

.faq-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d214f;
  margin: 0;
  flex: 1;
  padding-right: 20px;
}

.faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: #a259c6;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(162, 89, 198, 0.1);
}

.faq-item-modern.active .faq-toggle {
  transform: rotate(45deg);
  background: #a259c6;
  color: #fff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #fff;
}

.faq-item-modern.active .faq-content {
  max-height: 200px;
  padding: 0 30px 24px;
}

.faq-content p {
  color: #6b6b6b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.blog-section {
  background: #f8fafd;
  padding: 60px 0 40px 0;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(45, 33, 79, 0.07);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(45, 33, 79, 0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
  flex: 1;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d214f;
  margin-bottom: 10px;
}

.blog-card-body p {
  color: #6b6b6b;
  font-size: 0.98rem;
  margin-bottom: 15px;
}

.blog-card-body a {
  color: #8f1bdc;
  font-weight: 600;
  text-decoration: none;
}

.blog-card-body a:hover {
  text-decoration: underline;
}

.blog-detail-section {
  background: linear-gradient(135deg, #f8fafd 0%, #e8f4fd 100%);
  padding: 60px 0;
}

.blog-detail {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(45, 33, 79, 0.08);
  margin-top: 20px;
}

.blog-detail img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 25px;
}

.blog-detail h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d214f;
  margin-bottom: 15px;
}

.blog-detail .meta {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 25px;
}

.blog-detail p {
  color: #6b6b6b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.blog-card-body {
  padding: 20px;
  flex: 1;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d214f;
  margin-bottom: 10px;
}

.blog-card-body p {
  color: #6b6b6b;
  font-size: 0.98rem;
  margin-bottom: 15px;
}

.blog-card-body a {
  color: #8f1bdc;
  font-weight: 600;
  text-decoration: none;
}

.blog-card-body a:hover {
  text-decoration: underline;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(45, 33, 79, 0.07);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(45, 33, 79, 0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
