/* ==========================================================================
   PT. GONDOLA FIRDAUS PRATAMA JAYA - GLOBAL DESIGN SYSTEM
   ========================================================================== */

:root {
  /* ── Primary Palette ── */
  --bg-primary: #f4f7fb;
  --bg-secondary: #ffffff;
  --bg-tertiary: #eaf0fb;

  /* ── Accent: Orange ── */
  --accent: #ff7d00;
  --accent-hover: #ea6c00;
  --accent-light: #ffb347;
  --accent-gradient: linear-gradient(135deg, #ff9a2e 0%, #ff6a00 100%);
  --accent-glow: rgba(255, 125, 0, 0.25);

  /* ── Accent: Gold (hero alternate) ── */
  --accent-gold: #ff9f1c;
  --accent-gold-dark: #ff6b00;

  /* ── Accent: Blue ── */
  --accent-blue: #1a6dd4;
  --accent-blue-gradient: linear-gradient(135deg, #3b8de8 0%, #1a5fb4 100%);
  --accent-blue-glow: rgba(26, 109, 212, 0.2);

  /* ── Secondary Palette (stat cards / tabs) ── */
  --accent-green: #10b981;
  --accent-green-dark: #059669;
  --accent-amber: #f59e0b;
  --accent-amber-dark: #d97706;
  --accent-purple: #8b5cf6;
  --accent-purple-dark: #5f1ec3;

  /* ── Hero Dark Theme ── */
  --hero-bg: #030a16;
  --hero-text-muted: #abbcd0;

  /* ── Footer Dark Navy ── */
  --footer-bg: #0a1931;
  --footer-text: #8899b4;
  --footer-text-heading: #ffffff;
  --footer-text-bottom: rgba(255, 255, 255, 0.3);
  --footer-border: rgba(255, 255, 255, 0.06);

  /* ── WhatsApp Brand ── */
  --wa-color: #25d366;
  --wa-color-dark: #1da851;
  --wa-gradient: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
  --wa-glow: rgba(37, 211, 102, 0.4);
  --wa-bubble-bg: #f0f4f8;

  /* ── Text ── */
  --text-primary: #1a2744;
  --text-secondary: #4a5b75;
  --text-muted: #7b8da6;

  /* ── Borders & Shadows ── */
  --border-color: rgba(26, 109, 212, 0.1);
  --border-hover: rgba(26, 109, 212, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-blur: blur(16px);
  --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 39, 68, 0.09);
  --shadow-lg: 0 8px 36px rgba(26, 39, 68, 0.12);

  /* ── Misc ── */
  --scrollbar-color: #c5d0de;
  --mobile-border: #f1f3f4;

  /* ── Typography & Layout ── */
  --font-title: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE STYLES, RESET & ANTI-ZOOM
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* KODE ANTI ZOOM OTOMATIS DI HP */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1.6rem;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  /* Mencegah layar geser ke samping */
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-blue);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-color);
  border: 2px solid var(--bg-primary);
  border-radius: 10px;
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px !important;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1a2744 30%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title span {
  color: var(--accent);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================================================
   GLOBAL BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.15);
}

.highlight {
  color: var(--accent);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #1a2744 30%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-aos] {
  transition-property: transform, opacity;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-dots {
  display: flex;
  gap: 10px;
}

.loader-dots span {
  width: 14px;
  height: 14px;
  background: var(--accent-gradient);
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.loader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  to {
    transform: translateY(-16px);
    opacity: 0.4;
  }
}

.hero-preloader {
  display: none;
}

/* ─── Anti-Scraping Protection ─── */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, [contenteditable] {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* ==========================================================================
   UTILITY: BACK-LINK, GLASS CARD, CITY BADGE
   ========================================================================== */
.back-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  transition: color 0.3s;
  padding: 6px 0;
}
.back-link:hover {
  color: #ffb347;
}
.back-link-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.glass-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(26,39,68,0.06);
}

.city-badge {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.testimonial-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(26,39,68,0.06);
}

.avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,125,0,0.2);
}

/* Popup notifikasi */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popup-box {
  background: var(--bg-primary,#fff);
  padding: 2.2rem;
  border-radius: 12px;
  text-align: center;
  font-size: 1.5rem;
}
.popup-box b { display: block; }
.popup-close {
  margin-top: 15px;
  padding: 8px 20px;
  background: var(--accent,#ff7d00);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}