/* ==========================================================================
   STYLE.CSS - PROMOSI PEMASANGAN WIFI (XL HOME & FIBER)
   Palette: Deep Blue (#00468C), Electric Green (#70C922), Sky Blue (#00A3E0)
   ========================================================================== */

:root {
  --primary-blue: #00468c;
  --dark-blue: #032d60;
  --navy-blue: #072146;
  --accent-cyan: #00a3e0;
  --electric-green: #70c922;
  --green-hover: #5ea81b;
  --light-bg: #f4f7fb;
  --card-border: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --shadow-soft: 0 10px 25px -5px rgba(0, 70, 140, 0.08), 0 8px 10px -6px rgba(0, 70, 140, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(0, 70, 140, 0.16);
  --radius-lg: 16px;
  --radius-md: 12px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

/* Typography & General */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--navy-blue);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* Announcement Top Bar */
.announcement-bar {
  background: linear-gradient(90deg, var(--navy-blue) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 500;
}

/* Navbar */
.navbar-brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}
.navbar-brand-text span {
  color: var(--electric-green);
}
.nav-link {
  font-weight: 600;
  color: var(--navy-blue) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-blue) !important;
  background-color: rgba(0, 70, 140, 0.06);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #072146 0%, #00468c 60%, #00a3e0 100%);
  color: #ffffff;
  padding: 60px 0 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(112, 201, 34, 0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 580px;
  margin-bottom: 30px;
}

/* Buttons */
.btn-electric-green {
  background-color: var(--electric-green);
  color: #ffffff;
  font-weight: 700;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(112, 201, 34, 0.4);
  transition: all 0.2s ease;
}
.btn-electric-green:hover {
  background-color: var(--green-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(112, 201, 34, 0.5);
}
.btn-whatsapp-cta {
  background-color: #25d366;
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}
.btn-whatsapp-cta:hover {
  background-color: #1ebc59;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-blue);
}

/* Pricing Cards */
.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}
.product-card.featured-card {
  border: 2px solid var(--accent-cyan);
}
.card-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--electric-green) 0%, #48a010 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(112, 201, 34, 0.3);
  z-index: 2;
}
.card-header-gradient {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  padding: 24px 20px;
  text-align: center;
  border-bottom: 3px solid var(--electric-green);
}
.card-header-fwa {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}
.speed-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}
.speed-unit {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}
.price-tag {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-blue);
}
.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.installation-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.installation-gratis {
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.installation-fee {
  background-color: #f1f5f9;
  color: #475569;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 0.9rem;
}
.features-list li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
}
.features-list li i {
  color: var(--electric-green);
  font-size: 1.1rem;
}

/* Feature Pillars (Keunggulan) */
.feature-box {
  background: #ffffff;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  text-align: center;
  height: 100%;
  transition: all 0.25s;
}
.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}
.feature-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(0, 70, 140, 0.1) 0%, rgba(0, 163, 224, 0.15) 100%);
  color: var(--primary-blue);
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50px;
  padding: 12px 22px 12px 16px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  animation: pulse-wa 2.5s infinite;
  transition: all 0.3s ease;
}
.floating-wa-btn:hover {
  background-color: #1ebc59;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
.site-footer {
  background-color: var(--navy-blue);
  color: #cbd5e1;
  padding: 60px 0 30px 0;
  margin-top: 60px;
}
.site-footer a {
  color: #94a3b8;
}
.site-footer a:hover {
  color: #ffffff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 0.85rem;
}

/* Admin Login Pill in Footer */
.admin-login-pill {
  font-size: 0.8rem;
  opacity: 0.75;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
}
.admin-login-pill:hover {
  opacity: 1;
  color: #ffffff !important;
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
}
