@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #030303; }
body.scroll-locked { overflow: hidden; height: 100vh; }

/* Scrollable height for the 3 content sections (Website / ERP / E-commerce).
   Everything visual is position:fixed, so the laptop never actually moves —
   scrolling just drives which section's content is showing. */
.scroll-spacer {
  height: 300vh;
}

#three-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
}

/* Glass header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(-16px);
  animation: headerEnter 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
@keyframes headerEnter {
  to { opacity: 1; transform: translateY(0); }
}
.site-logo {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 1px 8px rgba(255, 255, 255, 0.18));
  transition: filter 0.3s ease;
}
.site-logo:hover {
  filter: drop-shadow(0 1px 14px rgba(255, 255, 255, 0.3));
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  position: relative;
  padding: 6px 0;
  color: rgba(230, 231, 234, 0.55);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover {
  color: #ffffff;
}
.nav-link:hover::after {
  transform: scaleX(1);
}
.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}
.nav-link.active::after {
  transform: scaleX(1);
}

.enquire-btn {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  padding: 11px 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #ffffff, #c7c9cc 55%, #9a9ca0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 4px 18px rgba(255, 255, 255, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.enquire-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 22px rgba(255, 255, 255, 0.22),
    0 3px 10px rgba(0, 0, 0, 0.35);
}
.enquire-btn:active {
  transform: translateY(0);
}

/* Mobile hamburger toggle (hidden on desktop, shown via the media query below) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown panel */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 940;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 110px 28px 28px;
  background: rgba(8, 8, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.mobile-nav.mobile-nav-open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav-link {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(230, 231, 234, 0.7);
  text-decoration: none;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav-link.active {
  color: #ffffff;
}
.mobile-nav-enquire {
  margin-top: 18px;
  align-self: flex-start;
}

/* Background grid pattern (matches loader.html) */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Floating ambient glow (matches loader.html) */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}
.glow-1 {
  top: 20%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.07);
  animation: drift 20s infinite alternate;
}
.glow-2 {
  bottom: 20%;
  right: 20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  animation: drift 25s infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(100px, 100px); }
}

/* ============================================
   ✏️ EDIT THIS — appears on the laptop screen
   ============================================ */
#screen-content {
  width: 1280px;
  height: 800px;
  position: fixed;
  top: -9999px; /* hidden from page */
  left: 0;
  background: #0a0a0a;
  color: white;
  font-family: 'Inter', Arial, sans-serif;
  overflow: hidden;
}

/* Mini website mockup — shared by #screen-content (baked onto the 3D screen)
   and #screen-flyin (the 2D HTML version that animates in over it) */
.mock-site {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 40px;
}
.mock-logo {
  height: 64px;
  width: auto;
}
.mock-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #ffffff;
  max-width: 820px;
}
.mock-tagline {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
}
.mock-ctas {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.mock-cta-primary,
.mock-cta-secondary {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 30px;
  border-radius: 999px;
  display: inline-block;
}
.mock-cta-primary {
  background: linear-gradient(135deg, #ffffff, #c7c9cc);
  color: #0a0a0a;
}
.mock-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Full site layout (#screen-content only) — header, hero, features.
   #screen-flyin keeps the simpler centered .mock-site teaser as-is. */
#screen-content .mock-site {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  text-align: left;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.07), transparent 40%),
    radial-gradient(circle at 88% 85%, rgba(255, 255, 255, 0.05), transparent 45%),
    #060607;
}
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-header .mock-logo {
  height: 32px;
}
.mock-nav {
  display: flex;
  gap: 8px;
}
.mock-nav span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
}
.mock-nav span:first-child {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.mock-nav-cta {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #c7c9cc);
  color: #0a0a0a;
}
.mock-hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 0 60px;
  overflow: hidden;
}
.mock-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.mock-glow-1 {
  width: 480px;
  height: 480px;
  top: -180px;
  left: 50%;
  margin-left: -240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
}
.mock-glow-2 {
  width: 360px;
  height: 360px;
  bottom: -200px;
  right: 6%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
}
.mock-hero > *:not(.mock-glow) {
  position: relative;
  z-index: 1;
}
.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
}
.mock-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
}
.mock-accent {
  color: #ffffff;
  position: relative;
}
.mock-features {
  display: flex;
  gap: 28px;
  padding: 40px 56px 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-feature {
  flex: 1;
  text-align: left;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.mock-feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 14px 0 6px;
}
.mock-feature p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

/* Loading state baked onto the laptop screen between sections */
.screen-loading {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #060607;
}
.screen-loading-spinner {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: screenSpin 0.8s linear infinite;
}
.screen-loading p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}
@keyframes screenSpin {
  to { transform: rotate(360deg); }
}

/* ERP dashboard mockup */
#screen-content .mock-site.mock-app {
  flex-direction: row;
}
.mock-app-sidebar {
  width: 210px;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mock-app-logo {
  height: 24px;
}
.mock-app-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-app-nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  padding: 9px 12px;
  border-radius: 10px;
}
.mock-app-nav span.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.mock-app-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  display: inline-block;
}
.mock-app-main {
  flex: 1;
  min-width: 0;
  padding: 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mock-app-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
}
.mock-app-topbar h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}
.mock-app-search {
  flex: 1;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 16px;
}
.mock-app-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-app-profile-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.mock-app-profile-text strong {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
}
.mock-app-profile-text span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.mock-app-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #9a9ca0);
  flex-shrink: 0;
}
.mock-app-cards {
  display: flex;
  gap: 14px;
}
.mock-app-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-app-card span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}
.mock-app-card strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  color: #ffffff;
}
.mock-app-up,
.mock-app-down {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}
.mock-app-up { color: #8fe3b0; }
.mock-app-down { color: #f0a3a3; }
.mock-app-row {
  flex: 1;
  display: flex;
  gap: 16px;
  min-height: 0;
}
.mock-app-panel-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.mock-app-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
}
.mock-app-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.mock-app-bar {
  flex: 1;
  background: linear-gradient(180deg, #ffffff, #9a9ca0);
  border-radius: 6px 6px 0 0;
  opacity: 0.85;
}
.mock-app-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
}
.mock-app-row-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
}
.mock-app-row-item:first-of-type {
  border-top: none;
}
.mock-app-row-item span:first-child {
  color: rgba(255, 255, 255, 0.4);
  width: 50px;
}
.mock-app-row-item span:nth-child(2) {
  flex: 1;
  color: rgba(255, 255, 255, 0.8);
}
.mock-app-row-item strong {
  color: #ffffff;
  font-weight: 500;
}
.mock-app-pill {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
}
.mock-app-pill-paid {
  background: rgba(143, 227, 176, 0.15);
  color: #8fe3b0;
}
.mock-app-pill-pending {
  background: rgba(240, 200, 130, 0.15);
  color: #f0c882;
}

/* E-commerce storefront mockup */
.mock-shop-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-shop-banner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.mock-shop-banner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
}
.mock-shop-banner p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.mock-shop-banner-visual {
  width: 150px;
  height: 110px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-shop-discount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
}
.mock-shop-filters {
  display: flex;
  gap: 10px;
  padding: 18px 56px;
}
.mock-shop-filters span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.mock-shop-filters span.active {
  background: #ffffff;
  color: #0a0a0a;
  border-color: transparent;
}
.mock-shop-grid {
  flex: 1;
  display: flex;
  gap: 20px;
  padding: 8px 56px 24px;
}
.mock-shop-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-shop-thumb {
  position: relative;
  width: 100%;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-shop-sale {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  color: #0a0a0a;
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 999px;
}
.mock-shop-rating {
  font-size: 10px;
  color: #f0c882;
  letter-spacing: 1px;
}
.mock-shop-name {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.mock-shop-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mock-shop-price strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: #ffffff;
}
.mock-shop-price del {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.mock-shop-add {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 0;
  text-align: center;
  margin-top: 4px;
}
.mock-shop-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-shop-trust span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

/* Headline / tagline / CTAs on the left, revealed once the laptop moves right */
#hero-content {
  position: fixed;
  top: 50%;
  left: 6%;
  max-width: 480px;
  transform: translateY(-50%);
  z-index: 40;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#hero-content.hero-visible {
  pointer-events: auto;
}
#hero-content.hero-fade-out {
  opacity: 0;
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
#hero-content > *:not(.hero-glow) {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
}
#hero-content.hero-visible > *:not(.hero-glow) {
  animation: wordReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
#hero-content.hero-visible .hero-badge { animation-delay: 0.05s; }
#hero-content.hero-visible .hero-headline { animation-delay: 0.2s; }
#hero-content.hero-visible .hero-tagline { animation-delay: 0.4s; }
#hero-content.hero-visible .hero-ctas { animation-delay: 0.55s; }
#hero-content.hero-visible .hero-stats { animation-delay: 0.7s; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
}
.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
}
.hero-accent {
  background: linear-gradient(90deg, #888, #fff, #888);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}
.hero-tagline {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-cta-primary,
.hero-cta-secondary {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.hero-cta-primary {
  background: linear-gradient(135deg, #ffffff, #c7c9cc 55%, #9a9ca0);
  color: #0a0a0a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 18px rgba(255, 255, 255, 0.12);
}
.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 26px rgba(255, 255, 255, 0.2);
}
.hero-cta-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
}
.hero-stat span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* "Scroll to Explore" hint — fades in with the hero, fades out once the user scrolls */
#scroll-hint {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
#scroll-hint.scroll-hint-visible {
  opacity: 1;
}
#scroll-hint.scroll-hint-fade {
  opacity: 0;
}
.scroll-hint-text {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.scroll-hint-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-hint-wheel {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: #ffffff;
  animation: scrollHintWheel 1.6s ease-in-out infinite;
}
@keyframes scrollHintWheel {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* Loading screen (loader.html splash) */
#loader-overlay {
  position: fixed;
  inset: 0;
  isolation: isolate;
  background: #030303;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
}
#loader-overlay.loader-hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  z-index: 10;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
}

.logo-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  overflow: visible;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: logoEnter 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes logoEnter {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.path {
  fill: none;
  stroke: url(#liquidSilver);
  stroke-width: 11;
  stroke-linecap: round;
  filter: url(#silverGlow);
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  opacity: 0;
}
#g1-top { animation: drawPath 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards; }
#g1-bar { stroke-dasharray: 80; stroke-dashoffset: 80; animation: drawPath 1s ease-out 1.2s forwards; }
#g2-top { animation: drawPath 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards; }
#g2-bar { stroke-dasharray: 80; stroke-dashoffset: 80; animation: drawPath 1s ease-out 1.5s forwards; }
@keyframes drawPath {
  to { stroke-dashoffset: 0; opacity: 1; }
}

.text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.word-wrapper {
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.word {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
}
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #888, #fff, #888);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wordReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 2.2s forwards,
             shine 6s linear infinite;
}
.sub-name {
  font-size: clamp(0.7rem, 2vw, 0.95rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.7em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  margin-left: 0.7em;
  animation: wordReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.6s forwards;
}
@media (max-width: 480px) {
  .sub-name { letter-spacing: 0.3em; }
  .loader-container { gap: 1.5rem; }
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes shine {
  to { background-position: 200% center; }
}

.accent-line {
  width: 100px;
  height: 1px;
  background: radial-gradient(circle, rgba(255,255,255,0.4), transparent);
  margin-top: 2.5rem;
  opacity: 0;
  transform: scaleX(0);
  animation: lineFill 1.5s ease-out 3.2s forwards;
}
@keyframes lineFill {
  to { opacity: 1; transform: scaleX(1); }
}

/* Welcome screen — shown after the loader, hides the laptop until Play is clicked */
#welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
#welcome-screen.welcome-visible {
  opacity: 1;
  pointer-events: auto;
}
#welcome-screen.welcome-exit {
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
}
.welcome-tilt {
  perspective: 900px;
}
.welcome-title {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  font-weight: 600;
  text-align: center;
  max-width: 1100px;
  background: linear-gradient(90deg, #888, #fff, #888);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: transform 0.2s ease-out;
}
#welcome-screen.welcome-visible .welcome-title {
  animation: wordReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards,
             shine 6s linear infinite;
}
.play-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn-wrap::before,
.play-btn-wrap::after {
  content: '';
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: ringPulse 2.6s ease-out infinite;
  pointer-events: none;
}
.play-btn-wrap::after {
  animation-delay: 1.3s;
}
@keyframes ringPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.9); opacity: 0; }
}
.play-btn {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#welcome-screen.welcome-visible .play-btn {
  animation: playReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}
@keyframes playReveal {
  to { opacity: 1; transform: scale(1); }
}
.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}
.play-btn svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 880px) {
  .site-header {
    padding: 14px 20px;
  }
  .site-logo {
    height: 46px;
  }
  .site-nav,
  .enquire-btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  #hero-content {
    left: 5%;
    right: 5%;
    top: auto;
    bottom: 8%;
    max-width: none;
    transform: none;
  }
  #hero-content.hero-fade-out {
    opacity: 0;
  }
  .hero-glow {
    top: -80px;
    left: -80px;
    width: 280px;
    height: 280px;
  }
  .hero-headline {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }
  .hero-tagline {
    font-size: 14px;
    max-width: 420px;
  }
  .hero-ctas {
    flex-wrap: wrap;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .welcome-title {
    padding: 0 16px;
  }

  .loader-container {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 12px 16px;
  }
  .site-logo {
    height: 38px;
  }
  .mobile-nav {
    padding: 90px 20px 24px;
  }
  #hero-content {
    bottom: 6%;
  }
  .hero-badge {
    font-size: 11px;
  }
  .hero-cta-primary,
  .hero-cta-secondary {
    font-size: 13px;
    padding: 11px 22px;
  }
  .hero-stat strong {
    font-size: 18px;
  }
  .play-btn,
  .play-btn-wrap::before,
  .play-btn-wrap::after {
    width: 64px;
    height: 64px;
  }
}
