/* Home Page Styles */
.page-home {
  padding: 80px 0;
  min-height: calc(100vh - 200px);
  position: relative;
  overflow: hidden;
}

.page-home::before {
  content: '';
  position: absolute;
  top: 5%;
  right: -5%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 125, 255, 0.15) 0%, rgba(0, 242, 254, 0.05) 75%, transparent 100%);
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
  animation: heroGlowMove 15s infinite alternate ease-in-out;
}

.page-home::after {
  content: '';
  position: absolute;
  bottom: 25%;
  left: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 125, 255, 0.12) 0%, rgba(234, 67, 53, 0.04) 75%, transparent 100%);
  filter: blur(75px);
  z-index: -1;
  pointer-events: none;
  animation: heroGlowMove 12s infinite alternate-reverse ease-in-out;
}

@keyframes heroGlowMove {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 40px) scale(1.15);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-text h1 {
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-text .lead {
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 900px; /* Extremely large size to make models prominent */
  height: auto;
  object-fit: contain; /* Keep the transparent PNG shape */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
  filter: drop-shadow(0 15px 30px rgba(18, 50, 75, 0.12)); /* Realistic drop shadow following human contours */
}

.hero-visual img:hover {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 25px 45px rgba(18, 50, 75, 0.22));
}

/* Services Preview */
.services-preview h2 {
  margin-bottom: 40px;
}

.services-banner-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0; /* Align perfectly with the 1200px page container */
}

.services-banner-card {
  position: relative;
  width: 100%;
  height: 480px; /* Increased card height from 440px to 480px for even larger presence */
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 15px 45px rgba(18, 50, 75, 0.06);
  overflow: hidden;
}

/* Banner Arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 12px rgba(18, 50, 75, 0.08);
}

.banner-arrow:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(47, 125, 255, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.banner-arrow.prev {
  left: -75px; /* Floats outside the card with a generous gap on wide screens */
}

.banner-arrow.next {
  right: -75px; /* Floats outside the card with a generous gap on wide screens */
}

.banner-track {
  display: flex;
  width: 600%; /* 6 slides */
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-slide {
  width: 16.66666%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch; /* Stretch content and image to full height */
  padding: 0;
  gap: 0;
  cursor: pointer;
  user-select: none;
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 40px 40px 40px 60px; /* Padding on the left content column */
}

.slide-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.slide-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.2;
}

.slide-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.slide-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.banner-slide:hover .slide-link {
  transform: translateX(5px);
}

.slide-visual {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
}

.slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-slide:hover .slide-visual img {
  transform: scale(1.05);
}

/* Navigation Dots */
.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 60px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(18, 50, 75, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary);
}

[data-theme="dark"] .dot {
  background: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .dot.active {
  background: var(--primary);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .services-banner-wrapper {
    padding: 0; /* Remove side padding on mobile so banner card uses full screen width */
  }

  .services-banner-card {
    height: auto;
    min-height: 480px;
  }

  .banner-slide {
    grid-template-columns: 1fr;
    padding: 30px 24px 50px 24px;
    gap: 20px;
    text-align: center;
  }

  .slide-content {
    text-align: center;
    padding: 0;
  }

  .slide-visual {
    height: 160px;
    order: -1; /* image on top on mobile */
    align-items: center;
  }

  .slide-visual img {
    width: 100%;
    height: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 12px;
  }

  .slide-content h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .slide-content p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .banner-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
  }

  .banner-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .banner-arrow.prev {
    left: 12px;
  }

  .banner-arrow.next {
    right: 12px;
  }
}

/* Intermediate Screen Sizes to float arrows inside wrapper safely */
@media (max-width: 1350px) and (min-width: 769px) {
  .services-banner-wrapper {
    padding: 0 65px;
  }
  .banner-arrow.prev {
    left: 8px;
  }
  .banner-arrow.next {
    right: 8px;
  }
}

/* Workflow Section (Langkah Kerja Sama) */
.workflow-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.workflow-container::before {
  content: '';
  position: absolute;
  top: 55px; /* Center of the icon */
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.workflow-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 12px rgba(18, 50, 75, 0.02);
}

.workflow-card:hover, .workflow-card.active {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(47, 125, 255, 0.1);
}

.workflow-card .workflow-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: all 0.3s ease;
}

.workflow-card .workflow-icon svg {
  width: 22px;
  height: 22px;
}

.workflow-card:hover .workflow-icon, .workflow-card.active .workflow-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 15px rgba(47, 125, 255, 0.3);
}

.workflow-card .workflow-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.5;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.workflow-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.workflow-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .workflow-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .workflow-container::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .workflow-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Industry Solutions Section (Solusi Berdasarkan Industri) */
.industry-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.industry-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.industry-tab-btn svg {
  color: var(--muted);
  transition: color 0.3s ease;
}

.industry-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.industry-tab-btn:hover svg {
  color: var(--primary);
}

.industry-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 6px 16px rgba(47, 125, 255, 0.2);
}

.industry-tab-btn.active svg {
  color: white;
}

.industry-content-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(18, 50, 75, 0.03);
}

.industry-tab-content {
  display: none;
}

.industry-tab-content.active {
  display: block;
  animation: industryFadeIn 0.4s ease;
}

@keyframes industryFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.industry-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.industry-left h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.industry-left p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.industry-role-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.industry-role-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.industry-role-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.industry-cta-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
}

.industry-cta-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.industry-cta-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .industry-tabs {
    flex-direction: column;
    gap: 10px;
  }
  
  .industry-tab-btn {
    width: 100%;
    justify-content: center;
  }
  
  .industry-content-wrapper {
    padding: 24px;
  }
}

/* FAQ Section (Tanya Jawab Umum) */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(47, 125, 255, 0.05);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 30px;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-arrow {
  color: var(--muted);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-content-inner {
  padding: 0 30px 24px 30px;
}

.faq-content-inner p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-trigger {
    padding: 18px 20px;
    font-size: 0.95rem;
  }
  
  .faq-content-inner {
    padding: 0 20px 18px 20px;
  }
}
