/**
 * 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&display=swap');

/* ============================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================================ */
:root {
  /* Brand Colors */
  --pot-dark: #011e0f;
  --pot-dark-secondary: #1e382b;
  --pot-green: #ADF43C;
  --pot-green-hover: #9de02f;
  --pot-green-secondary: #00c767;
  --pot-white: #ffffff;
  --pot-gray: #fafafa;
  --pot-gray-border: #e5e5e5;
  --pot-gray-divider: #d4d4d4;

  /* Extended Gray Scale */
  --pot-gray-light: #f5f5f5;
  --pot-gray-hover: #ebebeb;

  /* Slate Scale (for compatibility) */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;

  /* Accent Colors */
  --pot-yellow: #fbbf24;
  --pot-coral: #f87171;
  --pot-blue: #3b82f6;
  --pot-emerald: #10b981;
  --pot-black: #0a0a0a;

  /* Semantic Colors */
  --color-error: #ef4444;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;

  /* Icon Background Tints */
  --icon-bg-green: rgba(173, 244, 60, 0.15);
  --icon-bg-blue: rgba(61, 90, 254, 0.15);
  --icon-bg-coral: rgba(255, 127, 127, 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-secondary);
  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: #1a2f22;
}

.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;
  padding: 144px 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-secondary);
}

.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: #e5f8ed;
}

.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, #f8faf8 0%, #f0f4f0 50%, #e8f0e8 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, #00c767);
  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: #00c767;
}

.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, #00c767);
  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: #00c767;
}

.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-secondary);
  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-secondary);
  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-secondary);
}

.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-secondary);
  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-secondary);
  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-secondary);
  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 var(--pot-dark-secondary);
  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-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  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-secondary);
  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-black);
  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-black);
  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-secondary);
  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-black);
  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-secondary);
  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-secondary);
  color: var(--pot-green-secondary);
}

/* ============================================================================
   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-secondary);
  color: var(--pot-green-secondary);
}

/* ============================================================================
   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-secondary);
}

.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-secondary);
  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-secondary);
  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);
}

.pot-feature-icon--blue {
  background: var(--icon-bg-blue);
  color: var(--pot-blue);
}

.pot-feature-icon--coral {
  background: var(--icon-bg-coral);
  color: var(--pot-coral);
}

/* 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
   ============================================================================ */
.pot-badge-simulated {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--color-warning);
  color: var(--pot-dark);
}

.pot-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--color-success);
  color: var(--text-white);
}

/* ============================================================================
   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);
  }
}
