/* ==========================================
   RESET & BASE
========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  background: #050505;
  color: white;
  font-family: Inter, sans-serif;
  overflow-x: hidden;
}

/* ==========================================
   HERO
========================================== */

.hero {
  min-height: 100vh;
  padding: 48px 8% 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 165px;
}

.lang-switch {
  display: flex;
  gap: 22px;
}

.lang-switch button {
  color: #888;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lang-switch button:hover {
  color: white;
}

.lang-switch button.active {
  color: #d4af37;
}

/* ==========================================
   HERO CONTENT
========================================== */

.hero-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 80px;
}

.hero-text {
  max-width: 720px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #d4af37;
  font-weight: 700;
}

.eyebrow span {
  width: 42px;
  height: 2px;
  background: #d4af37;
}

.eyebrow span:last-child {
  white-space: nowrap;
}

.hero-text h1 {
  font-size: clamp(3.2rem, 6vw, 5rem) !important;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -3px;
  max-width: none;
  margin-top: 18px;
  text-align: left;
}

.hero-text h1 span {
  color: #d4af37;
}

.hero-text p {
  color: #afafaf;
  font-size: 21px;
  line-height: 1.9;
  max-width: 540px;
  margin-top: 42px;
  text-align: left;
}

/* ==========================================
   HERO TRUST
========================================== */

.hero-trust {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.trust-launch {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.18);
  color: #d4af37;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ==========================================
   SCROLL INDICATOR
========================================== */

.scroll-indicator {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #777;
  letter-spacing: 4px;
  font-size: 12px;
}

.scroll-indicator span {
  width: 2px;
  height: 36px;
  background: linear-gradient(
    transparent,
    rgba(212, 175, 55, 0.8),
    transparent
  );
}

/* ==========================================
   BACKGROUND
========================================== */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  overflow: hidden;
}

.bg-grid::before {
  content: "";
  position: absolute;
  inset: -150px;
  background-image: url("assets/honeycomb.svg");
  background-size: 180px;
  background-repeat: repeat;
  animation: hiveMove 60s linear infinite;
}

.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent,
    rgba(5, 5, 5, 0.35) 65%,
    #050505 100%
  );
}

.bg-glow {
  position: fixed;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: #d4af37;
  filter: blur(250px);
  opacity: 0.08;
  right: -250px;
  top: -200px;
  z-index: -2;
}

.hex {
  position: absolute;
  width: 220px;
  aspect-ratio: 1;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  border: 1px solid rgba(212, 175, 55, 0.05);
  background: rgba(212, 175, 55, 0.015);
}

.h1 {
  top: 6%;
  left: 5%;
}

.h2 {
  top: 22%;
  right: 10%;
}

.h3 {
  top: 58%;
  left: 8%;
}

.h4 {
  bottom: 12%;
  right: 18%;
}

.h5 {
  top: 40%;
  left: 45%;
}

.h6 {
  bottom: 5%;
  left: 55%;
}

/* ==========================================
   SECTION SYSTEM
========================================== */

.section {
  position: relative;
  min-height: 100vh;
  padding: 120px 7%;
  display: flex;
  align-items: center;
}

.section-dark {
  background: #050505;
}

.section-light {
  background: #0b0b0b;
}

.container {
  width: min(1280px, 100%);
  margin: 0 auto;
}

/* ==========================================
   REUSABLE ANIMATIONS
========================================== */

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.fade-in {
  opacity: 0;
}

/* ==========================================
   INITIAL HERO STATE
========================================== */

.navbar,
.eyebrow,
.hero-text h1,
.hero-text p,
.hero-trust,
.scroll-indicator {
  opacity: 0;
}

/* ==========================================
   HERO VISUAL
========================================== */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  filter: blur(80px);
  z-index: -1;
}

/* ==========================================
   ANILAN CONSOLE
========================================== */

.anilan-console {
  width: 100%;
  max-width: 470px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 26px;
  opacity: 0;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(212, 175, 55, 0.05);
}

/* ---------- HEADER ---------- */

.console-header {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.console-brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-align: left;
}

.console-subtitle {
  margin-top: 6px;
  font-size: 13px;
  color: #777;
}

.console-meta {
  display: flex;
  gap: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.meta-item .label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #666;
}

.meta-item .value {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
}

.online {
  color: #d4af37;
  display: flex;
  align-items: center;
  gap: 8px;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37;
}

/* ---------- BODY / TERMINAL ---------- */

.console-body {
  padding: 26px;
}

.terminal {
  width: 100%;
  min-height: 165px;
  background: #0b0b0b;
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 16px;
  padding: 18px;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 14px;
  margin-bottom: 22px;
  overflow: hidden;
}

#terminal-output {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.terminal-history {
  color: #9d9d9d;
  text-align: left;
}

.terminal-line {
  text-align: left;
}

.prompt {
  color: #d4af37;
  margin-right: 8px;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 18px;
  background: #d4af37;
  margin-left: 3px;
  animation: blink 1s infinite;
}

/* ---------- ACTIVITY FEED ---------- */

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 15px;
}

.activity:last-child {
  border: none;
}

.time {
  width: 58px;
  color: #666;
  font-family: monospace;
  font-size: 13px;
}

.activity-text {
  color: #ddd;
}

/* ---------- FOOTER ---------- */

.console-footer {
  padding: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.console-footer h4 {
  font-size: 26px;
  margin-bottom: 10px;
}

.console-footer p {
  color: #999;
  margin-bottom: 22px;
  line-height: 1.7;
}

/* ---------- FORM ---------- */

.console-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.console-form input {
  padding: 15px 18px;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  outline: none;
}

.console-form input:focus {
  border-color: #d4af37;
}

.console-form button {
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: #d4af37;
  color: #050505;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.console-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.25);
}

/* ==========================================
   BOOT SCREEN
========================================== */

#boot-screen {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.boot-logo {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 10px;
  color: #d4af37;
  margin-bottom: 40px;
}

.boot-status {
  color: #d4af37;
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.boot-log {
  width: 520px;
  max-width: 90vw;
  height: 120px;
  overflow: hidden;
  color: #9a9a9a;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.boot-progress {
  width: 520px;
  max-width: 90vw;
  height: 4px;
  background: #1a1a1a;
  overflow: hidden;
  border-radius: 999px;
}

.boot-progress-fill {
  width: 0;
  height: 100%;
  background: #d4af37;
  box-shadow: 0 0 25px #d4af37;
}

.boot-percent {
  margin-top: 16px;
  color: #888;
}

/* ==========================================
   ANIMATIONS
========================================== */

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

@keyframes hiveMove {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-80px, -180px);
  }
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 4rem;
  }

  .hero-text h1 {
    font-size: 60px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .logo {
    width: 130px;
  }

  .terminal,
  .terminal-line,
  #terminal-output {
    text-align: left;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .hero {
    position: relative;

    width: 100%;
    min-height: 100dvh;
    height: auto;

    padding: 28px 20px 80px;

    display: block;

    overflow: visible;
  }

  .navbar {
    width: 100%;
  }

  .logo {
    width: 120px;
  }

  .lang-switch {
    gap: 14px;
  }

  .hero-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-top: 3rem;

    display: block;

    height: auto;
    min-height: 0;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-text h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.5rem, 11vw, 3.5rem) !important;
    line-height: 1.05;
    letter-spacing: -2px;
  }

  .hero-text p {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.7;
    margin-top: 28px;
  }

  .hero-trust {
    margin-top: 36px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ---------- HERO VISUAL ---------- */

  .hero-visual {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-top: 42px;

    display: block;
    height: auto;
    min-height: 0;

    overflow: visible;
  }

  .hero-visual::before {
    display: none;
  }

  /* ---------- CONSOLE ---------- */

  .anilan-console {
    width: 100%;
    max-width: 470px;
    min-width: 0;

    height: auto;
    min-height: 0;

    margin: 0 auto;

    overflow: hidden;
  }

  .console-header {
    width: 100%;
    padding: 18px;
  }

  .console-body {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 18px;
  }

  .console-footer {
    width: 100%;
    padding: 22px 18px 24px;
  }

  .console-brand {
    font-size: 19px;
  }

  .console-subtitle {
    font-size: 11px;
  }

  .console-meta {
    gap: 10px;
  }

  .console-footer h4 {
    font-size: 22px;
  }

  /* ---------- TERMINAL ---------- */

  .terminal {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    min-height: 150px;
    height: auto;

    padding: 16px;

    overflow: hidden;
  }

  .terminal-line,
  .terminal-history,
  #typed-text {
    width: 100%;
    min-width: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* ---------- ACTIVITY FEED ---------- */

  .activity-feed {
    width: 100%;
    min-width: 0;
  }

  .activity {
    width: 100%;
    min-width: 0;
    gap: 10px;
    font-size: 13px;
  }

  .time {
    width: 58px;
    flex-shrink: 0;
    font-size: 11px;
  }

  .activity-text {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* ---------- FORM ---------- */

  .console-form {
    width: 100%;
  }

  .console-form input,
  .console-form button {
    width: 100%;
    max-width: 100%;
  }

  /* ---------- BACKGROUND ---------- */

  .bg-glow {
    width: 500px;
    height: 500px;
    right: -250px;
    top: -150px;
    opacity: 0.05;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 1600px;
    height: auto;
    overflow: visible;
  }
}

body.booting {
  overflow: hidden;
  height: 100vh;
}

@media (max-width: 700px) {
  #boot-screen {
    width: 100%;
    height: 100dvh;
    padding: 20px;
    overflow: hidden;

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

  .boot-logo {
    font-size: 48px;
    letter-spacing: 7px;
    margin-bottom: 30px;
    text-align: center;
  }

  .boot-status {
    font-size: 15px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    text-align: center;
  }

  .boot-log {
    width: 100%;
    max-width: 520px;
    height: 120px;
    margin-bottom: 25px;
    font-size: 12px;
  }

  .boot-progress {
    width: 100%;
    max-width: 520px;
  }

  .boot-percent {
    margin-top: 14px;
  }
}

/* ==========================================
   WAITLIST SUCCESS MODAL
========================================== */

.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;

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

  padding: 24px;

  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.waitlist-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.waitlist-modal-card {
  width: 100%;
  max-width: 420px;

  padding: 42px 32px;

  text-align: center;

  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(212, 175, 55, 0.08);

  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s ease;
}

.waitlist-modal.active .waitlist-modal-card {
  transform: translateY(0) scale(1);
}

.waitlist-success-icon {
  width: 58px;
  height: 58px;

  margin: 0 auto 22px;

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

  border-radius: 50%;

  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);

  color: #d4af37;
  font-size: 26px;
  font-weight: 700;

  box-shadow: 0 0 30px rgba(212, 175, 55, 0.12);
}

.waitlist-modal-card h3 {
  color: white;
  font-size: 26px;
  margin-bottom: 12px;
}

.waitlist-modal-card p {
  color: #999;
  line-height: 1.7;
  margin-bottom: 26px;
}

.waitlist-modal-card button {
  padding: 12px 24px;

  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;

  background: rgba(212, 175, 55, 0.08);

  color: #d4af37;
  font-weight: 600;

  cursor: pointer;

  transition: 0.3s ease;
}

.waitlist-modal-card button:hover {
  background: #d4af37;
  color: #050505;
}

/* =========================
   BENEFITS SECTION
========================= */

.benefits-section {
  padding: 140px 0 160px;
}

.benefits-header {
  max-width: 900px;
  margin-bottom: 72px;
}

.benefits-eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.benefits-eyebrow::before,
.benefits-eyebrow::after {
  content: "";
  width: 44px;
  height: 2px;
  background: #d4af37;
  opacity: 0.9;
}

.benefits-eyebrow span {
  color: #d4af37;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.benefits-header h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(52px, 5.5vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.benefits-header h2 span {
  color: #d4af37;
}

.benefits-header > p {
  max-width: 680px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.7;
  color: #a7a7a7;
}

/* =========================
   BENEFIT CARDS
========================= */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;

  min-height: 500px;
  padding: 38px 36px 32px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.012)
  );

  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 24px;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.015)
  );
}

/* Number */

.benefit-number {
  color: #d4af37;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.65;
}

/* Icon */

.benefit-icon {
  width: 52px;
  height: 52px;
  margin-top: 34px;
  margin-bottom: 28px;

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

  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;

  background: rgba(212, 175, 55, 0.06);
}

/* Title */

.benefit-card h3 {
  margin: 0 0 20px;

  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;

  color: #f5f5f5;
}

/* Body */

.benefit-card p {
  margin: 0;

  color: #929292;
  font-size: 15px;
  line-height: 1.75;
}

.benefit-card p + p {
  margin-top: 18px;
}

/* Tag */

.benefit-tag {
  margin-top: auto;
  padding-top: 32px;

  display: flex;
  align-items: flex-start;
  gap: 9px;

  color: #d4af37;

  font-size: 10px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.benefit-tag > span:first-child {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-top: 3px;

  border-radius: 50%;
  background: #d4af37;
}

@media (max-width: 900px) {
  .benefits-section {
    padding: 100px 0 120px;
  }

  .benefits-header {
    margin-bottom: 52px;
  }

  .benefits-header h2 {
    font-size: clamp(46px, 8vw, 68px);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    min-height: auto;
    padding: 32px 28px 28px;
  }

  .benefit-tag {
    margin-top: 36px;
  }
}

@media (max-width: 560px) {
  .benefits-section {
    padding: 80px 0 100px;
  }

  .benefits-header h2 {
    font-size: 46px;
    line-height: 1;
  }

  .benefits-header > p {
    font-size: 16px;
  }

  .benefit-card {
    border-radius: 20px;
  }

  .benefit-card h3 {
    font-size: 24px;
  }
}
