/* Core theme tokens */
:root {
  --ai-primary: #ff204e;
  --ai-primary-soft: #ffe4ec;
  --ai-deep-blue: #001f4d;
  --ai-navy: #021833;
  --ai-ink: #1b2540;
  --ai-muted: #6c7280;
  --ai-border: #e2e4ea;
  --ai-bg-soft: #f8f9fc;
  --ai-radius-lg: 1.25rem;
  --ai-radius-md: 1rem;
  --ai-radius-pill: 999px;
  --ai-shadow-soft: 0 18px 45px rgba(9, 18, 52, 0.18);
  --ai-shadow-card: 0 12px 30px rgba(9, 18, 52, 0.08);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ai-ink);
  background-color: #ffffff;
}

.ai-main-offset {
  padding-top: 5rem;
}

/* Navbar */
.ai-navbar {
  background: linear-gradient(135deg, rgba(1, 16, 56, 0.98), rgba(11, 40, 96, 0.98));
  backdrop-filter: blur(12px);
}

.ai-navbar-border {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.ai-logo {
  height: 32px;
}

.ai-lang-btn,
.ai-login-btn {
  border-radius: var(--ai-radius-pill);
  padding-inline: 1.15rem;
}

/* Ensure hamburger icon is always visible on custom navbar */
.ai-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.ai-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.18s ease;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--ai-muted);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--ai-primary);
}

/* Hero */
.ai-hero {
  position: relative;
  min-height: 70vh;
  padding-top: 5.25rem;
  padding-bottom: 4.5rem;
  color: #ffffff;
}

.ai-hero-index {
  background: radial-gradient(circle at 0 0, rgba(255, 32, 78, 0.22), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(2, 24, 80, 0.6), transparent 55%),
    url("Asset/HeroIndex.png") center/cover no-repeat;
}

.ai-hero-framework {
  background: linear-gradient(135deg, rgba(0, 10, 40, 0.85), rgba(2, 29, 78, 0.98)),
    url("Asset/HeroFramework.png") center/cover no-repeat;
}

.ai-hero-products {
  background: linear-gradient(135deg, rgba(0, 10, 40, 0.85), rgba(2, 29, 78, 0.98)),
    url("Asset/HeroProducts.png") center/cover no-repeat;
}

.ai-hero-title {
  font-size: clamp(2.2rem, 3vw + 1.5rem, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ai-hero-subtitle {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
}

.ai-eyebrow {
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Buttons */
.ai-btn-primary {
  background: var(--ai-primary);
  border-color: var(--ai-primary);
  color: #ffffff;
  border-radius: var(--ai-radius-pill);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
}

.ai-btn-primary:hover {
  background: #e21944;
  border-color: #e21944;
  color: #ffffff;
}

.ai-btn-secondary {
  background: #ffffff;
  color: var(--ai-primary);
  border-radius: var(--ai-radius-pill);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.ai-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ai-primary);
}

.ai-btn-light {
  background: #ffffff;
  color: var(--ai-deep-blue);
  border-radius: var(--ai-radius-pill);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
}

.ai-btn-outline-light {
  border-radius: var(--ai-radius-pill);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Stats */
.ai-stats {
  /* Taruh strip statistik di bawah hero tanpa overlap */
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.ai-card-floating {
  background: #ffffff;
  border-radius: var(--ai-radius-lg);
  box-shadow: var(--ai-shadow-soft);
  padding: 1.75rem 1.5rem;
}

.ai-stat-item {
  border-right: 1px solid var(--ai-border);
}

.ai-stat-item:last-child {
  border-right: none;
}

.ai-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.ai-stat-label {
  font-size: 0.85rem;
  color: var(--ai-muted);
}

/* Cards & icons */
.ai-card {
  background: #ffffff;
  border-radius: var(--ai-radius-md);
  border: 1px solid var(--ai-border);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.ai-card-compact {
  border-radius: 1rem;
  padding: 1.25rem 1.2rem;
}

.ai-card:hover {
  border-color: rgba(255, 32, 78, 0.45);
  box-shadow: var(--ai-shadow-card);
  transform: translateY(-2px);
}

.ai-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ai-card-text {
  font-size: 0.9rem;
  color: var(--ai-muted);
  margin-bottom: 0;
}

.ai-icon-pill {
  width: 40px;
  height: 40px;
  border-radius: var(--ai-radius-pill);
  background: var(--ai-primary-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.ai-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.ai-section-title {
  font-size: 1.7rem;
  font-weight: 700;
}

.ai-section-subtitle {
  font-size: 0.98rem;
  color: var(--ai-muted);
  max-width: 40rem;
}

.ai-bullet-list {
  padding-left: 1.1rem;
  color: var(--ai-muted);
}

.ai-bullet-list li + li {
  margin-top: 0.35rem;
}

.ai-image-frame img {
  box-shadow: var(--ai-shadow-card);
}

/* Panels (vision/mission) */
.ai-panel {
  padding: 1.75rem 1.5rem;
  border-radius: var(--ai-radius-md);
  position: relative;
  overflow: hidden;
}

.ai-panel-vision {
  background: #ffe8ef;
}

.ai-panel-mission {
  background: linear-gradient(135deg, #021833, #001f4d);
}

.ai-panel::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.2);
  right: -18px;
  top: -18px;
  transform: rotate(45deg);
}

.ai-about-logo {
  max-width: 320px;
}

.ai-map-wrapper img {
  max-width: 540px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* News cards */
.ai-news-card {
  background: #ffffff;
  border-radius: var(--ai-radius-md);
  overflow: hidden;
  border: 1px solid var(--ai-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.ai-news-card:hover {
  border-color: rgba(255, 32, 78, 0.5);
  box-shadow: var(--ai-shadow-card);
  transform: translateY(-2px);
}

.ai-news-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.ai-news-body {
  padding: 1.2rem 1.25rem 1.3rem;
}

.ai-news-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ai-muted);
  margin-bottom: 0.45rem;
}

.ai-news-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.ai-news-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ai-primary);
  text-decoration: none;
}

.ai-news-link:hover {
  text-decoration: underline;
}

/* Logos */
.ai-client-logo {
  max-height: 36px;
  width: auto;
  filter: grayscale(90%);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.ai-logo-row {
  gap: 2.5rem !important;
}

.ai-logo-row .ai-client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

.ai-map-wrapper:hover img {
  transform: scale(1.02);
  box-shadow: var(--ai-shadow-card);
}

/* CTA */
.ai-cta-section {
  background: radial-gradient(circle at 10% 0, rgba(255, 32, 78, 0.2), transparent 55%), var(--ai-navy);
}

.ai-cta-banner {
  border-radius: var(--ai-radius-lg);
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, #021833, #001f4d);
  box-shadow: var(--ai-shadow-soft);
}

.ai-cta-card {
  border-radius: var(--ai-radius-lg);
  background: #fff3f7;
  padding: 2.2rem 1.5rem;
  border: 1px solid rgba(255, 32, 78, 0.2);
}

/* Framework grid */
.ai-grid-intel .ai-card {
  height: 100%;
}

/* Careers */
.ai-section-icon {
  font-size: 1.2rem;
}

.ai-jobs-table thead {
  background: #f4f5fb;
}

.ai-jobs-table th,
.ai-jobs-table td {
  font-size: 0.9rem;
}

.ai-jobs-table tbody tr:hover {
  background-color: #f9f9ff;
}

.ai-job-card {
  border-radius: 1rem;
  border: 1px solid var(--ai-border);
  padding: 1.3rem 1.1rem;
  background: #ffffff;
}

.ai-form-card {
  border-radius: var(--ai-radius-lg);
  border: 1px solid var(--ai-border);
  padding: 1.9rem 1.6rem;
  background-color: #ffffff;
  box-shadow: 0 12px 35px rgba(9, 18, 52, 0.06);
}

.form-control,
.form-select {
  border-radius: 0.8rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(255, 32, 78, 0.7);
  box-shadow: 0 0 0 0.15rem rgba(255, 32, 78, 0.15);
}

/* Footer */
.ai-footer {
  background: #f9f9fc;
  font-size: 0.9rem;
}

.ai-footer-logo {
  height: 32px;
}

.ai-footer-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ai-muted);
  margin-bottom: 0.8rem;
}

.ai-footer-links a {
  color: var(--ai-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.ai-footer-links a:hover {
  color: var(--ai-primary);
}

.ai-footer-bottom small {
  color: var(--ai-muted);
}

/* AOS + motion reduction 
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}*/

/* Responsive */
@media (max-width: 991.98px) {
  .ai-stat-item {
    border-right: none;
    border-bottom: 1px solid var(--ai-border);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .ai-stat-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .ai-card-floating {
    padding-inline: 1.25rem;
  }

  .ai-news-image img {
    height: 180px;
  }

  .ai-main-offset {
    padding-top: 4.5rem;
  }

  .ai-hero {
    padding-top: 5rem;
    min-height: 62vh;
  }
}

