/* ═══════════════════════════════════════════════════════════════
   COGNAUTIC — Premium Monochrome Storytelling Landing Page
   Enhanced Edition
   ═══════════════════════════════════════════════════════════════ */

/* CSS Variables */
:root {
  --white: #ffffff;
  --black: #000000;
  --muted-black: #111111;
  --muted-white: #f5f5f5;
  --accent: #ffff36;
  --body-bg: #f0f0f0;
  --nav-bg: rgba(0, 0, 0, 0.92);
  --section-radius: 2rem;
  --transition-nav: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  --transition-slow: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-image: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --grain-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' seed='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='gamma' amplitude='1.45' exponent='0.85' offset='0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.68'/%3E%3C/svg%3E");
}

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

html,
body {
  width: 100%;
  background-color: var(--body-bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--black);
  overflow-x: hidden;
}

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


/* ═══════════════════════════════════════════════════════════════
   TOP ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════════ */
.announcement-bar {
  background: var(--accent);
  color: var(--black);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.announcement-link {
  text-decoration: underline;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.announcement-link:hover {
  opacity: 0.7;
}

/* Adjust navbar top position when announcement bar is present */
.navbar {
  top: 2.4rem;
}

@media (max-width: 768px) {
  .navbar {
    top: 3.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — Floating Pill
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1400px;
  height: 3.8rem;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: var(--transition-nav);
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.navbar.nav-hidden {
  transform: translate(-50%, -200%);
  opacity: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-logo-img {
  height: 1.5rem;
  width: auto;
  filter: invert(1);
  display: block;
  transition: opacity 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.7;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 100%;
}

.nav-link {
  color: var(--white) !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.55;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s var(--ease);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION SYSTEM — Floating Cards
   ═══════════════════════════════════════════════════════════════ */
section {
  width: calc(100% - 3rem);
  margin: 1.5rem auto;
  padding: 15vh 10%;
  min-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  border-radius: var(--section-radius);
  overflow: hidden;
}

.section-white {
  background-color: var(--white);
  color: var(--black);
}

.section-black {
  background-color: var(--black);
  color: var(--white);
}

.page-desktop .section-white {
  background:
    radial-gradient(90% 90% at 0% 0%, rgba(159, 203, 255, 0.22), transparent 57%),
    radial-gradient(100% 90% at 100% 0%, rgba(222, 187, 255, 0.18), transparent 56%),
    #ffffff;
}

.page-desktop .section-black {
  background:
    radial-gradient(100% 90% at 10% 5%, rgba(91, 96, 192, 0.25), transparent 60%),
    radial-gradient(110% 90% at 85% 95%, rgba(86, 48, 131, 0.24), transparent 62%),
    #000000;
}

.page-pixora .section-white {
  background:
    radial-gradient(90% 90% at 0% 0%, rgba(255, 208, 126, 0.24), transparent 56%),
    radial-gradient(100% 90% at 100% 10%, rgba(255, 145, 191, 0.2), transparent 57%),
    #ffffff;
}

.page-pixora .section-black {
  background:
    radial-gradient(100% 90% at 15% 0%, rgba(172, 82, 58, 0.26), transparent 62%),
    radial-gradient(110% 90% at 85% 100%, rgba(140, 64, 124, 0.24), transparent 64%),
    #000000;
}

.tagline-section {
  min-height: 60vh;
  padding: 10vh 8%;
}

/* Strict Contrast */
.section-white h1,
.section-white h2,
.section-white h3,
.section-white h4,
.section-white p,
.section-white div,
.section-white a:not(.btn),
.section-white li,
.section-white span {
  color: var(--black) !important;
}

.section-black h1,
.section-black h2,
.section-black h3,
.section-black h4,
.section-black p,
.section-black div,
.section-black a:not(.btn),
.section-black li,
.section-black span {
  color: var(--white) !important;
}

/* Outline Text */
.outline-text {
  -webkit-text-stroke-width: 1.5px;
  color: transparent !important;
}

.section-white .outline-text {
  -webkit-text-stroke-color: var(--black);
}

.section-black .outline-text,
.footer .outline-text {
  -webkit-text-stroke-color: var(--white);
}


/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
.hero-title,
.section-title,
.giant-tagline-title,
.product-title,
.feature-title {
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.05em;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.hero-title {
  font-size: clamp(2.5rem, 9vw, 8rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.2rem, 7vw, 6.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
}

.giant-tagline-title {
  font-size: clamp(2.5rem, 11vw, 9rem);
  font-weight: 900;
  margin: 0;
  max-width: 100%;
  padding: 0 5%;
  line-height: 0.92;
}

.hero-subtitle,
.section-text {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 300;
  opacity: 0.65;
  max-width: 48rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  margin-bottom: 1.5rem;
  display: block;
}

.section-white .section-label {
  color: #999 !important;
}

.section-black .section-label {
  color: rgba(255, 255, 255, 0.35) !important;
}


/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero {
  padding-top: 12vh;
  padding-bottom: 4vh;
  min-height: 70vh;
  /* Reduced from 100vh for tighter feel */
}

.hero-grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

.hero>*:not(.hero-grid-canvas) {
  position: relative;
  z-index: 2;
}

/* Hero Visual */
.hero-visual,
.section-image,
.visual-container {
  width: 100%;
  max-width: 1000px;
  margin-top: 2rem;
  border-radius: 1.5rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition: var(--transition-image);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

#mission .section-image {
  box-shadow: none;
  border: none;
}

.hero-visual.visible,
.section-image.visible,
.visual-container.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: scale(1.2);
}

.section-img,
.visual-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Hero Stats Ticker */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 2rem;
  padding: 1rem 0;
  width: 100%;
  max-width: 800px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black) !important;
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
  color: var(--black) !important;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════════════════════ */
.products-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.product-card {
  min-height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6vh 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease);
  position: relative;
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}


.product-card:last-child {
  border-bottom: none;
}

.product-index {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.25;
  margin-bottom: 1.5rem;
  display: block;
  font-variant-numeric: tabular-nums;
}

.product-icon,
.feature-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 2rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(133, 155, 255, 0.35), rgba(255, 205, 122, 0.22) 46%, rgba(255, 145, 176, 0.28)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-slow);
  overflow: hidden;
}

.product-icon.visible,
.feature-icon.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-icon::before,
.feature-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: var(--grain-svg);
  background-size: 140px 140px;
  mix-blend-mode: overlay;
}

.section-white .product-icon,
.section-white .feature-icon {
  border-color: rgba(0, 0, 0, 0.14);
  background:
    linear-gradient(135deg, rgba(158, 179, 255, 0.35), rgba(255, 222, 156, 0.3) 46%, rgba(255, 188, 207, 0.38)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 26px rgba(22, 28, 52, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.product-icon-1 {
  background: linear-gradient(135deg, rgba(115, 148, 255, 0.42), rgba(94, 210, 255, 0.24) 50%, rgba(176, 138, 255, 0.36)), rgba(255, 255, 255, 0.02);
}

.product-icon-2 {
  background: linear-gradient(135deg, rgba(255, 153, 114, 0.42), rgba(255, 209, 96, 0.24) 50%, rgba(255, 122, 180, 0.36)), rgba(255, 255, 255, 0.02);
}

.product-icon-3 {
  background: linear-gradient(135deg, rgba(84, 217, 179, 0.42), rgba(90, 181, 255, 0.24) 50%, rgba(114, 227, 255, 0.34)), rgba(255, 255, 255, 0.02);
}

.product-icon-4 {
  background: linear-gradient(135deg, rgba(210, 133, 255, 0.42), rgba(134, 132, 255, 0.26) 50%, rgba(255, 135, 231, 0.36)), rgba(255, 255, 255, 0.02);
}

.product-icon-5 {
  background: linear-gradient(135deg, rgba(136, 255, 167, 0.42), rgba(159, 255, 115, 0.24) 50%, rgba(82, 223, 149, 0.35)), rgba(255, 255, 255, 0.02);
}

.product-icon-6 {
  background: linear-gradient(135deg, rgba(255, 140, 190, 0.42), rgba(255, 177, 110, 0.24) 50%, rgba(255, 84, 136, 0.38)), rgba(255, 255, 255, 0.02);
}

.section-white .product-icon-1 {
  background: linear-gradient(135deg, rgba(136, 162, 255, 0.4), rgba(135, 224, 255, 0.3) 50%, rgba(192, 160, 255, 0.34)), rgba(255, 255, 255, 0.62);
}

.section-white .product-icon-2 {
  background: linear-gradient(135deg, rgba(255, 182, 147, 0.42), rgba(255, 225, 134, 0.3) 50%, rgba(255, 151, 198, 0.34)), rgba(255, 255, 255, 0.62);
}

.section-white .product-icon-3 {
  background: linear-gradient(135deg, rgba(128, 226, 196, 0.42), rgba(126, 202, 255, 0.3) 50%, rgba(152, 233, 255, 0.35)), rgba(255, 255, 255, 0.62);
}

.section-white .product-icon-4 {
  background: linear-gradient(135deg, rgba(225, 170, 255, 0.42), rgba(167, 160, 255, 0.3) 50%, rgba(255, 169, 240, 0.35)), rgba(255, 255, 255, 0.62);
}

.section-white .product-icon-5 {
  background: linear-gradient(135deg, rgba(163, 255, 187, 0.42), rgba(189, 255, 144, 0.3) 50%, rgba(118, 234, 170, 0.35)), rgba(255, 255, 255, 0.62);
}

.section-white .product-icon-6 {
  background: linear-gradient(135deg, rgba(255, 173, 213, 0.42), rgba(255, 202, 140, 0.3) 50%, rgba(255, 120, 164, 0.36)), rgba(255, 255, 255, 0.62);
}

.feature-icon-1 {
  background: linear-gradient(135deg, rgba(100, 235, 203, 0.42), rgba(89, 199, 255, 0.24) 50%, rgba(77, 144, 255, 0.38)), rgba(255, 255, 255, 0.02);
}

.feature-icon-2 {
  background: linear-gradient(135deg, rgba(201, 141, 255, 0.42), rgba(119, 136, 255, 0.26) 50%, rgba(255, 127, 203, 0.36)), rgba(255, 255, 255, 0.02);
}

.product-img,
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Invert icons on black sections */
.section-black .product-img,
.section-black .feature-img {
  filter: invert(1);
}

.product-title,
.feature-title {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.product-text,
.feature-text {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 300;
  opacity: 0.55;
  max-width: 42rem;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.product-link {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.4s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-black .product-link {
  color: rgba(255, 255, 255, 0.6) !important;
}

.product-link svg {
  transition: transform 0.3s var(--ease);
}



/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.hero-buttons,
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 1rem 2.5rem;
  border: 2px solid currentColor;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.4s var(--ease);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.section-white .btn {
  border-color: var(--black) !important;
  color: var(--black) !important;
}

.section-black .btn {
  border-color: var(--white) !important;
  color: var(--white) !important;
}

.section-white .btn:hover {
  background: var(--black) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.section-black .btn:hover {
  background: var(--white) !important;
  color: var(--black) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn svg {
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  border: none !important;
  opacity: 0.5;
  background: transparent !important;
}

.section-white .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--black) !important;
  opacity: 1;
}

.section-black .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--white) !important;
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════
   METRICS SECTION
   ═══════════════════════════════════════════════════════════════ */
.metrics-section {
  min-height: auto;
  padding: 10vh 8%;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 1000px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  overflow: hidden;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
  gap: 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease;
}

.metric-item:last-child {
  border-right: none;
}

.metric-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.metric-value {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black) !important;
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.4;
  line-height: 1.4;
  color: var(--black) !important;
}


/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
  min-height: 80vh;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.15s;
}

.stagger-2 {
  transition-delay: 0.3s;
}

.stagger-3 {
  transition-delay: 0.45s;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  width: calc(100% - 3rem);
  margin: 1.5rem auto 2rem;
  background: var(--black);
  color: var(--white);
  padding: 10rem 8% 4rem;
  border-radius: var(--section-radius);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer p,
.footer a,
.footer span {
  color: var(--white) !important;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6rem;
  text-align: left;
  padding-bottom: 6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  flex: 1;
  min-width: 280px;
}

.footer-logo-img {
  height: 2.5rem;
  filter: invert(1);
  margin-bottom: 3rem;
}

.footer-text {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.footer-columns {
  display: flex;
  gap: 5rem;
  padding-top: 0.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.footer-link {
  opacity: 0.45;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  transition: all 0.3s ease;
  margin-bottom: 0.875rem;
  display: block;
}

.footer-link:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.3;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 2rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  section {
    padding: 12vh 6%;
  }

  .footer-columns {
    gap: 3rem;
  }
}

@media (max-width: 768px) {

  section,
  .footer {
    width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
    border-radius: 1.25rem;
  }

  .navbar {
    width: 96%;
    padding: 0 1.25rem;
    height: 3.5rem;
  }

  .nav-menu {
    display: flex;
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }

  .nav-logo-img {
    height: 1.1rem;
  }

  section {
    text-align: left;
    align-items: flex-start;
    padding: 8vh 1.75rem;
  }

  .hero {
    padding-top: 14vh;
  }

  .tagline-section {
    text-align: center;
    align-items: center;
  }

  .hero-buttons,
  .cta-buttons {
    justify-content: flex-start;
  }

  .hero-stats {
    gap: 0;
    margin-top: 2.5rem;
    padding: 1.5rem 0;
  }

  .hero-stat-num {
    font-size: 1.25rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-item {
    padding: 2.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .metric-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
  }

  .metric-item:nth-child(even) {
    border-right: none;
  }

  .metric-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .hero-visual,
  .section-image {
    margin-top: 2rem;
    border-radius: 1rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 3rem;
  }

  .footer-columns {
    gap: 2.5rem;
  }

  .footer-text {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .footer {
    padding: 6rem 6% 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-stat-divider:nth-child(4) {
    display: none;
  }

  .hero-stat {
    flex-basis: 40%;
    padding: 0.75rem 0;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 2rem;
  }

  .footer-columns {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-col {
    flex: 1;
    min-width: 120px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   WIKI / DOCUMENTATION PAGE STYLES
   (preserved from original)
   ═══════════════════════════════════════════════════════════════ */

.wiki-body {
  background: var(--white);
  padding-top: 80px;
  color: var(--black);
}

.wiki-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  height: 3.2rem;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.wiki-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wiki-home {
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.wiki-action {
  padding: 0.8rem 2rem;
  background: var(--white);
  color: var(--black) !important;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wiki-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
}

.wiki-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.wiki-toc h3 {
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

.wiki-toc ul {
  list-style: none;
}

.wiki-toc li {
  margin-bottom: 1rem;
}

.wiki-toc a {
  color: var(--black);
  opacity: 0.6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.wiki-toc a:hover {
  opacity: 1;
}

.wiki-article {
  max-width: 900px;
}

.wiki-page-header {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.wiki-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1rem;
}

.wiki-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.7;
}

.wiki-status {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2rem;
}

.wiki-section {
  margin-bottom: 6rem;
  width: 100%;
  min-height: auto;
  display: block;
  text-align: left;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.wiki-article section {
  width: 100%;
  margin: 0 0 6rem 0;
  min-height: auto;
  display: block;
  text-align: left;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border: none;
}

.wiki-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  margin-top: 4rem;
}

.wiki-subheading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.wiki-code-block {
  background: #f8f8f8;
  border: 1px solid #eee;
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
  overflow-x: auto;
}

.wiki-code-block code {
  font-family: monospace;
  color: #333;
}

.wiki-infobox {
  background: #000;
  color: #fff;
  padding: 2rem;
  border-radius: 2rem;
  margin: 3rem 0;
}

.wiki-infobox table {
  width: 100%;
  border-collapse: collapse;
}

.wiki-infobox tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wiki-infobox td {
  padding: 1rem 0;
}

.wiki-infobox td:first-child {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  width: 40%;
}

.wiki-notice-coming-soon {
  background: var(--accent);
  color: #000;
  padding: 2rem;
  border-radius: 1rem;
  margin: 3rem 0;
}

.wiki-notice-coming-soon h3 {
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .wiki-container {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .wiki-sidebar {
    display: none;
  }

  .wiki-body {
    padding-top: 2rem;
  }

  .wiki-title {
    font-size: 3rem;
  }

  .wiki-heading {
    font-size: 2rem;
  }

  .wiki-subheading {
    font-size: 1.25rem;
  }

  .wiki-code-block {
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.85rem;
  }

  .wiki-infobox {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .wiki-infobox td {
    display: block;
    width: 100% !important;
    padding: 0.5rem 0;
  }

  .wiki-infobox td:first-child {
    border-bottom: none;
    padding-bottom: 0;
    opacity: 0.6;
  }
}

@media (max-width: 480px) {
  .wiki-title {
    font-size: 2.5rem;
  }

  .wiki-heading {
    font-size: 1.75rem;
  }

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

/* ═══════════════════════════════════════════════════════════════
   PRIVACY MODAL
   ═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.modal-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.modal-date {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modal-body {
  overflow-y: auto;
  flex: 1;
  padding-right: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
  width: 4px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #000;
}

.modal-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem 0;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body strong {
  font-weight: 700;
  color: var(--black);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
}

.modal-footer .btn {
  padding: 1rem 2rem;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 2rem;
  }

  .modal-title {
    font-size: 1.4rem;
  }
}
