:root {
      --primary: #1e3a5f;
      --primary-dark: #152a45;
      --secondary: #c9a227;
      --secondary-light: #e6c96c;
      --accent: #3b82f6;
      --bg-light: #f8fafc;
      --bg-white: #ffffff;
      --text-dark: #1e293b;
      --text-gray: #64748b;
      --text-light: #94a3b8;
      --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.3);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      --radius: 12px;
      --radius-lg: 20px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ========== ANIMATIONS ========== */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes pulse-gold {

      0%,
      100% {
        box-shadow: var(--shadow-gold);
      }

      50% {
        box-shadow: 0 4px 30px rgba(201, 162, 39, 0.6);
      }
    }

    @keyframes gradient-shift {
      0% {
        background-position: 0% 50%;
      }

      50% {
        background-position: 100% 50%;
      }

      100% {
        background-position: 0% 50%;
      }
    }

    .animate-fade-in {
      animation: fadeInUp 0.6s ease-out forwards;
      opacity: 0;
    }

    .animate-fade-in.delay-1 {
      animation-delay: 0.1s;
    }

    .animate-fade-in.delay-2 {
      animation-delay: 0.2s;
    }

    .animate-fade-in.delay-3 {
      animation-delay: 0.3s;
    }

    .animate-fade-in.delay-4 {
      animation-delay: 0.4s;
    }

    .animate-float {
      animation: float 3s ease-in-out infinite;
    }

    .animate-pulse-gold {
      animation: pulse-gold 2s ease-in-out infinite;
    }

    .gradient-bg {
      background: linear-gradient(-45deg, var(--primary), var(--primary-dark), #2c5282, var(--primary));
      background-size: 400% 400%;
      animation: gradient-shift 15s ease infinite;
    }

    /* ========== HEADER ========== */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    header.scrolled {
      padding: 8px 0;
      background: rgba(255, 255, 255, 0.98);
    }

    .header-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 12px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .logo-icon {
      width: 48px;
      height: 48px; 
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 20px;
      font-weight: 700;
      box-shadow: var(--shadow-gold);
    }

    .logo-text {
      display: flex;
      flex-direction: column;
    }

    .logo-text h1 {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.5px;
    }

    .logo-text span {
      font-size: 0.75rem;
      color: var(--text-gray);
      font-weight: 500;
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 8px;
    }

    nav a {
      padding: 10px 18px;
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 500;
      font-size: 0.95rem;
      border-radius: 8px;
      transition: var(--transition);
      position: relative;
    }

    nav a:hover,
    nav a.active {
      color: var(--primary);
      background: rgba(30, 58, 95, 0.08);
    }

    nav a.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 50%;
      transform: translateX(-50%);
      width: 20px;
      height: 3px;
      background: var(--secondary);
      border-radius: 2px;
    }

    .btn-login {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      padding: 10px 24px;
      border: none;
      border-radius: 10px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: var(--shadow);
      text-decoration: none;
    }

    .btn-login:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
      background: linear-gradient(135deg, var(--primary-dark), #0f1f35);
    }

    .btn-login i {
      font-size: 1rem;
    }

    .mobile-toggle {
      display: none;
      font-size: 1.5rem;
      background: none;
      border: none;
      color: var(--primary);
      cursor: pointer;
    }

    /* ========== HERO SECTION ========== */
   .hero {
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, rgba(28, 50, 170, 0.95), rgba(4, 25, 75, 0.98));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Layer animasi */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.15), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.15), transparent 40%);
    animation: floatBg 12s ease-in-out infinite alternate;
    z-index: 0;
}

/* SVG tetap jadi texture */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800'><circle cx='200' cy='150' r='80' fill='%23c9a227' opacity='0.08'/><circle cx='1200' cy='600' r='120' fill='%23c9a227' opacity='0.06'/><circle cx='600' cy='400' r='60' fill='%233b82f6' opacity='0.08'/></svg>") center/cover;
    animation: movePattern 30s linear infinite;
    z-index: 0;
}

/* Konten di atas */
.hero > * {
    position: relative;
    z-index: 1;
}

/* Animasi floating gradient */
@keyframes floatBg {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-40px, -30px) scale(1.1);
    }
}

/* Animasi pattern bergerak */
@keyframes movePattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 100px;
    }
}

    .hero-content {
      max-width: 900px;
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(201, 162, 39, 0.2);
      color: var(--secondary-light);
      padding: 8px 20px;
      border-radius: 50px;
      font-size: 0.875rem;
      font-weight: 500;
      margin-bottom: 24px;
      border: 1px solid rgba(201, 162, 39, 0.4);
      animation: fadeIn 0.5s ease-out;
    }

    .hero h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 20px;
      line-height: 1.2;
      animation: fadeInUp 0.7s ease-out;
    }

    .hero h1 span {
      color: var(--secondary-light);
      position: relative;
    }

    .hero h1 span::after {
      content: '';
      position: absolute;
      bottom: 8px;
      left: 0;
      width: 100%;
      height: 12px;
      background: rgba(201, 162, 39, 0.3);
      border-radius: 8px;
      z-index: -1;
    }

    .hero p {
      font-size: 1.25rem;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 36px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      animation: fadeInUp 0.7s ease-out 0.15s both;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      animation: fadeInUp 0.7s ease-out 0.3s both;
    }

    .btn-hero {
      padding: 14px 32px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 1rem;
      text-decoration: none;
      transition: var(--transition-smooth);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
      color: var(--primary-dark);
      box-shadow: var(--shadow-gold);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
    }

    .btn-outline {
      background: transparent;
      color: white;
      border: 2px solid rgba(255, 255, 255, 0.4);
    }

    .btn-outline:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: white;
      transform: translateY(-3px);
    }

    /* ========== TRACKING SECTION ========== */
    .tracking-section {
      padding: 60px 24px;
      background: var(--bg-white);
      margin: -40px 24px 0;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;
      position: relative;
      z-index: 10;
      animation: fadeInUp 0.8s ease-out 0.4s both;
    }

    .tracking-section h3 {
      text-align: center;
      font-size: 1.5rem;
      margin-bottom: 8px;
      color: var(--primary);
    }

    .tracking-section p {
      text-align: center;
      color: var(--text-gray);
      margin-bottom: 24px;
      font-size: 0.95rem;
    }

    .tracking-form {
      display: flex;
      gap: 12px;
      max-width: 600px;
      margin: 0 auto;
      flex-wrap: wrap;
      justify-content: center;
    }

    .tracking-form input {
      flex: 1;
      min-width: 200px;
      padding: 14px 20px;
      border: 2px solid #e2e8f0;
      border-radius: 10px;
      font-size: 1rem;
      transition: var(--transition);
      background: var(--bg-light);
    }

    .tracking-form input:focus {
      outline: none;
      border-color: var(--accent);
      background: white;
      box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    }

    .tracking-form button {
      background: var(--primary);
      color: white;
      padding: 14px 28px;
      border: none;
      border-radius: 10px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .tracking-form button:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }

    /* ========== SECTIONS COMMON ========== */
    section {
      padding: 80px 24px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 50px;
    }

    .section-header h2 {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 12px;
      position: relative;
      display: inline-block;
    }

    .section-header h2::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: var(--secondary);
      border-radius: 2px;
    }

    .section-header p {
      color: var(--text-gray);
      max-width: 600px;
      margin: 20px auto 0;
      font-size: 1.05rem;
    }

    /* ========== DOCUMENTS SECTION ========== */
    .documents-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
}

/* Hover Effect Premium */
.doc-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Icon lebih hidup */
.doc-card .doc-icon {
  font-size: 28px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.doc-card:hover .doc-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Judul lebih elegan */
.doc-card h4 {
  margin-bottom: 10px;
  font-weight: 600;
}

/* Deskripsi */
.doc-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

    .doc-link {
      color: var(--accent);
      text-decoration: none;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: var(--transition);
    }

    .doc-link:hover {
      gap: 10px;
      color: var(--primary);
    }

    /* ========== VIDEO GALLERY ========== */
    .video-section {
      background: var(--bg-light);
    }

    .video-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 28px;
    }

    .video-card {
      background: var(--bg-white);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition-smooth);
    }

    .video-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
    }

    .video-thumbnail {
      position: relative;
      padding-top: 56.25%;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      overflow: hidden;
    }

    .video-thumbnail::after {
      content: '▶';
      position: absolute;
      width: 70px;
      height: 70px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 1.5rem;
      font-weight: 700;
      transition: var(--transition-smooth);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .video-thumbnail:hover::after {
      transform: scale(1.1);
      background: white;
    }

    .video-content {
      padding: 22px;
    }

    .video-tag {
      display: inline-block;
      padding: 4px 12px;
      background: rgba(59, 130, 246, 0.1);
      color: var(--accent);
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
      margin-bottom: 12px;
    }

    .video-content h4 {
      font-size: 1.15rem;
      margin-bottom: 8px;
      color: var(--primary);
    }

    .video-content p {
      color: var(--text-gray);
      font-size: 0.95rem;
    }

    /* ========== FAQ SECTION ========== */
    .faq-container {
      max-width: 900px;
      margin: 0 auto;
    }

    .faq-tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 32px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .faq-tab {
      padding: 10px 20px;
      background: var(--bg-white);
      border: 2px solid #e2e8f0;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      transition: var(--transition);
      color: var(--text-gray);
    }

    .faq-tab.active,
    .faq-tab:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .faq-item {
      background: var(--bg-white);
      border-radius: var(--radius);
      margin-bottom: 16px;
      box-shadow: var(--shadow);
      overflow: hidden;
      border: 1px solid #e2e8f0;
      transition: var(--transition);
    }

    .faq-item:hover {
      border-color: var(--secondary-light);
    }

    .faq-question {
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: 500;
      color: var(--primary);
      transition: var(--transition);
    }

    .faq-question:hover {
      background: rgba(30, 58, 95, 0.03);
    }

    .faq-question i {
      transition: var(--transition);
      color: var(--secondary);
    }

    .faq-item.active .faq-question i {
      transform: rotate(45deg);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 24px;
      transition: max-height 0.4s ease, padding 0.4s ease;
      color: var(--text-gray);
      font-size: 0.98rem;
    }

    .faq-item.active .faq-answer {
      max-height: 500px;
      padding: 0 24px 20px;
    }

    /* ========== HELPDESK SECTION ========== */
    .helpdesk-section {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      text-align: center;
    }

    .helpdesk-section .section-header h2 {
      color: white;
    }

    .helpdesk-section .section-header h2::after {
      background: var(--secondary);
    }

    .helpdesk-section .section-header p {
      color: rgba(255, 255, 255, 0.85);
    }

    .helpdesk-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 24px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .helpdesk-card {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: var(--radius);
      padding: 28px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: var(--transition-smooth);
    }

    .helpdesk-card:hover {
      background: rgba(255, 255, 255, 0.18);
      transform: translateY(-4px);
    }

    .helpdesk-icon {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 18px;
      color: var(--primary-dark);
      font-size: 1.5rem;
    }

    .helpdesk-card h4 {
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .helpdesk-card p,
    .helpdesk-card a {
      color: rgba(255, 255, 255, 0.9);
      text-decoration: none;
      font-weight: 500;
      display: block;
      margin-top: 6px;
    }

    .helpdesk-card a:hover {
      color: var(--secondary-light);
    }

    .schedule-list {
      text-align: left;
      margin-top: 12px;
      font-size: 0.9rem;
    }

    .schedule-list li {
      margin: 4px 0;
      color: rgba(255, 255, 255, 0.85);
    }

    /* ========== FOOTER ========== */
    footer {
      background: var(--primary-dark);
      color: rgba(255, 255, 255, 0.8);
      padding: 50px 24px 24px;
    }

    .footer-content {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 32px;
    }

    .footer-brand .logo-text h1 {
      color: white;
      font-size: 1.3rem;
    }

    .footer-brand .logo-text span {
      color: rgba(255, 255, 255, 0.7);
    }

    .footer-brand p {
      margin-top: 16px;
      font-size: 0.95rem;
      line-height: 1.7;
    }

    .footer-links h4 {
      color: white;
      font-size: 1.1rem;
      margin-bottom: 18px;
      position: relative;
      padding-bottom: 10px;
    }

    .footer-links h4::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--secondary);
      border-radius: 2px;
    }

    .footer-links ul {
      list-style: none;
    }

    .footer-links a {
      display: block;
      color: rgba(255, 255, 255, 0.75);
      text-decoration: none;
      padding: 6px 0;
      transition: var(--transition);
      font-size: 0.95rem;
    }

    .footer-links a:hover {
      color: var(--secondary-light);
      padding-left: 4px;
    }

    .footer-bottom {
      max-width: 1400px;
      margin: 40px auto 0;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      text-align: center;
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.6);
    }

    .footer-bottom a {
      color: var(--secondary-light);
      text-decoration: none;
    }

    /* ========== SCROLL TO TOP ========== */
    .scroll-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
      color: var(--primary-dark);
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      box-shadow: var(--shadow-gold);
      opacity: 0;
      visibility: hidden;
      transition: var(--transition-smooth);
      z-index: 999;
    }

    .scroll-top.visible {
      opacity: 1;
      visibility: visible;
    }

    .scroll-top:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 992px) {
      .hero h1 {
        font-size: 2.5rem;
      }

      nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition-smooth);
        z-index: 999;
      }

      nav ul.active {
        transform: translateY(0);
      }

      .mobile-toggle {
        display: block;
      }
    }

    @media (max-width: 768px) {
      .hero {
        padding: 120px 20px 60px;
      }

      .hero h1 {
        font-size: 2rem;
      }

      .hero p {
        font-size: 1.1rem;
      }

      .tracking-section {
        margin: -30px 16px 0;
        padding: 40px 20px;
      }

      .tracking-form {
        flex-direction: column;
      }

      .tracking-form input,
      .tracking-form button {
        width: 100%;
      }

      section {
        padding: 60px 20px;
      }

      .section-header h2 {
        font-size: 1.7rem;
      }
    }

    @media (max-width: 480px) {
      .logo-text h1 {
        font-size: 1.2rem;
      }

      .logo-text span {
        font-size: 0.7rem;
      }

      .btn-login {
        padding: 8px 18px;
        font-size: 0.9rem;
      }

      .hero-buttons {
        flex-direction: column;
        align-items: center;
      }

      .btn-hero {
        width: 100%;
        max-width: 300px;
        justify-content: center;
      }
    }

    /* ========== UTILITIES ========== */
    .text-center {
      text-align: center;
    }

    .mb-4 {
      margin-bottom: 1rem;
    }

    .mt-4 {
      margin-top: 1rem;
    }

    .hidden {
      display: none;
    }

    /* Smooth reveal on scroll */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: var(--transition-smooth);
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }