:root {
  --bg: #F8FAFC;
  --navy: #0C1A27;
  --muted: #4A5B6B;
  --accent: #3498db;
  --accent-hover: #2980b9;
  --gold: #D0A567;
  --radius: 14px;
  --max: 1080px;
  font-family: Inter, -apple-system, system-ui, sans-serif;
}

/* Base */
body { margin: 0; background: var(--bg); color: var(--navy); }
.container { max-width: var(--max); margin: auto; padding: 20px 20px; }

/* Navbar */
.navbar {
  background: white;
  border-bottom: 1px solid #e5e8ec;
  position: sticky; top: 0; z-index: 99999;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 22px; font-weight: 700; }
.menu a {
  margin-left: 20px; color: var(--muted); text-decoration: none; font-weight: 600;
  transition: color 0.2s ease;
}
.menu a:hover {
  color: var(--accent);
  text-decoration: none;
}
.btn-nav {
  padding: 8px 14px; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent);
}

/* Hero */
.hero { padding: 40px 0 0x 0; text-align: center; }
.hero h1 { font-size: 42px; margin-bottom: 16px; }
.hero p { max-width: 600px; margin: auto; color: var(--muted); }
.hero-actions { margin-top: 24px; display: flex; justify-content: center; gap: 16px; }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white; padding: 14px 22px; border-radius: var(--radius);
  text-decoration: none; font-weight: 700; display: inline-block; z-index: 9999;
}
.btn-ghost {
  border: 1px solid #d1d6da; padding: 14px 22px; border-radius: var(--radius);
  text-decoration: none; color: var(--navy); font-weight: 600;
}
/* Disabled / Coming Soon Button */
.btn-disabled {
  display: inline-block;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: #e5e8ec;
  color: #9aa4af;
  font-weight: 700;
  cursor: not-allowed;
  user-select: none;
  border: 1px dashed #cfd6dd;
}
@media (prefers-color-scheme: dark) {
  .btn-disabled {
    background: #222a33;
    color: #6b7682;
    border-color: #3a4552;
  }
}
.small { padding: 10px 18px; }

/* Section */
.section { padding: 0 20px; }
.section-title { text-align: center; font-size: 28px; margin-bottom: 30px; margin-top: -70px; padding-top: 100px; }

/* Cards */
.card {
  background: white; padding: 24px; border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price-card { background: white; padding: 10px 28px 28px 28px; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.04); display: flex; flex-direction: column; }
.price-card .feature-list { flex: 1; }
.price-card .btn-primary { margin-top: auto; }
.price-card.highlight { border: 2px solid var(--accent); transform: scale(1.02); }
.price { font-size: 30px; margin: 10px 0 20px; font-weight: 700; }
.price-card ul { padding-left: 8px; color: var(--muted); }

/* About */
.about-text { max-width: 700px; margin: auto; text-align: center; color: var(--muted); }

/* Contact */
.contact-form {
  max-width: 600px; margin: auto; display: flex; flex-direction: column; gap: 14px;
}
.contact-form input, .contact-form textarea {
  padding: 12px; border-radius: 10px; border: 1px solid #d4d8dd; font-size: 15px;
}
.flash { text-align: center; padding: 10px; border-radius: 8px; margin-bottom: 20px; }
.success { background: #d1fae5; border: 1px solid #10b981; }

/* Footer outer */
.footer {
  background: #f8fafc;
  padding: 48px 0;
  color: var(--muted);
  border-top: 1px solid #e6eef2;
}

/* inner grid: two columns, spaced apart */
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* left and right columns */
.footer-left,
.footer-right {
  flex: 1 1 0;
  min-width: 0;
}

/* Make right column narrower */
.footer-right { max-width: 360px; }

/* headings */
.footer-left h4,
.footer-right h4 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* muted paragraph style */
.footer-left p,
.footer-right p,
.footer-links li {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

/* links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}
.footer-links li a,
.footer-left a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links li a:hover,
.footer-left a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* footer meta (small) */
.footer-meta { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Responsive: stack vertically on small screens */
@media (max-width: 880px) {
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-right { max-width: none; }
  .footer-left, .footer-right { text-align: left; }
}

/* Responsive */
@media(max-width: 900px){
  .grid-3, .pricing-grid, .grid-2 { grid-template-columns: 1fr; }
  .menu { display: none; }
}

/* ============================================================
   MOBILE HAMBURGER MENU
   ============================================================ */
     
/* Hamburger Button - properly positioned */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 6px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  box-sizing: border-box;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Mobile Menu Overlay - full screen fade in */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  animation: fadeIn 0.2s ease;
}

/* Mobile Menu Container - centered popup box */
.mobile-menu {
  position: fixed;
  top: -112px;
  left: 68%;
  transform: translate(-50%, 50%);
  background: white;
  border-radius: 8px;
  padding: 24px;
  min-width: 220px;
  max-width: 90vw;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 100000;
  animation: fadeIn 0.25s ease;
  box-sizing: border-box;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 8px;
}

.mobile-menu a:hover {
  background: rgba(52,152,219,0.1);
  color: var(--accent);
}

.mobile-menu a:last-child { 
  border-bottom: none; 
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  text-align: center;
  margin-top: 8px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popupIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Show hamburger on mobile only */
@media (max-width: 900px) {
  .hamburger { display: flex; }
}


/* Hover Glow for Pricing Cards */
.hover-glow {
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.hover-glow:hover {
  transform: translateY(-6px);
  border: 1px solid rgba(52,152,219,0.4);
  box-shadow: 0 18px 36px rgba(52,152,219,0.22);
}

/* Footer Styling */
.footer {
  background: #f8fafc;
  padding: 40px 0;
  margin-top: 80px;
  border-top: 1px solid #e5e8ec;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: #4a5b6b;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  margin-top: 28px;
  color: #64748b;
  font-size: 14px;
}

/* Login Button */
.btn-login {
  margin-left: 16px;
  margin-right: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #cfd9e3;
  color: #0c1a27;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-login:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover)) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(52,152,219,0.35);
  transform: translateY(-2px);
}

/* ============================================================
   DARK MODE — SOFT PREMIUM THEME (Not too dark)
   ============================================================ */
    
@media (prefers-color-scheme: dark) {
  :root {
    /* Softer backgrounds (not black) */
    --bg: #11161C;            /* soft charcoal blue */
    --footer-bg: #141A21;     /* slightly lighter footer */
    
    /* Text Colors */
    --navy: #F4F7FB;          /* softer, not overly white */
    --muted: #B3BEC9;         /* soft neutral slate */
    
    /* Accents - Blue */
    --accent: #3498db;
    --accent-hover: #2980b9;
    --gold: #D9B574;
    
    /* Cards */
    --card-bg: #1A2129;       /* soft navy-charcoal */
    --card-border: #27313B;
    --soft-border: #323E4A;
  }
  
  /* Navbar */
  .navbar {
    background: rgba(20,26,33,0.82);
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
  }
  
  /* Cards */
  .card,
  .price-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25); /* softer shadow */
  }
  
  /* Form */
  .contact-form input,
  .contact-form textarea {
    background: #141A21;
    border: 1px solid var(--soft-border);
    color: var(--navy);
  }
  
  /* Footer */
  .footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--card-border);
  }
  
  .footer-left p,
  .footer-right p,
  .footer-links a,
  .footer-meta {
    color: var(--muted);
  }
  
  .footer-links a:hover {
    color: var(--navy);
  }
  
  /* Glow */
  .hover-glow:hover {
    border-color: rgba(52,152,219,0.65);
    box-shadow: 0 0 30px rgba(52,152,219,0.26);
  }
  
  /* Login Button Dark Mode */
  .btn-login {
    border-color: var(--soft-border);
    color: var(--navy);
  }
  
  .btn-login:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: var(--accent);
    color: white;
    box-shadow: 0 6px 20px rgba(52,152,219,0.45);
    transform: translateY(-2px);
  }
  
  /* Mobile Menu Dark Mode */
  .mobile-menu {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  }
  
  .mobile-menu a {
    color: var(--navy);
    border-bottom: 1px solid var(--card-border);
  }
  
  .mobile-menu a:hover {
    background: rgba(52,152,219,0.15);
    color: var(--accent);
  }
  
  .mobile-menu a:last-child {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #ffffff;
    border-bottom: none;
  }
  
  /* Hamburger Dark Mode */
  .hamburger {
    border-color: var(--navy);
  }
  
  .hamburger span {
    background: var(--navy);
  }
}

/* ============================
   Brand Logo Styling
   ============================ */
    
.brand {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  gap: 10px;
}

.brand-logo {
  height: 28px;
  width: 28px;
  object-fit: contain;
}

/* Dark mode logo adjustment (optional) */
@media (prefers-color-scheme: dark) {
  .brand-logo {
    filter: brightness(0.9); /* prevents logo from being too bright */
  }
}

.section-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.section-visual-img {
  max-width: 100%;
  width: 73%;
  opacity: 0.85;
}


.card-with-image {
  position: relative;
  overflow: hidden;
}

.card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}



/* HERO SPLIT (Feedloop-style) */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  align-items: center;
  gap: 100px;
  padding: 120px 20px 100px;
  text-align: left;
}

.hero-left h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-left p {
  max-width: 600px;
  margin: 0 0 28px 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(52,152,219,0.12);
  color: var(--accent);
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-right img {
  width: 100%;
  border-radius: 0px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.hero-title {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-title-accent {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
}

.hero-lead {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
}

.hero-media {
  position: relative;
  transform: translateX(20px) translateY(-10px);
}

.hero-stack {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 350px; /* ← KUNCI UTAMA */
  transform: translateY(-10px);
}

.hero-img {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  
  border-radius: 14px;
  background: #fff;
  
  box-shadow:
    0 20px 40px rgba(0,0,0,0.16),
    0 0 0 1px rgba(0,0,0,0.04);
}

/* Lapisan */

.hero-img-front {
  z-index: 3;
  transform: translate(100px, 84px);
  max-width: 300px;
}

.hero-img-mid {
  z-index: 2;
  transform: translate(130px, -30px);
  opacity: 0.96;
  max-width: 400px;
}

.hero-img-back {
  z-index: 1;
  transform: translate(-50px, -110px);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .hero-stack {
    height: auto;
  }
  
  .hero-img-mid,
  .hero-img-back {
    display: none;
  }
  
  .hero-img-front {
    position: relative;
    transform: none;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 20px 80px;
  }
  
  .hero-left p {
    margin-left: auto;
    margin-right: auto;
  }
}

.coming-badge {
  margin-left: 8px;
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(52,152,219,0.12);
  color: var(--accent);
  font-weight: 600;
}

.price-muted {
  font-size: 24px;
  color: #9aa4af;
}

@media (prefers-color-scheme: dark) {
  .price-muted {
    color: #7b8794;
  }
}


.contact-success {
  max-width: 450px;
  margin: 10px auto 0;
  font-size: 14px;
  color: #4d7c6f;      /* hijau-keabu, tenang */
  text-align: center;
}

.about-justify p {
  text-align: justify;
  text-indent: 4em;
}

@media (max-width: 768px) {
  .about-justify p {
    text-indent: 4em;
  }
}

.about-justify {
  text-align: justify;
  text-justify: inter-word;
}

.no-indent {
  text-indent: 0 !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.about-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.about-text a:hover {
  text-decoration: underline;
}

.card-image-bg {
  min-height: 320px;
  max-width: 300;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
}

.card-image-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.section-spacer {
  height: 80px;
}

.lead {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 14px;
}

/* Card teks di section WHY */
#why .grid-2 > .card:not(.card-image-bg) {
  box-shadow:
    0 0px 0px rgba(0,0,0,0),
    0 0 0 0px rgba(0,0,0,0);
  background-color: transparent !important;
  
}

#why .card-image-bg {
  background-color: transparent !important;
}

#why .card:not(.card-image) {
  border: 0px solid rgba(0,0,0,0);
  box-shadow: 0 0px 0px rgba(0,0,0,0);
  
}

#why p {
  line-height: 1.65;
}

/* =========================
   HERO CENTERED VARIANT
   (for Pendekatan page)
   ========================= */
    
.hero-centered {
  text-align: center;
}

.hero-centered .hero-left {
  max-width: 720px;
  margin: 0 auto;
}

.hero-centered .hero-left p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}