/**
 * POT Design System
 * Clean, modern design with white hero and floating navbar
 * Based on POT Hero Section Sample
 */

/* ============================================================================
   GOOGLE FONTS
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Darker+Grotesque:ital,wght@1,500;1,600;1,700&display=swap');

/* ============================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================================ */
:root {
  /* ============================================================
     STRICT PALETTE — only 3 brand colors + gray.
     Any off-palette color (yellow/blue/coral/emerald/etc) was
     removed in the design-system audit; do NOT reintroduce.
     ============================================================ */

  /* Brand: BLACK (pure black per pitch-deck brand system) */
  --pot-dark: #000000;
  --pot-dark-hover: #1a1a1a;   /* slightly lighter for hover state only */

  /* Brand: GREEN (the lime accent — only piercing color allowed) */
  --pot-green: #ADF43C;
  --pot-green-hover: #9de02f;  /* darker shade for hover state only */

  /* Brand: WHITE */
  --pot-white: #ffffff;

  /* Grays */
  --pot-gray: #fafafa;
  --pot-gray-light: #f5f5f5;
  --pot-gray-hover: #ebebeb;
  --pot-gray-border: #e5e5e5;
  --pot-gray-divider: #d4d4d4;

  /* Icon Background Tint — green only */
  --icon-bg-green: rgba(173, 244, 60, 0.15);

  /* Text Colors */
  --text-primary: #171717;
  --text-secondary: #737373;
  --text-white: #ffffff;
  --text-white-80: rgba(255, 255, 255, 0.8);
  --text-white-70: rgba(255, 255, 255, 0.7);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 16px;
  --text-xl: 18.9px;
  --text-2xl: 20px;
  --text-3xl: 25px;
  --text-4xl: 40px;
  --text-hero: 76.4px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;

  /* Container */
  --container-max: 1400px;
  --container-padding: 64px;
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--pot-white);
}

.pot-body--white {
  background-color: var(--pot-white);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--pot-dark);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  top: var(--space-4);
}

/* ============================================================================
   PAGE LAYOUT
   ============================================================================ */
.pot-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pot-page--white {
  background-color: var(--pot-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================================
   FLOATING NAVBAR
   ============================================================================ */
.pot-navbar-wrapper {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--container-padding);
}

/* Inner page navbar wrapper - relative positioning for document flow */
.pot-navbar-wrapper--inner {
  position: relative;
  top: 0;
  padding: var(--space-3) var(--container-padding);
  background: var(--pot-white);
}

/* Dark variant for docs pages */
.pot-navbar-wrapper--dark {
  position: relative;
  top: 0;
  padding: var(--space-3) var(--container-padding);
  background: var(--pot-dark);
}

.pot-navbar--floating-dark {
  background: var(--pot-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 17px;
}

.pot-navbar--floating-dark .pot-navbar__link {
  color: var(--text-white-80);
}

.pot-navbar--floating-dark .pot-navbar__link:hover {
  color: var(--text-white);
}

.pot-navbar--floating-dark .pot-navbar__link--pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pot-navbar--floating-dark .pot-navbar__link--pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pot-navbar--floating-dark .pot-navbar__divider {
  background: rgba(255, 255, 255, 0.2);
}

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

.pot-navbar--floating {
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-sm);
  padding: 17px;
}

.pot-navbar__logo {
  display: flex;
  align-items: center;
}

.pot-navbar__logo-img {
  height: 36px;
  width: auto;
}

.pot-navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pot-navbar__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--pot-dark);
  letter-spacing: -0.18px;
  transition: var(--transition-fast);
}

.pot-navbar__link--pill {
  background: var(--pot-gray-light);
  border: 1px solid var(--pot-gray-border);
  padding: 7px 25px;
  border-radius: var(--radius-md);
  height: 40px;
  display: flex;
  align-items: center;
}

.pot-navbar__link--pill:hover {
  background: #ebebeb;
}

.pot-navbar__divider {
  width: 1px;
  height: 16px;
  background: var(--pot-gray-divider);
  margin: 0 var(--space-2);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.pot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: -0.18px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.pot-btn--sm {
  padding: 6px 24px;
  height: 40px;
}

.pot-btn--dark {
  background: var(--pot-dark);
  color: var(--text-white);
}

.pot-btn--dark:hover {
  background: var(--pot-dark-hover);
}

.pot-btn--green {
  background: var(--pot-green);
  color: var(--pot-dark);
}

.pot-btn--green:hover {
  background: var(--pot-green-hover);
}

.pot-btn--full {
  width: 100%;
}

.pot-btn--outline {
  background: transparent;
  border: 1px solid var(--pot-gray-border);
  color: var(--pot-dark);
}

.pot-btn--outline:hover {
  background: var(--pot-gray-light);
}

.pot-btn__icon {
  width: 16px;
  height: 16px;
}

/* ============================================================================
   CHIP / BADGE
   ============================================================================ */
.pot-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: -0.18px;
}

.pot-chip--dark {
  background: var(--pot-dark);
  color: var(--text-white);
}

.pot-chip__icon {
  color: var(--pot-green);
}

/* ============================================================================
   HERO SECTION - WHITE BACKGROUND
   ============================================================================ */
.pot-hero {
  position: relative;
  width: 100%;
}

.pot-hero--white {
  background: var(--pot-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Tighter padding on short viewports so right column (image + cards)
     fits within the viewport without scrolling — MacBook Pro 13/14
     usable area is ~720-830px. */
  padding: clamp(48px, 8vh, 120px) var(--container-padding);
}

.pot-hero__container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.pot-hero__text {
  flex: 1;
  max-width: 600px;
}

.pot-hero__headline {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 72px;
  letter-spacing: -2.4px;
  color: var(--text-primary);
  margin-top: var(--space-8);
}

.pot-hero__headline span {
  display: block;
}

.pot-hero__subtitle {
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 22.8px;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  margin-top: var(--space-4);
}

/* ============================================================================
   USER TYPE CARDS
   ============================================================================ */
.pot-hero__cards-container {
  background: var(--pot-gray);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-3xl);
  padding: var(--space-12);
}

.pot-hero__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.pot-user-card {
  background: var(--pot-white);
  border: 2px solid var(--pot-gray-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  width: 380px;
  transition: var(--transition-normal);
}

.pot-user-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.pot-user-card--agent:hover {
  border-color: var(--pot-green);
}

.pot-user-card--human:hover {
  border-color: var(--pot-green);
}

.pot-user-card__content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}

.pot-user-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.pot-user-card__icon--gray {
  background: var(--pot-gray-light);
  color: var(--pot-dark);
}

.pot-user-card--agent:hover .pot-user-card__icon--gray {
  background: var(--icon-bg-green);
}

.pot-user-card__icon--green {
  background: var(--pot-green);
  color: var(--pot-dark);
}

.pot-user-card--human:hover .pot-user-card__icon--green {
  background: var(--pot-green-hover);
}

.pot-user-card__icon svg {
  transition: transform var(--transition-slow);
}

.pot-user-card:hover .pot-user-card__icon svg {
  transform: scale(1.1);
}

.pot-user-card__info {
  flex: 1;
}

.pot-user-card__title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.pot-user-card__description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 20px;
  margin-bottom: var(--space-5);
}

/* ============================================================================
   HERO CARD ANIMATIONS
   ============================================================================ */

/* 1. ENTRANCE ANIMATION - Staggered slide up + fade in */
@keyframes slideInFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pot-card-animated {
  opacity: 0;
  animation: slideInFadeUp 0.6s ease-out forwards;
}

.pot-card-animated:nth-child(1) {
  animation-delay: 0.2s;
}

.pot-card-animated:nth-child(2) {
  animation-delay: 0.4s;
}

/* 2. 3D CARD LIFT - Hover effect */
.pot-card-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pot-card-3d:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.15),
    0 8px 16px -8px rgba(0, 0, 0, 0.1);
}

/* 3. GRADIENT CONTAINER with dot pattern */
.pot-cards-gradient {
  background: linear-gradient(135deg, var(--pot-gray) 0%, var(--pot-gray-light) 50%, var(--pot-gray-hover) 100%);
  position: relative;
  overflow: hidden;
}

.pot-cards-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.pot-cards-gradient .pot-hero__cards {
  position: relative;
  z-index: 1;
}

/* 4. CARD GLOW EFFECT */
.pot-card-glow {
  position: relative;
}

.pot-card-glow::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 40px;
  background: var(--glow-color, #ADF43C);
  opacity: 0;
  filter: blur(40px);
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.pot-card-glow:hover::before {
  opacity: 0.15;
}

.pot-card-glow--agent {
  --glow-color: #ADF43C;
}

.pot-card-glow--human {
  --glow-color: #ADF43C;
}

/* 5. ICON PULSE RING ANIMATION */
@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.pot-icon-pulse {
  position: relative;
}

.pot-icon-pulse::before,
.pot-icon-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--pulse-color, #ADF43C);
  opacity: 0;
  pointer-events: none;
}

.pot-user-card:hover .pot-icon-pulse::before {
  animation: pulseRing 1.2s ease-out infinite;
}

.pot-user-card:hover .pot-icon-pulse::after {
  animation: pulseRing 1.2s ease-out infinite 0.6s;
}

.pot-icon-pulse--agent {
  --pulse-color: #ADF43C;
}

.pot-icon-pulse--human {
  --pulse-color: #ADF43C;
}

/* 6. ICON ROTATION on hover */
.pot-icon-rotate {
  transition: transform 0.4s ease;
}

.pot-user-card:hover .pot-icon-rotate {
  transform: scale(1.1) rotate(8deg);
}

/* ============================================================================
   SECTIONS
   ============================================================================ */
.pot-section {
  width: 100%;
  padding: var(--space-20) var(--container-padding);
}

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

.pot-section--gray {
  background: var(--pot-gray);
}

.pot-section--dark {
  background: var(--pot-dark);
}

.pot-section--dark-alt {
  background: var(--pot-dark);
}

.pot-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pot-section__inner--narrow {
  max-width: 620px;
}

.pot-section__title {
  font-size: var(--text-4xl);
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-12);
}

/* ============================================================================
   FEATURES SECTION
   ============================================================================ */
.pot-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.pot-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

.pot-feature__visual {
  margin-bottom: var(--space-6);
}

.pot-feature__icon-large {
  width: 180px;
  height: 180px;
}

.pot-feature__title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: var(--space-3);
}

.pot-feature__text {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 22px;
  letter-spacing: -0.15px;
}

/* ============================================================================
   FLOW CARDS
   ============================================================================ */
.pot-flows-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.pot-flow-card {
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.pot-flow-card__icons {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-5);
}

.pot-flow-card__icon-box {
  width: 52px;
  height: 52px;
  background: var(--pot-gray-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pot-dark);
}

.pot-flow-card__arrow {
  color: var(--text-secondary);
}

.pot-flow-card__title {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.pot-flow-card__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 20px;
}

/* ============================================================================
   PRINCIPLES SECTION
   ============================================================================ */
.pot-principles-accent {
  width: 29px;
  height: 1px;
  background: var(--pot-dark);
  margin-bottom: 42px;
}

.pot-principles-accent--small {
  width: 9px;
  margin-top: 28px;
  margin-bottom: 0;
}

.pot-principles-content {
  margin-bottom: 28px;
}

.pot-principles-content:last-of-type {
  margin-bottom: 0;
}

.pot-principles-text {
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 22.8px;
  letter-spacing: -0.2px;
  color: var(--text-white);
  opacity: 0.8;
  margin-bottom: 4px;
}

.pot-principles-text:last-child {
  margin-bottom: 0;
}

.pot-principles-text--highlight {
  opacity: 0.9;
}

.pot-principles-text--subtle {
  font-size: var(--text-2xl);
  opacity: 0.7;
}

/* ============================================================================
   FOOTER CTA
   ============================================================================ */
.pot-footer-cta-grid {
  display: flex;
  gap: var(--space-12);
  justify-content: center;
}

.pot-footer-cta {
  background: var(--pot-dark);
  border-radius: var(--radius-sm);
  padding: 15px;
  width: 615px;
  height: 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22.8px;
  opacity: 0.9;
}

.pot-footer-cta__title {
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 27.664px;
  letter-spacing: -0.532px;
  color: var(--text-white);
  text-align: center;
}

.pot-footer-cta__title span {
  display: block;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.pot-footer {
  margin-top: auto;
  padding: var(--space-8) var(--container-padding);
}

.pot-footer--dark {
  background: var(--pot-dark);
  border-top: 1px solid var(--pot-dark);
}

.pot-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pot-footer__links {
  display: flex;
  gap: var(--space-6);
}

.pot-footer__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-white);
  letter-spacing: -0.18px;
}

.pot-footer__links a:hover {
  opacity: 0.8;
}

.pot-footer__locale {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-white);
}

/* ============================================================================
   INNER PAGE STYLES (for agents/, docs/, tip/ pages)
   ============================================================================ */
.pot-page-inner {
  background: var(--pot-white);
  min-height: 100vh;
}

.pot-navbar--inner {
  background: var(--pot-white);
  border-bottom: 1px solid var(--pot-gray-border);
  padding: var(--space-4) var(--container-padding);
  position: sticky;
  top: 0;
  z-index: 100;
}

.pot-navbar--inner .pot-navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pot-navbar--inner .pot-navbar__link {
  color: var(--text-secondary);
}

.pot-navbar--inner .pot-navbar__link:hover {
  color: var(--text-primary);
}

/* Inner page main content */
.pot-main {
  flex: 1;
  padding: var(--space-8) 0;
}

.pot-main__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pot-main__header {
  margin-bottom: var(--space-8);
}

.pot-main__title {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: var(--space-2);
}

.pot-main__subtitle {
  font-size: var(--text-lg);
  color: var(--text-white-70);
}

/* Cards for inner pages */
.pot-card {
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.pot-card--white {
  background: var(--pot-white);
  border-color: var(--pot-gray-border);
}

/* Form elements for inner pages */
.pot-form-group {
  margin-bottom: var(--space-6);
}

.pot-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.pot-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.pot-input:focus {
  outline: none;
  border-color: var(--pot-green);
  background: var(--pot-white);
  box-shadow: 0 0 0 3px rgba(0, 199, 103, 0.1);
}

.pot-input::placeholder {
  color: var(--text-secondary);
}

/* Stats grid */
.pot-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.pot-stat-card {
  background: var(--pot-gray);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.pot-stat-card__value {
  font-size: 28px;
  font-weight: 600;
  color: var(--pot-green);
  margin-bottom: var(--space-1);
}

.pot-stat-card__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1200px) {
  :root {
    --container-padding: 32px;
  }

  .pot-hero__container {
    flex-direction: column;
    gap: 48px;
  }

  .pot-hero__text {
    max-width: 100%;
    text-align: center;
  }

  .pot-hero__headline {
    font-size: 56px;
    line-height: 60px;
  }

  .pot-user-card {
    width: 100%;
    max-width: 400px;
  }

  .pot-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .pot-footer-cta-grid {
    flex-direction: column;
    align-items: center;
  }

  .pot-footer-cta {
    width: 100%;
    max-width: 500px;
    height: auto;
    padding: var(--space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }

  .pot-navbar--floating {
    padding: 12px;
  }

  .pot-navbar__link--pill {
    padding: 6px 16px;
    font-size: 12px;
  }

  .pot-navbar__divider {
    display: none;
  }

  .pot-hero--white {
    padding: 120px var(--container-padding) 60px;
    min-height: auto;
  }

  .pot-hero__headline {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -1.5px;
  }

  .pot-hero__subtitle {
    font-size: 16px;
    line-height: 22px;
  }

  .pot-hero__cards-container {
    padding: var(--space-6);
  }

  .pot-user-card {
    padding: var(--space-6);
  }

  .pot-user-card__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pot-section {
    padding: var(--space-12) var(--container-padding);
  }

  .pot-features-grid {
    grid-template-columns: 1fr;
  }

  .pot-flows-grid {
    grid-template-columns: 1fr;
  }

  .pot-section__title {
    font-size: 28px;
  }

  .pot-footer__inner {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .pot-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .pot-btn--sm {
    padding: 6px 16px;
    font-size: 12px;
  }

  .pot-hero__headline {
    font-size: 32px;
    line-height: 36px;
  }

  .pot-user-card__icon {
    width: 48px;
    height: 48px;
  }

  .pot-user-card__icon svg {
    width: 24px;
    height: 24px;
  }
}

/* ============================================================================
   DOCS PAGE STYLES
   ============================================================================ */
.pot-docs-sidebar {
  width: 240px;
  padding-right: var(--space-8);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pot-docs-nav {
  list-style: none;
}

.pot-docs-nav__item {
  margin-bottom: var(--space-2);
}

.pot-docs-nav__link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-white-70);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.pot-docs-nav__link:hover,
.pot-docs-nav__link--active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

.pot-docs-content {
  flex: 1;
  padding-left: var(--space-8);
}

.pot-docs-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-white);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.pot-docs-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-white);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.pot-docs-content p {
  font-size: var(--text-base);
  color: var(--text-white-80);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.pot-docs-content code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(173, 244, 60, 0.1);
  color: var(--pot-green);
  padding: 2px 6px;
  border-radius: 4px;
}

.pot-docs-content pre {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  overflow-x: auto;
  margin-bottom: var(--space-4);
}

.pot-docs-content pre code {
  background: none;
  padding: 0;
  color: var(--text-white-80);
}

/* API endpoint badges */
.pot-api-method {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  margin-right: var(--space-2);
}

.pot-api-method--get {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.pot-api-method--post {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.pot-api-method--put {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.pot-api-method--delete {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* ============================================================================
   LEADERBOARD TABLE
   ============================================================================ */
.pot-table {
  width: 100%;
  border-collapse: collapse;
}

.pot-table th,
.pot-table td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pot-table th {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-white-70);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pot-table td {
  font-size: var(--text-base);
  color: var(--text-white);
}

.pot-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Tier badges */
.pot-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.pot-tier-badge--bronze {
  background: rgba(180, 83, 9, 0.2);
  color: #d97706;
}

.pot-tier-badge--silver {
  background: rgba(156, 163, 175, 0.2);
  color: #4b5563;
}

.pot-tier-badge--gold {
  background: rgba(234, 179, 8, 0.2);
  color: #a16207;
}

.pot-tier-badge--platinum {
  background: rgba(168, 162, 158, 0.2);
  color: #57534e;
}

/* ============================================================================
   TIP PAGE STYLES
   ============================================================================ */
.pot-tip-card {
  background: var(--pot-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  max-width: 500px;
  margin: 0 auto;
}

.pot-tip-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.pot-tip-amount-btn {
  padding: var(--space-4);
  font-size: var(--text-lg);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  transition: var(--transition-fast);
  cursor: pointer;
}

.pot-tip-amount-btn:hover {
  border-color: var(--pot-green);
  background: rgba(173, 244, 60, 0.05);
}

.pot-tip-amount-btn--active {
  border-color: var(--pot-green);
  background: rgba(173, 244, 60, 0.1);
}

/* Receipt page */
.pot-receipt {
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.pot-receipt__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: rgba(173, 244, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pot-receipt__icon svg {
  width: 40px;
  height: 40px;
  color: var(--pot-green);
}

.pot-receipt__amount {
  font-size: 48px;
  font-weight: 600;
  color: var(--pot-green);
  margin-bottom: var(--space-2);
}

.pot-receipt__label {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.pot-receipt__details {
  background: var(--pot-gray);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: left;
}

.pot-receipt__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--pot-gray-border);
}

.pot-receipt__row:last-child {
  border-bottom: none;
}

.pot-receipt__key {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pot-receipt__value {
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.pot-text-center { text-align: center; }
.pot-text-white { color: var(--text-white); }
.pot-text-white-80 { color: var(--text-white-80); }
.pot-text-muted { color: var(--text-secondary); }
.pot-text-green { color: var(--pot-green); }

.pot-mt-4 { margin-top: var(--space-4); }
.pot-mt-6 { margin-top: var(--space-6); }
.pot-mt-8 { margin-top: var(--space-8); }
.pot-mb-4 { margin-bottom: var(--space-4); }
.pot-mb-6 { margin-bottom: var(--space-6); }
.pot-mb-8 { margin-bottom: var(--space-8); }

.pot-flex { display: flex; }
.pot-flex-col { flex-direction: column; }
.pot-items-center { align-items: center; }
.pot-justify-center { justify-content: center; }
.pot-justify-between { justify-content: space-between; }
.pot-gap-4 { gap: var(--space-4); }
.pot-gap-6 { gap: var(--space-6); }

.pot-grid { display: grid; }
.pot-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pot-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pot-grid-4 { grid-template-columns: repeat(4, 1fr); }

.pot-hidden { display: none; }
.pot-block { display: block; }

/* ============================================================================
   SECTION HEADER
   ============================================================================ */
.pot-section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.pot-section-header__title {
  margin-bottom: var(--space-4);
}

.pot-section-header__subtitle {
  max-width: 700px;
  margin: 0 auto;
}

.pot-display-lg {
  font-size: var(--text-4xl);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
}

.pot-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
}

.pot-text-dark {
  color: var(--text-primary);
}

.pot-leading-relaxed {
  line-height: 1.7;
}

.pot-text-sm {
  font-size: var(--text-sm);
}

.pot-h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.pot-h3 {
  font-size: 18px;
  font-weight: 500;
}

/* ============================================================================
   LIGHT SECTION
   ============================================================================ */
.pot-section--light {
  background: var(--pot-gray-light);
}

/* ============================================================================
   GRID SYSTEM
   ============================================================================ */
.pot-grid {
  display: grid;
  gap: var(--space-8);
}

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

.pot-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.pot-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .pot-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pot-grid--2,
  .pot-grid--3,
  .pot-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   CARD VARIANTS
   ============================================================================ */
.pot-card--dark {
  background: var(--pot-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.pot-card--light {
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.pot-card--bordered {
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.pot-card--dark-reverse {
  background: var(--pot-dark);
  border-left: 3px solid var(--pot-green);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

/* ============================================================================
   ICON BOXES
   ============================================================================ */
.pot-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}

.pot-icon-box--sm {
  width: 48px;
  height: 48px;
}

.pot-icon-box--sm svg {
  width: 24px;
  height: 24px;
}

.pot-icon-box--md {
  width: 56px;
  height: 56px;
}

.pot-icon-box--md svg {
  width: 28px;
  height: 28px;
}

.pot-icon-box--accent-light {
  background: rgba(173, 244, 60, 0.1);
  color: var(--pot-green);
}

.pot-icon-box--accent-solid {
  background: var(--pot-green);
  color: var(--pot-dark);
}

/* ============================================================================
   FEATURE CARDS
   ============================================================================ */
.pot-feature-card {
  text-align: center;
}

.pot-feature-card__icon {
  margin: 0 auto var(--space-4);
}

.pot-feature-card__title {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.pot-feature-card__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================================
   PRINCIPLE CARDS
   ============================================================================ */
.pot-principle-card {
  position: relative;
  background: var(--pot-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  overflow: hidden;
}

.pot-principle-card__hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(173, 244, 60, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.pot-principle-card:hover .pot-principle-card__hover {
  opacity: 1;
}

.pot-principle-card__content {
  position: relative;
  z-index: 1;
}

.pot-principle-card__icon {
  margin-bottom: var(--space-6);
}

.pot-principle-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.pot-principle-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-white);
  flex-shrink: 0;
}

.pot-principle-card__title {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.3;
}

.pot-principle-card__text {
  font-size: var(--text-sm);
  color: var(--text-white-70);
  line-height: 1.6;
}

/* ============================================================================
   STATS BAR
   ============================================================================ */
.pot-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--pot-gray);
  border-radius: var(--radius-xl);
  border: 1px solid var(--pot-gray-border);
}

.pot-stat {
  text-align: center;
}

.pot-stat__value {
  font-size: 32px;
  font-weight: 600;
  color: var(--pot-dark);
  margin-bottom: var(--space-1);
}

.pot-stat__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .pot-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   INTEGRATION TIER CARDS
   ============================================================================ */
.pot-integration-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pot-tier-card {
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: var(--transition-normal);
}

.pot-tier-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.pot-tier-card--featured {
  background: var(--pot-dark);
  border-color: var(--pot-dark);
}

.pot-tier-card--featured .pot-tier-card__title,
.pot-tier-card--featured .pot-tier-card__description {
  color: var(--text-white);
}

.pot-tier-card--featured .pot-tier-card__badge {
  background: var(--pot-green);
  color: var(--pot-dark);
}

.pot-tier-card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--pot-gray);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.pot-tier-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: rgba(173, 244, 60, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pot-green);
}

.pot-tier-card__title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.pot-tier-card__description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.pot-code-block {
  background: var(--pot-dark);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-6);
  color: var(--pot-green);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.pot-code-block pre {
  margin: 0;
  background: none;
}

.pot-code-block code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--pot-green);
}

@media (max-width: 1024px) {
  .pot-integration-tiers {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============================================================================
   CTA CARDS
   ============================================================================ */
.pot-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  min-height: 200px;
}

.pot-cta-card__title {
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: var(--space-6);
}

/* ============================================================================
   FULL FOOTER
   ============================================================================ */
.pot-footer {
  background: var(--pot-dark);
  padding: var(--space-16) var(--container-padding) var(--space-8);
}

.pot-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pot-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.pot-footer__brand {
  max-width: 320px;
}

.pot-footer__brand p {
  font-size: var(--text-sm);
  color: var(--text-white-70);
  line-height: 1.7;
  margin-top: var(--space-4);
}

.pot-footer__section h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-4);
}

.pot-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pot-footer__links li {
  margin-bottom: var(--space-3);
}

.pot-footer__links a {
  font-size: var(--text-sm);
  color: var(--text-white-70);
  transition: color var(--transition-fast);
}

.pot-footer__links a:hover {
  color: var(--text-white);
}

.pot-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pot-footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.pot-footer__bottom-links a {
  font-size: var(--text-sm);
  color: var(--text-white-70);
}

.pot-footer__bottom-links a:hover {
  color: var(--text-white);
}

.pot-footer__copyright {
  font-size: var(--text-sm);
  color: var(--text-white-70);
}

@media (max-width: 768px) {
  .pot-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .pot-footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .pot-footer__bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Simplified Footer for Inner Pages */
.pot-footer__simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-6) 0;
}

.pot-footer__simple-brand {
  display: flex;
  align-items: center;
}

.pot-footer__simple-links {
  display: flex;
  gap: var(--space-6);
}

.pot-footer__simple-links a {
  color: var(--text-white-70);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.2s ease;
}

.pot-footer__simple-links a:hover {
  color: var(--text-white);
}

.pot-footer__simple-copyright {
  font-size: var(--text-sm);
  color: var(--text-white-70);
}

@media (max-width: 768px) {
  .pot-footer__simple {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }
}

/* ============================================================================
   BUTTON PRIMARY VARIANT
   ============================================================================ */
.pot-btn--primary {
  background: var(--pot-green);
  color: var(--pot-dark);
}

.pot-btn--primary:hover {
  background: var(--pot-green-hover);
}

/* ============================================================================
   MISSING CSS CLASSES - Inner Pages Fix
   ============================================================================ */

/* ============================================================================
   CONTAINER LAYOUTS
   ============================================================================ */
.pot-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--container-padding);
}

.pot-container--md {
  max-width: 800px;
}

.pot-container--sm {
  max-width: 600px;
}

/* ============================================================================
   DOCS PAGE LAYOUT
   ============================================================================ */
.pot-docs-page {
  background: var(--pot-white);
  min-height: 100vh;
  color: var(--text-primary);
}

.pot-docs-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--container-padding);
  gap: var(--space-8);
}

.pot-docs-nav {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.pot-docs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pot-docs-nav li {
  margin-bottom: var(--space-2);
}

.pot-docs-nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.pot-docs-nav a:hover,
.pot-docs-nav a.active {
  background: var(--pot-gray);
  color: var(--text-primary);
}

.pot-docs-content {
  flex: 1;
  min-width: 0;
}

.pot-docs-content h1 {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.pot-docs-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--pot-gray-border);
}

.pot-docs-content h2:first-of-type {
  margin-top: var(--space-8);
  border-top: none;
  padding-top: 0;
}

.pot-docs-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.pot-docs-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.pot-docs-content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.pot-docs-content ul,
.pot-docs-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  color: var(--text-secondary);
}

.pot-docs-content li {
  margin-bottom: var(--space-2);
}

.pot-docs-content a {
  color: var(--pot-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pot-docs-content a:hover {
  color: var(--pot-dark);
}

.pot-docs-content code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--pot-gray);
  color: var(--pot-dark);
  padding: 2px 6px;
  border-radius: 4px;
}

.pot-docs-content pre {
  background: var(--pot-dark);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  overflow-x: auto;
  margin-bottom: var(--space-4);
}

.pot-docs-content pre code {
  background: none;
  padding: 0;
  color: var(--text-white-80);
}

/* ============================================================================
   DOCS STEP COMPONENTS
   ============================================================================ */
.pot-docs-step {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  background: var(--pot-gray);
  border-radius: var(--radius-lg);
  border: 1px solid var(--pot-gray-border);
}

.pot-docs-step-number {
  width: 32px;
  height: 32px;
  background: var(--pot-green);
  color: var(--pot-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.pot-docs-step-content {
  flex: 1;
  min-width: 0;
}

.pot-docs-step-content h3 {
  margin-top: 0;
  margin-bottom: var(--space-3);
}

.pot-docs-step-content p {
  margin-bottom: var(--space-2);
}

.pot-docs-step-content p:last-child {
  margin-bottom: 0;
}

/* ============================================================================
   DOCS CALLOUTS
   ============================================================================ */
.pot-docs-callout {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.pot-docs-callout strong {
  display: block;
  margin-bottom: var(--space-1);
}

.pot-docs-callout a {
  color: inherit;
  text-decoration: underline;
}

.pot-docs-callout--info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #1d4ed8;
}

.pot-docs-callout--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
}

.pot-docs-callout--warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #b45309;
}

.pot-docs-callout--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

/* ============================================================================
   DOCS API DOCUMENTATION
   ============================================================================ */
.pot-docs-endpoint {
  background: var(--pot-gray);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
}

.pot-docs-endpoint-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.pot-docs-endpoint-path {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: 500;
}

.pot-docs-method-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.pot-docs-method-badge--get {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.pot-docs-method-badge--post {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.pot-docs-method-badge--put {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.pot-docs-method-badge--delete {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.pot-docs-param-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.pot-docs-param-table th {
  text-align: left;
  padding: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white-70);
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pot-docs-param-table td {
  padding: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-white-80);
  vertical-align: top;
}

.pot-docs-param-table tr:last-child td {
  border-bottom: none;
}

.pot-docs-param-table code {
  font-size: 12px;
}

.pot-docs-type-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  font-size: 11px;
  font-family: var(--font-mono);
  border-radius: 4px;
}

.pot-docs-required {
  color: #ef4444;
  font-weight: 600;
}

/* ============================================================================
   FORM ELEMENTS
   ============================================================================ */
.pot-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-family);
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.pot-select:focus {
  outline: none;
  border-color: var(--pot-green);
  background-color: var(--pot-white);
  box-shadow: 0 0 0 3px rgba(0, 199, 103, 0.1);
}

.pot-select option {
  background: var(--pot-white);
  color: var(--text-primary);
}

.pot-help-text {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* ============================================================================
   PRESET BUTTONS
   ============================================================================ */
.pot-preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.pot-preset-btn {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--pot-gray);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.pot-preset-btn:hover {
  background: var(--pot-gray-hover);
  border-color: var(--pot-gray-divider);
}

.pot-preset-btn--active,
.pot-preset-btn:active {
  background: rgba(0, 199, 103, 0.1);
  border-color: var(--pot-green);
  color: var(--pot-green);
}

/* ============================================================================
   RATING COMPONENT
   ============================================================================ */
.pot-rating {
  display: flex;
  gap: var(--space-2);
}

.pot-rating__btn {
  width: 40px;
  height: 40px;
  font-size: var(--text-lg);
  font-weight: 600;
  background: var(--pot-gray);
  border: 2px solid var(--pot-gray-border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.pot-rating__btn:hover {
  background: var(--pot-gray-hover);
  border-color: var(--pot-gray-divider);
  color: var(--text-primary);
}

.pot-rating__btn--active {
  background: rgba(0, 199, 103, 0.1);
  border-color: var(--pot-green);
  color: var(--pot-green);
}

/* ============================================================================
   ALERTS
   ============================================================================ */
.pot-alert {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-top: var(--space-4);
}

.pot-alert--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
}

.pot-alert--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

.pot-alert--warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #b45309;
}

.pot-alert--info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #1d4ed8;
}

/* ============================================================================
   SUMMARY BOX
   ============================================================================ */
.pot-summary {
  background: var(--pot-gray);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
}

.pot-summary__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pot-summary__row--total {
  border-top: 1px solid var(--pot-gray-border);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-primary);
}

/* ============================================================================
   LEADERBOARD
   ============================================================================ */
.pot-leaderboard {
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.pot-leaderboard-header {
  display: grid;
  grid-template-columns: 60px 1fr 100px 80px 80px;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--pot-gray);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pot-leaderboard-row {
  display: grid;
  grid-template-columns: 60px 1fr 100px 80px 80px;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  align-items: center;
  border-bottom: 1px solid var(--pot-gray-border);
  transition: var(--transition-fast);
}

.pot-leaderboard-row:hover {
  background: var(--pot-gray);
}

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

.pot-rank {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.pot-rank--1 {
  color: #fbbf24;
  font-size: 24px;
}

.pot-rank--2 {
  color: #9ca3af;
  font-size: 22px;
}

.pot-rank--3 {
  color: #d97706;
  font-size: 20px;
}

.agent-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ============================================================================
   EMPTY STATE
   ============================================================================ */
.pot-empty {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  background: var(--pot-gray);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-xl);
}

.pot-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-white-70);
}

.pot-empty__title {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: var(--space-2);
}

.pot-empty__text {
  font-size: var(--text-sm);
  color: var(--text-white-70);
  margin-bottom: var(--space-6);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================================
   TIP HISTORY ITEMS
   ============================================================================ */
.pot-tip-item {
  background: var(--pot-gray);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}

.pot-tip-item:last-child {
  margin-bottom: 0;
}

.pot-tip-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.pot-tip-item__amount {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--pot-green);
}

.pot-tip-item__rating {
  color: #f59e0b;
  font-size: var(--text-sm);
  letter-spacing: 1px;
}

.pot-tip-item__details {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* ============================================================================
   BUTTON VARIANTS
   ============================================================================ */
.pot-btn--secondary {
  background: var(--pot-white);
  color: var(--text-primary);
  border: 1px solid var(--pot-gray-border);
}

.pot-btn--secondary:hover {
  background: var(--pot-gray);
  border-color: var(--pot-gray-divider);
}

.pot-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-4);
}

.pot-btn--ghost:hover {
  background: var(--pot-gray);
  color: var(--text-primary);
}

/* ============================================================================
   UTILITY CLASSES - TEXT
   ============================================================================ */
.pot-text-lg {
  font-size: var(--text-lg);
  line-height: 1.5;
}

.pot-text-highlight {
  color: var(--pot-green);
  font-weight: 500;
}

.pot-text-xs {
  font-size: var(--text-xs);
}

.pot-mono {
  font-family: var(--font-mono);
}

/* ============================================================================
   UTILITY CLASSES - SPACING
   ============================================================================ */
.pot-mb-lg {
  margin-bottom: var(--space-8);
}

.pot-mb-md {
  margin-bottom: var(--space-6);
}

.pot-mb-sm {
  margin-bottom: var(--space-3);
}

.pot-mt-sm {
  margin-top: var(--space-3);
}

.pot-mt-lg {
  margin-top: var(--space-8);
}

/* ============================================================================
   UTILITY CLASSES - FLEX
   ============================================================================ */
.pot-flex--gap-sm {
  gap: var(--space-2);
}

.pot-flex--gap-md {
  gap: var(--space-4);
}

.pot-flex--center {
  justify-content: center;
}

.pot-flex--between {
  justify-content: space-between;
}

.pot-flex--wrap {
  flex-wrap: wrap;
}

/* ============================================================================
   UTILITY CLASSES - HEADINGS
   ============================================================================ */
.pot-h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-white);
}

.pot-h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-white);
}

/* ============================================================================
   CARD VARIANTS
   ============================================================================ */
.pot-card--highlight {
  background: rgba(173, 244, 60, 0.05);
  border: 1px solid rgba(173, 244, 60, 0.2);
}

/* ============================================================================
   FEATURE ICON
   ============================================================================ */
.pot-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-white);
}

/* ============================================================================
   RESPONSIVE - DOCS & INNER PAGES
   ============================================================================ */
@media (max-width: 900px) {
  .pot-docs-container {
    flex-direction: column;
  }

  .pot-docs-nav {
    width: 100%;
    position: static;
    border-bottom: 1px solid var(--pot-gray-border);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
  }

  .pot-docs-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .pot-docs-nav li {
    margin-bottom: 0;
  }

  .pot-leaderboard-header,
  .pot-leaderboard-row {
    grid-template-columns: 50px 1fr 80px 60px;
    gap: var(--space-2);
    font-size: var(--text-xs);
  }

  .pot-leaderboard-header span:last-child,
  .pot-leaderboard-row > *:last-child {
    display: none;
  }
}

@media (max-width: 600px) {
  .pot-container {
    padding: var(--space-6) var(--space-4);
  }

  .pot-leaderboard-header,
  .pot-leaderboard-row {
    grid-template-columns: 40px 1fr 70px;
  }

  .pot-leaderboard-header span:nth-child(4),
  .pot-leaderboard-row > *:nth-child(4) {
    display: none;
  }

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

  .pot-rating {
    justify-content: center;
  }

  .pot-preset-buttons {
    justify-content: center;
  }
}

/* ============================================================================
   ADDITIONAL MISSING CLASSES - Complete Fix
   ============================================================================ */

/* ============================================================================
   WALLET STATUS COMPONENT
   ============================================================================ */
.pot-wallet-status {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.pot-wallet-status__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.pot-wallet-status--connected .pot-wallet-status__indicator {
  background: var(--pot-green);
  box-shadow: 0 0 8px var(--pot-green);
}

.pot-wallet-status__info {
  flex: 1;
  min-width: 0;
}

.pot-wallet-status__label {
  font-size: var(--text-xs);
  color: var(--text-white-70);
  margin-bottom: 2px;
}

.pot-wallet-status__address {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-white);
  font-family: var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================================
   MODAL SYSTEM
   ============================================================================ */
.pot-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: 1000;
}

.pot-modal {
  background: var(--pot-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.pot-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.pot-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-white-70);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.pot-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

/* ============================================================================
   RULE CARD COMPONENT
   ============================================================================ */
.pot-rule-card {
  background: var(--pot-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  transition: var(--transition-fast);
}

.pot-rule-card:last-child {
  margin-bottom: 0;
}

.pot-rule-card--disabled {
  opacity: 0.6;
}

.pot-rule-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.pot-rule-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-white);
}

.pot-rule-card__status {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white-70);
}

.pot-rule-card__status--active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.pot-rule-card__status--inactive {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.pot-rule-card__description {
  font-size: var(--text-sm);
  color: var(--text-white-80);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.pot-rule-card__description strong {
  color: var(--text-white);
}

.pot-rule-card__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ============================================================================
   DISTRIBUTION BAR COMPONENT
   ============================================================================ */
.pot-distribution {
  margin-top: var(--space-3);
}

.pot-distribution__bar {
  display: flex;
  height: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--pot-gray);
}

.pot-distribution__segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--pot-dark);
  min-width: 0;
  transition: var(--transition-fast);
}

.pot-distribution__segment:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.pot-distribution__segment:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pot-distribution__segment:only-child {
  border-radius: var(--radius-md);
}

.pot-distribution__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.pot-distribution__legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.pot-distribution__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================================
   CONFIRM PAGE COMPONENT
   ============================================================================ */
.pot-confirm {
  text-align: center;
  margin-bottom: var(--space-8);
}

.pot-confirm__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background: rgba(173, 244, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--pot-green);
}

.pot-confirm__title {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: var(--space-2);
}

.pot-confirm__description {
  font-size: var(--text-base);
  color: var(--text-white-70);
}

.pot-confirm__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* ============================================================================
   DOCS - METHOD SIGNATURE
   ============================================================================ */
.pot-docs-method-signature {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  background: rgba(173, 244, 60, 0.08);
  border: 1px solid rgba(173, 244, 60, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  color: var(--pot-green);
  overflow-x: auto;
}

/* ============================================================================
   DOCS - EVENT CARDS
   ============================================================================ */
.pot-docs-event-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
}

.pot-docs-event-name {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--pot-green);
  background: rgba(173, 244, 60, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}

/* ============================================================================
   ADDITIONAL UTILITIES
   ============================================================================ */
.pot-display-md {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

.pot-mt-md {
  margin-top: var(--space-4);
}

.pot-btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.pot-h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-white);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================================
   VISUAL CONSISTENCY UTILITIES
   ============================================================================ */

/* Active navigation link */
.pot-navbar__link--active {
  color: var(--pot-green);
}

/* Feature icon color variants */
.pot-feature-icon--green {
  background: var(--icon-bg-green);
  color: var(--pot-green);
}

/* Card link styling */
.pot-card-link {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Container size variants */
.pot-container--lg {
  max-width: 900px;
}

.pot-container--md {
  max-width: 800px;
}

.pot-container--sm {
  max-width: 600px;
}

.pot-container--xs {
  max-width: 500px;
}

/* ============================================================================
   FORM CARD - Modern form container
   ============================================================================ */
.pot-form-card {
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
  .pot-form-card {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
  }
}

/* Page header for inner pages */
.pot-page-header {
  margin-bottom: var(--space-8);
}

.pot-page-header h1 {
  margin-bottom: var(--space-2);
}

/* Additional margin utilities */
.pot-m-0 {
  margin: 0;
}

.pot-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Gap utilities */
.pot-gap-4 {
  gap: var(--space-4);
}

/* ============================================================================
   RECEIPT PAGE ENHANCEMENTS
   ============================================================================ */
.pot-receipt__detail-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--pot-gray-border);
}

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

.pot-receipt__detail-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pot-receipt__detail-value {
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.pot-receipt__hash {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  word-break: break-all;
}

.pot-receipt__link {
  color: var(--pot-green);
  text-decoration: underline;
}

.pot-receipt__link:hover {
  color: var(--pot-green-hover);
}

.pot-receipt__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-6);
}

/* ============================================================================
   WITHDRAW PAGE ENHANCEMENTS
   ============================================================================ */
.pot-withdraw {
  text-align: center;
}

.pot-withdraw__balance {
  font-size: 48px;
  font-weight: 600;
  color: var(--pot-green);
}

/* ============================================================================
   RESPONSIVE - ADDITIONAL COMPONENTS
   ============================================================================ */
@media (max-width: 600px) {
  .pot-modal {
    padding: var(--space-4);
    margin: var(--space-4);
    max-height: calc(100vh - 32px);
  }

  .pot-confirm__actions {
    flex-direction: column;
  }

  .pot-confirm__actions .pot-btn {
    width: 100%;
  }

  .pot-wallet-status {
    flex-wrap: wrap;
  }

  .pot-wallet-status__info {
    flex-basis: 100%;
    order: 2;
    margin-top: var(--space-2);
  }

  .pot-distribution__legend {
    flex-direction: column;
    gap: var(--space-2);
  }

  .pot-display-md {
    font-size: 28px;
  }
}

/* ============================================================================
   LOADING SPINNER
   ============================================================================ */
.pot-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  gap: var(--space-3);
}

.pot-loading__spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--pot-gray-border);
  border-top-color: var(--pot-green);
  border-radius: 50%;
  animation: pot-spin 0.6s linear infinite;
}

@keyframes pot-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================================
   TOAST NOTIFICATION
   ============================================================================ */
.pot-toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--pot-dark);
  color: var(--text-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.pot-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ============================================================================
   SIMULATED / VERIFIED BADGES
   ============================================================================ */
/* ============================================================================
   MOBILE HAMBURGER MENU
   ============================================================================ */
.pot-navbar__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--text-primary);
  z-index: 1001;
}

.pot-navbar__hamburger svg {
  width: 24px;
  height: 24px;
  display: block;
}

.pot-navbar__hamburger .hamburger-close {
  display: none;
}

.pot-navbar__hamburger.is-active .hamburger-open {
  display: none;
}

.pot-navbar__hamburger.is-active .hamburger-close {
  display: block;
}

@media (max-width: 768px) {
  .pot-navbar__hamburger {
    display: block;
  }

  .pot-navbar__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--pot-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    z-index: 1000;
    padding: var(--space-8);
  }

  .pot-navbar__nav.is-open {
    display: flex;
  }

  .pot-navbar__nav .pot-navbar__link,
  .pot-navbar__nav .pot-navbar__link--pill {
    font-size: var(--text-xl);
    padding: var(--space-3) var(--space-6);
  }

  .pot-navbar__nav .pot-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }

  .pot-navbar__divider {
    display: none;
  }

  /* Ensure logo stays on top of overlay */
  .pot-navbar {
    position: relative;
    z-index: 1002;
  }
}

/* ============================================================================
   CHECKLIST COMPONENT
   ============================================================================ */
.pot-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3, 12px);
}

.pot-checklist__item {
  display: flex;
  align-items: center;
  gap: var(--space-3, 12px);
  padding: var(--space-2, 8px) 0;
  color: var(--color-text-muted, #666);
  font-size: 0.9rem;
}

.pot-checklist__item--done {
  color: var(--color-text, #0A0A0A);
}

.pot-checklist__item--done .pot-checklist__icon {
  color: var(--pot-green, #ADF43C);
  background: var(--pot-dark, #011e0f);
  border-color: var(--pot-dark, #011e0f);
}

.pot-checklist__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border, #e5e5e5);
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============================================================================
   CONSOLE TABS (Agent sub-navigation, inside floating navbar)
   ============================================================================ */

/* Navbar gains flex-wrap when it has tabs inside */
.pot-navbar--has-tabs {
  flex-wrap: wrap;
  padding-bottom: 0;
}
.pot-console-tabs-wrapper {
  width: 100%;
  border-top: 1px solid var(--pot-gray-border);
  margin-top: var(--space-3);
  padding: 0;
}
.pot-console-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.pot-console-tabs::-webkit-scrollbar { display: none; }
.pot-console-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
  position: relative;
  top: 1px;
}
.pot-console-tabs__tab:hover {
  color: var(--text-primary);
  background: var(--pot-gray);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.pot-console-tabs__tab--active {
  color: var(--text-primary);
  border-bottom-color: var(--pot-dark);
  font-weight: 600;
}
@media (max-width: 600px) {
  .pot-console-tabs__tab {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }
}

/* ============================================================
   Coming Soon badge — non-disruptive, card stays fully alive
   ============================================================ */
.pot-user-card-wrapper {
  position: relative;
  display: block;
}
/* Card body stays vibrant — animations (glow, pulse, 3D tilt) untouched.
   Only the inner CTA button reads as "not yet". */
.pot-user-card--disabled .pot-btn {
  cursor: not-allowed;
  opacity: 0.78;
}
.pot-user-card--disabled .pot-btn:hover {
  transform: none;
}
.pot-user-card-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  pointer-events: none;
  z-index: 3;
}
.pot-coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000;
  color: #ADF43C;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(173, 244, 60, 0.18);
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pot-user-card-wrapper:hover .pot-coming-soon-badge {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(173, 244, 60, 0.4);
}
.pot-coming-soon-badge svg {
  flex-shrink: 0;
  color: #ADF43C;
}

/* ============================================================
   Roadmap horizontal phase strip + Team avatars
   ============================================================ */
.pot-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) {
  .pot-roadmap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pot-roadmap { grid-template-columns: 1fr; }
}
.pot-roadmap__phase {
  position: relative;
  padding: var(--space-6);
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pot-roadmap__phase:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.pot-roadmap__phase--current {
  border-color: #ADF43C;
  box-shadow: 0 0 0 3px rgba(173, 244, 60, 0.15);
}
.pot-roadmap__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #000;
  color: #ADF43C;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--space-3);
}
.pot-roadmap__phase--current .pot-roadmap__num {
  background: #ADF43C;
  color: #000;
}
.pot-roadmap__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}
.pot-roadmap__when {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 0 var(--space-3) 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pot-roadmap__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}
.pot-roadmap__current-pill {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #ADF43C;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Team — initials avatar cards */
.pot-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 820px) {
  .pot-team { grid-template-columns: 1fr; }
}
.pot-team__member {
  padding: var(--space-6);
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pot-team__member:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.pot-team__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: var(--pot-dark);
  color: var(--pot-green);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}
.pot-team__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--text-primary);
}
.pot-team__role {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ADF43C;
  background: #000;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.pot-team__bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Solution flow — 5 numbered steps */
.pot-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
@media (max-width: 1000px) {
  .pot-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pot-flow { grid-template-columns: 1fr; }
}
.pot-flow__step {
  position: relative;
  padding: var(--space-5);
  background: var(--pot-white);
  border: 1px solid var(--pot-gray-border);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pot-flow__step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.pot-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ADF43C;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: var(--space-3);
}
.pot-flow__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}
.pot-flow__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* Big stat tiles for market / traction strips */
.pot-bignum {
  text-align: center;
  padding: var(--space-6);
}
.pot-bignum__value {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin: 0 0 var(--space-2) 0;
  letter-spacing: -0.02em;
}
.pot-bignum__value--accent { color: var(--text-primary); }
.pot-bignum__value--accent::before { content: ""; }
.pot-bignum__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}
.pot-bignum__source {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* Para aliados — partnership block */
.pot-partner-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}
@media (max-width: 600px) {
  .pot-partner-bullets { grid-template-columns: 1fr; }
}
.pot-partner-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(173, 244, 60, 0.06);
  border-radius: 12px;
  border-left: 3px solid #ADF43C;
}
.pot-partner-bullet__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #ADF43C;
  border-radius: 10px;
}
.pot-partner-bullet__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--pot-white);
  margin: 0 0 2px 0;
}
.pot-partner-bullet__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* ============================================================
   Sticky navbar with frosted glass + on-scroll border
   ============================================================ */
.pot-navbar-wrapper--sticky {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px var(--container-padding) 0;
  transition: padding 0.3s ease;
}
.pot-navbar-wrapper--sticky.is-scrolled {
  padding-top: 8px;
}
.pot-navbar-wrapper--sticky .pot-navbar--floating {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease,
              background 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.pot-navbar-wrapper--sticky.is-scrolled .pot-navbar--floating {
  border-color: var(--pot-gray-border);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.08);
}

/* Mobile: at top of page, collapse navbar to just the hamburger so the
   hero has more vertical room. As soon as the user scrolls (16px is the
   landing.js threshold), the full navbar fades in + sticks. */
@media (max-width: 768px) {
  .pot-navbar-wrapper--sticky:not(.is-scrolled) {
    padding-top: 8px;
  }
  .pot-navbar-wrapper--sticky:not(.is-scrolled) .pot-navbar--floating {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: transparent;
    box-shadow: none;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .pot-navbar-wrapper--sticky:not(.is-scrolled) .pot-navbar__logo {
    opacity: 0;
    pointer-events: none;
  }
}

/* Plain nav-link variant — black text, no pill background */
.pot-navbar__link--plain {
  background: transparent;
  border: none;
  padding: 8px 16px;
  color: var(--pot-dark);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.18px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.pot-navbar__link--plain:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--pot-dark);
}

/* Canonical "Próximamente" pill — green-on-black per design system */
.pot-navbar__pill-comingsoon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pot-dark);
  color: var(--pot-green);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: not-allowed;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #000;
}
.pot-navbar__pill-comingsoon:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(173, 244, 60, 0.4);
}
.pot-navbar__pill-comingsoon svg {
  color: var(--pot-green);
}

/* ============================================================
   Hero brand-reveal typography (POT → expanded brand name → tagline)
   ============================================================ */
.pot-hero__brand-mark {
  font-size: clamp(64px, 9vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--pot-dark);
  margin: 0;
}
.pot-hero__brand-expanded {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--pot-green);
  margin: var(--space-3) 0 0;
}
.pot-hero__brand-tagline {
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-secondary);
  margin: var(--space-3) 0 var(--space-5);
}

/* ============================================================
   Dark-section big-number treatment (Mercado + Tracción)
   ============================================================ */
.pot-section--dark .pot-bignum__value {
  color: var(--pot-green);
}
.pot-section--dark .pot-bignum__label {
  color: rgba(255, 255, 255, 0.82);
}
.pot-section--dark .pot-bignum__source {
  color: rgba(255, 255, 255, 0.55);
}
.pot-bignum--animated .pot-bignum__value {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.pot-bignum--animated.is-visible .pot-bignum__value {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Contrast hardening (Bancaribe pitch readiness)
   Fixes 23 WCAG AA failures by scoping legacy white-default
   heading rules to dark surfaces only.
   ============================================================ */

/* Headings default to dark text on light surfaces; only invert on dark surfaces */
.pot-h2,
.pot-h3,
.pot-h4 {
  color: var(--text-primary);
}
.pot-section--dark .pot-h2,
.pot-section--dark .pot-h3,
.pot-section--dark .pot-h4,
.pot-card--dark .pot-h2,
.pot-card--dark .pot-h3,
.pot-card--dark .pot-h4,
.pot-cta-card .pot-cta-card__title,
.pot-principle-card .pot-h3,
.pot-roadmap__phase .pot-h3,
.pot-team__member .pot-h3,
.pot-flow__step .pot-h3,
.pot-tier-card .pot-h3 {
  /* Inherit context (white on dark cards, dark on light) */
  color: inherit;
}
.pot-section--dark .pot-h2,
.pot-section--dark .pot-h3,
.pot-section--dark .pot-h4,
.pot-card--dark .pot-h2,
.pot-card--dark .pot-h3,
.pot-card--dark .pot-h4 {
  color: var(--text-white);
}

/* Utility text colors — make sure they win in cascade order */
.pot-text-dark { color: var(--text-primary); }
.pot-text-white { color: var(--text-white); }
.pot-text-white-80 { color: var(--text-white-80); }

/* Section subtitle: follow parent context — was hardcoded to text-secondary, killing white-80 on dark sections */
.pot-section--dark .pot-section-header__subtitle,
.pot-section--dark .pot-section-header__subtitle.pot-text-muted {
  color: var(--text-white-80);
}
.pot-section--dark .pot-section-header__subtitle.pot-text-white-80 {
  color: var(--text-white-80);
}

/* Hero brand-expanded — was lime on white (1.33:1 fail). Move to dark brand green. */
.pot-hero__brand-expanded {
  color: var(--pot-dark);
}

/* Darken --text-secondary so muted body text on light-grey sections meets AA */
:root {
  --text-secondary: #595959;
}

/* CTA card titles on dark cards must read white */
.pot-card--dark .pot-cta-card__title,
.pot-card--dark-reverse .pot-cta-card__title {
  color: var(--text-white);
}

/* ============================================================
   Bolder hero typography (white surface, canonical brand colors)
   - POT wordmark: bigger, with accent-green dot as the only
     piercing lime element (canon-compliant accent on white)
   - Brand-expanded: pot-dark (POT brand near-black, not #1e382b)
   - Tagline: bolder, no italic, brand-dark color
   ============================================================ */
.pot-hero__brand-mark {
  font-size: clamp(80px, 11vw, 128px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--pot-dark);
}

.pot-hero__brand-dot {
  color: var(--pot-green);
  /* The lime accent earns its place — small but piercing */
  margin-left: -0.04em;
  display: inline-block;
  /* Subtle entrance: dot pulses softly into focus */
  animation: pot-brand-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes pot-brand-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.82; transform: scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .pot-hero__brand-dot { animation: none; }
}

.pot-hero__brand-expanded {
  /* Override the earlier --pot-dark-secondary; that token wasn't POT brand */
  color: var(--pot-dark);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: var(--space-4) 0 var(--space-3);
}

.pot-hero__brand-tagline {
  color: var(--pot-dark);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  font-style: normal;
  line-height: 1.35;
  margin: 0 0 var(--space-5);
}

/* ============================================================
   Brush-stroke highlighter — signature playful element ported
   from the pitch deck. Italic Darker Grotesque text over a
   lime-green rectangle with painted/irregular edges (SVG
   turbulence filter). Use behind taglines and section subs.
   ============================================================ */
.pot-brush-highlight {
  position: relative;
  display: inline-block;
  padding: 0.25em 0.7em 0.3em;
  font-family: 'Darker Grotesque', 'Inter', sans-serif;
  font-style: italic;
  font-weight: 600;
  color: var(--pot-dark);
  isolation: isolate;
  line-height: 1.25;
}
.pot-brush-highlight__svg {
  position: absolute;
  inset: -0.1em -0.25em;
  width: calc(100% + 0.5em);
  height: calc(100% + 0.2em);
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.pot-brush-highlight__text {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Doodle layer — hand-drawn icons sprinkled across dark
   sections at low opacity to add warmth without competing
   with content. Inspired by the deck's lime panels.
   ============================================================ */
.pot-doodle-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.pot-doodle-layer + .pot-section__inner,
.pot-section--dark > .pot-section__inner {
  position: relative;
  z-index: 1;
}
.pot-doodle {
  position: absolute;
  color: var(--pot-green);
  opacity: 0.13;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pot-section--dark:hover .pot-doodle {
  opacity: 0.18;
}
@media (max-width: 768px) {
  .pot-doodle { opacity: 0.09; }
  .pot-doodle--mobile-hide { display: none; }
}

/* ============================================================
   Real deck doodles via CSS mask — colored via background-color
   so they inherit context (lime on dark, dark on lime footer).
   Asset bundle: frontend/assets/doodles/doodle-{a,b,c,f,i,j,n,s,v,w,x}.svg
   ============================================================ */
.pot-doodle--real {
  background-color: var(--pot-green);
  -webkit-mask: var(--doodle-img) no-repeat center / contain;
  mask: var(--doodle-img) no-repeat center / contain;
}
.pot-footer .pot-doodle--real {
  background-color: var(--pot-dark);
}

/* Hero doodle layer — green on white needs higher opacity to read */
.pot-doodle-layer--hero .pot-doodle--real {
  background-color: var(--pot-green);
  opacity: 0.22;
}
.pot-doodle-layer--hero:hover .pot-doodle--real {
  opacity: 0.28;
}
@media (max-width: 768px) {
  .pot-doodle-layer--hero .pot-doodle--real { opacity: 0.18; }
}

/* Hero brand mark — logo image variant (replaces text wordmark) */
.pot-hero__brand-mark--logo {
  margin: 0 0 var(--space-4);
  line-height: 1;
}
.pot-hero__brand-mark--logo img {
  display: block;
  height: clamp(70px, 9.5vw, 120px);
  width: auto;
  /* When the parent text column is centered (mobile), display:block defeats
     text-align — explicit auto margins re-center the wordmark image. */
  margin: 0 auto;
}

/* Hero polish: chip→logo breathing space + vertical center cards */
.pot-hero__text > .pot-chip {
  margin-bottom: var(--space-8);
}
.pot-hero__container {
  align-items: center;
}
.pot-hero__cards-container {
  align-self: center;
}

/* ============================================================
   Illustrated card icons — stylized scenes (phone + QR) that
   tell the product story instead of generic line icons.
   ============================================================ */
.pot-icon-illustrated {
  position: relative;
  overflow: visible;
  background: transparent !important;
}
.pot-illu {
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
}
.pot-user-card-wrapper:hover .pot-illu {
  transform: scale(1.08) rotate(-3deg);
}

/* Phone illustration — notification badge bounces */
.pot-illu--phone .pot-illu__ping {
  transform-origin: 38px 8px;
  animation: pot-illu-ping 1.8s ease-in-out infinite;
}
@keyframes pot-illu-ping {
  0%, 70%, 100% { transform: scale(1); }
  10% { transform: scale(0.85); }
  25% { transform: scale(1.18); }
  45% { transform: scale(0.95); }
  55% { transform: scale(1.06); }
}

/* QR illustration — center accent pulses softly */
.pot-illu--qr .pot-illu__center {
  transform-origin: 24px 24px;
  animation: pot-illu-pulse 2.6s ease-in-out infinite;
}
@keyframes pot-illu-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
  .pot-illu__ping,
  .pot-illu__center { animation: none; }
  .pot-user-card-wrapper:hover .pot-illu { transform: none; }
}

/* ============================================================
   Hero v3 — clean right column (no gray container)
   - Pre-composed brand image (worker + lime ring + speech bubble)
   - Compact CTA cards (no buttons; Coming Soon chip does the job)
   ============================================================ */
.pot-hero__cards-container--clean {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  background: transparent;
  border: 0;
  padding: 0;
}
/* Composed brand image — user-supplied PNG (worker + lime ring,
   transparent center + corners). Single asset, scales by whichever
   is more constrained (viewport width OR height) so it never causes
   the right column to overflow the hero. */
.pot-hero__brand-image--composed {
  position: relative;
  /* Picks the smaller of 40vw, 60vh, or 520px so the image scales
     with viewport HEIGHT on short screens (MacBook Pro 13"/14"). */
  width: min(40vw, 56vh, 480px);
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}
.pot-hero__brand-image--composed .pot-hero__brand-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.10));
}
.pot-hero__brand-bubble {
  position: absolute;
  /* Overlays the upper-right of the ring (instead of floating outside) */
  top: 4%;
  right: 4%;
  width: clamp(72px, 22%, 130px);
  z-index: 2;
  animation: pot-bubble-bob 4s ease-in-out infinite;
}
.pot-hero__brand-bubble img {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes pot-bubble-bob {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .pot-hero__brand-bubble { animation: none; transform: rotate(-6deg); }
}

/* Mobile hero: grow worker image so it reads as the brand moment
   (40vw on 375px = only 150px — the woman shrinks to icon-size).
   Speech bubble floats OUTSIDE the ring on mobile so it never lands
   on the woman's face. Also compress vertical rhythm so chip + POT
   + expanded + tagline + subtitle + image + cards all fit in a
   typical mobile viewport (~812px on iPhone 11+). The navbar
   collapses at top so we can claim that vertical space. */
@media (max-width: 768px) {
  .pot-hero__brand-image--composed {
    width: min(60vw, 38vh, 280px);
  }
  .pot-hero__brand-bubble {
    top: -6%;
    right: -8%;
    width: 26%;
    max-width: 88px;
  }
  .pot-hero--white {
    padding: 16px var(--container-padding) 20px;
    min-height: 0;
  }
  .pot-hero__text > .pot-chip {
    margin-bottom: var(--space-4);
  }
  .pot-hero__brand-mark--logo {
    margin-bottom: var(--space-2);
  }
  .pot-hero__brand-mark--logo img {
    height: clamp(56px, 14vw, 70px);
  }
  .pot-hero__brand-expanded {
    font-size: 24px;
    line-height: 1.1;
    margin: 6px 0 4px;
  }
  .pot-hero__brand-tagline {
    margin-bottom: var(--space-3);
  }
  .pot-hero__subtitle {
    font-size: 14px;
    line-height: 1.45;
    margin-top: var(--space-2);
  }
  .pot-hero__cards-container--clean {
    gap: var(--space-3);
  }
}

/* Compact horizontal CTA cards — icon-LEFT layout (smaller footprint) */
.pot-hero__cards--horizontal {
  flex-direction: row;
  gap: var(--space-3);
}
.pot-hero__cards--horizontal .pot-user-card-wrapper {
  flex: 1 1 0;
  min-width: 0;
}
.pot-hero__cards--clean .pot-user-card {
  padding: var(--space-3) var(--space-4);
}
/* Icon-on-the-left horizontal content (instead of stacked) */
.pot-hero__cards--clean .pot-user-card__content {
  gap: var(--space-3);
  flex-direction: row;
  align-items: center;
}
.pot-hero__cards--clean .pot-user-card__info {
  flex: 1;
  min-width: 0;
}
.pot-hero__cards--clean .pot-user-card__title {
  font-size: 15px;
  margin: 0 0 2px;
  line-height: 1.2;
}
.pot-hero__cards--clean .pot-user-card__description {
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}
.pot-hero__cards--clean .pot-user-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.pot-hero__cards--clean .pot-illu {
  width: 36px;
  height: auto;
}
/* Coming Soon badge — sits ON the card border as a ribbon
   so the compact horizontal card has clean space for icon + title.
   Negative top floats badge above the card edge → no text overlap. */
.pot-hero__cards--clean .pot-coming-soon-badge {
  font-size: 9px;
  padding: 4px 8px;
  letter-spacing: 0.06em;
}
.pot-hero__cards--clean .pot-user-card-overlay {
  top: -10px;
  right: 12px;
}

/* Cards stay side-by-side on mobile (compact icon+title layout fits 2-up).
   Above 900px the surrounding hero is wide enough that row is the default. */
@media (max-width: 900px) {
  .pot-hero__cards--horizontal { flex-direction: row; }
}
/* Mobile: tighten internal card padding so 2-up fits 375px cleanly */
@media (max-width: 480px) {
  .pot-hero__cards--clean .pot-user-card {
    padding: var(--space-3);
  }
  .pot-hero__cards--clean .pot-user-card__content {
    gap: var(--space-2);
  }
  .pot-hero__cards--clean .pot-user-card__icon {
    width: 36px;
    height: 36px;
  }
  .pot-hero__cards--clean .pot-illu {
    width: 28px;
  }
  .pot-hero__cards--clean .pot-user-card__title {
    font-size: 13px;
  }
}

/* 2-column tier row (Cómo funciona "Para dos perfiles" section) */
.pot-integration-tiers--2col {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) {
  .pot-integration-tiers--2col {
    grid-template-columns: 1fr;
  }
}

/* H2 with brush highlight — for section titles that get the punch */
.pot-h2-brush {
  display: inline-block;
  position: relative;
  isolation: isolate;
  padding: 0.08em 0.45em 0.12em;
  color: var(--pot-dark);
  font-family: 'Darker Grotesque', 'Inter', sans-serif;
  font-style: italic;
  font-weight: 700;
}
.pot-h2-brush__svg {
  position: absolute;
  inset: -0.08em -0.18em;
  width: calc(100% + 0.36em);
  height: calc(100% + 0.16em);
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.pot-h2-brush__text {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Lime green footer (deck-style panel with black text + doodles)
   ============================================================ */
.pot-footer {
  background: var(--pot-green);
  color: var(--pot-dark);
  padding-top: var(--space-12);
  padding-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
}
.pot-footer p,
.pot-footer h4,
.pot-footer__copyright,
.pot-footer__brand p strong {
  color: var(--pot-dark);
}
.pot-footer h4 {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.pot-footer__links a,
.pot-footer__bottom-links a {
  color: var(--pot-dark);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.pot-footer__links a:hover,
.pot-footer__bottom-links a:hover {
  opacity: 0.65;
  text-decoration: underline;
}
.pot-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}
.pot-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
@media (max-width: 720px) {
  .pot-footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
.pot-footer__brand p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: var(--space-3);
  max-width: 360px;
}
.pot-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pot-footer__links li {
  font-size: 14px;
}
.pot-footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 13px;
}
.pot-footer__bottom-links {
  display: flex;
  gap: var(--space-5);
}
.pot-footer__copyright {
  opacity: 0.85;
}

/* Footer doodle layer — same pattern as dark sections, but darker doodles */
.pot-footer .pot-doodle-layer .pot-doodle {
  color: var(--pot-dark);
  opacity: 0.07;
}
.pot-footer:hover .pot-doodle-layer .pot-doodle {
  opacity: 0.11;
}
