:root {
  --bg: #0a090d;
  --bg-2: #121018;
  --card: #1a1724;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #94a3b8;
  --red: #ff3e3e;
  --orange: #ff6b00;
  --purple: #8c1eff;
  --wa: #25d366;
  --grad: linear-gradient(120deg, #ff3e3e 0%, #ff6b00 45%, #8c1eff 100%);
  --font-head: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange); color: #0a090d; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2438; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

.noise {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow-orb {
  position: fixed; border-radius: 50%; filter: blur(140px); pointer-events: none; z-index: 0;
}
.glow-orb--purple { width: 480px; height: 480px; background: rgba(140, 30, 255, 0.16); top: -160px; right: -120px; }
.glow-orb--orange { width: 420px; height: 420px; background: rgba(255, 107, 0, 0.1); top: 55vh; left: -180px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 18px;
}
.h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.01em;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 15px 28px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.96); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--wa { background: var(--wa); color: #052e12; box-shadow: 0 8px 32px rgba(37, 211, 102, 0.28); }
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(37, 211, 102, 0.42); }
.btn--outline { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.03); }
.btn--outline:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 10px 34px rgba(255, 107, 0, 0.18); }
.btn--ghost { border-color: var(--line); color: var(--muted); background: transparent; }
.btn--ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 9, 13, 0.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
  display: block;
  width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 1px var(--line), 0 6px 20px rgba(255, 62, 62, 0.25);
}
.nav__logo img { width: 100%; height: 100%; object-fit: cover; }
.nav__brand:hover .nav__logo { transform: scale(1.06); box-shadow: 0 0 0 1px rgba(255,107,0,0.5), 0 8px 26px rgba(255, 62, 62, 0.4); }
.nav__name { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.nav__name em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); position: relative; transition: color 0.25s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__burger {
  display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__burger span { width: 24px; height: 2px; background: var(--text); transition: transform 0.3s ease, opacity 0.3s ease; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; padding: 130px clamp(20px, 5vw, 64px) 60px;
  background:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(140, 30, 255, 0.14), transparent 65%),
    radial-gradient(ellipse 45% 40% at 15% 75%, rgba(255, 107, 0, 0.1), transparent 60%),
    var(--bg);
}
.hero__inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 80px);
  align-items: center; max-width: 1280px; margin: 0 auto; width: 100%;
}
.hero__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(52px, 9.5vw, 118px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 6px 0 22px;
}
.mask-line { display: block; overflow: hidden; }
.mask-line > span {
  display: block; transform: translateY(112%);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s) forwards;
}
@keyframes rise { to { transform: translateY(0); } }
.hero__tagline {
  font-family: var(--font-mono); font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.hero__desc { max-width: 480px; color: var(--muted); font-size: clamp(14px, 1.5vw, 17px); margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px;
  background: rgba(255,255,255,0.02);
}
.pill svg { width: 13px; height: 13px; color: var(--orange); }
.pill--green { color: var(--wa); border-color: rgba(37, 211, 102, 0.3); }

.hero__visual { position: relative; }
.hero__frame {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(140, 30, 255, 0.14);
  transform: rotate(2deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero__frame:hover { transform: rotate(0deg) scale(1.015); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.hero__frame-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.09) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: shine 5.5s ease-in-out 1.6s infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.hero__badge-float {
  position: absolute; left: -34px; bottom: 42px; width: 92px; height: 92px;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  animation: floaty 5s ease-in-out infinite;
}
.hero__badge-float img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,0.22); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--orange); animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); padding: 22px 0; position: relative; z-index: 1;
}
.marquee__track {
  display: flex; align-items: center; gap: 44px; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.32); white-space: nowrap; transition: color 0.3s ease;
}
.marquee__track span:hover { color: var(--text); }
.marquee__track i { font-style: normal; color: var(--orange); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; z-index: 1; padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.section--alt { max-width: none; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--alt > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- chapters ---------- */
.chapters { border-top: 1px solid var(--line); }
.chapter {
  display: grid; grid-template-columns: 110px 1fr auto; gap: clamp(16px, 3vw, 40px);
  align-items: center; padding: 34px 8px; border-bottom: 1px solid var(--line);
  transition: background-color 0.35s ease, padding-left 0.35s ease;
}
.chapter:hover { background: rgba(255, 255, 255, 0.02); padding-left: 22px; }
.chapter__num {
  font-family: var(--font-mono); font-size: clamp(26px, 3.4vw, 40px); font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.chapter__body h3 { font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; margin-bottom: 6px; }
.chapter__body p { color: var(--muted); font-size: 14.5px; max-width: 560px; }
.chapter__tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange); border: 1px solid rgba(255, 107, 0, 0.3); padding: 7px 14px; border-radius: 100px; white-space: nowrap;
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.bento__item {
  position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}
.bento__item::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 107, 0, 0.14), transparent 55%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.bento__item:hover { transform: translateY(-6px); border-color: rgba(255, 107, 0, 0.4); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.bento__item:hover::after { opacity: 1; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.bento__item--tall img { aspect-ratio: auto; height: 100%; }
.bento__item:hover img { transform: scale(1.045); }
.bento__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
  background: linear-gradient(transparent, rgba(5, 4, 8, 0.9));
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  display: flex; flex-direction: column; gap: 3px; z-index: 2;
}
.bento__item figcaption .mono { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange); }
.showcase__note { margin-top: 28px; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 24px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.pillar:hover {
  transform: translateY(-6px); border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 0 34px rgba(255, 107, 0, 0.12);
}
.pillar svg { width: 30px; height: 30px; color: var(--orange); margin-bottom: 18px; }
.pillar h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 13.5px; }

/* ---------- gst ---------- */
.gst-card {
  background: linear-gradient(160deg, #17131f, #100d16);
  border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(30px, 5vw, 60px); position: relative; overflow: hidden;
}
.gst-card::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(140, 30, 255, 0.18), transparent 65%); pointer-events: none;
}
.gst-card__head { display: flex; align-items: center; gap: 22px; margin-bottom: 38px; }
.gst-card__seal {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; flex: none;
  background: var(--grad); box-shadow: 0 12px 34px rgba(255, 107, 0, 0.3);
}
.gst-card__seal svg { width: 30px; height: 30px; color: #fff; }
.gst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; margin-bottom: 38px; }
.gst-grid dt {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.gst-grid dd { font-size: 16px; font-weight: 600; }
.gst-grid dd.mono { font-size: clamp(16px, 2vw, 21px); letter-spacing: 0.04em; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
.contact__map {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 420px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) invert(0.9) hue-rotate(180deg) contrast(0.9); }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.info-card svg { width: 24px; height: 24px; color: var(--orange); flex: none; margin-top: 2px; }
.info-card h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: 13.5px; }
.info-card--link:hover, .info-card--wa:hover { transform: translateY(-4px); border-color: rgba(255, 107, 0, 0.4); box-shadow: 0 14px 40px rgba(0,0,0,0.4); }
.info-card--wa { border-color: rgba(37, 211, 102, 0.28); }
.info-card--wa svg { color: var(--wa); }
.info-card--wa:hover { border-color: var(--wa); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.14); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px clamp(20px, 5vw, 64px) 28px; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  max-width: 1280px; margin: 0 auto 44px;
}
.footer__brand .nav__logo { width: 54px; height: 54px; margin-bottom: 16px; }
.footer__name { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.footer__name em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer__tag { color: var(--muted); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 8px; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color 0.25s ease, transform 0.25s ease; }
.footer__col a:hover { color: var(--text); transform: translateX(4px); }
.footer__bottom {
  max-width: 1280px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  color: var(--muted); font-size: 12.5px;
}
.footer__bottom .mono { color: var(--orange); }

/* ---------- floating wa ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #052e12; display: grid; place-items: center;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}
.wa-float svg { width: 28px; height: 28px; position: relative; z-index: 2; }
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  animation: pulse 2.2s ease-out infinite; z-index: 1;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero__badge-float { left: -14px; width: 72px; height: 72px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__item--tall { grid-column: 1 / -1; }
  .bento__item--tall img { aspect-ratio: 16 / 11; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .gst-grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 0; top: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: rgba(10, 9, 13, 0.96); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
  }
  .nav__links.open { opacity: 1; pointer-events: auto; z-index: 49; }
  .nav__links a { font-size: 20px; }
  .nav__burger { display: flex; }
  .nav.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav .btn--sm span { display: none; }
  .chapter { grid-template-columns: 60px 1fr; }
  .chapter__tag { display: none; }
  .bento { grid-template-columns: 1fr; }
  .gst-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
}
