/* FONT */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

/* --- Variables --- */
:root {
  --primary-bg: #111111;
  --secondary-bg: #1d1d1d;
  --card-bg: #141414;
  --accent-color: #00ff9d;
  --accent-hover: #00cc7d;
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-solid: #222222;
  --glass-bg: rgba(20, 20, 20, 0.6);
  --glass-border: rgba(255, 255, 255, 0.05);
  --font-family: "Plus Jakarta Sans", sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- GLOBAL OVERFLOW FIX --- */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  position: relative;
}

* { 
  box-sizing: border-box; 
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; font-size: 62.5%; }

body {
  background: var(--primary-bg);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  user-select:none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

.container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 2.4rem;
    width: 100%; 
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3 { font-weight: 700; color: var(--text-main); letter-spacing: -0.03em; }
h1 { font-size: 5.6rem; line-height: 1.1; margin-bottom: 2rem; }
h2 { font-size: 3.6rem; margin-bottom: 1rem; }
h3 { font-size: 2rem; }
p { font-size: 1.6rem; color: var(--text-muted); }

.text-accent { color: var(--accent-color); }
.section-padding { padding: 10rem 0; }
.bg-darker { background: var(--secondary-bg);}

.section-header { text-align: center; margin-bottom: 6rem; }
.section-subtitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* --- Header --- */
.main-header {
  position: fixed; width: 100%; z-index: 1000;
  padding: 2rem 0;
  transition: var(--transition);
  background: transparent;
  top: 0; left: 0;
}
.main-header.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2.4rem; font-weight: 800; display: flex; align-items: center; gap: 0.8rem; color: white;}
.main-nav ul { display: flex; gap: 3rem; align-items: center;}
.main-nav a { font-size: 1.5rem; font-weight: 500; color: var(--text-main); }
.main-nav a:hover { color: var(--accent-color); }
.hamburger-menu { display: none; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.2rem 2.4rem;
  border-radius: 5rem;
  font-weight: 600;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.8rem;
  white-space: nowrap;
}
.btn-primary { background: white; color: black!important; }
.btn-primary:hover { background: #e0e0e0; transform: translateY(-2px); }

.btn-accent { background: var(--accent-color); color: #000; border: none; outline: none;}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 0 30px rgba(0, 255, 157, 0.5); }

.btn-outline { background: transparent; border: 1px solid var(--border-color); color: white; }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* --- Hero Section --- */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  width: 100%;
}
.hero-video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  z-index: -2;
  filter: grayscale(100%) brightness(0.5);
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0, 255, 157,.2) 0%, var(--primary-bg) 95%);
  z-index: -1;
}
.hero-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
  position: relative;
  width: 100%;
}
.badge-hero {
  display: inline-block;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--accent-color);
  backdrop-filter: blur(4px);
}

/* --- Glass Panel & Form --- */
.glass-panel {
  box-sizing: border-box;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 2rem;
}
.track-form-container {
  box-sizing: border-box;
  background: rgb(29, 29, 29, .8);
  max-width: 100%;
  margin: 0;
}
.track-form-container h2 {
  color: var(--text-main);
  font-size: 2rem;
  padding: 0;
  margin: 0 0 2rem 0;
}
#trackingForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.input-group {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  padding: 0 1.6rem;
  transition: var(--transition);
}
.input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.1);
}
.input-group i {
  color: var(--text-muted);
  font-size: 1.5rem;
}
.input-group input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 1.2rem;
  color: white;
  font-size: 1.5rem;
  outline: none;
}
.track-hint {
  display: block;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.2rem;
  text-align: center;
}

/* --- Sliders --- */
#clients {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.swiper, .swiper-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.client-slider .swiper-slide {
  background: var(--primary-bg);
  display: flex; 
  justify-content: center; 
  align-items: center; 
  height: 100px; 
  width: auto;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}
.client-slider img {
  max-width: 150px;
  width: 100%;
  height: auto;
  filter: grayscale(100%) brightness(1000%);
  transition: var(--transition);
}
.swiper-slide:hover {
  background: var(--text-main);
}
.client-slider img:hover { filter: grayscale(0%) opacity(1); }

/* --- Grid & Cards --- */
.glass-card {
  background: radial-gradient(circle at top right, rgba(0, 255, 157, 0.3), transparent 40%), var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.6rem;
  padding: 3.2rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}
.icon-box {
  width: 5rem; height: 5rem;
  background: rgba(0, 255, 157, 0.1);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-color);
  font-size: 2rem;
}

.superiority-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.services-grid {
  display: grid; 
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
  width: 100%;
}
.stat-item { text-align: center; }
.stat-item h3 { font-size: 4.2rem; color: var(--accent-color); margin-bottom: 0.5rem; }
.stat-item p { color: var(--text-muted); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 1px; }

.service-card {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 1.6rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover { border-color: var(--accent-color); }
.service-icon {
  font-size: 3rem; color: var(--text-main); margin-bottom: 2rem;
  transition: var(--transition);
}
.service-card:hover .service-icon { color: var(--accent-color); transform: scale(1.1); }

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.coverage-region {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    padding: 2.5rem;
    transition: var(--transition);
}

.coverage-region:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.region-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.coverage-region h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.coverage-list {
    margin: 0;
    padding: 0;
}

.coverage-list li {
    color: var(--text-muted);
    font-size: 1.4rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.coverage-list li:last-child {
    border-bottom: none;
}

/* --- ABOUT --- */
.about-box {
    background:url("https://putranaga.com/assets/styles/portfolio-bg.jpg");
  background-size: cover;
  background-position: center;
  border-radius:2rem;
  overflow: hidden;
  border: 0.1rem solid var(--border-solid);
}
.about-overlay {
    background-color: rgba(17, 17, 17, .9);
background-image: radial-gradient(circle at top right, rgba(0, 255, 157, 0.3), transparent 40%);
    display: flex;
  justify-content: space-between;
  align-items: center;
    padding: 2rem;
}
.about-content { max-width: 600px; }
.badge-accent { color: var(--accent-color); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; margin-bottom: 1rem; display: block;}
.about-image { box-sizing: border-box; display: flex; gap: 1.5rem; justify-content: center; align-items: center; }
.about-image img {width: 50%;}

/* --- CTA --- */
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(0, 255, 157, 0.3), transparent 40%), var(--card-bg);
}
.cta-content { max-width: 600px; }
.badge-accent { color: var(--accent-color); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; margin-bottom: 1rem; display: block;}
.cta-actions { display: flex; gap: 1.5rem; }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 2rem 0; }
.faq-question {
  font-size: 1.8rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: white;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding-top: 1.5rem; color: var(--text-muted); }
.faq-item.active .faq-question { font-size: 1.5rem; color: var(--accent-color); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { font-size: 1.5rem; max-height: 100%; }

/* --- Footer --- */
.main-footer {
  border-top: 1px solid var(--border-color);
  padding: 6rem 0 2rem;
  background: black;
  width: 100%;
}
.footer-content {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4rem;
}
.footer-brand h3 { font-size: 2.4rem; }
.footer-links { display: flex; gap: 3rem; }
.footer-links a { color: var(--text-muted); font-size: 1.4rem; }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; color: rgba(255,255,255,0.2); font-size: 1.2rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem;}

/* --- Modal & Loader --- */
.modal { display: none; position: fixed; inset: 0; background: rgb(29, 29, 29, .8); backdrop-filter: blur(5px); z-index: 2000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; }
.modal.visible { display: flex; opacity: 1; }
.modal-content { width: 90%; max-width: 500px; position: relative; max-height: 90vh; overflow-y: auto; }
.close-modal-btn { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2.4rem; cursor: pointer; color: white; z-index: 10;}

.loader { border: 3px solid rgba(255,255,255,0.1); border-top: 3px solid var(--accent-color); width: 40px; height: 40px; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- Cursor Glow (FIXED) --- */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px; 
  height: 400px;
  background: radial-gradient(
    circle, 
    rgba(0, 255, 157, 0.2) 0%, 
    rgba(0, 255, 157, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

/* --- Animations --- */
.animate-on-scroll, .animate-on-load { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-on-scroll.visible, .animate-on-load { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 6rem;}
  .track-form-container { margin: 0 auto; width: 100%; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--secondary-bg); padding: 2rem; flex-direction: column; border-bottom: 1px solid var(--border-color); }
  .main-nav.active { display: flex; }
  .main-nav ul { flex-direction: column; gap: 1.5rem; text-align: center; margin: 0; padding: 0;}
  .hamburger-menu { display: block; }
  .stats-grid, .services-grid, .footer-content { grid-template-columns: repeat(2, 1fr); display: grid; gap: 3rem; }
  .footer-content { text-align: center; justify-content: center; }
  .footer-links { flex-direction: column; gap: 1rem; margin-top: 2rem; }
  .about-overlay { flex-direction: column; text-align: center; gap: 3rem; padding: 4rem 2rem; }
  .cta-box { flex-direction: column; text-align: center; gap: 3rem; padding: 4rem 2rem; }
  .cta-actions { width: 100%; flex-direction: column; }
  .about-image { width: 100%; flex-direction: column; }
  .about-image img {width: 100%;}
  .btn { width: 100%; }
  h1 { font-size: 3.6rem; }
}
@media (max-width: 768px) {
  .superiority-grid, .services-grid, .stats-grid, .coverage-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.6rem; }
  .stat-item h3 { font-size: 3.2rem; }
  .swiper, .swiper-container { padding-bottom: 3rem; }
}
