/* ═══════════════════════════════════════════════
   RESET & ROOT
   ═══════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #080c14;
  --blue: #4f8ef7;
  --primary: #4f8ef7;
  --primary-glow: rgba(79, 142, 247, 0.4);
  --secondary: #6c63ff;
  --accent: #ff6584;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-150: #efefef;
  --gray-200: #e8e8e8;
  --gray-300: #d0d0d0;
  --gray-400: #a0a0a0;
  --gray-500: #777777;
  --gray-600: #555555;
  --gray-800: #1a1e28;
  --serif: 'Sora', sans-serif;
  --sans: 'Sora', sans-serif;
  --inter: 'Inter', sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);
  --text-muted: rgba(255, 255, 255, 0.5);
  --ease-expo: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.announcement-banner {
  background: rgba(8, 12, 20, 0.95);
  color: #4f8ef7;
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  text-align: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(79, 142, 247, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

#mainNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 500;
  color: var(--white);
  /* transition removed to avoid shadow effect */
}

#mainNav.nav-dark {
  background: rgba(8, 12, 20, 0.6);
  backdrop-filter: blur(12px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#mainNav.nav-light {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px) saturate(1.8);
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  /* transition removed to avoid shadow effect */
}

.nav-logo span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  /* transition removed to avoid shadow effect */
}

#mainNav.nav-light .nav-links a {
  color: rgba(0, 0, 0, 0.5);
}

.nav-links a:hover {
  color: var(--white);
}

#mainNav.nav-light .nav-links a:hover {
  color: var(--black);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 📱 MOBILE NAV TOGGLE & DROPDOWN */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
  width: 24px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.nav-active .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-active .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-active .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  #mainNav {
    padding: 12px 20px;
    justify-content: flex-start; /* Toggle to the left */
  }

  .nav-logo {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hide original layout */
  .nav-links, .nav-actions {
    display: none;
  }

  .nav-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80vw;
    max-width: 280px;
    height: 100vh;
    background: #ffffff; /* Solid clear background */
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left aligned like dashboard */
    justify-content: flex-start;
    padding: 80px 32px;
    transform: translateX(-100%); /* Slide out */
    opacity: 1; /* Always opaque but hidden by transform */
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 20px 0 50px rgba(0,0,0,0.1);
  }

  .nav-active .nav-mobile-menu {
    transform: translateX(0); /* Slide in */
  }

  .nav-mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    left: unset;
    transform: unset;
    margin-bottom: 40px;
    width: 100%;
  }

  .nav-mobile-menu .nav-links a {
    font-size: 18px; /* Slightly smaller, more refined */
    font-weight: 600;
    color: var(--black);
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
  }

  .nav-mobile-menu .nav-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 24px;
  }

  .nav-mobile-menu .nav-actions .btn-primary,
  .nav-mobile-menu .nav-actions .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 14px;
    background: rgba(8, 12, 20, 0.03);
    color: var(--black);
    border-color: rgba(8, 12, 20, 0.08);
  }

  .nav-mobile-menu .nav-actions .btn-primary {
    background: var(--blue);
    color: white;
  }
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-primary:hover {
  background: #3a7aed;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 13px 28px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

#mainNav.nav-light .btn-ghost {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.75);
  border-color: rgba(0, 0, 0, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

#mainNav.nav-light .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--black);
}

.nav-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.nav-btn:hover {
  background: #3a7aed;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   PULSE LAYOUT UI (HERO & FEATURES)
═══════════════════════════════════════════════ */
#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 80px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

#jellyCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroReveal 1.4s var(--ease-out) both;
  animation-delay: 0.3s;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🌙 NAV OVERLAY (Background Dimming) */
#navOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  z-index: 400; /* Below #mainNav (500) */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.nav-active #navOverlay {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(79, 142, 247, 0.12);
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  color: #7eaaff;
  font-weight: 500;
  margin-bottom: 32px;
}

#badgeText {
  transition: opacity 0.2s ease;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.headline {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.5px;
  max-width: 780px;
  margin-bottom: 22px;
  margin-left: auto;
  margin-right: auto;
}

.headline .blue {
  color: var(--blue);
  margin-left: 1px;
}

.blue {
  color: var(--blue);
}

.sub {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255, 255, 255, 0.45);
  max-width: 840px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
  margin-left: auto;
  margin-right: auto;
}

#features .sub,
#mainNav.nav-light~#hero .sub {
  color: rgba(0, 0, 0, 0.6);
}

.cta-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cta-row .btn-primary, .cta-row .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 14px;
  }
}

.stats-row {
  display: flex;
  gap: 0;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .stats-row {
    flex-wrap: wrap;
    max-width: 440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
  }
  .stat {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 10px;
  }
  .stat:nth-child(2n) {
    border-right: none;
  }
  .stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .vision-container, .vision-container.reversed {
    flex-direction: column !important;
    gap: 32px;
    align-items: flex-start;
    text-align: left;
  }
  .vision-left, .vision-right {
    width: 100%;
  }
}

/* 🌀 PRENEUR CAROUSEL (Standalone section after Features) */
#preneurCarousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
  position: relative;
  z-index: 2;
  width: 100%;
  background: transparent;
}

.carousel-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.word-box {
  position: relative;
  height: clamp(50px, 10vw, 100px);
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: right;
}

#variable-word {
  font-family: var(--serif);
  font-size: clamp(38px, 9vw, 84px);
  font-weight: 700;
  color: var(--white);
  display: block;
  white-space: nowrap;
  letter-spacing: -1px;
}

.suffix-text {
  font-family: var(--serif);
  font-size: clamp(38px, 9vw, 84px);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -1px;
}

#dot-indicators {
  margin-top: 40px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 480px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s var(--ease-out);
}

.dot.active {
  background: var(--white);
  transform: scale(1.5);
  box-shadow: 0 0 12px var(--primary-glow);
}

@keyframes slideUp {
  0% { transform: translateY(50%); opacity: 0; }
  15% { transform: translateY(0); opacity: 1; }
  85% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-50%); opacity: 0; }
}

.word-animate {
  animation: slideUp 1s var(--ease-expo) forwards;
}

@media (max-width: 768px) {
  #preneurCarousel {
    padding: 80px 24px;
  }
}

@media (max-width: 480px) {
  #preneurCarousel {
    padding: 60px 24px;
  }
}

.stat {
  flex: 1;
  padding: 18px 20px;
  text-align: center;
  transition: background 0.2s;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 480px) {
  .stat {
    width: 100%;
    border-right: none !important;
  }
  .stat:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.stat:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stat-n {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.stat-l {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 3px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scroll progress bar */
#scrollProgress {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--black), var(--white));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 600;
  transition: opacity 0.3s;
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   PULSE FEATURES GRID (DARK SECTION)
═══════════════════════════════════════════════ */
#features {
  padding: 0 24px 80px;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}

.feat-card:hover {
  border-color: rgba(79, 142, 247, 0.35);
  background: rgba(79, 142, 247, 0.06);
}

.feat-icon {
  width: 36px;
  height: 36px;
  background: rgba(79, 142, 247, 0.15);
  border-radius: 9px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
}

.feat-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feat-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   VISION SECTION (DARK)
   ═══════════════════════════════════════════════ */
#vision, #exchange {
  padding: 120px 24px;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.vision-container {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  align-items: flex-start;
}

.vision-container.reversed {
  flex-direction: row-reverse;
}

.vision-title-auto span {
  color: var(--blue);
}

.vision-left {
  flex: 1;
}

.vision-title-auto {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
}

.vision-title-auto em {
  display: block;
  font-style: normal;
  color: var(--blue);
  margin-top: 8px;
}

.vision-right {
  flex: 1;
}

.vision-headline {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.3;
}

.vision-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}

.vision-vibe {
  font-size: 14px;
  color: var(--gray-400);
  font-style: italic;
  font-family: var(--serif);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .vision-container {
    flex-direction: column;
    gap: 40px;
  }
  .vision-title-auto {
    font-size: 32px;
  }
}

/* ═══════════════════════════════════════════════
   WAVE TRANSITION
   ═══════════════════════════════════════════════ */
.wave-transition {
  position: relative;
  z-index: 2;
  line-height: 0;
  background: transparent;
  margin-bottom: -1px;
}

.wave-transition.to-dark {
  background: var(--white);
}

.wave-transition svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS SECTION (LIGHT)
   ═══════════════════════════════════════════════ */
#how-it-works {
  background: var(--white);
  padding: 100px 24px 80px;
  position: relative;
  z-index: 2;
}

.hiw-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: center;
}


@media (max-width: 900px) {
  .hiw-container {
    flex-direction: column-reverse;
    gap: 48px;
    text-align: center;
  }
}

.hiw-left {
  flex: 1;
}

.hiw-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.hiw-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}

.hiw-title span {
  color: var(--blue);
}

.hiw-subtitle {
  font-size: 16px;
  color: rgba(0,0,0,0.4);
  margin-bottom: 48px;
  font-weight: 400;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hiw-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.hiw-step-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(79,142,247,0.12);
  line-height: 1;
  min-width: 64px;
  letter-spacing: -2px;
  transition: color 0.3s;
}

@media (max-width: 768px) {
  .hiw-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .hiw-step-num {
    min-width: unset;
  }
}

.hiw-step:hover .hiw-step-num {
  color: var(--blue);
}

.hiw-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.hiw-step-text {
  font-size: 14px;
  color: rgba(0,0,0,0.5);
  line-height: 1.7;
}

.hiw-step-text strong {
  color: var(--blue);
  font-weight: 700;
}

.hiw-right {
  flex: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.hiw-canvas-wrap {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
  /* No background, no border — floats directly on section */
  background: transparent;
}

@media (max-width: 900px) {
  .hiw-canvas-wrap {
    max-width: 440px;
    margin: 0 auto;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hiw-canvas-wrap {
    max-width: 100%;
    aspect-ratio: 1 / 1; /* More vertical room for orbits on narrow phones */
  }
}

.hiw-dashboard-frame {
  position: relative;
  transform: rotateY(-22deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px;
  overflow: visible;
}

.hiw-dashboard-frame:hover {
  transform: rotateY(-16deg) rotateX(4deg) translateY(-6px);
}

/* Iframe wrapper handles responsive scaling */
.hiw-iframe-scaler {
  width: 580px;
  height: 390px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    28px 40px 80px rgba(26, 26, 46, 0.18),
    8px 12px 30px rgba(108, 99, 255, 0.12),
    2px 3px 8px rgba(0,0,0,0.08);
}

.hiw-dashboard-iframe {
  width: 580px;
  height: 390px;
  border: none;
  border-radius: 14px;
  display: block;
}

.hiw-dashboard-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at 40% 50%, rgba(108,99,255,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── Mobile responsive ── */
@media (max-width: 900px) {
  .hiw-container {
    flex-direction: column;
    gap: 48px;
  }
  .hiw-dashboard-frame {
    transform: rotateY(0deg) rotateX(5deg);
    width: 100%;
    max-width: 480px;
  }
  .hiw-iframe-scaler {
    width: 100%;
    height: auto;
    aspect-ratio: 580 / 390;
    overflow: hidden;
    position: relative;
  }
  .hiw-iframe-scaler .hiw-dashboard-iframe {
    position: absolute;
    top: 0; left: 0;
    width: 580px;
    height: 390px;
    transform-origin: top left;
    /* JS will set scale, but this is the fallback */
    transform: scale(0.7);
  }
}

@media (max-width: 600px) {
  .hiw-iframe-scaler .hiw-dashboard-iframe {
    transform: scale(0.48);
  }
  .hiw-iframe-scaler {
    height: 190px;
  }
}

/* ═══════════════════════════════════════════════
   QUOTE SECTION
   ═══════════════════════════════════════════════ */
.section-quote {
  background: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.quote-container {
  max-width: 900px;
  margin: 0 auto;
}

.accent-quote {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--black);
  letter-spacing: -1.5px;
  margin: 0;
  padding: 0;
}

.quote-accent {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 640px) {
  .accent-quote {
    font-size: 28px;
    letter-spacing: -1px;
  }
}

/* ═══════════════════════════════════════════════
   COMMAND CENTER SECTION
   ═══════════════════════════════════════════════ */
#command-center {
  background: var(--white);
  padding: 80px 24px 100px;
}

.cc-reversed {
  flex-direction: row-reverse;
}

.hiw-dashboard-frame--right {
  transform: rotateY(-22deg) rotateX(6deg);
}

.hiw-dashboard-frame--right:hover {
  transform: rotateY(-16deg) rotateX(4deg) translateY(-6px);
}

.cc-body {
  font-size: 16px;
  color: rgba(0,0,0,0.5);
  line-height: 1.75;
  font-weight: 300;
  max-width: 460px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  #how-it-works {
    padding-bottom: 120px; /* More space for the floating canvas */
  }
  #command-center {
    padding-top: 40px; /* Reduced gap to bring text closer */
  }
  .cc-reversed {
    flex-direction: column-reverse;
  }
}

/* ═══════════════════════════════════════════════
   LOGIC OF INFLUENCE SECTION
   ═══════════════════════════════════════════════ */
#logic-of-influence {
  background: var(--white);
  padding: 100px 24px;
}

.logic-container {
  max-width: 1100px;
  margin: 0 auto;
}

.logic-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.logic-card {
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.05) 0%, rgba(79, 142, 247, 0.12) 100%);
  padding: 48px 36px;
  border-radius: 20px;
  border: 1px solid rgba(79, 142, 247, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.logic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.logic-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.08) 0%, rgba(79, 142, 247, 0.18) 100%);
  border-color: rgba(79, 142, 247, 0.4);
  box-shadow: 0 30px 60px rgba(79, 142, 247, 0.1);
}

.logic-icon {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 24px;
  padding: 4px 10px;
  background: rgba(79, 142, 247, 0.1);
  border-radius: 4px;
}

.logic-card-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.3;
}

.logic-card-text {
  font-size: 15px;
  color: rgba(8, 12, 20, 0.6);
  line-height: 1.65;
  font-weight: 300;
}

@media (max-width: 900px) {
  .logic-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ═══════════════════════════════════════════════
   LIVE PULSE FEED SECTION
   ═══════════════════════════════════════════════ */
#pulse-feed {
  background: var(--white);
  padding: 100px 24px 120px;
}

.pulse-container {
  max-width: 1100px;
  margin: 0 auto;
}

.pulse-header {
  text-align: center;
  margin-bottom: 48px;
}

.pulse-subline {
  font-size: 15px;
  color: rgba(8,12,20,0.45);
  font-weight: 300;
  margin-top: 10px;
}

/* --- Tabs --- */
.pulse-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.pulse-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  background: transparent;
  color: var(--gray-500);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.pulse-tab .tab-icon {
  width: 16px;
  height: 16px;
}

.pulse-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pulse-tab.active[data-platform="instagram"] {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366);
  border-color: transparent;
  color: white;
}

.pulse-tab.active[data-platform="linkedin"] {
  background: #0077b5;
  border-color: transparent;
  color: white;
}

.pulse-tab.active[data-platform="tiktok"] {
  background: #010101;
  border-color: transparent;
  color: white;
}

/* --- Feed box wrapper --- */
.pulse-feed-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-150);
  border-radius: 24px;
  padding: 40px;
  min-height: 420px;
}

/* --- Platform panel switching --- */
.platform-feed {
  display: none;
  animation: feedReveal 0.4s var(--ease-out) both;
}

.platform-feed.active {
  display: block;
}

@keyframes feedReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Feed Cards Grid --- */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feed-card {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.feed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

/* --- Card Header (Avatar + Handle + Live dot) --- */
.feed-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px;
}

.feed-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.ig-avatar { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366); }
.li-avatar { background: #0077b5; }
.tt-avatar { background: #010101; }

.feed-user-info { flex: 1; }
.feed-handle { font-size: 13px; font-weight: 600; color: var(--black); }
.feed-platform-label { font-size: 10px; letter-spacing: 0.5px; color: var(--gray-400); margin-top: 2px; }

.ig-label { color: #e6683c; }
.li-label { color: #0077b5; }
.tt-label { color: #010101; }

/* --- Live Dot --- */
.feed-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}

.li-dot { background: #0077b5; }
.tt-dot { background: #ff0050; }

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* --- Instagram image cards --- */
.feed-image {
  width: 100%;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-gradient   { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.ig-gradient-2 { background: linear-gradient(135deg, #1a1a2e, #4f8ef7, #a0c4ff); }
.ig-gradient-3 { background: linear-gradient(135deg, #0f3460, #533483, #e94560); }

.feed-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.feed-thought-text {
  color: white;
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  text-align: center;
  line-height: 1.5;
}

/* --- LinkedIn text post style --- */
.li-card { border-color: rgba(0,119,181,0.15); }

.li-post-body {
  padding: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(8,12,20,0.7);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- TikTok video preview --- */
.tt-card { border-color: rgba(1,1,1,0.1); }

.tt-video-preview {
  width: 100%;
  height: 180px;
  position: relative;
  background: linear-gradient(135deg, #010101, #2d2d2d, #ff0050);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-preview-2 { background: linear-gradient(135deg, #010101, #00f2ea, #2d2d2d); }
.tt-preview-3 { background: linear-gradient(135deg, #1a1a1a, #ff0050, #010101); }

.tt-play-icon {
  font-size: 36px;
  color: white;
  opacity: 0.9;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -62%);
}

.tt-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.tt-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 24px 12px 12px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

/* --- Card Footer (likes + View link) --- */
.feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--gray-100);
}

.feed-likes { font-size: 12px; color: var(--gray-400); }
.feed-caption { font-size: 11px; color: var(--gray-400); padding: 8px 16px 0; letter-spacing: 0.3px; }

.feed-view-link {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.feed-view-link:hover { opacity: 0.7; }

.ig-link { color: #e6683c; }
.li-link { color: #0077b5; }
.tt-link { color: #ff0050; }

/* --- CTA Row below feed --- */
.pulse-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pulse-cta-text {
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 300;
}

@media (max-width: 900px) {
  .feed-grid { grid-template-columns: 1fr; gap: 16px; }
  .pulse-feed-box { padding: 24px; }
  .pulse-tabs { 
    flex-wrap: nowrap; 
    overflow-x: auto; 
    justify-content: flex-start;
    padding-bottom: 15px; 
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, black 90%, transparent);
  }
  .pulse-tab { flex-shrink: 0; }
}

/* ═══════════════════════════════════════════════
   INNER CIRCLE SECTION
   ═══════════════════════════════════════════════ */
#inner-circle {
  background: var(--white);
  padding: 100px 0 120px;
  overflow: hidden;
}

.circle-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.circle-header {
  text-align: center;
  margin-bottom: 60px;
}

.circle-subline {
  font-size: 15px;
  color: rgba(8,12,20,0.45);
  font-weight: 300;
  margin-top: 10px;
}

/* Marquee wrapper */
.circle-marquee-wrap {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.circle-marquee {
  display: flex;
  gap: 24px;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}

.circle-marquee:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Preneur cards */
.preneur-card {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: 20px;
  padding: 28px;
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.preneur-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(79,142,247,0.08);
  border-color: rgba(79,142,247,0.25);
}

.preneur-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 700;
}


.preneur-name { font-size: 14px; font-weight: 600; color: var(--black); }
.preneur-type { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-top: 2px; }

.preneur-quote {
  font-size: 13px;
  color: rgba(8,12,20,0.6);
  line-height: 1.65;
  font-weight: 300;
  font-style: italic;
}

/* ═══════════════════════════════════════════════
   FINAL GATE CTA SECTION
   ═══════════════════════════════════════════════ */
#final-cta {
  background: #0a0f1d;
  position: relative;
  overflow: hidden;
  padding: 140px 24px;
  text-align: center;
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(79, 142, 247, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.final-cta-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(79,142,247,0.35);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 40px;
}

.final-cta-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}

.final-cta-headline em {
  color: var(--blue);
  font-style: italic;
}

.final-cta-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 72px;
}

.final-cta-btn {
  background: var(--blue);
  color: white;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 18px 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 40px rgba(79,142,247,0.35);
  letter-spacing: 0.3px;
}

.final-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px rgba(79,142,247,0.55);
  background: #3a7aed;
}

.final-cta-note {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.5px;
}

/* Stats bar */
.final-cta-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.fcta-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fcta-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
}

.fcta-lbl {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.fcta-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
}

@media (max-width: 640px) {
  .final-cta-stats { gap: 20px; }
  .fcta-num { font-size: 22px; }
  .final-cta-headline { letter-spacing: -1.5px; }
}

/* ═══════════════════════════════════════════════
   PRICING SECTION (LIGHT)
   ═══════════════════════════════════════════════ */
#pricing {
  background: var(--white);
  color: var(--black);
  padding: 100px 24px 120px;
}

.pricing-header {
  max-width: 1000px;
  margin: 0 auto 70px;
  text-align: center;
}

.pricing-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--black);
}

.pricing-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 0;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto;
}

.pricing-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 24px;
    margin: 0 auto;
  }
}

.plan {
  padding: 44px 34px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  position: relative;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.plan.featured {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 16px 50px rgba(79, 142, 247, 0.1);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-tier {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
}

.plan-amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}

.plan-cycle {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 32px;
  font-weight: 400;
}

.plan-feats {
  list-style: none;
  margin-bottom: 36px;
}

.plan-feats li {
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-150);
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-feats li:last-child {
  border-bottom: none;
}

.plan-feats li.on {
  color: var(--black);
}

.feat-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gray-200);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-dot.on {
  background: var(--blue);
}

.feat-dot.on::after {
  content: '';
  width: 5px;
  height: 8px;
  border-right: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(45deg);
  margin-top: -2px;
}

.plan-action {
  width: 100%;
  border-radius: 10px;
  padding: 14px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.05);
  color: var(--black);
}

.plan-action:hover {
  background: rgba(0, 0, 0, 0.08);
}

.plan.featured .plan-action {
  background: var(--blue);
  color: var(--white);
}

.plan.featured .plan-action:hover {
  background: #3a7aed;
}

.trust-bar {
  max-width: 940px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
}

.trust-badge {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 0.5px solid var(--gray-300);
  padding: 5px 14px;
  color: var(--gray-500);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
  background: #0a0f1d;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 48px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
    padding: 48px 24px;
  }
  .footer-cols {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }
  .footer-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-tagline {
    max-width: 100% !important;
  }
  .footer-social {
    justify-content: center;
  }
}

.footer-logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-logo em {
  font-style: italic;
  color: var(--blue);
}

.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.25s ease;
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(79, 142, 247, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-badges {
  display: flex;
  gap: 12px;
}

.payment-badge {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}


/* ═══════════════════════════════════════════════
   DASHBOARD — SHARED LAYOUT
═══════════════════════════════════════════════ */
#dashboard {
  display: none;
  background: var(--gray-100);
  min-height: 100vh;
}

#dashboard.flex-dashboard {
  display: flex !important;
}

.dash-topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 0.5px solid var(--gray-200);
  height: 60px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-logo {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--black);
}

.dash-logo em {
  font-style: italic;
}

.dash-tabs {
  display: flex;
}

.dash-tab {
  height: 60px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gray-400);
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.dash-tab.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.dash-tab:hover {
  color: var(--gray-800);
}

.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.credit-tag {
  background: rgba(79, 142, 247, 0.12);
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  cursor: pointer;
}

.dash-exit {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  background: transparent;
  border: none;
  padding: 6px 0;
  transition: color 0.2s;
  cursor: pointer;
}

.dash-exit:hover {
  color: var(--black);
}

/* ═══════════════════════════════════════════════
   DASHBOARD — STANDARD USER SIDEBAR
═══════════════════════════════════════════════ */
.dash-sidebar {
  width: 240px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 200;
  flex-shrink: 0;
}

.sidebar-header {
  height: 80px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}

.sidebar-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 14px;
  gap: 4px;
}

.sidebar-links .dash-tab {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border-bottom: none;
  border-left: none;
  justify-content: flex-start;
}

.sidebar-links .dash-tab.active {
  background: rgba(79, 142, 247, 0.1);
  color: var(--blue);
  font-weight: 600;
}

.sidebar-footer {
  padding: 22px 32px;
  border-top: 0.5px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.user-menu-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 0.5px solid var(--gray-200);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  z-index: 300;
}

.dropdown-menu a {
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray-600);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--black);
}

.dropdown-menu hr {
  border: none;
  border-top: 0.5px solid var(--gray-150);
  margin: 6px 0;
}

.danger-text {
  color: #c0392b !important;
}

.dash-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Platform Checkboxes */
.platform-selection {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
  padding-bottom: 16px;
  border-bottom: 0.5px solid var(--gray-150);
}

.plat-checkbox {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-transform: uppercase;
}

.plat-checkbox input {
  accent-color: var(--black);
  cursor: pointer;
  width: 14px;
  height: 14px;
}

/* ═══════════════════════════════════════════════
   DASHBOARD — COMPOSE VIEW
═══════════════════════════════════════════════ */
.dash-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr 316px;
  gap: 22px;
}

.dash-col-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dash-col-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Cards */
.d-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 28px 30px;
  border-radius: 14px;
}

.d-card-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 22px;
}

/* Zen compose */
.zen-area {
  position: relative;
  border-bottom: 0.5px solid var(--gray-150);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.zen-textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: var(--black);
  background: transparent;
  min-height: 110px;
}

.zen-textarea::placeholder {
  color: var(--gray-300);
}

.zen-char {
  position: absolute;
  bottom: 20px;
  right: 0;
  font-size: 11px;
  color: var(--gray-400);
  transition: color 0.3s;
}

.zen-char.danger {
  color: #c0392b;
}

.zen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.zen-platforms {
  font-size: 11px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 8px;
}

.plat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27ae60;
}

.btn-publish {
  background: var(--blue);
  color: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 26px;
  border: none;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer;
}

.btn-publish:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-publish:disabled {
  opacity: 0.25;
  transform: none;
  cursor: default;
}

.publish-alert {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 15px 20px;
  font-size: 12px;
  animation: alertIn 0.35s var(--ease-out) both;
}

.publish-alert.show {
  display: flex;
}

@keyframes alertIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Recent posts feed */
.post-feed {
  display: flex;
  flex-direction: column;
}

.feed-item {
  padding: 16px 0;
  border-bottom: 0.5px solid var(--gray-150);
  transition: opacity 0.4s, transform 0.4s;
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-quote {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 5px;
}

.feed-meta {
  font-size: 10px;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.feed-meta-sep {
  opacity: 0.3;
}

/* Credits card */
.credit-big {
  font-family: var(--serif);
  font-size: 52px;
  letter-spacing: -2.5px;
  line-height: 1;
  margin-bottom: 4px;
}

.credit-of {
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 26px;
}

.usage-row {
  margin-bottom: 14px;
}

.usage-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 7px;
}

.usage-track {
  height: 1.5px;
  background: var(--gray-200);
}

.usage-fill {
  height: 100%;
  background: var(--black);
  transition: width 1.2s var(--ease-out);
}

.usage-fill.hot {
  background: #c0392b;
}

.topup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 8px;
  margin-top: 22px;
}

.topup-btn {
  padding: 11px 0;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  color: var(--black);
  border: 0.5px solid var(--gray-200);
  transition: all 0.25s ease;
}

.topup-btn:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* Connected accounts */
.acct-list {
  display: flex;
  flex-direction: column;
}

.acct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--gray-150);
}

.acct-row:last-child {
  border-bottom: none;
}

.acct-name {
  font-size: 13px;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
}

.acct-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-300);
}

.acct-status.live {
  background: #27ae60;
}

.acct-action {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  background: transparent;
  border: none;
  transition: color 0.2s;
}

.acct-action:hover {
  color: var(--black);
}

.acct-action.primary {
  color: var(--gray-300);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   DASHBOARD — PROFILE VIEW
═══════════════════════════════════════════════ */
#panelProfile {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 32px;
  grid-template-columns: 1fr 316px;
  gap: 22px;
}

.profile-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  flex-shrink: 0;
}

.profile-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.profile-name {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.profile-handle {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.profile-bio {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-600);
}

.field-group {
  margin-bottom: 22px;
}

.field-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.field-input {
  width: 100%;
  border: none;
  border-bottom: 0.5px solid var(--gray-200);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  color: var(--black);
  background: transparent;
  transition: border-color 0.25s;
}

.field-input:focus {
  border-bottom-color: var(--black);
}

.field-textarea {
  width: 100%;
  border: none;
  border-bottom: 0.5px solid var(--gray-200);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  resize: none;
  color: var(--black);
  background: transparent;
  height: 64px;
  transition: border-color 0.25s;
}

.field-textarea:focus {
  border-bottom-color: var(--black);
}

/* ─── Thought Form (TF) — Compose panel form fields ─── */
.thought-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin-bottom: 24px;
  padding: 20px 22px;
  background: var(--gray-50);
  border: 0.5px solid var(--gray-200);
  border-radius: 4px;
}

.tf-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

/* span full width for specific fields */
.thought-form .tf-group:first-child,
#companyGroup,
#designationGroup {
  grid-column: span 2;
}

.tf-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
  display: block;
}

.tf-input {
  width: 100%;
  border: none;
  border-bottom: 0.5px solid var(--gray-200);
  padding: 9px 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--black);
  background: transparent;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.tf-input:focus {
  border-bottom-color: var(--black);
}

.tf-readonly {
  color: var(--gray-500);
  cursor: default;
}

.tf-readonly:focus {
  border-bottom-color: var(--gray-200);
}

.tf-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23aaa'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
}

.tf-select option {
  font-family: var(--sans);
  font-size: 13px;
}

.btn-save {
  background: var(--blue);
  color: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 28px;
  border: none;
  border-radius: 8px;
  transition: transform 0.2s, opacity 0.2s;
  cursor: pointer;
}

.btn-save:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Toggle */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 0.5px solid var(--gray-150);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-label {
  font-size: 13px;
  font-weight: 300;
}

.toggle-wrap {
  position: relative;
  width: 38px;
  height: 22px;
}

.toggle-wrap input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--gray-200);
  border-radius: 11px;
  transition: background 0.3s ease;
}

.toggle-track::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}

.toggle-wrap input:checked+.toggle-track {
  background: var(--black);
}

.toggle-wrap input:checked+.toggle-track::before {
  transform: translateX(16px);
}

/* ═══════════════════════════════════════════════
   DASHBOARD — ADMIN VIEW
═══════════════════════════════════════════════ */
#panelAdmin {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 32px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.stat-block {
  background: var(--white);
  padding: 28px 30px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
}

.stat-value {
  font-family: var(--serif);
  font-size: 44px;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-name {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* Analytics progress bars */
.analytics-row {
  margin-bottom: 14px;
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 12px;
}

.analytics-lbl {
  color: var(--gray-600);
}

.analytics-val {
  color: var(--black);
  font-weight: 500;
}

.analytics-bar {
  height: 2px;
  background: var(--gray-150);
}

.analytics-fill {
  height: 100%;
  background: var(--black);
}

/* Settings grid */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0.5px solid var(--gray-200);
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 0.5px solid var(--gray-200);
  border-right: 0.5px solid var(--gray-200);
}

.setting-row:nth-child(even) {
  border-right: none;
}

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

.setting-name {
  font-size: 13px;
  font-weight: 300;
}

/* User table */
.user-table {
  width: 100%;
  border-collapse: collapse;
}

.user-table th {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 0.5px solid var(--gray-200);
}

.user-table td {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray-600);
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--gray-150);
}

.user-table tr:hover td {
  background: var(--gray-50);
}

.user-table .handle {
  color: var(--black);
  font-weight: 400;
}

.status-pill {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
}

.status-pill.active {
  color: #1a7a3a;
  background: #edf7f0;
}

.status-pill.suspended {
  color: #8b2010;
  background: #fef0ee;
}

.tbl-action {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  border: none;
  color: var(--gray-400);
  transition: color 0.2s;
  padding: 3px 6px;
}

.tbl-action:hover {
  color: var(--black);
}

.tbl-action.del:hover {
  color: #c0392b;
}

/* Plugin manager */
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.plugin-card {
  border: 1px solid var(--gray-200);
  padding: 20px;
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.plugin-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(79, 142, 247, 0.08);
}

.plugin-status {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.plugin-status.live {
  color: #1a7a3a;
}

.plugin-name {
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 4px;
}

.plugin-desc {
  font-size: 11px;
  color: var(--gray-400);
}

.plugin-add {
  border: 0.5px dashed var(--gray-300);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color 0.25s ease;
  min-height: 88px;
}

.plugin-add:hover {
  border-color: var(--black);
}

.plugin-add-icon {
  font-size: 20px;
  color: var(--gray-400);
  line-height: 1;
}

.plugin-add-lbl {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* Stripe payment card UI */
.stripe-card {
  border: 0.5px solid var(--gray-200);
  padding: 24px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
}

.stripe-row {
  display: flex;
  gap: 16px;
}

.stripe-field {
  flex: 1;
}

.stripe-field-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.stripe-field-input {
  width: 100%;
  border: none;
  border-bottom: 0.5px solid var(--gray-200);
  padding: 8px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  background: transparent;
  color: var(--black);
}

.stripe-field-input:focus {
  border-bottom-color: var(--black);
}

.stripe-pay-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.stripe-pay-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Admin add-user modal row */
.add-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.add-user-input {
  flex: 1;
  border: none;
  border-bottom: 0.5px solid var(--gray-200);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  font-family: var(--sans);
  background: transparent;
  color: var(--black);
}

.btn-add-user {
  background: var(--blue);
  color: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 11px 20px;
  border: none;
  white-space: nowrap;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  #hero {
    padding-top: 140px; /* More space from header */
  }

  .hiw-container {
    padding-top: 60px;
  }

  #mainNav {
    padding: 18px 24px;
  }

  .nav-links {
    display: none;
  }

  .dash-body,
  #panelProfile {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    border: none;
    gap: 12px;
  }

  .plan {
    border: 0.5px solid var(--gray-200);
    border-right: 0.5px solid var(--gray-200) !important;
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .setting-row {
    border-right: none !important;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  #hero {
    padding-top: 160px; /* Even more space on very small screens */
  }

  section {
    padding-top: 100px !important; /* Move all sections down a bit */
  }

  #how-it-works {
    padding-top: 100px !important;
    padding-bottom: 120px;
  }
  
  #command-center {
    padding-top: 60px !important; /* Adjusted from 40px to give more space */
  }

  .headline {
    font-size: 42px;
    letter-spacing: -1.5px;
    white-space: normal;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .zz-row,
  .zz-row:nth-child(even) {
    flex-direction: column;
    padding: 0 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  #pricing {
    padding: 80px 24px 100px;
  }

  .dash-topbar {
    padding: 0 16px;
  }

  .dash-body,
  #panelProfile,
  #panelAdmin {
    padding: 24px 16px;
  }
}

/* ═══════════════════════════════════════════════
   AUTH MODAL STAGED
   ═══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.4s var(--ease-out) both;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  padding: 56px 48px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: slideUpModal 0.6s var(--ease-expo) both;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  font-weight: 200;
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: default;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--black);
}

.auth-header {
  margin-bottom: 44px;
  text-align: center;
}

.auth-title {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 12px;
}

.auth-title em {
  font-style: italic;
  color: var(--gray-400);
}

.auth-subtitle {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray-500);
  letter-spacing: 0.2px;
}

.auth-submit {
  width: 100%;
  margin-top: 14px;
  padding: 16px !important;
}

.auth-footer {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 0.5px solid var(--gray-150);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--gray-400);
}

.auth-toggle-btn {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--black);
  cursor: default;
  margin-left: 6px;
  transition: opacity 0.2s;
}

.auth-toggle-btn:hover {
  opacity: 0.6;
}

.auth-error {
  background: #fdf2f2;
  color: #c0392b;
  font-size: 11px;
  padding: 12px 16px;
  margin-bottom: 24px;
  border-left: 2px solid #c0392b;
  text-align: left;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════
   PREMIUM AUTH & DASHBOARD COMPONENTS
   ═══════════════════════════════════════════════ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  padding: 24px;
  font-family: var(--inter);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h1 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.auth-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100%;
}

.hidden-group {
  display: none !important;
}

.input-group label {
  font-family: var(--inter);
  font-size: 11px !important;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6); /* Muted, elegant */
  text-transform: uppercase;
  letter-spacing: 2px;
  width: 100%;
  display: block;
  padding-left: 4px; /* Matches dashboard modern-label */
}

.input-group input, .input-group select, .input-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 16px; /* Matches dashboard modern-input */
  padding: 14px 20px; /* More luxurious spacing */
  color: var(--white);
  font-family: var(--inter);
  font-size: 15px;
  width: 100%;
  transition: all 0.3s var(--ease-out);
}

.input-group input:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(79, 142, 247, 0.1);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.social-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-social {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-social:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.auth-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

/* Auth Mobile Fixes */
@media (max-width: 480px) {
  .auth-card {
    padding: 32px 24px;
    border-radius: 20px;
  }
}

/* DASHBOARD LAYOUT */
.db-layout {
  display: flex;
  min-height: 100vh;
  background: #060910;
  color: var(--white);
  font-family: var(--inter);
}

.db-sidebar {
  width: 280px;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(24px);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  position: fixed;
  height: 100vh;
  z-index: 100;
}

.db-main {
  flex: 1;
  margin-left: 280px;
  padding: 48px;
  max-width: 1400px;
}

.db-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--white);
}

.db-logo em {
  font-style: normal;
  color: var(--blue);
}

.db-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}

.db-nav-link i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.db-nav-link:hover, .db-nav-link.active {
  background: rgba(79, 142, 247, 0.1);
  color: var(--blue);
}

.db-user-section {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.db-user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

.db-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.db-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.db-stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.3s var(--ease-out);
}

.db-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.db-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.db-stat-value {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--serif);
}

.db-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 32px;
}

.db-card-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.admin-badge {
  background: rgba(255, 101, 132, 0.1);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.btn-publish {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: var(--blue);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(79, 142, 247, 0.2);
}

.btn-publish:hover {
  transform: translateY(-2px);
  background: #3c7ce5;
  box-shadow: 0 15px 30px rgba(79, 142, 247, 0.3);
}

.btn-publish:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════════════════════════════════════
   LUXURY FORM ELEMENTS (DASHBOARD & AUTH)
   ═══════════════════════════════════════════════ */

.modern-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.modern-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-left: 4px;
}

/* Base style for inputs and selects */
.modern-input, .modern-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05); /* Match glass-bg directly for stability */
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px 20px;
  color: var(--white);
  font-family: var(--inter);
  font-size: 15px;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.modern-input:focus, .modern-select:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(79, 142, 247, 0.15);
  transform: translateY(-1px);
}

/* Custom modern SELECT wrapper */
.modern-select-wrapper {
  position: relative;
  width: 100%;
}

.modern-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 48px; /* Room for custom arrow */
}

/* Custom SVG Chevron */
.modern-select-wrapper::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.modern-select-wrapper:hover::after {
  opacity: 1;
}

/* Style for the options dropdown (browser dependent, but improve where possible) */
.modern-select option {
  background: #0d1117;
  color: white;
  padding: 12px;
}

/* ── AUTH TABS ───────────────────────── */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}
.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: 9px;
    transition: all 0.3s ease;
}
.auth-tab.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}
.auth-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.auth-back-btn {
    position: absolute;
    top: 30px;
    left: 40px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    z-index: 10;
}
.auth-back-btn:hover {
    color: var(--accent);
}
.forgot-link {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.forgot-link:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .auth-back-btn {
        top: 20px;
        left: 20px;
    }
}