/* SGN FUTURISTIC PREMIUM v5
   Lapisan visual tambahan untuk index.html yang sudah ada.
   Tidak mengubah HTML, JavaScript, URL login, form, paket, atau fitur website.
   Tempel/ganti isi public_html/css/sgn-futuristic.css dengan file ini.
*/

:root {
  --sgn-bg: #06101f;
  --sgn-panel: #0d1d33;
  --sgn-panel-2: #102641;
  --sgn-blue: #38bdf8;
  --sgn-blue-2: #2563eb;
  --sgn-violet: #8b5cf6;
  --sgn-text: #f4f8ff;
  --sgn-muted: #b8c8dd;
  --sgn-border: rgba(147, 197, 253, .22);
  --sgn-glow: 0 0 32px rgba(56, 189, 248, .14);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background-color: var(--sgn-bg) !important;
  background-image:
    radial-gradient(ellipse at 8% 4%, rgba(37, 99, 235, .22), transparent 34%),
    radial-gradient(ellipse at 92% 18%, rgba(139, 92, 246, .16), transparent 32%),
    linear-gradient(180deg, #06101f 0%, #08172a 48%, #050d19 100%) !important;
  color: var(--sgn-text) !important;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #fff;
  background: rgba(37, 99, 235, .72);
}

a, button, input, textarea, select {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease,
              box-shadow .22s ease, transform .22s ease;
}

header.fixed-header {
  background: rgba(4, 13, 28, .91) !important;
  border-bottom: 1px solid var(--sgn-border) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .24) !important;
}

header .logo-text a {
  letter-spacing: -.035em;
  text-shadow: 0 0 22px rgba(56, 189, 248, .13);
}

header img {
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, .24));
}

header a:hover,
header button:hover {
  color: #7dd3fc !important;
}

.main-nav a,
.main-nav button {
  font-weight: 500;
}

.main-nav a:hover,
.main-nav button:hover {
  text-shadow: 0 0 18px rgba(56, 189, 248, .35);
}

.dropdown-content {
  background: rgba(8, 24, 45, .98) !important;
  border: 1px solid var(--sgn-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .38) !important;
  backdrop-filter: blur(14px);
}

.dropdown-content a {
  color: #eaf3ff !important;
}

.dropdown-content a:hover {
  background: rgba(37, 99, 235, .2) !important;
  color: #7dd3fc !important;
}

.hero-section {
  min-height: 680px;
  isolation: isolate;
}

.hero-section .slideshow-container {
  background: #071629;
}

.hero-section .slideshow-container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 11, 23, .54), rgba(3, 11, 23, .14) 50%, rgba(3, 11, 23, .54)),
    linear-gradient(180deg, rgba(3, 11, 23, .12), rgba(3, 11, 23, .52));
}

.hero-section > .relative.z-10 {
  position: relative;
  z-index: 5 !important;
  background: linear-gradient(145deg, rgba(10, 29, 52, .88), rgba(5, 16, 32, .82)) !important;
  border: 1px solid rgba(125, 211, 252, .30);
  border-radius: 24px !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42), 0 0 58px rgba(37, 99, 235, .14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#heroTitle {
  color: #fff !important;
  text-wrap: balance;
  letter-spacing: -.045em;
  line-height: 1.08 !important;
  text-shadow: 0 4px 36px rgba(56, 189, 248, .22);
}

.hero-section p {
  color: #e0edff !important;
  line-height: 1.65;
}

.hero-section a[href="#packages"] {
  background: linear-gradient(100deg, #2563eb, #7c3aed) !important;
  border: 1px solid rgba(191, 219, 254, .28);
  box-shadow: 0 12px 32px rgba(37, 99, 235, .3);
}

.hero-section a[href="#packages"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .42);
}

section#packages,
section#coverage,
section#about,
section#contact {
  background: transparent !important;
  position: relative;
}

section#packages h2,
section#coverage h2,
section#about h2,
section#contact h2 {
  color: #f4f8ff !important;
  letter-spacing: -.035em;
}

section#packages h2::after,
section#coverage h2::after,
section#about h2::after,
section#contact h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sgn-blue), var(--sgn-violet));
  box-shadow: 0 0 18px rgba(56, 189, 248, .3);
}

#packages .grid > div,
#packages > .container > .mt-12.bg-white,
#contact .grid > div {
  color: var(--sgn-text) !important;
  background: linear-gradient(145deg, rgba(16, 38, 65, .97), rgba(6, 19, 38, .98)) !important;
  border: 1px solid var(--sgn-border) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
  overflow: hidden;
}

#packages .grid > div {
  position: relative;
}

#packages .grid > div::before,
#contact .grid > div::before {
  content: "";
  display: block;
  height: 3px;
  margin: -2rem -2rem 1.5rem;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .72), rgba(139, 92, 246, .72), transparent);
  opacity: .8;
}

#packages .grid > div:hover,
#contact .grid > div:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, .56) !important;
  box-shadow: 0 24px 65px rgba(16, 100, 220, .18), var(--sgn-glow);
}

#packages .grid > div:nth-child(2) {
  border-color: rgba(56, 189, 248, .65) !important;
  box-shadow: 0 20px 65px rgba(37, 99, 235, .18);
}

#packages h3,
#contact h3 {
  color: #7dd3fc !important;
}

#packages p,
#packages li,
#about p,
#contact p {
  color: var(--sgn-muted) !important;
}

#packages .text-gray-900,
#packages .dark\:text-gray-100 {
  color: #f4f8ff !important;
}

#packages .text-gray-700,
#packages .dark\:text-gray-300 {
  color: #c6d5e8 !important;
}

#packages .border-blue-600 {
  border-color: var(--sgn-blue) !important;
}

#packages .bg-blue-600,
#contact button.bg-blue-600,
#packages a.bg-blue-600 {
  background: linear-gradient(100deg, #2563eb, #7c3aed) !important;
  border: 1px solid rgba(125, 211, 252, .25);
  box-shadow: 0 9px 24px rgba(37, 99, 235, .2);
}

#packages a:hover,
#contact button:hover {
  filter: brightness(1.08);
}

#packages .bg-yellow-500 {
  background: linear-gradient(100deg, #d97706, #f59e0b) !important;
}

#packages a.bg-green-500 {
  background: linear-gradient(100deg, #059669, #10b981) !important;
  box-shadow: 0 12px 28px rgba(16, 185, 129, .18);
}

#packages .mt-12.bg-white {
  margin-top: 3rem;
}

#mapid {
  border: 1px solid var(--sgn-border) !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

#contact input,
#contact textarea,
#contact select {
  background: rgba(4, 14, 29, .78) !important;
  border: 1px solid var(--sgn-border) !important;
  border-radius: 12px !important;
  color: #f8fbff !important;
}

#contact input:focus,
#contact textarea:focus,
#contact select:focus {
  outline: none;
  border-color: rgba(56, 189, 248, .8) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .13) !important;
}

#contact input::placeholder,
#contact textarea::placeholder {
  color: #91a8c5 !important;
}

footer {
  color: #c9d7e9 !important;
  background: linear-gradient(180deg, #071426, #030914) !important;
  border-top: 1px solid var(--sgn-border);
}

footer p {
  color: #b8c8dd !important;
}

.modal-overlay {
  background: rgba(1, 7, 17, .78) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  background: linear-gradient(145deg, #10233d, #071426) !important;
  color: var(--sgn-text) !important;
  border: 1px solid var(--sgn-border) !important;
  border-radius: 22px !important;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .5) !important;
}

.modal-content h2,
.modal-content h3,
.modal-content h4 {
  color: #f4f8ff !important;
}

.modal-content p,
.modal-content label {
  color: var(--sgn-muted);
}

.modal-close-btn {
  color: #dbeafe !important;
}

.modal-close-btn:hover {
  color: #7dd3fc !important;
  transform: rotate(90deg);
}

.structure-member {
  background: rgba(15, 38, 65, .95) !important;
  border: 1px solid var(--sgn-border);
  border-radius: 14px !important;
}

.structure-member:hover {
  background: rgba(28, 62, 99, .95) !important;
}

.member-supporters {
  background: rgba(8, 25, 45, .95) !important;
  border: 1px solid var(--sgn-border);
}

#themeToggle {
  color: #fff !important;
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 30px rgba(37, 99, 235, .32);
}

#themeToggle:hover {
  transform: translateY(-3px) rotate(-6deg);
  box-shadow: 0 14px 36px rgba(37, 99, 235, .42);
}

:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  header.fixed-header {
    padding: .7rem .5rem !important;
  }

  header .logo-text {
    font-size: .98rem !important;
    line-height: 1.2;
  }

  header img {
    height: 2.4rem !important;
    width: auto;
  }

  .hero-section {
    min-height: 640px;
    height: 92vh !important;
  }

  .hero-section > .relative.z-10 {
    margin: 1rem;
    padding: 1.5rem !important;
    border-radius: 20px !important;
  }

  #heroTitle {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .hero-section p {
    font-size: 1rem !important;
  }

  #packages .grid > div {
    transform: none !important;
  }

  #packages .grid > div:hover,
  #contact .grid > div:hover {
    transform: none;
  }

  .main-nav {
    background: rgba(4, 13, 28, .98) !important;
    border-top: 1px solid var(--sgn-border);
    backdrop-filter: blur(16px);
  }

  .main-nav ul li {
    border-bottom: 1px solid rgba(147, 197, 253, .08);
  }

  .main-nav ul li:last-child {
    border-bottom: 0;
  }

  .main-nav ul li .dropdown-content {
    background: rgba(8, 24, 45, .98) !important;
  }

  #mapid {
    height: 360px !important;
  }

  .modal-content {
    padding: 1.25rem !important;
    max-height: 88vh !important;
    border-radius: 18px !important;
  }

  #packages .grid > div:nth-child(2) {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
