:root {
  color-scheme: light;
  --emerald-950: #063a34;
  --emerald-900: #075047;
  --emerald-800: #0b665d;
  --emerald-600: #0f8a78;
  --emerald-400: #56b9a8;
  --gold: #d7bd67;
  --gold-deep: #b89436;
  --gold-soft: #ead99b;
  --cream-gold: #f7edc9;
  --ink: #101412;
  --muted: #66706b;
  --paper: #f5f7f3;
  --surface: #ffffff;
  --line: rgba(16, 20, 18, 0.1);
  --glass: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(6, 58, 52, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 138, 120, 0.08), transparent 28%),
    linear-gradient(180deg, #f6faf7 0%, #edf5f1 48%, #f5f7f3 100%);
  font-family: Manrope, Poppins, "Segoe UI", sans-serif;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 58, 52, 0.82), rgba(6, 58, 52, 0));
  transition: background 240ms ease, padding 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(6, 58, 52, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img,
.site-footer img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  background: #030806;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Poppins, Manrope, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.45vw, 20px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-header nav a:hover,
.text-link:hover {
  color: var(--gold-soft);
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--emerald-950);
  background: var(--gold);
  border-radius: 999px;
  font-weight: 900;
}

.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #063a34;
}

.hero-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.11), transparent 22%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 72px);
  opacity: 0.65;
}

.hero-video {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 58, 52, 0.9), rgba(15, 138, 120, 0.72)),
    url("/assets/logo-koperasi.jpeg") center / min(430px, 48vw) no-repeat,
    linear-gradient(135deg, #063a34, #0f8a78 58%, #075047);
  transform: scale(1.06);
  animation: cinematic-pan 18s ease-in-out infinite alternate;
}

.drone-grid {
  position: absolute;
  inset: 13% 5% 9%;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  grid-auto-rows: 1fr;
  gap: 14px;
  opacity: 0.22;
  filter: saturate(0.9);
}

.drone-grid span {
  display: flex;
  align-items: end;
  min-height: 140px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(215, 189, 103, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  font-weight: 900;
}

.drone-grid span:nth-child(1),
.drone-grid span:nth-child(5) {
  grid-row: span 2;
}

.drone-grid span:nth-child(3) {
  grid-column: span 2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 58, 52, 0.12), rgba(6, 58, 52, 0.38)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.02), rgba(6, 58, 52, 0.44));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 32px));
  margin-top: 60px;
  text-align: center;
}

.platform-label,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
strong,
span {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: Poppins, Manrope, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(4.6rem, 12vw, 11rem);
  line-height: 0.86;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5.1vw, 5.25rem);
  line-height: 0.98;
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.08;
}

.hero-subtitle {
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.25rem, 3.5vw, 3.3rem);
  font-weight: 900;
}

.hero-tagline {
  margin: 8px 0 0;
  color: var(--gold-soft);
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.unit-card:hover,
.product-grid article:hover,
.business-orbit article:hover {
  transform: translateY(-6px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-600));
  box-shadow: 0 18px 38px rgba(15, 138, 120, 0.24);
}

.button-gold {
  color: var(--emerald-950);
  background: linear-gradient(135deg, var(--gold), var(--cream-gold));
  box-shadow: 0 18px 38px rgba(215, 189, 103, 0.2);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 99px;
  transform: translateX(-50%);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

.section,
.stats-band,
.marketplace,
.profile-video,
.contact-section,
.gallery {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.section,
.marketplace,
.contact-section {
  padding: clamp(70px, 10vw, 132px) 0;
}

.section-intro {
  padding-top: clamp(86px, 11vw, 150px);
}

.intro-layout,
.marketplace,
.investor,
.contact-section,
.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.intro-layout p,
.marketplace p,
.investor p,
.video-frame p,
.product-grid p,
.business-orbit p,
.news p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.unit-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 243, 224, 0.96)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(6, 27, 20, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.unit-card span {
  font-size: 2.2rem;
}

.unit-card strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
}

.unit-card small {
  color: var(--muted);
  line-height: 1.45;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: linear-gradient(135deg, var(--emerald-950), var(--emerald-800));
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.stats-band article {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.stats-band article:last-child {
  border-right: 0;
}

.stats-band strong {
  color: var(--gold-soft);
  font-family: Poppins, Manrope, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1;
  font-weight: 900;
}

.stats-band span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.digital-ecosystem {
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: clamp(34px, 5vw, 58px);
  color: #f8fffb;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(135deg, #0b665d, #0f8a78);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.digital-ecosystem .section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.digital-ecosystem .section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.ecosystem-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.ecosystem-map article,
.ecosystem-center {
  min-height: 168px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(6, 58, 52, 0.12);
}

.ecosystem-map article strong,
.ecosystem-center strong {
  color: var(--emerald-950);
  font-size: 1.14rem;
  font-weight: 900;
}

.ecosystem-map article span,
.ecosystem-center span {
  color: var(--muted);
  line-height: 1.55;
}

.ecosystem-center {
  place-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  transform: scale(1.04);
}

.ecosystem-center img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 18px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.business-section {
  padding-bottom: 72px;
}

.business-orbit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.business-orbit article,
.product-grid article {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, var(--emerald-950), var(--emerald-600));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(6, 27, 20, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.business-orbit article:nth-child(2),
.product-grid article:nth-child(2) {
  background: linear-gradient(135deg, #075047, #0f8a78);
}

.business-orbit article:nth-child(3),
.product-grid article:nth-child(3) {
  background: linear-gradient(135deg, #063a34, #0b665d);
}

.business-orbit article:nth-child(4),
.product-grid article:nth-child(4) {
  background: linear-gradient(135deg, #075047, #56b9a8);
}

.business-orbit span,
.product-grid span,
.news span {
  color: var(--gold-soft);
  font-weight: 900;
  text-transform: uppercase;
}

.business-orbit p,
.product-grid p {
  color: rgba(255, 255, 255, 0.75);
}

.profile-video {
  min-height: min(720px, 88vh);
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 48px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 58, 52, 0.12), rgba(6, 58, 52, 0.34)),
    linear-gradient(135deg, #063a34, #0f8a78 54%, #075047);
  border-radius: 34px;
  overflow: hidden;
}

.video-frame {
  width: min(850px, 100%);
  text-align: center;
}

.video-frame span {
  color: var(--gold-soft);
  font-weight: 900;
  text-transform: uppercase;
}

.video-frame h2 {
  margin-top: 18px;
}

.video-frame p {
  max-width: 700px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.video-frame button {
  width: 82px;
  height: 82px;
  margin-top: 32px;
  color: var(--emerald-950);
  background: var(--gold);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(215, 169, 65, 0.38);
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.marketplace {
  align-items: center;
  padding-inline: clamp(24px, 5vw, 68px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, var(--emerald-950), var(--emerald-600));
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.marketplace p {
  color: rgba(255, 255, 255, 0.72);
}

.order-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 18px;
}

.order-row strong {
  color: #fff;
}

.investor {
  padding-inline: clamp(24px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: 0 18px 58px rgba(6, 27, 20, 0.08);
}

.investor-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.investor-list span {
  padding: 16px;
  color: var(--emerald-950);
  background: #f7f3e7;
  border: 1px solid rgba(215, 169, 65, 0.22);
  border-radius: 18px;
  font-weight: 900;
}

.gallery {
  padding: clamp(70px, 10vw, 132px) 0 0;
}

.masonry {
  columns: 3 260px;
  column-gap: 16px;
}

.masonry figure {
  min-height: 230px;
  display: inline-flex;
  width: 100%;
  align-items: end;
  margin: 0 0 16px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.42)),
    linear-gradient(135deg, #0f3d2d, #d7a941);
  border-radius: 28px;
  break-inside: avoid;
}

.masonry .tall {
  min-height: 390px;
}

.masonry .wide {
  min-height: 300px;
}

.masonry span {
  font-weight: 900;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 16px;
}

.news-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(6, 27, 20, 0.07);
}

.main-news {
  min-height: 360px;
}

.contact-section {
  align-items: center;
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-grid a,
.map-card {
  padding: 18px;
  color: var(--emerald-950);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(6, 27, 20, 0.06);
}

.contact-grid strong {
  display: block;
  margin-top: 5px;
}

.ai-assistant {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: min(270px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 14px;
  color: #fff;
  background: rgba(6, 27, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.ai-assistant span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--emerald-950);
  background: var(--gold);
  border-radius: 14px;
  font-weight: 900;
}

.ai-assistant strong {
  font-size: 0.92rem;
}

.ai-assistant small {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  width: min(1240px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto minmax(260px, 0.7fr);
  gap: 24px;
  align-items: center;
  margin: 30px auto 0;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer > div:first-child {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 12px;
  align-items: center;
}

.site-footer > div:first-child span {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 900;
}

.newsletter {
  display: grid;
  gap: 8px;
}

.newsletter label {
  color: var(--muted);
  font-weight: 900;
}

.newsletter div {
  display: grid;
  grid-template-columns: 1fr auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.newsletter input,
.newsletter button {
  min-height: 44px;
  border: 0;
}

.newsletter input {
  min-width: 0;
  padding: 0 16px;
  outline: 0;
}

.newsletter button {
  padding: 0 16px;
  color: var(--emerald-950);
  background: var(--gold);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cinematic-pan {
  from {
    transform: scale(1.06) translate3d(-1.5%, -1%, 0);
  }
  to {
    transform: scale(1.11) translate3d(1.5%, 1%, 0);
  }
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .unit-grid,
  .business-orbit,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-layout,
  .marketplace,
  .investor,
  .contact-section,
  .split-heading,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .brand {
    width: auto;
  }

  .login-link {
    grid-column: 2;
    grid-row: 1;
    min-height: 40px;
    padding: 0 14px;
  }

  .site-header nav {
    grid-column: 1 / -1;
    gap: 10px;
  }

  .site-header nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
  }

  .hero-content {
    margin-top: 112px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.3rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-actions,
  .stats-band,
  .unit-grid,
  .business-orbit,
  .product-grid,
  .news-grid,
  .investor-list {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .stats-band {
    display: grid;
  }

  .ecosystem-map {
    grid-template-columns: 1fr;
  }

  .ecosystem-center {
    transform: none;
  }

  .button {
    width: 100%;
  }

  .drone-grid {
    inset: 18% 4% 8%;
    grid-template-columns: 1fr;
    opacity: 0.32;
  }

  .drone-grid span:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 92px;
  }

  .stats-band article {
    min-height: 135px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .stats-band article:last-child {
    border-bottom: 0;
  }

  .business-orbit article,
  .product-grid article {
    min-height: 300px;
  }

  .marketplace,
  .profile-video,
  .investor {
    border-radius: 24px;
  }

  .ai-assistant {
    position: static;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
