/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  z-index: 20;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

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

.hero-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 46, 92, 0.9), rgba(10, 46, 92, 0.7));
}

.hero-content-wrap {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  width: 100%;
}

.hero-title {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title-sub {
  display: inline-block;
  font-size: 30px;
  font-weight: 700;
}

.hero-desc {
  color: #d1d5db;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.hero-btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.hero-btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.hero-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 7px;
  box-sizing: border-box;
}

.hero-scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  animation: hero-scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ===== Trust Section ===== */
.trust-section {
  padding: 80px 0;
  background: #fff;
}

.trust-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary-darker);
  margin-bottom: 64px;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
  text-align: center;
}

.trust-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary-darker);
  line-height: 1.2;
}

.trust-stat-suffix {
  color: var(--color-accent);
}

.trust-stat-label {
  color: var(--color-text-light);
  font-size: 14px;
  margin-top: 8px;
}

.trust-partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trust-partner {
  background: #f9fafb;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-partner-logo {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(to right, #e5e7eb, #d1d5db);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

/* ===== Products Section ===== */
.products-section {
  padding: 80px 0;
  background: #f9fafb;
}

.products-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary-darker);
  text-align: center;
}

.products-subtitle {
  font-size: 20px;
  color: var(--color-text-light);
  text-align: center;
  margin: 16px auto 48px;
  max-width: 720px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.product-line-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.product-line-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.product-line-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.product-line-icon svg {
  width: 32px;
  height: 32px;
}

.product-line-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary-darker);
  margin-bottom: 12px;
}

.product-line-desc {
  color: var(--color-text-light);
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 24px;
}

.product-line-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}

.product-line-link:hover {
  gap: 12px;
  color: var(--color-primary-dark);
}

.product-line-link svg {
  width: 18px;
  height: 18px;
}

/* ===== Cases Section ===== */
.cases-section {
  padding: 80px 0;
  background: #fff;
}

.cases-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary-darker);
  text-align: center;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.case-card-image {
  height: 192px;
  overflow: hidden;
  background: #f3f4f6;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-card-image img {
  transform: scale(1.1);
}

.case-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.case-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-darker);
}

.case-card-product {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 14px;
}

.case-card-result {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.6;
}

.cases-footer {
  text-align: center;
  margin-top: 48px;
}

.cases-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 6px;
  background: var(--color-primary-darker);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.cases-btn:hover {
  background: var(--color-primary-darkest);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Responsive (matches Tailwind md:768 / lg:1024) ===== */
@media (min-width: 768px) {
  .hero-title { font-size: 48px; }
  .hero-title-sub { font-size: 36px; }
  .hero-desc { font-size: 18px; }
  .trust-stats { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .trust-stat-number { font-size: 48px; }
  .trust-stat-label { font-size: 16px; }
  .trust-partners { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
  .products-heading { font-size: 48px; }
  .cases-heading { font-size: 48px; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 60px; }
  .hero-title-sub { font-size: 48px; }
  .trust-partners { grid-template-columns: repeat(6, 1fr); }
}

/* Small screens */
@media (max-width: 575px) {
  .hero-title { font-size: 30px; }
  .hero-title-sub { font-size: 24px; }
  .hero-desc { font-size: 15px; }
  .hero-btn { padding: 14px 24px; font-size: 16px; }
  .hero-actions { flex-direction: column;
    align-items: stretch; }
  .hero-btn { width: 100%; }
}

/* Keep scroll indicator clear of the mobile CTA bar */
@media (max-width: 991px) {
  .hero-scroll { bottom: 76px; }
}
