/* AMGNET Landingpage Styles */

:root{
  --primary:#0B5ED7;
  --secondary:#084298;
  --yellow:#FFC107;
  --light:#F8FAFC;
  --dark:#0F172A;
  --muted:#5b6475;
  --bg:#ffffff;
  --border:rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 50px rgba(2, 6, 23, .12);
  --radius:18px;
}
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color: #0b1220;
}

img{ max-width:100%; height:auto; }

a{ color:inherit; text-decoration:none; }

.container{
  width: min(1120px, 92%);
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.skip-link:focus{
  left: 18px;
  top: 18px;
  width:auto;
  height:auto;
  padding:10px 14px;
  background:#fff;
  border:1px solid var(--border);
  z-index:9999;
}

/* Header */
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  padding: 10px 0;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.site-header.is-scrolled{
  background: rgba(255,255,255,.9);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand-logo{ height:44px; width:auto; display:block; }

.menu{ display:flex; align-items:center; gap: 16px; }

.container.nav > .menu{ flex: 1 1 auto; }

.container.nav > div{ flex: 0 0 auto; margin-left:auto; }

.menu .menu-list{ margin-left:0; }


.menu-toggle{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}

.menu-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 26px;
}

.menu-list a{
  font-weight:600;
  color: #1f2937;
  padding: 10px 2px;
  position:relative;
}

.menu-list a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:6px;
  height:2px;
  width:0;
  background: var(--primary);
  transition: .25s ease;
}

.menu-list a:hover::after{ width:100%; }

.nav-cta{ flex: 0 0 auto; }

/* Buttons */
.btn{
  display:inline-flex;
  font-size: 14px;
  padding: 10px 14px;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight:700;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}

.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: var(--yellow);
  color:#000;
  box-shadow: 0 12px 30px rgba(255, 193, 7, .25);
}

.btn-success{
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(11, 94, 215, .22);
  border-color: rgba(11, 94, 215, .15);
}

.btn-success:hover{
  box-shadow: 0 18px 40px rgba(11, 94, 215, .32);
}


.btn-primary:hover{ box-shadow: 0 18px 40px rgba(255, 193, 7, .34); }

.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color:#fff;
}

.btn-outline:hover{
  background: rgba(255,255,255,.08);
}

.btn-soft{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  color:#fff;
}

.btn-soft:hover{ background: rgba(255,255,255,.22); }

/* HERO */
.hero{
  margin-top: 70px;
  position:relative;
  overflow:hidden;
  color:#fff;
  min-height: calc(100vh - 70px);
  display:flex;
  align-items:center;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 38px;
  align-items:stretch;
  padding: 56px 0;
}

/* Make hero images fill their section when used directly in index.html */
.hero-grid > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* The index.html hero uses images directly inside .hero-grid.
   Make the right column take full hero height and distribute the two images. */
.hero-grid{
  /* Ensure the whole grid (including right column) can stretch vertically */
  align-items: stretch;
  min-height: calc(100vh - 70px);
}

/* If there are multiple images in the right column, split them vertically */
.hero-grid > img:nth-child(2),
.hero-grid > img:nth-child(3){
  height: 50vh;
  max-height: calc(100vh - 70px);
}




.hero-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1000px 500px at 10% 10%, rgba(255,193,7,.25), transparent 55%),
    linear-gradient(115deg, rgba(11,94,215,.92), rgba(8,66,152,.95)),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position:center;
  z-index:-1;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight:700;
}

.dot{ width:10px; height:10px; border-radius:50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(255,193,7,.18); }

.hero-copy h1{
  margin: 14px 0 12px;
  font-size: clamp(34px, 4vw, 56px);
  line-height:1.05;
}

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

.lead{ font-size: 16.5px; opacity:.96; max-width: 56ch; }

.hero-actions{ display:flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

.hero-highlights{
  list-style:none;
  padding:0;
  margin: 26px 0 0;
  display:grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
}

.hero-highlights li{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Hero slides (gambar + video untuk seluruh bagian hero-copy) */
.hero-slider .slide img{
  transform: scale(1);
  transition: transform .35s ease;
}

.hero-slider:hover .slide.active img{
  transform: scale(1.30);
}

/* Fade in ketika reload */
.hero-slider{
  opacity:0;
  animation: heroFadeIn .6s ease-out forwards;
}

@keyframes heroFadeIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

.hero-slides{
  position:relative;
}

.hero-slide{
  display:none;
  position:relative;
}

.hero-slide.is-active{
  display:block;
}

.hero-media-card{
  position:absolute;
  inset:0;
  border-radius: 22px;
  overflow:hidden;
}

.hero-slide-media{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hero-slide-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(105deg, rgba(3,10,25,.78) 0%, rgba(3,10,25,.52) 35%, rgba(3,10,25,.08) 70%);
}

.hero-slide-content{
  position:relative;
  padding: 10px 0;
}

.hero-slides-controls{
  margin-top: 14px;
  display:flex;
  align-items:center;
  gap: 10px;
}

.hero-sl-dots{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 8px;
  flex: 1 1 auto;
}

.hero-sl-btn{ flex: 0 0 auto; }

/* Hero media (slideshow) */
.hero-media{
  display:flex;
  align-items:stretch;
  justify-content:center;
}

.hero-media-inner{
  width:100%;
  border-radius: 22px;
  overflow:hidden;
}


.slideshow{
  position:relative;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
}

.slides{
  position:relative;
  width:100%;
  aspect-ratio: 4 / 3;
  background: rgba(0,0,0,.15);
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transform: scale(1.02);
  transition: opacity .5s ease, transform .5s ease;
}

.slide.is-active{
  opacity:1;
  transform: scale(1);
}

.slide img,
.slide-video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.slide-caption{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  padding: 10px 12px;
  background: rgba(7,22,47,.55);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  border-radius: 14px;
  font-weight: 800;
  backdrop-filter: blur(8px);
  text-align:left;
}

.slideshow-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.14);
}

.sl-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  flex: 1 1 auto;
}

.sl-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.18);
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.sl-dot[aria-current="true"]{
  background: var(--yellow);
  border-color: rgba(255,193,7,.9);
  transform: scale(1.15);
}

/* Hero slideshow dots (reuse sl-dot styling) */
.hero-sl-dots .sl-dot[aria-current="true"]{
  transform: scale(1.15);
}


.sl-btn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .15s ease, background .15s ease;
}

.sl-btn:hover{ transform: translateY(-2px); background: rgba(255,255,255,.18); }

/* Hero Card */
.hero-card{
  background: rgba(255,255,255,.92);
  color:#0b1220;
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.35);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .slide{ transition: none; }
  .btn:hover{ transform:none; }
  .sl-btn:hover{ transform:none; }
}


.hero-card-top{ display:flex; align-items:flex-start; justify-content:space-between; gap: 12px; }

.hero-card-tag{
  background: rgba(255,193,7,.18);
  border:1px solid rgba(255,193,7,.35);
  color:#6b4f00;
  font-weight:800;
  padding: 8px 12px;
  border-radius: 999px;
}

.hero-card-speed{ text-align:right; }

.hero-card-speed .num{ font-size: 50px; font-weight:900; color: var(--primary); line-height:1; }
.hero-card-speed .unit{ font-weight:800; color:#2b364a; }

.hero-card-desc{ margin: 14px 0 18px; color: var(--muted); font-weight:600; }

.hero-card-features{ display:grid; gap: 12px; margin-bottom: 18px; }

.mini{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  display:flex;
  align-items:center;
  gap: 12px;
}

.mini-icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(11,94,215,.10);
}

.mini-title{ font-weight:900; }
.mini-sub{ color: var(--muted); font-size: 12.5px; font-weight:600; }

.hero-card-actions{ display:flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.section{ padding: 78px 0; }
.section-alt{ background: var(--light); }

.section-head{
  text-align:center;
  margin-bottom: 36px;
}

.section-head h2{
  margin:0;
  font-size: clamp(26px, 2.7vw, 42px);
  color: var(--dark);
}

.section-head p{ margin: 10px auto 0; max-width: 70ch; color: var(--muted); font-weight:600; }

/* Grids */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.card{
  background:#fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(2, 6, 23, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover{ transform: translateY(-6px); box-shadow: 0 18px 46px rgba(2, 6, 23, .10); }

/* Scroll Animation Base */
.animate-on-scroll{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in{
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
.grid-3 > .animate-on-scroll:nth-child(1),
.grid-2 > .animate-on-scroll:nth-child(1){ transition-delay: 0ms; }

.grid-3 > .animate-on-scroll:nth-child(2),
.grid-2 > .animate-on-scroll:nth-child(2){ transition-delay: 100ms; }

.grid-3 > .animate-on-scroll:nth-child(3){ transition-delay: 200ms; }
.grid-3 > .animate-on-scroll:nth-child(4){ transition-delay: 300ms; }
.grid-3 > .animate-on-scroll:nth-child(5){ transition-delay: 400ms; }
.grid-3 > .animate-on-scroll:nth-child(6){ transition-delay: 500ms; }
.grid-3 > .animate-on-scroll:nth-child(7){ transition-delay: 600ms; }
.grid-3 > .animate-on-scroll:nth-child(8){ transition-delay: 700ms; }
.grid-3 > .animate-on-scroll:nth-child(9){ transition-delay: 800ms; }

/* Package & Panel delays */
.package.animate-on-scroll:nth-child(1){ transition-delay: 0ms; }
.package.animate-on-scroll:nth-child(2){ transition-delay: 150ms; }
.package.animate-on-scroll:nth-child(3){ transition-delay: 300ms; }

.panel.animate-on-scroll:nth-child(1){ transition-delay: 0ms; }
.panel.animate-on-scroll:nth-child(2){ transition-delay: 150ms; }

/* FAQ item delays */
.faq-item.animate-on-scroll:nth-child(1){ transition-delay: 0ms; }
.faq-item.animate-on-scroll:nth-child(2){ transition-delay: 80ms; }
.faq-item.animate-on-scroll:nth-child(3){ transition-delay: 160ms; }
.faq-item.animate-on-scroll:nth-child(4){ transition-delay: 240ms; }

.card-icon{
  width: 56px; height:56px;
  border-radius: 18px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(11,94,215,.10);
  margin-bottom: 12px;
  font-size: 22px;
}

.card h3{ margin: 0 0 8px; font-size: 18px; }
.card p{ margin: 0; color: var(--muted); font-weight:600; line-height:1.5; }

/* Packages */
.package{
  background:#fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(2, 6, 23, .06);
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.package-popular{
  border-color: rgba(255,193,7,.7);
  box-shadow: 0 20px 55px rgba(255,193,7,.18);
  transform: translateY(-6px);
}

.popular-badge{
  align-self:flex-start;
  background: rgba(255,193,7,.18);
  border: 1px solid rgba(255,193,7,.35);
  color:#6b4f00;
  font-weight:900;
  padding: 8px 12px;
  border-radius: 999px;
}

.package-top h3{ margin:0; color: var(--primary); font-size: 18px; }

.price{ margin-top: 8px; font-weight:900; color: var(--primary); font-size: 44px; line-height:1; }
.price .unit{ font-size: 16px; color:#2b364a; font-weight:900; }

.amount{ font-weight:900; font-size: 18px; margin-top: 8px; color:#0b1220; }
.amount span{ font-size: 14px; color: var(--muted); font-weight:800; }

.list{ margin:0; padding-left: 18px; color: var(--muted); font-weight:700; }
.list li{ margin: 10px 0; }

/* Panels */
.panel{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(2, 6, 23, .06);
}

.panel-accent{
  background: linear-gradient(135deg, rgba(11,94,215,.10), rgba(8,66,152,.05));
}

.panel-title{ margin:0 0 10px; color: var(--dark); }
.muted{ color: var(--muted); font-weight:600; }

.stats{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.stat{ border:1px solid rgba(15,23,42,.08); border-radius: 18px; padding: 14px; }
.stat-num{ font-size: 28px; font-weight:900; color: var(--primary); }
.stat-label{ color: var(--muted); font-weight:800; margin-top: 4px; }

.quote{ margin-top: 14px; }
.quote-mark{ font-size: 42px; color: var(--primary); font-weight:900; line-height:1; }
.quote p{ margin: 6px 0 0; font-weight:700; color:#22304a; }
.quote-by{ margin-top: 10px; color: var(--muted); font-weight:800; }

/* FAQ */
.faq{ display:grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 14px 16px;
}

.faq-item summary{
  cursor:pointer;
  font-weight:900;
  color: var(--dark);
  list-style:none;
}

.faq-item summary::-webkit-details-marker{ display:none; }

.faq-item p{
  margin: 10px 0 0;
  color: var(--muted);
  font-weight:700;
  line-height:1.6;
}

/* CTA + Form */
.cta{
  background: linear-gradient(135deg, rgba(11,94,215,.10), rgba(8,66,152,.04));
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 26px;
  padding: 26px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.cta-copy h2{ margin:0 0 10px; color: var(--dark); font-size: 34px; }
.cta-copy p{ margin:0 0 18px; color: var(--muted); font-weight:700; }
.cta-actions{ display:flex; gap: 12px; flex-wrap: wrap; }

.form{
  background: rgba(255,255,255,.9);
  border:1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.form h3{ margin: 0 0 6px; }

.form label{ display:flex; flex-direction:column; gap: 7px; font-weight:900; color: var(--dark); font-size: 13px; }

.form input, .form select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(15,23,42,.14);
  outline:none;
  font-weight:700;
}

.form input:focus, .form select:focus{ border-color: rgba(11,94,215,.6); box-shadow: 0 0 0 4px rgba(11,94,215,.12); }

.form-note{ margin:0; color: var(--muted); font-weight:800; min-height: 18px; }

/* Footer */
.footer{ background:#235fc9; color:#fff; padding: 52px 0 20px; }

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

.footer-brand{ display:flex; gap: 14px; align-items:flex-start; }
.footer-logo{ width: 46px; height:auto; }
.footer h3{ margin:0; }
.footer h4{ margin: 0 0 10px; color: var(--yellow); }
.footer-link{ margin: 8px 0; color: rgba(255,255,255,.86); font-weight:700; }

.footer-bottom{ display:flex; justify-content:space-between; gap: 12px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-highlights{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .cta{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; }
}

@media (max-width: 860px){
  .menu-toggle{ display:inline-flex; }
  .menu-list{
    position:absolute;
    left: 4.5%;
    top: 66px;
    flex-direction:column;
    align-items:flex-start;
    gap: 10px;
    background: rgba(255,255,255,.95);
    border:1px solid rgba(15,23,42,.1);
    border-radius: 18px;
    padding: 12px;
    width: min(320px, 92vw);
    display:none;
  }
  .menu-list.is-open{ 
    display:flex;
  }
}

