*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-primary: #1A3673;
  --blue-dark: #102A63;
  --blue-hover: #254A9E;
  --appstore-blue: #007AFF;
  --appstore-hover: #0062CC;
  --bg-main: #FFFFFF;
  --bg-sub: #EBF1F7;
  --bg-card: #FFFFFF;
  --steel: #627D98;
  --steel-light: #486581;
  --white: #FFFFFF;
  --text-body: #2D3E50;
  --border-color: #D3E2F2;
}

html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--bg-main); color: var(--text-body); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1px 30px;
  background: white;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 20px rgba(0,122,255,0.08);
}
.nav-cta {
  background: var(--appstore-blue); color: #FFFFFF;
  padding: 0.55rem 1.4rem; border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
  text-decoration: none; text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--blue-dark); color: var(--white); }

.logo img {
  height: 100px; width: 100px;
  position: relative; display: block;
}

/* ── HERO ── */
/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 12rem 4vw 5rem;

  /* Ganti baris ini: */
  background: url('/images/herobanner.jpeg') center center / cover no-repeat;
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to right,
    rgba(10, 25, 60, 0.45) 0%,
	rgba(10, 25, 60, 0.25) 25%,
	rgba(10, 25, 60, 0.30) 50%,
	rgba(10, 25, 60, 0.20) 75%,
    rgba(10, 25, 60, 0.15) 100%
  );
}

.hero .hero-grid-bg {
  position: absolute; 
  inset: 0; 
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,122,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,122,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 30s linear infinite;
  pointer-events: none;
}

.hero .hero-glow {
  position: absolute; top: -10%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(0,122,255,0.18) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
}

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,122,255,0.1);
  border: 1px solid var(--appstore-blue);
  color: #FFFFFF;
  padding: 0.4rem 1rem; border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease both;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--appstore-blue);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 .accent { color: var(--appstore-blue); display: block; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85); max-width: 560px; line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-bottom: 3rem;
  animation: fadeUp 0.7s 0.3s ease both;
}
.stat-chip {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px; padding: 0.8rem 1.2rem; min-width: 140px;
}
.stat-chip .label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6); margin-bottom: 4px;
}
.stat-chip .value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.3rem; color: #FFFFFF;
}
.stat-chip .value.orange { color: white; }

.hero-cta-group {
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  gap: 1rem;
  animation: fadeUp 0.7s 0.4s ease both;
  margin-bottom: 3rem;
}
.btn-primary {
  background: var(--appstore-blue); color: #FFFFFF;
  padding: 1rem 2.2rem; border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  border: 2px solid var(--appstore-blue);
}
.btn-primary:hover { background: var(--appstore-hover); border-color: var(--appstore-hover); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: #FFFFFF;
  padding: 1rem 2.2rem; border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.4);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--appstore-blue); background: rgba(0,122,255,0.08); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TICKER ── */
.ticker-wrap {
  background: #132654;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.7rem 0; overflow: hidden; white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: tickerScroll 25s linear infinite;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 3rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; margin-right: 3rem;
}
.ticker-sep { opacity: 0.8; color: var(--appstore-blue); }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION BASE ── */
section { padding: 6rem 4vw; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--appstore-blue); margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase; line-height: 1.05; margin-bottom: 1.2rem;
}
.section-desc { line-height: 1.75; max-width: 560px; font-size: 1.05rem; }

/* ── EVENT INFO ── */
.event-section { background: var(--blue-primary); }
.event-section .section-title { color: #FFFFFF; }
.event-section .section-desc { color: rgba(255,255,255,0.8); }

.event-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto;
}
.event-info-blocks { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.info-block {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid var(--appstore-blue);
  border-radius: 4px; transition: background 0.2s;
}
.info-block:hover { background: rgba(255,255,255,0.1); }
.info-icon { color: var(--appstore-blue); font-size: 1.6rem; line-height: 1; margin-top: 2px; flex-shrink: 0; }
.info-block .ib-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6); margin-bottom: 4px;
}
.info-block .ib-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.25rem; color: #FFFFFF;
}
.info-block .ib-note { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

.event-visual { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem; }
.booth-card {
  background: rgba(16,42,99,0.8);
  border: 2px solid var(--appstore-blue); border-radius: 8px;
  padding: 3rem 2.5rem; text-align: center; width: 100%; max-width: 340px;
  position: relative; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,122,255,0.15);
}
.booth-card::before {
  content: ''; position: absolute; top: -40%; right: -40%;
  width: 80%; height: 80%; border-radius: 50%;
  background: rgba(0,122,255,0.05);
}
.booth-label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.booth-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 4rem; line-height: 1;
  color: var(--appstore-blue); margin-bottom: 0.5rem;
}
.booth-event {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 1.1rem; color: #FFFFFF; letter-spacing: 0.06em;
}

/* ── PERKS ── */
.perks-section { background: var(--bg-sub); }
.perks-section .section-title { color: var(--blue-primary); }
.perks-section .section-desc { color: var(--steel-light); }

.perks-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 3rem auto 0;
}
.perk-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 6px; padding: 2rem; position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.perk-card:hover { border-color: var(--appstore-blue); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,122,255,0.1); }
.perk-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--appstore-blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.perk-card:hover::after { transform: scaleX(1); }
.perk-icon { color: var(--blue-primary); font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.perk-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 0.6rem;
  color: var(--blue-primary);
}
.perk-desc { color: var(--text-body); font-size: 0.95rem; line-height: 1.7; }

/* ── COUNTDOWN ── */
.countdown-section {
  background: var(--blue-dark);
  padding: 4rem 4vw; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.countdown-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 2rem;
}
.countdown-grid {
  display: inline-flex; gap: 1.5rem; flex-wrap: wrap;
  justify-content: center; margin-bottom: 2rem;
}
.cd-box {
  background: rgba(255,255,255,0.06); border-radius: 6px;
  padding: 1.2rem 1.8rem; min-width: 100px;
  border: 1px solid rgba(255,255,255,0.12);
}
.cd-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 3.5rem; line-height: 1; color: var(--appstore-blue); display: block;
}
.cd-unit {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 4px;
}
.countdown-sub { font-size: 1rem; color: rgba(255,255,255,0.8); }

/* ── FORM ── */
.form-section { background: var(--blue-dark); position: relative; overflow: hidden; }
.form-section-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,122,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,122,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.form-section .section-title { color: #FFFFFF; }
.form-section .section-desc { color: rgba(255,255,255,0.7); }

.form-container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4rem; align-items: start; max-width: 1100px; margin: 0 auto;
}
.form-left-heading { max-width: 400px; }
.form-benefits { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.form-benefit { display: flex; gap: 0.8rem; align-items: flex-start; }
.form-benefit-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,122,255,0.15); border: 1px solid var(--appstore-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--appstore-blue); font-size: 0.85rem; flex-shrink: 0; margin-top: 2px;
}
.form-benefit-text { font-size: 0.95rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
.form-benefit-text strong { color: #FFFFFF; }

.form-card {
  background: #FFFFFF; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 2.5rem;
  box-shadow: 0 16px 48px rgba(0,122,255,0.1);
}
.form-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 0.4rem;
  color: var(--blue-primary);
}
.form-sub { font-size: 0.9rem; color: var(--steel); margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--steel-light); font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #FFFFFF;
  border: 1px solid #CBD5E0;
  border-radius: 4px; padding: 0.75rem 1rem;
  color: var(--blue-primary); font-family: 'Barlow', sans-serif;
  font-size: 0.95rem; outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #A0AEC0; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(0,122,255,0.1); }
.form-group select option { background: #FFFFFF; color: var(--blue-primary); }
.form-group textarea { resize: vertical; min-height: 80px; }

.form-check { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 1.5rem; }
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--appstore-blue);
}
.form-check label { font-size: 0.88rem; color: var(--steel-light); line-height: 1.5; }
.form-check label a { color: var(--blue-primary); text-decoration: none; font-weight: 600; }

.btn-submit {
  width: 100%; background: var(--appstore-blue); color: #FFFFFF;
  padding: 1rem; border: none; border-radius: 4px; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.15rem; letter-spacing: 0.1em;
  text-transform: uppercase; transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--appstore-hover); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.45; cursor: not-allowed; transform: none; background: #007AFF; }
.form-note { text-align: center; font-size: 0.82rem; color: var(--steel); margin-top: 1rem; }

.success-card {
  display: none; flex-direction: column; align-items: center;
  text-align: center; padding: 3rem 2rem;
}
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(0,122,255,0.1); border: 2px solid var(--appstore-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--appstore-blue); font-size: 2rem; margin-bottom: 1.5rem;
}
.success-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1.8rem; text-transform: uppercase; margin-bottom: 0.6rem;
  color: var(--blue-primary);
}
.success-desc { color: var(--text-body); font-size: 0.95rem; line-height: 1.7; }

/* ── FOOTER ── */
footer {
  background: #0B1E47; padding: 3rem 4vw;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1.5rem;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1.6rem; color: var(--white); text-decoration: none;
}
.footer-logo span { color: var(--appstore-blue); }
.footer-text { font-size: 0.85rem; color: #BACCDD; }
.footer-text a { color: var(--appstore-blue); text-decoration: none; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .event-grid { grid-template-columns: 1fr; }
  .form-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  nav { padding: 10px 18px; }
  .logo img { height: 70px; width: 70px; }

  .hero-slide {
    min-height: 100svh;
    background-position: 70% center;
    padding: 15rem 4vw 6rem;
	align-items: flex-end;
  }

  .hero-slide .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(5, 15, 35, 0.70) 0%,
      rgba(5, 15, 35, 0.50) 60%,
      rgba(5, 15, 35, 0.25) 100%
    );
  }

  .hero h1 { font-size: 2.8rem; }
  .hero-track { min-height: 100svh; }
}

/* ── TABLET (768px - 1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-slide {
    padding: 9rem 5vw 5rem;
    background-position: center center;
  }

  .hero-slide--imgfit .hero-slide-img {
    object-position: center center;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-dots {
    bottom: 2.5rem;
  }
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {
  .hero {
    width: 100%;
    height: 100svh;
    overflow: hidden;
  }

  .hero-track {
    width: 100%;
    height: 100svh;
  }

  .hero-slide {
    min-width: 100%;      /* ganti 100vw → 100% */
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    padding: 9rem 5vw 5rem;
    background-position: 60% center;
  }
}