/* ============================================
   Wrapt Web App Styles
   Aesthetic: Friendly, Warm, Gift-Giving Joy
   ============================================ */

/* Utility Classes */
.hidden {
  display: none !important;
}

/* CSS Variables */
:root {
  /* Primary - Coral/Pink to Orange (matching logo) */
  --color-primary: #F2709C;
  --color-primary-dark: #E85A8A;
  --color-primary-light: #FF9472;
  --color-primary-subtle: #FFF0F3;
  --color-primary-ghost: rgba(242, 112, 156, 0.08);
  --gradient-primary: linear-gradient(135deg, #F2709C 0%, #FF9472 100%);
  
  /* Neutrals - Warm */
  --color-bg: #FFFBFC;
  --color-bg-alt: #FFF7F8;
  --color-surface: #FFFFFF;
  --color-surface-elevated: #FFFFFF;
  --color-border: #F0E4E6;
  --color-border-light: #F8F0F2;
  
  /* Text */
  --color-text: #2D2A2B;
  --color-text-secondary: #6B5F62;
  --color-text-muted: #A89A9D;
  --color-text-inverse: #FFFFFF;
  
  /* Accent */
  --color-success: #10B981;
  --color-error: #EF4444;
  
  /* Typography - Friendly rounded fonts */
  --font-display: 'Nunito', 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Nunito', 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  
  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  
  /* Borders */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(45, 42, 43, 0.04);
  --shadow-md: 0 4px 16px rgba(45, 42, 43, 0.06);
  --shadow-lg: 0 12px 40px rgba(45, 42, 43, 0.1);
  --shadow-xl: 0 24px 60px rgba(45, 42, 43, 0.14);
  --shadow-glow: 0 8px 32px rgba(242, 112, 156, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* Ambient Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: var(--color-bg);
}

@media (min-width: 769px) {
  .ambient-bg {
    background: 
      radial-gradient(ellipse 80% 60% at 10% 20%, rgba(255, 148, 114, 0.12) 0%, transparent 50%),
      radial-gradient(ellipse 60% 50% at 90% 80%, rgba(242, 112, 156, 0.08) 0%, transparent 50%),
      var(--color-bg);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(242, 112, 156, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-ghost);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

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

.btn-white {
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-icon {
  padding: var(--space-sm);
  min-width: auto;
}

.btn-icon:hover {
  color: #ef4444;
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.btn-social {
  width: 100%;
  padding: 14px 24px;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--color-text);
  font-weight: 600;
}

.btn-social:hover {
  border-color: var(--color-border);
  background: var(--color-bg-alt);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 251, 252, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-link {
  display: block;
  padding: var(--space-md) 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Mobile user menu (when signed in) */
.mobile-user-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.mobile-user-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.mobile-signout {
  width: 100%;
  margin-top: var(--space-md);
  justify-content: center;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - var(--nav-height));
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  margin-top: var(--nav-height);
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
  gap: var(--space-3xl);
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px 8px 12px;
  background: var(--color-primary-subtle);
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.title-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 460px;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: var(--space-sm) var(--space-md);
}

.stat::before {
  content: '✦';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: var(--color-primary);
  opacity: 0.6;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: absolute;
  width: 240px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform var(--transition-slow);
}

.hero-card:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Hide mobile-only cards on desktop */
.hero-card-mobile {
  display: none;
}

.hero-card-1 {
  top: 5%;
  left: 0%;
  animation: float 6s ease-in-out infinite;
}

.hero-card-2 {
  top: 20%;
  right: 5%;
  animation: float 6s ease-in-out 1s infinite;
}

.hero-card-3 {
  bottom: 5%;
  left: 15%;
  animation: float 6s ease-in-out 2s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.card-image {
  width: 100%;
  height: 165px;
  background-size: cover;
  background-position: center;
}

.card-details {
  padding: var(--space-md);
}

.card-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-price {
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(242, 112, 156, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

/* Sections */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  display: inline-block;
  padding: 8px 18px;
  background: var(--color-primary-ghost);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--color-text);
}

/* Features */
.features {
  background: var(--color-bg-alt);
  position: relative;
  z-index: 10; /* Ensure features section stays above hero cards */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-surface);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-subtle);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.feature-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* How It Works */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-subtle);
}

.step-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.step-visual {
  flex-shrink: 0;
}

.step-icon-box {
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

/* AI-Powered Section */
.ai-section {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-bg);
}

.ai-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.ai-text {
  max-width: 540px;
}

.ai-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.ai-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.ai-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-feature-icon svg {
  color: white;
}

.ai-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-feature-text strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.ai-feature-text span {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.ai-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-graphic {
  position: relative;
  width: 320px;
  height: 320px;
}

.ai-orbit {
  position: absolute;
  border: 2px dashed var(--color-border);
  border-radius: 50%;
  animation: orbit-spin 20s linear infinite;
}

.ai-orbit-1 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.ai-orbit-2 {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  opacity: 0.5;
  animation-duration: 15s;
  animation-direction: reverse;
}

.ai-orbit-3 {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  opacity: 0.7;
  animation-duration: 10s;
}

.ai-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(255, 111, 97, 0.4);
}

.ai-core svg {
  color: white;
}

.ai-node {
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.ai-node svg {
  color: var(--color-primary);
}

.ai-node-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: node-float 3s ease-in-out infinite;
}

.ai-node-2 {
  bottom: 20%;
  left: 10%;
  animation: node-float 3s ease-in-out infinite 1s;
}

.ai-node-3 {
  bottom: 20%;
  right: 10%;
  animation: node-float 3s ease-in-out infinite 2s;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Platforms Section */
.platforms-section {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-bg-alt);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: var(--space-3xl) auto 0;
}

.platform-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.platform-card.featured {
  border-color: var(--color-primary);
  background: linear-gradient(to bottom, var(--color-primary-ghost), var(--color-surface));
}

.platform-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.platform-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-card.featured .platform-icon {
  background: var(--gradient-primary);
}

.platform-card.featured .platform-icon svg {
  color: white;
}

.platform-icon svg {
  color: var(--color-primary);
}

.platform-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.platform-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.platform-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  text-align: left;
}

.platform-features li {
  padding: var(--space-xs) 0;
  font-size: 14px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.platform-features li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--color-primary-ghost);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FF6F61' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.platform-btn {
  width: 100%;
  justify-content: center;
}

/* CTA Section */
.cta-section {
  padding: var(--space-4xl) var(--space-xl);
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.cta-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.cta-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
}

.cta-circle-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 20%;
}

/* Footer */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-4xl);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-md);
}

.footer-brand .logo-text {
  color: white;
}

.footer-tagline {
  font-size: 15px;
  max-width: 250px;
}

.footer-links {
  display: flex;
  gap: var(--space-4xl);
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-lg);
}

.footer-column a {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl) 0;
}

.footer-bottom p {
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-primary);
  color: white;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 25, 18, 0.6);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin: var(--space-lg);
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-slow);
}

.modal.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

/* Auth Forms */
.auth-form {
  animation: fadeIn 0.3s ease;
}

.auth-form.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.auth-header .logo-mark {
  margin: 0 auto var(--space-lg);
}

.auth-header h2 {
  font-size: 24px;
  margin-bottom: var(--space-xs);
}

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

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px var(--color-primary-ghost);
}

.form-group input::placeholder {
  color: var(--color-text-muted);
}

.auth-form form button[type="submit"] {
  margin-top: var(--space-lg);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

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

.auth-divider span {
  font-size: 13px;
  color: var(--color-text-muted);
}

.auth-switch {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 14px;
  color: var(--color-text-secondary);
}

.auth-switch a {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-forgot {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 14px;
}

.auth-forgot a {
  color: var(--color-text-muted);
}

.auth-forgot a:hover {
  color: var(--color-primary);
}

.auth-form form {
  margin-bottom: 0;
}

.auth-form .btn-full {
  margin-bottom: 0;
}

.auth-success {
  text-align: center;
  padding: var(--space-xl);
}

.auth-success svg {
  margin-bottom: var(--space-md);
}

.auth-success p {
  color: var(--color-text-secondary);
  font-size: 15px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations for feature cards */
.feature-card.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.feature-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.feature-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.feature-card.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* Stagger animations for steps */
.step.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.step.animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.step.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    min-height: auto;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    height: 400px;
    margin-top: var(--space-xl);
  }
  
  .hero-card {
    width: 200px;
  }
  
  .card-image {
    height: 130px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  
  .nav-mobile-toggle {
    display: flex;
  }
  
  .hero {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-2xl);
    min-height: auto;
  }
  
  .hero-title {
    font-size: clamp(32px, 8vw, 42px);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: var(--space-md);
  }
  
  .hero-actions .btn-outline {
    display: none;
  }
  
  .hero-badge {
    display: none;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
  }
  
  .stat {
    padding: 0 var(--space-sm);
  }
  
  .stat::before {
    font-size: 6px;
    top: -4px;
  }
  
  .stat-value {
    font-size: 18px;
  }
  
  .stat-label {
    font-size: 9px;
  }
  
  .stat-divider {
    width: 1px;
    height: 24px;
  }
  
  .hero-visual {
    height: auto;
    width: 100%;
    margin-top: 0;
    margin-bottom: var(--space-sm);
    display: flex;
    flex-direction: row;
    gap: var(--space-md);
    overflow-x: auto;
    padding: var(--space-xs) var(--space-md);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: transparent;
  }
  
  .hero-visual::-webkit-scrollbar {
    display: none;
  }
  
  .hero-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 160px;
    flex-shrink: 0;
    animation: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border-light);
  }
  
  .hero-card-1,
  .hero-card-2,
  .hero-card-3,
  .hero-card-mobile {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  
  .hero-glow {
    display: none;
  }
  
  .card-image {
    height: 100px;
  }
  
  .section-container {
    padding: var(--space-xl) var(--space-lg);
  }
  
  .section-header {
    margin-bottom: var(--space-xl);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }
  
  .step-number {
    width: auto;
    font-size: 48px;
  }
  
  /* AI Section Mobile */
  .ai-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .ai-text {
    max-width: 100%;
    text-align: center;
  }
  
  .ai-description {
    font-size: 16px;
  }
  
  .ai-features {
    text-align: left;
  }
  
  .ai-graphic {
    width: 260px;
    height: 260px;
  }
  
  /* Platforms Section Mobile */
  .platforms-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .platform-card.featured {
    order: -1;
  }
  
  .footer-main {
    flex-direction: column;
    gap: var(--space-2xl);
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: var(--space-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
}

/* Utility */
.hidden {
  display: none !important;
}

/* User Menu */
.user-menu {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 12px 6px 6px;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.user-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.user-email {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  z-index: 1000;
}

.user-dropdown.hidden {
  display: none;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.dropdown-item:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.dropdown-item:hover {
  background: var(--color-bg-alt);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--color-text);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 14px;
  font-weight: 500;
}

.toast-success .toast-content {
  background: #059669;
}

.toast-error .toast-content {
  background: #DC2626;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ==================== USER MENU ==================== */
.user-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}

.user-name {
  font-weight: 600;
  color: var(--color-text);
}

/* ==================== DASHBOARD ==================== */
.dashboard-section {
  min-height: calc(100vh - var(--nav-height));
  margin-top: var(--nav-height);
  background: var(--color-bg-alt);
}

.dashboard-container {
  display: flex;
  min-height: calc(100vh - var(--nav-height));
}

.dashboard-sidebar {
  width: 280px;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border-light);
  padding: var(--space-xl);
  flex-shrink: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.sidebar-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.lists-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.list-card:hover {
  background: var(--color-primary-ghost);
}

.list-card.active {
  background: var(--color-primary-subtle);
  border-color: var(--color-primary);
}

/* Add New List card */
.list-card-add {
  background: var(--color-primary-ghost);
  border: 2px dashed var(--color-primary);
  justify-content: center;
}

.list-card-add:hover {
  background: var(--color-primary-subtle);
}

.list-card-add .list-card-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: center;
}

.list-card-add .list-card-name {
  color: var(--color-primary);
}

.list-card-add svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.list-card-info {
  flex: 1;
  min-width: 0;
}

.list-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-card-count {
  font-size: 13px;
  color: var(--color-text-muted);
}

.list-card-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-ghost);
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

/* Dashboard Main */
.dashboard-main {
  flex: 1;
  padding: var(--space-xl);
  overflow-y: auto;
  max-width: 1200px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.dashboard-header-info h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.list-meta {
  font-size: 14px;
  color: var(--color-text-muted);
}

.dashboard-header-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Items Grid */
.items-container {
  min-height: 400px;
}

.items-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--space-lg);
}

@media (max-width: 1100px) {
  .items-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .items-grid {
    grid-template-columns: 1fr !important;
  }
}

.item-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border-light);
  overflow: hidden;
  transition: all var(--transition-base);
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-subtle);
}

.item-card-image {
  width: 100%;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Gradient backgrounds for product images */
.item-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FFF0F3 0%, #FFE4E8 50%, #FFF5F0 100%);
  z-index: 0;
}

.item-card-image img {
  position: relative;
  z-index: 1;
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
  transition: transform var(--transition-base);
}

.item-card:hover .item-card-image img {
  transform: scale(1.05);
}

/* Placeholder when no image */
.item-card-image-placeholder {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  color: white;
  opacity: 0.6;
}

.item-card-image-placeholder svg {
  width: 40px;
  height: 40px;
}

/* Reserved badge */
.item-card-reserved {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 12px;
  background: var(--color-success);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.item-card-content {
  padding: var(--space-md);
}

.item-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-card-price {
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.item-card-source {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.item-card-actions {
  display: flex;
  gap: var(--space-sm);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  color: var(--color-text-muted);
}

.empty-state svg {
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.empty-state p {
  max-width: 360px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

/* Share URL */
.share-url-container {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.share-url-container input {
  flex: 1;
  font-size: 13px;
  background: var(--color-bg-alt);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: var(--color-text);
  color: white;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 10000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-error {
  background: var(--color-error);
}

.toast-success {
  background: var(--color-text);
}

/* Modal small variant */
.modal-sm .modal-container {
  max-width: 400px;
}

.modal-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.modal-body > p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* ==================== RESPONSIVE DASHBOARD ==================== */
@media (max-width: 900px) {
  /* Prevent iOS Safari zoom on input focus */
  input, textarea, select {
    font-size: 16px !important;
  }
  
  .dashboard-container {
    flex-direction: column;
    padding: 0;
  }
  
  .dashboard-section {
    padding-top: calc(var(--nav-height) + var(--space-md));
    margin-top: 0;
  }
  
  .dashboard-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-sm) var(--space-lg);
    margin-left: 0;
    background: var(--color-surface);
  }
  
  .sidebar-header {
    display: none;
  }
  
  .lists-container {
    flex-direction: row;
    overflow-x: auto;
    gap: var(--space-sm);
    padding-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  .lists-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .lists-container .list-card {
    flex-shrink: 0;
    min-width: 140px;
    padding: var(--space-sm) var(--space-md);
  }
  
  .lists-container .list-card-name {
    font-size: 13px;
  }
  
  .lists-container .list-card-count {
    font-size: 11px;
  }
  
  .dashboard-main {
    padding: var(--space-lg);
    margin-right: 0;
    padding-right: var(--space-lg);
  }
  
  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: var(--space-md);
  }
  
  .dashboard-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .dashboard-header-info h1 {
    font-size: 22px;
  }
  
  .dashboard-header-actions {
    display: flex;
    width: 100%;
    gap: var(--space-sm);
  }
  
  .dashboard-header-actions .btn {
    flex: 1;
    justify-content: center;
  }
  
  .dashboard-header-actions .btn-icon {
    flex: 0;
    padding: var(--space-sm) var(--space-md);
  }
  
  /* Hide delete text on mobile, show only icon */
  .dashboard-header-actions .btn-icon span {
    display: none;
  }
  
  .empty-state {
    text-align: center;
    padding: var(--space-xl);
  }
}

@media (max-width: 600px) {
  .dashboard-sidebar {
    padding: var(--space-sm) var(--space-md);
  }
  
  .sidebar-header {
    margin-bottom: var(--space-sm);
  }
  
  .lists-container .list-card {
    min-width: 120px;
    padding: var(--space-xs) var(--space-sm);
  }
  
  .dashboard-main {
    padding: var(--space-md);
  }
  
  .dashboard-header-info h1 {
    font-size: 20px;
  }
  
  .dashboard-header-actions {
    gap: var(--space-xs);
  }
  
  .dashboard-header-actions .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 13px;
  }
  
  .dashboard-header-actions .btn svg {
    width: 16px;
    height: 16px;
  }
  
  /* Hide button text on very small screens */
  .dashboard-header-actions .btn:not(.btn-icon) span {
    display: none;
  }
  
  .dashboard-header-actions .btn:not(.btn-icon)::after {
    content: none;
  }
  
  .toast {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
  }
}


/* Empty state small (for sidebar) */
.empty-state-small {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  color: var(--color-text-muted);
  font-size: 14px;
}

/* Make sure dashboard has proper min-height */
.dashboard-section {
  display: block;
}

.dashboard-section.hidden {
  display: none !important;
}


/* ==================== ADD ITEM MODAL ENHANCEMENTS ==================== */
.manual-entry-link {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 14px;
}

.manual-entry-link a {
  color: var(--color-primary);
  text-decoration: underline;
}

.fetching-spinner {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.fetching-spinner svg {
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.fetching-spinner p {
  color: var(--color-text-secondary);
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-preview {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.product-preview-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  background-color: var(--color-border-light);
  flex-shrink: 0;
}

.product-preview-info {
  flex: 1;
  min-width: 0;
}

.product-preview-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-preview-price {
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.product-preview-source {
  font-size: 13px;
  color: var(--color-text-muted);
}

.form-row {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.form-row .btn {
  flex: 1;
}

/* Error state for fetch */
.fetch-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--color-error);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 14px;
  text-align: center;
}


/* ==================== ADD ITEM MODAL STYLES ==================== */
.manual-entry-link {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 14px;
}

.manual-entry-link a {
  color: var(--color-primary);
  text-decoration: underline;
}

.fetching-spinner {
  text-align: center;
  padding: var(--space-3xl);
}

.fetching-spinner svg {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.fetching-spinner p {
  color: var(--color-text-secondary);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

.product-preview {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.product-preview-image {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-surface);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.product-preview-info {
  flex: 1;
  min-width: 0;
}

.product-preview-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-preview-price {
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.product-preview-source {
  font-size: 13px;
  color: var(--color-text-muted);
}

.form-row {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.form-row .btn {
  flex: 1;
}

/* Textarea styling */
textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  resize: vertical;
  min-height: 60px;
  transition: border-color var(--transition-fast);
}

textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

textarea::placeholder {
  color: var(--color-text-muted);
}

/* Select styling */
select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  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='%236B5F62' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  transition: border-color var(--transition-fast);
}

select:focus {
  outline: none;
  border-color: var(--color-primary);
}


/* ==================== ADD ITEM MODAL STYLES ==================== */
.fetching-spinner {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.fetching-spinner svg {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.fetching-spinner p {
  color: var(--color-text-secondary);
  font-size: 15px;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-preview {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.product-preview-image {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-surface);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.product-preview-info {
  flex: 1;
  min-width: 0;
}

.product-preview-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-preview-price {
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.product-preview-source {
  font-size: 13px;
  color: var(--color-text-muted);
}

.form-row {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.form-row .btn {
  flex: 1;
}

.manual-entry-link {
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.manual-entry-link a {
  color: var(--color-text-muted);
  font-size: 14px;
  text-decoration: underline;
}

.manual-entry-link a:hover {
  color: var(--color-primary);
}

/* Select dropdown styling */
select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  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='%236B5F62' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Textarea styling */
textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  resize: vertical;
  min-height: 60px;
}

textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

textarea::placeholder {
  color: var(--color-text-muted);
}

/* List type badge in cards */
.list-card-type {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Event info display */
.event-info {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 13px;
  color: var(--color-primary);
  margin-top: var(--space-xs);
}

.event-info svg {
  width: 14px;
  height: 14px;
}

/* Social Auth Buttons */
.social-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-social:hover {
  border-color: var(--color-border-dark);
  background: var(--color-background);
}

.btn-social:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-google svg {
  flex-shrink: 0;
}

.btn-apple {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-apple:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.btn-apple svg {
  flex-shrink: 0;
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: var(--space-lg) 0;
}

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

.auth-divider span {
  padding: 0 var(--space-md);
  color: var(--color-text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* User Dropdown Menu */
.user-menu {
  position: relative;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.user-menu-btn:hover {
  background: var(--color-background);
  border-color: var(--color-border-dark);
}

.user-menu-btn:focus {
  outline: none;
  border-color: var(--color-primary);
}

.user-menu-chevron {
  transition: transform 0.2s ease;
}

.user-menu.open .user-menu-chevron {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown.hidden {
  display: none;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dropdown-item:hover {
  background: var(--color-background);
}

.dropdown-item svg {
  color: var(--color-text-muted);
}

/* Profile Modal */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-md);
  border: 3px solid var(--color-primary-light);
}

.profile-header h2 {
  margin: 0;
}

.form-hint {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.profile-providers {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.profile-providers label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.provider-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.provider-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 14px;
  background: var(--color-background);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.provider-item svg {
  flex-shrink: 0;
}

.provider-item .provider-name {
  flex: 1;
}

.provider-item .provider-status {
  font-size: 12px;
  color: var(--color-text-muted);
}

.form-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.form-actions .btn {
  flex: 1;
}

/* Link Account Buttons */
.profile-link-accounts {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.profile-link-accounts label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.link-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.btn-link-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-link-google {
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-link-google:hover {
  background: var(--color-background);
  border-color: var(--color-border-dark);
}

.btn-link-apple {
  background: #000;
  border: 1px solid #000;
  color: #fff;
}

.btn-link-apple:hover {
  background: #1a1a1a;
}

.no-link-options {
  color: var(--color-text-muted);
  font-size: 14px;
  font-style: italic;
}

/* Welcome Icon */
.welcome-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--color-primary-light);
  border-radius: 50%;
}

/* ==================== SHARED LISTS SECTION ==================== */
.sidebar-section {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.shared-section .sidebar-header {
  margin-bottom: var(--space-md);
}

.shared-section .sidebar-header h2 {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.shared-lists-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.shared-list-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  text-decoration: none;
}

.shared-list-card:hover {
  background: var(--color-primary-ghost);
  border-color: var(--color-primary-subtle);
}

.shared-list-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-ghost);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.shared-list-icon svg {
  color: var(--color-primary);
}

.shared-list-info {
  flex: 1;
  min-width: 0;
}

.shared-list-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.shared-list-owner {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shared-list-remove {
  padding: 6px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.shared-list-card:hover .shared-list-remove {
  opacity: 1;
}

.shared-list-remove:hover {
  background: rgba(239, 68, 68, 0.1);
}

.shared-list-remove svg {
  color: var(--color-text-muted);
}

.shared-list-remove:hover svg {
  color: var(--color-error);
}

.shared-lists-empty {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  color: var(--color-text-muted);
  font-size: 13px;
}

.shared-lists-empty svg {
  display: block;
  margin: 0 auto var(--space-sm);
  opacity: 0.5;
}

/* Mobile adjustments for shared lists */
@media (max-width: 900px) {
  .sidebar-section {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: none;
  }
  
  .shared-section .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    padding: 0 var(--space-sm);
  }
  
  .shared-lists-container {
    flex-direction: row;
    overflow-x: auto;
    gap: var(--space-sm);
    padding-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .shared-lists-container::-webkit-scrollbar {
    display: none;
  }
  
  .shared-list-card {
    flex-shrink: 0;
    min-width: 160px;
    padding: var(--space-sm) var(--space-md);
  }
  
  .shared-list-icon {
    width: 32px;
    height: 32px;
  }
  
  .shared-list-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .shared-list-remove {
    opacity: 1;
    padding: 4px;
  }
  
  .shared-lists-empty {
    min-width: 200px;
    padding: var(--space-md);
  }
}

/* Edit List Name Button */
.list-name-container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-edit-name {
  padding: 6px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.4;
  transition: all var(--transition-fast);
  color: var(--color-text-muted);
}

.btn-edit-name:hover {
  opacity: 1;
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

/* ==================== LIST BANNER SECTION (Minimal) ==================== */

.banner-upload-trigger {
  margin-bottom: var(--space-md);
}

.banner-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.banner-upload-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(242, 112, 156, 0.05);
}

.banner-upload-btn svg {
  width: 16px;
  height: 16px;
}

.banner-upload-btn .premium-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #D97706;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #F59E0B;
}

/* Banner display when image exists */
.banner-display {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.banner-display .banner-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.banner-display .banner-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.banner-display:hover .banner-controls {
  opacity: 1;
}

.banner-controls button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-controls button:hover {
  transform: scale(1.1);
}

.banner-controls button:last-child:hover {
  background: #FEE2E2;
  color: #DC2626;
}

.banner-controls button svg {
  width: 18px;
  height: 18px;
}

/* ==================== PRODUCT NOTES (Premium Feature) ==================== */

.item-card-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.item-card-note svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  opacity: 0.7;
}

.item-card-note-text {
  flex: 1;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.item-card-note-edit {
  flex-shrink: 0;
  padding: 4px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.4;
  transition: all var(--transition-fast);
  color: var(--color-text-muted);
}

.item-card-note-edit:hover {
  opacity: 1;
  color: var(--color-primary);
}

/* Add note button - inline with actions */
.item-card-add-note-btn {
  margin-left: auto !important;
  position: relative;
}

.item-card-add-note-btn .pro-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #D97706;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  padding: 1px 3px;
  border-radius: 3px;
  border: 1px solid #F59E0B;
  line-height: 1;
}

/* Note Modal */
#editNoteModal .modal-container {
  max-width: 480px;
}

.note-modal-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.note-modal-product-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--color-surface);
}

.note-modal-product-info {
  flex: 1;
  min-width: 0;
}

.note-modal-product-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.note-modal-product-price {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 2px;
}

.note-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.note-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.note-helper-text {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* Premium upsell in note modal */
.note-premium-upsell {
  text-align: center;
  padding: 24px 20px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-radius: var(--radius-lg);
  border: 1px solid #F59E0B;
}

.note-premium-upsell-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-radius: 50%;
  color: white;
}

.note-premium-upsell h3 {
  font-size: 18px;
  font-weight: 700;
  color: #92400E;
  margin-bottom: 8px;
}

.note-premium-upsell p {
  font-size: 14px;
  color: #B45309;
  margin-bottom: 16px;
  line-height: 1.5;
}

.note-premium-upsell .btn {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border: none;
  color: white;
}

.note-premium-upsell .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}
