:root {
  --primary: #c8ff2e;
  --primary-dark: #9ed400;
  --secondary: #00e5ff;

  --accent-pink: #ff2f6d;
  --accent-orange: #ff6a3d;
  --accent-blue: #5b8def;
  --accent-yellow: #ffd21f;

  --bg: #17191f;
  --bg-soft: #1f232b;
  --card: #111318;
  --card-soft: #2f353d;

  --text: #ffffff;
  --muted: #9aa4b2;
  --white: #ffffff;
  --border: #2d333b;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 25, 31, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  justify-self: start;
}

.brand-logo {
  width: 52px;
  height: 52px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
}

.brand-logo-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.brand-title {
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 30px;
  font-size: 15px;
  color: #d7dce5;
}

.nav-menu a {
  position: relative;
  transition: 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: 590px;
  overflow: hidden;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 22% 50%,
      rgba(200, 255, 46, 0.08),
      transparent 28%
    ),
    linear-gradient(
      90deg,
      rgba(10, 12, 16, 0.94) 0%,
      rgba(10, 12, 16, 0.78) 38%,
      rgba(10, 12, 16, 0.48) 70%,
      rgba(10, 12, 16, 0.74) 100%
    );
}

.hero-slide-content {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 17px;
  border-radius: 999px;
  background: rgba(200, 255, 46, 0.08);
  border: 1px solid rgba(200, 255, 46, 0.38);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.hero-text h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  margin-bottom: 20px;
  letter-spacing: -2px;
  color: var(--white);
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  max-width: 620px;
  color: #d7dce5;
  font-size: 18px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #111318;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 255, 46, 0.24);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-nav:hover {
  background: rgba(200, 255, 46, 0.16);
  border-color: rgba(200, 255, 46, 0.52);
  color: var(--primary);
}

.hero-nav-left {
  left: 24px;
}

.hero-nav-right {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 5;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-dot.active {
  background: var(--primary);
  transform: scale(1.15);
}

/* Section */
section {
  padding: 78px 0;
  background: var(--bg);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}

.section-label {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 13px;
  margin-bottom: 8px;
}

.section-label-light {
  color: var(--primary);
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--white);
}

.section-head p {
  color: var(--muted);
}

/* Services */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.service-card {
  width: calc((100% - 44px) / 3);
  min-height: 235px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 255, 46, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(200, 255, 46, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.service-card:nth-child(2) .service-icon {
  background: rgba(0, 229, 255, 0.14);
  color: var(--secondary);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(255, 47, 109, 0.14);
  color: var(--accent-pink);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--white);
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}

.service-card a {
  color: var(--primary);
  font-weight: 800;
}

.service-card a:hover {
  color: var(--secondary);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 46px;
}

.about-image {
  min-height: 420px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(10, 12, 16, 0.25), rgba(10, 12, 16, 0.25)),
    url("../images/CROSS.png");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-content h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--white);
}

.about-content p {
  color: var(--muted);
  margin-bottom: 20px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #d7dce5;
}

.check-item span {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #111318;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.about-content .btn-outline {
  border-color: rgba(200, 255, 46, 0.35);
  color: var(--primary);
  background: rgba(200, 255, 46, 0.06);
}

.about-content .btn-outline:hover {
  background: rgba(200, 255, 46, 0.14);
  border-color: var(--primary);
  color: var(--primary);
}

/* Page Hero */
.page-hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(
      circle at 22% 50%,
      rgba(200, 255, 46, 0.08),
      transparent 28%
    ),
    linear-gradient(
      90deg,
      rgba(10, 12, 16, 0.98),
      rgba(23, 25, 31, 0.96)
    );
  border-bottom: 1px solid var(--border);
}

.page-label {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(200, 255, 46, 0.08);
  border: 1px solid rgba(200, 255, 46, 0.35);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

/* Artikel & Berita Cards */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: 0.2s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 255, 46, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.content-meta span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(200, 255, 46, 0.08);
  border: 1px solid rgba(200, 255, 46, 0.18);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.content-card h2 {
  color: var(--white);
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.content-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.content-card a {
  color: var(--primary);
  font-weight: 800;
}

.content-card a:hover {
  color: var(--secondary);
}

/* News / Artikel Carousel */
.news-carousel {
  position: relative;
}

.news-carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-carousel-grid .news-card {
  min-height: 300px;
}

.news-card {
  overflow: hidden;
}

.news-card-image {
  width: calc(100% + 52px);
  height: 190px;
  object-fit: cover;
  margin: -26px -26px 22px;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--border);
}

.news-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.news-nav:hover {
  background: rgba(200, 255, 46, 0.16);
  border-color: rgba(200, 255, 46, 0.52);
  color: var(--primary);
}

.news-nav-left {
  left: -64px;
}

.news-nav-right {
  right: -64px;
}

.news-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.news-indicator {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: 0.2s ease;
}

.news-indicator.active {
  background: var(--primary);
  transform: scale(1.15);
}

/* JS Carousel Visibility */
.js-card-item {
  display: none;
}

.js-card-item.active {
  display: block;
}

/* Detail Page */
.detail-content {
  max-width: 900px;
}

.detail-image {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.detail-content h2 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  margin-bottom: 18px;
}

.detail-content p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.detail-description {
  color: #d7dce5 !important;
  font-size: 20px !important;
  font-weight: 500;
}

.detail-back {
  margin-top: 24px;
}

/* Footer */
footer {
  background: #111318;
  color: var(--white);
  padding: 54px 0 26px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  margin-bottom: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand .brand-logo {
  width: 58px;
  height: 58px;
  background: transparent;
}

.footer-brand .brand-logo-image {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

footer p,
footer a {
  color: var(--muted);
  font-size: 14px;
}

footer h4 {
  margin-bottom: 12px;
  color: var(--primary);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-inner {
    display: flex;
    justify-content: center;
  }

  .brand {
    justify-self: unset;
  }

  .nav-menu {
    display: none;
  }

  .hero-carousel {
    height: 510px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: clamp(42px, 9vw, 68px);
  }

  .hero-nav {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    width: calc((100% - 22px) / 2);
  }

  .content-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-nav-left {
    left: -18px;
  }

  .news-nav-right {
    right: -18px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav-inner {
    height: 68px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-logo-image {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 15px;
  }

  .brand small {
    font-size: 12px;
  }

  .hero-carousel {
    height: 470px;
  }

  .hero-slide-content {
    align-items: center;
  }

  .hero-badge {
    padding: 8px 14px;
    font-size: 12px;
    margin-bottom: 18px;
  }

  .hero-text h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .hero-text p {
    font-size: 16px;
    margin-bottom: 26px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .hero-nav-left {
    left: 12px;
  }

  .hero-nav-right {
    right: 12px;
  }

  .hero-dots {
    bottom: 18px;
  }

  .service-card {
    width: 100%;
  }

  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 72px 0 56px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .footer-brand .brand-logo {
    width: 50px;
    height: 50px;
  }

  .footer-brand .brand-logo-image {
    width: 50px;
    height: 50px;
  }

  .about-image {
    min-height: 300px;
  }

  section {
    padding: 58px 0;
  }

  .news-carousel-grid {
    grid-template-columns: 1fr;
  }

  .news-card:nth-child(n + 2) {
    display: none;
  }

  .news-nav {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .news-nav-left {
    left: -10px;
  }

  .news-nav-right {
    right: -10px;
  }

  .news-card-image {
    height: 180px;
  }

  .detail-image {
    height: 260px;
  }

  .detail-content p {
    font-size: 16px;
  }

  .detail-description {
    font-size: 18px !important;
  }

  .about-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}