/* =====================================================
   HERO SECTION — GEMA BELA NEGARA
   Clean Final CSS
   ===================================================== */

.hero-redesign {
  /* Colors */
  --hero-navy: #020817;
  --hero-gold: #d4af37;
  --hero-gold-light: #f3d56a;
  --hero-gold-dark: #9f7315;
  --hero-white: #fffaf0;
  --hero-muted: rgba(255, 250, 240, 0.84);
  --hero-border: rgba(212, 175, 55, 0.18);

  /* Layout */
  --hero-left-space: clamp(24px, 3.2vw, 64px);
  --hero-right-space: clamp(18px, 3vw, 64px);
  --hero-content-width: 760px;
  --hero-bottom-width: 620px;
  --hero-bottom-gap: clamp(28px, 4vw, 42px);

  /* Typography */
  --hero-title-size: clamp(3rem, 5vw, 5.2rem);
  --hero-subtitle-size: clamp(0.86rem, 1.15vw, 1.22rem);
  --hero-quote-size: clamp(0.96rem, 1vw, 1.1rem);

  /* Logo */
  --hero-logo-size: clamp(104px, 7vw, 126px);
  --hero-stars-size: 0.72rem;

  /* Pillars */
  --hero-pillar-icon-size: 42px;
  --hero-pillar-icon-svg: 20px;
  --hero-pillar-title-size: 0.66rem;
  --hero-pillar-text-size: 0.82rem;
  --hero-pillar-x: 16px;

  /* Buttons */
  --hero-btn-height: 42px;
  --hero-btn-font-size: 0.68rem;
  --hero-btn-x: 16px;

  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(78px, 7vw, 108px) 0 clamp(60px, 7vw, 90px);
  background: var(--hero-navy);
  color: var(--hero-white);
  overflow: hidden;
  isolation: isolate;
}

.hero-redesign *,
.hero-redesign *::before,
.hero-redesign *::after {
  box-sizing: border-box;
}

/* =====================================================
   Background
   ===================================================== */

.hero-redesign .hero-bg,
.hero-redesign .hero-overlay,
.hero-redesign .hero-gold-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-redesign .hero-bg {
  z-index: 0;
  overflow: hidden;
  background: var(--hero-navy);
}

.hero-redesign .hero-bg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  filter: saturate(1.06) contrast(1.04) brightness(0.96);
  transform: none;
}

.hero-redesign .hero-overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 8, 23, 0.98) 0%,
      rgba(2, 8, 23, 0.94) 23%,
      rgba(2, 8, 23, 0.68) 42%,
      rgba(2, 8, 23, 0.26) 66%,
      rgba(2, 8, 23, 0.10) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 8, 23, 0.08) 0%,
      rgba(2, 8, 23, 0.04) 48%,
      rgba(2, 8, 23, 0.48) 100%
    );
}

.hero-redesign .hero-gold-glow {
  z-index: 2;
  width: 520px;
  height: 520px;
  top: 24%;
  left: -220px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.15) 0%,
    rgba(212, 175, 55, 0.06) 38%,
    transparent 72%
  );
}

/* =====================================================
   Main Layout
   ===================================================== */

.hero-redesign .hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: calc(100svh - 170px);
  padding-left: var(--hero-left-space);
  padding-right: var(--hero-right-space);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-redesign .hero-content {
  width: 100%;
  max-width: var(--hero-content-width);
  text-align: left;
}

.hero-redesign .hero-bottom-section {
  width: 100%;
  max-width: var(--hero-bottom-width);
  margin-top: var(--hero-bottom-gap);
}

/* =====================================================
   Logo
   ===================================================== */

.hero-redesign .hero-logo-block {
  width: max-content;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.hero-redesign .hero-stars {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--hero-gold);
  font-size: var(--hero-stars-size);
  line-height: 1;
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
}

.hero-redesign .hero-logo {
  width: var(--hero-logo-size);
  height: var(--hero-logo-size);
  object-fit: contain;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 18px rgba(212, 175, 55, 0.22))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.38));
}

/* =====================================================
   Text
   ===================================================== */

.hero-redesign .hero-title {
  max-width: 760px;
  margin: 0;
  color: var(--hero-white);
  font-family: "Cinzel", "Cormorant Garamond", Georgia, serif;
  font-size: var(--hero-title-size);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.48);
}

.hero-redesign .hero-title span {
  display: block;
}

.hero-redesign .hero-title span:nth-child(2) {
  white-space: nowrap;
}

.hero-redesign .hero-title-gold {
  background: linear-gradient(
    180deg,
    var(--hero-gold-light) 0%,
    var(--hero-gold) 52%,
    var(--hero-gold-dark) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-redesign .hero-subtitle {
  max-width: 620px;
  margin: clamp(12px, 1.6vw, 17px) 0 0;
  color: var(--hero-gold);
  font-family: "Cinzel", "Cormorant Garamond", Georgia, serif;
  font-size: var(--hero-subtitle-size);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
}

.hero-redesign .hero-quote {
  max-width: 520px;
  margin: clamp(18px, 2.3vw, 26px) 0 0;
  color: var(--hero-muted);
  font-family: "Crimson Pro", Georgia, serif;
  font-size: var(--hero-quote-size);
  font-weight: 600;
  line-height: 1.52;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.46);
}

/* =====================================================
   Pillars
   ===================================================== */

.hero-redesign .hero-pillars {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.hero-redesign .hero-pillar {
  min-width: 0;
  padding: 0 var(--hero-pillar-x);
  text-align: center;
}

.hero-redesign .hero-pillar:first-child {
  padding-left: 0;
}

.hero-redesign .hero-pillar:last-child {
  padding-right: 0;
}

.hero-redesign .hero-pillar:not(:last-child) {
  border-right: 1px solid var(--hero-border);
}

.hero-redesign .hero-pillar-icon {
  width: var(--hero-pillar-icon-size);
  height: var(--hero-pillar-icon-size);
  margin: 0 auto 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hero-gold);
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid rgba(212, 175, 55, 0.20);
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-redesign .hero-pillar-icon svg {
  width: var(--hero-pillar-icon-svg);
  height: var(--hero-pillar-icon-svg);
  stroke-width: 1.8;
}

.hero-redesign .hero-pillar h3 {
  margin: 0 0 7px;
  color: var(--hero-gold);
  font-family: "Cinzel", "Cormorant Garamond", Georgia, serif;
  font-size: var(--hero-pillar-title-size);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.hero-redesign .hero-pillar p {
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: var(--hero-pillar-text-size);
  line-height: 1.42;
}

/* =====================================================
   Buttons
   ===================================================== */

.hero-redesign .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.8vw, 28px);
}

.hero-redesign .hero-btn {
  min-height: var(--hero-btn-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px var(--hero-btn-x);
  border-radius: 7px;
  font-size: var(--hero-btn-font-size);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.hero-redesign .hero-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.1;
}

.hero-redesign .hero-btn-primary {
  color: #07101f;
  background: linear-gradient(180deg, #f7dc77 0%, #d4af37 55%, #b78921 100%);
  border: 1px solid rgba(255, 226, 122, 0.74);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-redesign .hero-btn-outline {
  color: var(--hero-white);
  background: rgba(2, 8, 23, 0.22);
  border: 1px solid rgba(255, 250, 240, 0.32);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.20);
}

.hero-redesign .hero-scroll-indicator {
  display: none;
}

/* =====================================================
   Hover
   ===================================================== */

@media (hover: hover) and (pointer: fine) {
  .hero-redesign .hero-pillar:hover .hero-pillar-icon,
  .hero-redesign .hero-btn:hover {
    transform: translateY(-3px);
  }

  .hero-redesign .hero-pillar:hover .hero-pillar-icon {
    background: rgba(212, 175, 55, 0.16);
    border-color: rgba(212, 175, 55, 0.44);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  }

  .hero-redesign .hero-btn-primary:hover {
    box-shadow:
      0 20px 42px rgba(0, 0, 0, 0.34),
      0 0 24px rgba(212, 175, 55, 0.18);
  }

  .hero-redesign .hero-btn-outline:hover {
    border-color: rgba(212, 175, 55, 0.56);
    background: rgba(212, 175, 55, 0.08);
  }
}

/* =====================================================
   Entrance Animation
   ===================================================== */

.hero-redesign .hero-logo-block,
.hero-redesign .hero-copy,
.hero-redesign .hero-pillar,
.hero-redesign .hero-actions {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.75s ease forwards;
}

.hero-redesign .hero-logo-block {
  animation-delay: 0.08s;
}

.hero-redesign .hero-copy {
  animation-delay: 0.18s;
}

.hero-redesign .hero-pillar:nth-child(1) {
  animation-delay: 0.32s;
}

.hero-redesign .hero-pillar:nth-child(2) {
  animation-delay: 0.42s;
}

.hero-redesign .hero-pillar:nth-child(3) {
  animation-delay: 0.52s;
}

.hero-redesign .hero-actions {
  animation-delay: 0.62s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   Laptop kecil / 13 inch / 1366px
   ===================================================== */

@media (max-width: 1366px) {
  .hero-redesign {
    --hero-left-space: clamp(20px, 2.8vw, 42px);
    --hero-right-space: clamp(18px, 2.8vw, 42px);
    --hero-content-width: 700px;
    --hero-bottom-width: 560px;
    --hero-bottom-gap: 30px;

    --hero-title-size: clamp(2.95rem, 4.6vw, 4.35rem);
    --hero-subtitle-size: clamp(0.82rem, 1.12vw, 1.05rem);
    --hero-quote-size: 0.96rem;

    --hero-logo-size: 104px;
    --hero-stars-size: 0.68rem;

    --hero-pillar-icon-size: 40px;
    --hero-pillar-icon-svg: 19px;
    --hero-pillar-title-size: 0.64rem;
    --hero-pillar-text-size: 0.8rem;
    --hero-pillar-x: 12px;

    --hero-btn-height: 40px;
    --hero-btn-font-size: 0.66rem;
    --hero-btn-x: 15px;
  }
}

/* =====================================================
   Laptop kecil di bawah 1200px
   ===================================================== */

@media (max-width: 1199px) {
  .hero-redesign {
    --hero-left-space: 24px;
    --hero-right-space: 24px;
    --hero-content-width: 620px;
    --hero-bottom-width: 520px;
    --hero-bottom-gap: 26px;

    --hero-title-size: clamp(2.65rem, 4.8vw, 3.95rem);
    --hero-subtitle-size: clamp(0.78rem, 1.15vw, 0.98rem);
    --hero-quote-size: 0.92rem;

    --hero-logo-size: 96px;
    --hero-pillar-icon-size: 38px;
    --hero-pillar-icon-svg: 18px;
    --hero-pillar-title-size: 0.6rem;
    --hero-pillar-text-size: 0.76rem;
    --hero-pillar-x: 10px;

    --hero-btn-height: 39px;
    --hero-btn-font-size: 0.64rem;
    --hero-btn-x: 14px;

    min-height: 760px;
  }
}

/* =====================================================
   Tablet landscape / tablet besar
   ===================================================== */

@media (max-width: 1024px) {
  .hero-redesign {
    --hero-left-space: 24px;
    --hero-right-space: 24px;
    --hero-content-width: 540px;
    --hero-bottom-width: 500px;
    --hero-bottom-gap: 24px;

    --hero-title-size: clamp(2.35rem, 5.2vw, 3.2rem);
    --hero-subtitle-size: clamp(0.74rem, 1.42vw, 0.9rem);
    --hero-quote-size: 0.88rem;

    --hero-logo-size: 86px;
    --hero-stars-size: 0.62rem;

    --hero-pillar-icon-size: 36px;
    --hero-pillar-icon-svg: 17px;
    --hero-pillar-title-size: 0.56rem;
    --hero-pillar-text-size: 0.72rem;

    --hero-btn-height: 38px;
    --hero-btn-font-size: 0.62rem;
    --hero-btn-x: 13px;

    min-height: auto;
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .hero-redesign .hero-container {
    min-height: auto;
    justify-content: flex-start;
  }

  .hero-redesign .hero-bg-image {
    object-fit: cover;
    object-position: 68% center;
  }

  .hero-redesign .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(2, 8, 23, 0.96) 0%,
        rgba(2, 8, 23, 0.82) 38%,
        rgba(2, 8, 23, 0.46) 68%,
        rgba(2, 8, 23, 0.18) 100%
      ),
      linear-gradient(
        180deg,
        rgba(2, 8, 23, 0.12) 0%,
        rgba(2, 8, 23, 0.18) 45%,
        rgba(2, 8, 23, 0.86) 100%
      );
  }
}

/* =====================================================
   Mobile / tablet kecil
   ===================================================== */

@media (max-width: 768px) {
  .hero-redesign {
    --hero-left-space: 16px;
    --hero-right-space: 16px;
    --hero-content-width: none;
    --hero-bottom-width: none;
    --hero-bottom-gap: 30px;

    --hero-title-size: clamp(2.1rem, 10.5vw, 3.05rem);
    --hero-subtitle-size: clamp(0.7rem, 2.5vw, 0.88rem);
    --hero-quote-size: 0.88rem;

    --hero-logo-size: 82px;
    --hero-pillar-title-size: 0.66rem;
    --hero-pillar-text-size: 0.84rem;

    padding-top: 92px;
    padding-bottom: 62px;
  }

  .hero-redesign .hero-content,
  .hero-redesign .hero-bottom-section {
    width: 100%;
    max-width: none;
  }

  .hero-redesign .hero-logo-block {
    align-items: flex-start;
  }

  .hero-redesign .hero-stars {
    gap: 6px;
    margin-left: 4px;
  }

  .hero-redesign .hero-title {
    line-height: 0.96;
    letter-spacing: 0.014em;
  }

  .hero-redesign .hero-title span:nth-child(2) {
    white-space: normal;
  }

  .hero-redesign .hero-subtitle {
    max-width: 360px;
    letter-spacing: 0.075em;
  }

  .hero-redesign .hero-quote {
    max-width: 360px;
    line-height: 1.45;
  }

  .hero-redesign .hero-pillars {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--hero-border);
  }

  .hero-redesign .hero-pillar {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    padding: 15px 0;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  }

  .hero-redesign .hero-pillar:last-child {
    border-bottom: 0;
  }

  .hero-redesign .hero-pillar-icon {
    grid-row: span 2;
    margin: 0;
  }

  .hero-redesign .hero-pillar h3 {
    margin-bottom: 5px;
  }

  .hero-redesign .hero-pillar p {
    line-height: 1.42;
  }

  .hero-redesign .hero-actions {
    gap: 12px;
  }

  .hero-redesign .hero-bg-image {
    object-position: 68% center;
  }

  .hero-redesign .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 8, 23, 0.74) 0%,
        rgba(2, 8, 23, 0.72) 48%,
        rgba(2, 8, 23, 0.96) 100%
      ),
      linear-gradient(
        90deg,
        rgba(2, 8, 23, 0.96) 0%,
        rgba(2, 8, 23, 0.66) 58%,
        rgba(2, 8, 23, 0.30) 100%
      );
  }
}

/* =====================================================
   Small mobile
   ===================================================== */

@media (max-width: 420px) {
  .hero-redesign {
    --hero-left-space: 14px;
    --hero-right-space: 14px;
    --hero-title-size: clamp(1.95rem, 10.8vw, 2.65rem);
    --hero-subtitle-size: 0.7rem;
    --hero-quote-size: 0.84rem;
    --hero-logo-size: 76px;
    --hero-pillar-title-size: 0.62rem;
    --hero-pillar-text-size: 0.8rem;

    padding-top: 84px;
    padding-bottom: 54px;
  }

  .hero-redesign .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-redesign .hero-btn {
    width: 100%;
  }
}

/* =====================================================
   Accessibility
   ===================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-redesign .hero-logo-block,
  .hero-redesign .hero-copy,
  .hero-redesign .hero-pillar,
  .hero-redesign .hero-actions {
    opacity: 1;
    transform: none;
    animation: none;
  }
}