@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --black: #050505;
  --black-00: #000000;
  --black-0a: #0a0a0a;
  --black-12: #121212;
  --black-18: #181818;
  --grey-24: #242424;
  --grey-36: #363636;
  --grey-55: #555555;
  --grey-78: #787878;
  --grey-9a: #9a9a9a;
  --grey-c8: #c8c8c8;
  --white-e8: #e8e8e8;
  --white: #ffffff;

  --glass-bg: rgba(16, 16, 16, 0.62);
  --glass-bg-hover: rgba(24, 24, 24, 0.78);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-strong: rgba(255, 255, 255, 0.22);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: clamp(0.72rem, 0.68rem + 0.15vw, 0.8rem);
  --text-sm: clamp(0.84rem, 0.8rem + 0.18vw, 0.94rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --text-md: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem);
  --text-lg: clamp(1.12rem, 1.04rem + 0.4vw, 1.32rem);
  --text-xl: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem);
  --text-2xl: clamp(1.6rem, 1.4rem + 0.9vw, 2.1rem);
  --text-3xl: clamp(2rem, 1.7rem + 1.3vw, 2.75rem);
  --text-4xl: clamp(2.4rem, 2rem + 1.8vw, 3.6rem);
  --text-5xl: clamp(2.8rem, 2.3rem + 2.4vw, 4.4rem);
  --text-hero: clamp(3.2rem, 2.5rem + 3.4vw, 5.4rem);

  --sp-xs: 0.4rem;
  --sp-sm: 0.75rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-sec: clamp(5rem, 4rem + 4.5vw, 8.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-power: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-sharp: cubic-bezier(0.85, 0, 0.15, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-style: normal !important;
}

html {
  font-size: 16px;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--black);
  zoom: 0.85;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--grey-c8);
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}

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

ul, ol { list-style: none; }

img, canvas, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: none;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--grey-36); border-radius: 99px; }
::selection { background: var(--white); color: var(--black); }

/* Subtle Architectural Dot Grid Background */
.bg-dot-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 45%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 45%, #000 40%, transparent 100%);
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

[id^="canvas-"] {
  will-change: transform;
  transform: translateZ(0);
}

/* Custom Liquid Water Cursor */
.liquid-cursor-defs {
  position: fixed;
  width: 0;
  height: 0;
  pointer-events: none;
  visibility: hidden;
}

.liquid-cursor-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999999;
  mix-blend-mode: difference;
  filter: url(#liquid-goo);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
  will-change: transform;
}

.liquid-cursor-layer.active {
  opacity: 1;
}

.liquid-blob {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: var(--white);
  pointer-events: none;
  will-change: transform;
}

.liquid-main {
  width: 24px;
  height: 24px;
}

.liquid-trail:nth-child(2) { width: 19px; height: 19px; }
.liquid-trail:nth-child(3) { width: 16px; height: 16px; }
.liquid-trail:nth-child(4) { width: 13px; height: 13px; }
.liquid-trail:nth-child(5) { width: 10px; height: 10px; }
.liquid-trail:nth-child(6) { width: 8px;  height: 8px; }
.liquid-trail:nth-child(7) { width: 6px;  height: 6px; }

.liquid-splash-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  pointer-events: none;
  will-change: transform, opacity;
}

/* Water Ripple Ring on Click */
.liquid-ripple-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999998;
  mix-blend-mode: difference;
}

.liquid-ripple {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.4);
  animation: waterRipple 0.68s var(--ease-out) forwards;
}

@keyframes waterRipple {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5.2);
  }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

.section {
  padding: var(--sp-sec) 0;
  position: relative;
}

/* Section Header */
.sh {
  margin-bottom: clamp(2.5rem, 4.5vw, 4.5rem);
}

.sh-top {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.sh-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--grey-9a);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sh-rule {
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.sh-num {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--grey-55);
  letter-spacing: 0.08em;
}

.sh-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: var(--sp-md);
}

.sh-title span {
  font-weight: 300;
  color: var(--grey-78);
}

.sh-desc {
  max-width: 560px;
  font-size: var(--text-base);
  color: var(--grey-9a);
  line-height: 1.7;
}

/* Pill Buttons (Matching Reference Design in Monochrome) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  border-radius: 9999px;
  position: relative;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}

.btn-pill-white {
  background: var(--white);
  color: var(--black-00);
  border: 1px solid var(--white);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.14);
}

.btn-pill-white:hover {
  background: var(--white-e8);
  transform: translateY(-2px);
  box-shadow: 0 6px 34px rgba(255, 255, 255, 0.24);
}

.btn-pill-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn-pill-glass:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

/* Glass Surface Utility */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* Cards */
.card-icon {
  font-size: 1.35rem;
  color: var(--white);
  transition: transform 0.3s var(--ease-out);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--grey-9a);
  line-height: 1.75;
}

/* GSAP Reveal States */
.gsap-ready .reveal { opacity: 0; transform: translateY(28px); }
.gsap-ready .reveal-l { opacity: 0; transform: translateX(-36px); }
.gsap-ready .reveal-r { opacity: 0; transform: translateX(36px); }
.gsap-ready .reveal-s { opacity: 0; transform: scale(0.96); }