/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BASE ================= */
body {
    background-color: #03346E;
    color: #ffffff;
    font-family: "Funnel Sans", sans-serif;
}

/* ================= NAVBAR (FIXED) ================= */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 32px;
    z-index: 100;

    background: transparent; /* boleh diganti blur kalau mau */
}

/* ================= MENU BUTTON ================= */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 18px;
    border: 1.5px solid #38bdf8;
    border-radius: 999px;

    background: transparent;
    color: #38bdf8;
    cursor: pointer;

    transition: all 0.3s ease;
}

/* Text Menu */
.menu-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #38bdf8;
}

/* ================= BURGER ================= */
.burger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.burger-lines span {
    width: 18px;
    height: 2px;
    background: #38bdf8;
    border-radius: 999px;

    transition:
        transform 0.6s cubic-bezier(.68,-0.6,.32,1.6),
        opacity 0.3s ease,
        background 0.3s ease;
}

/* ================= ACTIVE (X) ================= */
.menu-btn.active {
    background: #38bdf8;
}

/* Burger jadi X */
.menu-btn.active .burger-lines span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn.active .burger-lines span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .burger-lines span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Warna saat active */
.menu-btn.active .burger-lines span {
    background: #020617;
}

.menu-btn.active .menu-text {
    color: #020617;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
    position: fixed;
    inset: 0;

    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(8px);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;

    z-index: 90;
}

.mobile-menu.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    text-align: end;
}

/* ================= MENU ITEM ================= */
.mobile-menu li {
    margin: 26px 0;
}

.mobile-menu a {
    display: inline-flex;
    align-items: end;
    gap: 12px;

    font-size: 48px;
    font-weight: 600;
    color: #e5e7eb;
    text-decoration: none;

    transition: color 0.3s ease, transform 0.3s ease;
}

/* ================= ICON ================= */
.menu-arrow {
    font-size: 56px;
    color: #38bdf8;

    opacity: 0;
    transform: translateX(-10px);

    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ================= HOVER ================= */
.mobile-menu a:hover {
    color: #38bdf8;
    transform: translateX(6px);
}

.mobile-menu a:hover .menu-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ================= HERO FULL SCREEN ================= */
.hero-full {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 24px;

    /* PENTING: supaya tidak ketutup navbar */
    padding-top: 72px;
}

/* ================= HERO TEXT ================= */
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;

    line-height: 0.9;
    max-width: 100%;
}

/* WE BUILD */
.hero-title .line-top {
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;

    font-size: clamp(3rem, 11vw, 11rem);
    color: #ffffff;
}

/* LEGACY */
.hero-title .line-bottom {
    margin-top: 0.2em;

    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;

    font-size: clamp(3rem, 11vw, 11rem);
    color: #38bdf8;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .menu-btn {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 120;
    
    }

    .logo img {
        width: 180px;
        padding-top: 12px !important;
}
}

@media (max-width: 480px) {
    .hero-title {
        line-height: 0.95;
    }
}

:root {
  /* BASE MAT PAD BLUE */
  --bg: #03346E;

  /* 1mm grid (very subtle) */
  --minor: rgba(200, 230, 255, 0.06);

  /* 1cm grid (stronger) */
  --major: rgba(200, 230, 255, 0.18);

  /* TEXT */
  --text: #EAF4FF;
}



.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;

  /* Blur optik TANPA warna gelap */
  backdrop-filter: blur(1.2px);

  /* Blur hanya aktif di tepi */
  mask-image: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(0,0,0,0.35) 75%,
    rgba(0,0,0,0.7) 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(0,0,0,0.35) 75%,
    rgba(0,0,0,0.7) 100%
  );
}



/* ===== HERO ===== */
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    /* 1mm */
    repeating-linear-gradient(to right, var(--minor), var(--minor) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(to bottom, var(--minor), var(--minor) 1px, transparent 1px, transparent 20px),

    /* 1cm */
    repeating-linear-gradient(to right, var(--major), var(--major) 1.5px, transparent 1.5px, transparent 100px),
    repeating-linear-gradient(to bottom, var(--major), var(--major) 1.5px, transparent 1.5px, transparent 100px);

  /* ⬇️ GRID MEMUDAR KE TEPI (TERANG) */
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0,0,0,1) 45%,
    rgba(0,0,0,0.6) 65%,
    rgba(0,0,0,0.15) 85%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0,0,0,1) 45%,
    rgba(0,0,0,0.6) 65%,
    rgba(0,0,0,0.15) 85%,
    transparent 100%
  );

  z-index: 0;
}


/* ===== RULERS ===== */
.ruler {
  position: absolute;
  font-family: monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.15em;
  z-index: 3;
}

/* TOP RULER */
.ruler-top {
  bottom: 10px;
  left: 80px;
  right: 20px;
}



/* LEFT RULER */
.ruler-left {
  top: 80px;
  left: 10px;
  bottom: 20px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ruler-left::before {
  word-spacing: 90px;
}

/* ===== MM MARKERS ===== */
.mm {
  position: absolute;
  font-family: monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  z-index: 3;
}

.mm.top {
  top: 28px;
  left: 80px;
  display: flex;
  gap: 10px;
}

.mm span {
  width: 10px;
  text-align: center;
}

/* ===== HERO TEXT ===== */
.hero-title {
  position: relative;
  z-index: 4;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.line-top {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  opacity: 0.85;
}

.line-bottom {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-top: 0.35em;
}






/* SECTION */
#impact {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  
}

#impact h6 {
  font-weight: 100;
    letter-spacing: 0.35em;
  white-space: nowrap;
}

/* PARAGRAPH TEXT */
.impact-text {
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.45;
  text-align: center;
}

.impact-text span {
  display: inline-block;
  margin: 0.25rem;
  will-change: transform, opacity, filter;
}

/* HERO ROW (FINAL STATE) */
.hero-row {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  pointer-events: none;
}

.hero-row {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.35em;
  white-space: nowrap;
}
