@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

:root {
  --primary: #7C3AED;
  --primary-light: #8B5CF6;
  --primary-dark: #6D28D9;
  --secondary: #EC4899;
  --accent: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --bg-primary: #030712;
  --bg-secondary: #0F172A;
  --bg-surface: #1E293B;
  --bg-card: rgba(30, 41, 59, 0.8);
  --bg-input: rgba(15, 23, 42, 0.8);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(124, 58, 237, 0.5);
  --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --gradient-bg: radial-gradient(ellipse at top left, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                 radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
                 #030712;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow: 0 4px 6px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.3);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.2s ease;
  --sidebar-width: 260px;
  --header-height: 70px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { color: var(--text-secondary); line-height: 1.7; }

.font-display { font-family: 'Plus Jakarta Sans', sans-serif; }

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

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-logo-text span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(3, 7, 18, 0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 1.1rem; padding: 0.5rem 0; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 4rem) 2rem 5rem;
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,0.2) 0%, transparent 70%);
  bottom: -150px; right: -150px;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -6s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  animation: fade-in 0.6s ease;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: pulse-glow 2s ease infinite;
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fade-in 0.7s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  animation: fade-in 0.7s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fade-in 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  animation: fade-in 0.7s ease 0.4s both;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ============================================================
   SECTION LAYOUTS
   ============================================================ */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-dark { background: var(--bg-secondary); }
.section-surface { background: var(--bg-surface); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-header .section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; }

/* ============================================================
   DIVERSITY BAR
   ============================================================ */
.diversity-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 0;
}
.diversity-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 2rem;
}
.diversity-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.diversity-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  white-space: nowrap;
}
.diversity-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-lg);
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 0.05; }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; color: var(--primary-light); }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.4rem; position: relative; z-index: 1; font-weight: 700; }
.feature-card p { font-size: 0.85rem; color: var(--text-secondary); position: relative; z-index: 1; line-height: 1.55; margin: 0; }
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}
.feature-chip {
  font-size: 0.63rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(124,58,237,0.1);
  color: var(--primary-light);
  border: 1px solid rgba(124,58,237,0.2);
  letter-spacing: 0.02em;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.4;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(124,58,237,0.5);
  position: relative;
  z-index: 1;
}
.step-card h3 { margin-bottom: 0.75rem; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ============================================================
   RESULTS SHOWCASE
   ============================================================ */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-secondary));
}
.showcase-item:nth-child(1) { background: linear-gradient(135deg, #1a0533, #4c1d95); }
.showcase-item:nth-child(2) { background: linear-gradient(135deg, #1a0a2e, #7c3aed); }
.showcase-item:nth-child(3) { background: linear-gradient(135deg, #0f172a, #be185d); }
.showcase-item:nth-child(4) { background: linear-gradient(135deg, #042f2e, #0891b2); }

.showcase-item img { width: 100%; height: 100%; object-fit: cover; }
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.showcase-item:hover .showcase-overlay { opacity: 1; }
.showcase-overlay-text { font-size: 0.8rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.showcase-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
}
.showcase-placeholder svg { width: 48px; height: 48px; opacity: 0.3; }
.showcase-placeholder span { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ============================================================
   PRODUCT CATEGORIES
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.category-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.18);
}
.category-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
}
.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.category-card:hover .category-img img {
  transform: scale(1.05);
}
.category-info {
  padding: 1.1rem 1.25rem 1.25rem;
}
.category-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.3rem;
}
.category-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.ba-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.ba-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.ba-panels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  min-height: 280px;
}

.ba-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  overflow: hidden;
}
.ba-panel-info {
  padding: 0.6rem 0.75rem 0.75rem;
  width: 100%;
}

.ba-before {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
}

.ba-after {
  background: linear-gradient(135deg, rgba(124,58,237,0.25) 0%, rgba(236,72,153,0.2) 100%);
}

.ba-panel-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.ba-badge-after {
  background: rgba(124,58,237,0.2);
  color: var(--primary-light);
  border-color: rgba(124,58,237,0.4);
}

.ba-panel-visual {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.ba-panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-panel-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}
.ba-panel-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.ba-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
}
.ba-arrow {
  width: 20px;
  height: 20px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.ba-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.ba-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ba-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  background: rgba(124,58,237,0.15);
  color: var(--primary-light);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
}

.ba-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

/* ============================================================
   IMAGE CHIPS (gallery hover info)
   ============================================================ */
.image-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.3rem;
}

.img-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.img-chip:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.35); }
.img-chip svg { width: 10px; height: 10px; flex-shrink: 0; opacity: 0.75; }
.img-chip-model { border-color: rgba(124,58,237,0.5); background: rgba(124,58,237,0.35); }
.img-chip-model:hover { background: rgba(124,58,237,0.55); border-color: rgba(124,58,237,0.8); }

/* ============================================================
   PRODUCT CARD IMAGE HOVER OVERLAY
   ============================================================ */
.product-card-img { position: relative; overflow: hidden; }

.product-card-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.product-card:hover .product-card-img-overlay { opacity: 1; pointer-events: auto; }

/* Product image preview lightbox */
.product-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.product-preview-overlay.active { opacity: 1; }
.product-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-preview-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}
.product-preview-overlay.active .product-preview-content { transform: scale(1); }
.product-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.product-preview-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-preview-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
}
.product-preview-close svg { width: 18px; height: 18px; }
.product-preview-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.product-preview-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: auto;
}
.product-preview-img-wrap img {
  max-width: 80vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
}

/* ============================================================
   GENERATIONS VIEWER MODAL
   ============================================================ */
.gen-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}
.gen-viewer-overlay.open { display: flex; }

.gen-viewer {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gen-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.gen-viewer-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.gen-viewer-subtitle { font-size: 0.75rem; color: var(--text-muted); margin-top: 1px; }

.gen-viewer-body { padding: 1.25rem; overflow-y: auto; max-height: 70vh; }

.gen-viewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.gen-viewer-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2/3;
  background: var(--bg-surface);
  transition: transform 0.18s ease;
}
.gen-viewer-item:hover { transform: scale(1.02); }
.gen-viewer-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gen-viewer-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.5rem 0.4rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  opacity: 0;
  transition: opacity 0.15s ease;
}
.gen-viewer-item:hover .gen-viewer-item-info { opacity: 1; }
.gen-viewer-item-info span {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gen-viewer-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.pricing-card.recommended {
  border-color: var(--primary);
  background: rgba(124, 58, 237, 0.08);
  box-shadow: 0 0 40px rgba(124,58,237,0.2);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1.25rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

.pricing-name { font-size: 1rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; }
.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-price span { font-size: 1.25rem; vertical-align: super; font-size: 1.5rem; }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 1.75rem; }

.pricing-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-feature svg {
  width: 18px; height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-annual { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.pricing-toggle {
  position: relative;
  width: 52px; height: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition);
}
.pricing-toggle.active { background: var(--primary); }
.pricing-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
}
.pricing-toggle.active::after { transform: translateX(24px); }
.pricing-annual-label { font-size: 0.9rem; color: var(--text-secondary); }
.pricing-annual-badge {
  background: rgba(16,185,129,0.15);
  color: var(--success);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
}
.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.testimonial-star { color: var(--accent); font-size: 1rem; }
.testimonial-quote { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 1.5rem; font-style: italic; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.1;
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1rem; }
.cta-content p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 2.5rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { font-size: 0.9rem; color: var(--text-secondary); transition: color var(--transition); }
.footer-link:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.auth-visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
}
.auth-visual-orb-1 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.1);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.auth-visual-orb-2 {
  width: 300px; height: 300px;
  background: rgba(0,0,0,0.2);
  bottom: -80px; right: -80px;
  animation-delay: -3s;
}
.auth-visual-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; color: white; gap: 1.5rem; }
.auth-visual-logo { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.auth-visual-logo img { width: 100px; height: 100px; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.auth-visual-logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 800; color: white; letter-spacing: -0.02em; }
.auth-visual h2 { font-size: 2rem; color: white; margin-bottom: 0; line-height: 1.2; }
.auth-visual p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 0; }

.auth-value-props { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.auth-value-prop { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.9); font-size: 0.9rem; }
.auth-value-prop svg { width: 20px; height: 20px; color: rgba(255,255,255,0.9); flex-shrink: 0; }

.auth-form-side {
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  overflow-y: auto;
}

.auth-form-container { width: 100%; max-width: 420px; }
.auth-form-header { margin-bottom: 2rem; }
.auth-form-header h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.auth-form-header p { color: var(--text-secondary); font-size: 0.9rem; }
.auth-form-link { color: var(--primary-light); font-weight: 500; }
.auth-form-link:hover { text-decoration: underline; }

.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   APP SHELL - SIDEBAR + MAIN
   ============================================================ */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-logo {
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}
.sidebar-logo svg { width: 28px; height: 28px; }
.sidebar-logo-text span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.sidebar-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.sidebar-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.sidebar-nav-item:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.sidebar-nav-item.active {
  color: var(--primary-light);
  background: rgba(124, 58, 237, 0.12);
}
.sidebar-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--gradient-primary);
  border-radius: 0 2px 2px 0;
}

.sidebar-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.5rem 1rem 0.25rem;
  margin-top: 0.5rem;
}

.sidebar-user {
  padding: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sidebar-user-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-plan { font-size: 0.7rem; color: var(--text-muted); }
.sidebar-logout-btn {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
}
.sidebar-logout-btn:hover { color: var(--danger); background: rgba(239,68,68,0.1); }
.sidebar-logout-btn svg { width: 16px; height: 16px; }

/* Hamburger toggle — hidden on desktop, visible on mobile */
.sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all var(--transition);
}
.sidebar-toggle:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.sidebar-toggle svg { width: 20px; height: 20px; }

/* Main content area */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  background: var(--bg-primary);
}

/* ============================================================
   APP PAGE HEADER
   ============================================================ */
.page-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 10;
}
.page-header-left { display: flex; align-items: center; gap: 0.75rem; }
.page-header h1 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.page-header p { font-size: 0.85rem; color: var(--text-muted); }
.page-header-actions { display: flex; align-items: center; gap: 0.75rem; }

.page-body { padding: 2rem 2.5rem; }

/* ============================================================
   DASHBOARD STATS GRID
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-icon.purple { background: rgba(124,58,237,0.15); color: var(--primary-light); }
.stat-icon.pink { background: rgba(236,72,153,0.15); color: #F472B6; }
.stat-icon.green { background: rgba(16,185,129,0.15); color: var(--success); }
.stat-icon.yellow { background: rgba(245,158,11,0.15); color: var(--accent); }
.stat-value { font-size: 1.75rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.stat-change { font-size: 0.75rem; margin-top: 0.5rem; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ============================================================
   USAGE BAR
   ============================================================ */
.usage-bar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  margin-bottom: 2rem;
}
.usage-bar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.usage-bar-title { font-size: 0.9rem; font-weight: 600; }
.usage-bar-count { font-size: 0.85rem; color: var(--text-muted); }
.usage-bar-track {
  width: 100%;
  height: 8px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.usage-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.8s ease;
}
.usage-bar-fill.warning { background: linear-gradient(90deg, var(--warning), #ef4444); }

/* ============================================================
   QUICK ACTION CARDS
   ============================================================ */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.quick-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  text-decoration: none;
}
.quick-action-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  background: rgba(124, 58, 237, 0.08);
}
.quick-action-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.quick-action-icon svg { width: 28px; height: 28px; color: var(--primary-light); }
.quick-action-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.quick-action-card p { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   BUTTON COMPONENTS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(124,58,237,0.4);
}
.btn-primary:hover { box-shadow: 0 6px 25px rgba(124,58,237,0.6); transform: translateY(-1px); opacity: 0.95; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--border-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }

.btn-danger {
  background: rgba(239,68,68,0.15);
  color: var(--danger);
  border: 1px solid rgba(239,68,68,0.3);
}
.btn-danger:hover { background: var(--danger); color: white; }

.btn-success {
  background: rgba(16,185,129,0.15);
  color: var(--success);
  border: 1px solid rgba(16,185,129,0.3);
}
.btn-success:hover { background: var(--success); color: white; }

.btn-sm { padding: 0.4rem 0.875rem; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-sm svg { width: 14px; height: 14px; }

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-lg svg { width: 22px; height: 22px; }

.btn-icon {
  width: 36px; height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.btn-icon.btn-sm { width: 30px; height: 30px; }
.btn-icon.btn-lg { width: 48px; height: 48px; }

.btn-loading { position: relative; pointer-events: none; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn-block { width: 100%; }

/* ============================================================
   FORM COMPONENTS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
label.required::after { content: ' *'; color: var(--danger); }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--transition);
  outline: none;
  -webkit-appearance: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

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

input.error, textarea.error, select.error { border-color: var(--danger); }
input.success, textarea.success, select.success { border-color: var(--success); }

textarea { resize: vertical; min-height: 100px; }
select { cursor: pointer; }
select option { background: var(--bg-secondary); }

.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 0.35rem; display: block; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.35rem; display: block; }

.input-wrapper { position: relative; }
.input-wrapper input { padding-right: 2.75rem; }
.input-wrapper-icon {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.input-wrapper-icon:hover { color: var(--text-primary); }
.input-wrapper-icon svg { width: 18px; height: 18px; }

/* Checkbox */
.checkbox-group { display: flex; align-items: center; gap: 0.625rem; cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: auto; accent-color: var(--primary); }
.checkbox-group span { font-size: 0.85rem; color: var(--text-secondary); }

/* Password strength */
.password-strength { margin-top: 0.5rem; }
.strength-bar {
  height: 4px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.strength-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}
.strength-fill.weak { width: 25%; background: var(--danger); }
.strength-fill.fair { width: 50%; background: var(--warning); }
.strength-fill.strong { width: 75%; background: #84cc16; }
.strength-fill.very-strong { width: 100%; background: var(--success); }
.strength-label { font-size: 0.75rem; color: var(--text-muted); }
.strength-label.weak { color: var(--danger); }
.strength-label.fair { color: var(--warning); }
.strength-label.strong { color: #84cc16; }
.strength-label.very-strong { color: var(--success); }

/* Tags input */
.tags-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 48px;
  align-items: center;
  transition: all var(--transition);
}
.tags-input-container:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.625rem;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--primary-light);
}
.tag-chip-remove { cursor: pointer; opacity: 0.7; display: flex; align-items: center; }
.tag-chip-remove:hover { opacity: 1; }
.tag-chip-remove svg { width: 12px; height: 12px; }
.tags-text-input {
  flex: 1;
  min-width: 80px;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  padding: 0.25rem;
}
.tags-text-input::placeholder { color: var(--text-muted); }

/* Char counter */
.char-counter { font-size: 0.75rem; color: var(--text-muted); text-align: right; margin-top: 0.35rem; }
.char-counter.warning { color: var(--warning); }
.char-counter.error { color: var(--danger); }

/* ============================================================
   CARDS - GLASSMORPHISM
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}
.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h3 { font-size: 1rem; }
.card-body { padding: 1.5rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.1);
}

/* ============================================================
   UPLOAD ZONE
   ============================================================ */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.01);
  position: relative;
}
.upload-zone:hover, .upload-zone.drag-active {
  border-color: var(--primary);
  background: rgba(124, 58, 237, 0.05);
}
.upload-zone.drag-active { box-shadow: 0 0 0 4px rgba(124,58,237,0.15); }
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-zone-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(124,58,237,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-zone-icon svg { width: 28px; height: 28px; color: var(--primary-light); }
.upload-zone h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.upload-zone p { font-size: 0.85rem; color: var(--text-muted); }
.upload-zone-browse {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.upload-zone-types { margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-muted); }

.upload-preview {
  display: none;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}
.upload-preview.visible { display: flex; }
.upload-preview-img {
  width: 100px; height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.upload-preview-info { flex: 1; }
.upload-preview-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.upload-preview-size { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   IMAGE GRID (GALLERY)
   ============================================================ */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 2/3;
  background: var(--bg-surface);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.image-card:hover { transform: scale(1.02); }
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}
.image-card:hover .image-card-overlay { opacity: 1; }

.image-card-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 999;
}
.image-card:hover .image-card-actions { opacity: 1; }

.image-action-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.image-action-btn svg { width: 15px; height: 15px; }
.image-action-btn:hover { background: var(--primary); border-color: var(--primary); }
.image-action-btn.active-favorite { background: rgba(236,72,153,0.8); border-color: #EC4899; }
.image-action-btn.danger:hover { background: var(--danger); border-color: var(--danger); }

.image-card-meta { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.image-card-product { font-size: 0.8rem; color: white; font-weight: 500; }

/* ============================================================
   OPTION BUTTONS (MODEL SETTINGS)
   ============================================================ */
.option-group { margin-bottom: 1.25rem; }
.option-group-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.625rem; display: block; text-transform: uppercase; letter-spacing: 0.06em; }

.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.option-buttons.grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.option-buttons.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; }

.option-btn {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  white-space: nowrap;
}
.option-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.option-btn.active {
  background: rgba(124,58,237,0.2);
  border-color: var(--primary);
  color: var(--primary-light);
  font-weight: 600;
}
.option-btn svg { width: 14px; height: 14px; }

/* ============================================================
   GENERATE PAGE LAYOUT
   ============================================================ */
.generate-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.generate-settings {
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.generate-settings-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.generate-settings-header h2 { font-size: 1.1rem; margin-bottom: 0.25rem; }

.settings-section {
  margin-bottom: 1.5rem;
}
.settings-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.settings-section-title svg { width: 16px; height: 16px; color: var(--primary-light); }

.product-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.product-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-surface);
  position: relative;
}
.product-thumb:hover { border-color: var(--border-hover); }
.product-thumb.selected { border-color: var(--primary); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb-none {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.65rem;
  color: var(--text-muted);
}
.product-thumb-none svg { width: 20px; height: 20px; }

/* Model selector grid — 16:9 thumbnails, 2 columns */
#modelGrid {
  grid-template-columns: repeat(2, 1fr);
  max-height: 260px;
}
#modelGrid .product-thumb {
  aspect-ratio: 16 / 9;
}

/* Generate preview panel */
.generate-preview {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.generate-preview-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.preview-empty {
  text-align: center;
  padding: 3rem;
  max-width: 380px;
}
.preview-empty-icon {
  width: 100px; height: 100px;
  margin: 0 auto 1.5rem;
  background: rgba(124,58,237,0.08);
  border: 1px dashed rgba(124,58,237,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-empty-icon svg { width: 44px; height: 44px; color: rgba(124,58,237,0.4); }
.preview-empty h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-secondary); }
.preview-empty p { font-size: 0.85rem; color: var(--text-muted); }

.preview-loading {
  text-align: center;
  padding: 3rem;
}
.loading-spinner {
  width: 72px; height: 72px;
  border: 3px solid rgba(124,58,237,0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 2rem;
}
.loading-spinner.sm { width: 36px; height: 36px; border-width: 2px; margin: 0; }
.preview-loading h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.preview-loading-status { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; animation: fade-in 0.5s ease; }

.preview-result { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.preview-result-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.generate-preview-footer {
  padding:.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.generate-footer-meta { font-size: 0.8rem; color: var(--text-muted); }
.generate-footer-actions { display: flex; gap: 0.625rem; }

/* ── Refine Slide-Over Panel ── */
.refine-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90;
  backdrop-filter: blur(2px);
}
.refine-backdrop.open { display: block; }

.refine-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 91;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 30px rgba(0,0,0,0.25);
}
.refine-panel.open { transform: translateX(0); }

.refine-panel-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.refine-panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.refine-panel-title svg { width: 16px; height: 16px; }
.refine-panel-note {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.refine-panel-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.refine-panel-close svg { width: 18px; height: 18px; }
.refine-panel-close:hover { color: var(--text-primary); background: var(--bg-surface); }

.refine-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.recent-generations-strip {
  padding: 0.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
}
.recent-strip-label { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
.recent-thumb {
  width: 52px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.recent-thumb:hover { border-color: var(--primary); }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   LIGHTBOX / MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  transform: scale(0.95);
  transition: transform 0.2s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-size: 1.1rem; }
.modal-close {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Lightbox (large image viewer) */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 300;
  display: flex;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }

.lightbox-image-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}
.lightbox-image-area img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.lightbox-nav:hover { background: var(--primary); border-color: var(--primary); }
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-panel {
  width: 320px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.lightbox-panel-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lightbox-panel-body { padding: 1.25rem; flex: 1; }
.lightbox-meta-row { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 0.85rem; }
.lightbox-meta-label { color: var(--text-muted); }
.lightbox-meta-value { color: var(--text-primary); font-weight: 500; }
.lightbox-meta-value a { color: var(--primary-light); text-decoration: none; }
.lightbox-meta-value a:hover { text-decoration: underline; }
.lightbox-panel-actions { padding: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.625rem; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: 360px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  animation: slide-in-right 0.3s ease;
  cursor: pointer;
}
.toast-icon { width: 20px; height: 20px; flex-shrink: 0; }
.toast-message { font-size: 0.875rem; font-weight: 500; flex: 1; }
.toast-close { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; }
.toast.success { border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.1); }
.toast.success .toast-icon { color: var(--success); }
.toast.error { border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.1); }
.toast.error .toast-icon { color: var(--danger); }
.toast.warning { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.1); }
.toast.warning .toast-icon { color: var(--warning); }
.toast.info { border-color: rgba(59,130,246,0.4); background: rgba(59,130,246,0.1); }
.toast.info .toast-icon { color: #60A5FA; }
.toast.removing { animation: slide-in-right 0.3s ease reverse; opacity: 0; }

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-surface) 25%, rgba(255,255,255,0.05) 50%, var(--bg-surface) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius);
}
.skeleton-text { height: 14px; margin-bottom: 0.5rem; }
.skeleton-text.w-3/4 { width: 75%; }
.skeleton-text.w-1/2 { width: 50%; }
.skeleton-img { width: 100%; aspect-ratio: 2/3; border-radius: var(--radius-lg); }
.skeleton-card { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg); }
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   BADGES / CHIPS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  text-transform: capitalize;
}
.badge-free { background: rgba(100,116,139,0.2); color: #94A3B8; border: 1px solid rgba(100,116,139,0.3); }
.badge-starter { background: rgba(59,130,246,0.15); color: #60A5FA; border: 1px solid rgba(59,130,246,0.3); }
.badge-professional { background: rgba(124,58,237,0.15); color: var(--primary-light); border: 1px solid rgba(124,58,237,0.3); }
.badge-enterprise { background: rgba(245,158,11,0.15); color: var(--accent); border: 1px solid rgba(245,158,11,0.3); }
.badge-success { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }
.badge-danger { background: rgba(239,68,68,0.15); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.badge-clothing { background: rgba(139,92,246,0.15); color: #A78BFA; border: 1px solid rgba(139,92,246,0.3); }
.badge-accessories { background: rgba(236,72,153,0.15); color: #F472B6; border: 1px solid rgba(236,72,153,0.3); }
.badge-jewelry { background: rgba(245,158,11,0.15); color: #FCD34D; border: 1px solid rgba(245,158,11,0.3); }
.badge-footwear { background: rgba(6,182,212,0.15); color: #22D3EE; border: 1px solid rgba(6,182,212,0.3); }
.badge-bags { background: rgba(16,185,129,0.15); color: #34D399; border: 1px solid rgba(16,185,129,0.3); }
.badge-other { background: rgba(100,116,139,0.15); color: #94A3B8; border: 1px solid rgba(100,116,139,0.3); }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress {
  width: 100%;
  height: 6px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}
.progress.sm { height: 4px; }
.progress.lg { height: 10px; }

/* ============================================================
   TABS
   ============================================================ */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.tab-btn {
  padding: 0.875rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--primary-light); border-bottom-color: var(--primary); font-weight: 600; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   ACCORDION / COLLAPSIBLE
   ============================================================ */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition);
}
.accordion-header:hover { background: rgba(255,255,255,0.03); }
.accordion-chevron {
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.accordion-item.open .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.accordion-item.open .accordion-body { display: block; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table th { font-weight: 700; color: var(--text-primary); background: var(--bg-surface); font-size: 0.85rem; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; }
.comparison-table td { color: var(--text-secondary); }
.comparison-table td.check { color: var(--success); font-size: 1.1rem; }
.comparison-table td.dash { color: var(--text-muted); }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }
.comparison-table th.highlight { background: rgba(124,58,237,0.1); color: var(--primary-light); }
.comparison-table td.highlight { background: rgba(124,58,237,0.04); }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}
.product-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-surface);
  position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 1rem; }
.product-card-category { margin-bottom: 0.4rem; }
.product-card-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card-count { font-size: 0.75rem; color: var(--text-muted); }
.product-card-actions { padding: 0.75rem 1rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; }

.category-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.category-tab {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.category-tab:hover { border-color: var(--border-hover); color: var(--text-primary); }
.category-tab.active { background: rgba(124,58,237,0.15); border-color: var(--primary); color: var(--primary-light); }
.category-tab-count {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
}

/* ============================================================
   GALLERY FILTERS
   ============================================================ */
.gallery-filters {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.filter-btn-group { display: flex; gap: 0.25rem; }
.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.filter-btn.active { background: rgba(124,58,237,0.15); border-color: var(--primary); color: var(--primary-light); }

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}
.search-input-wrapper svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-muted);
}
.search-input-wrapper input { padding-left: 2.5rem; }

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account-avatar-container { position: relative; display: inline-block; cursor: pointer; margin-bottom: 1.5rem; }
.account-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  overflow: hidden;
}
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-avatar-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.account-avatar-container:hover .account-avatar-overlay { opacity: 1; }
.account-avatar-overlay svg { width: 24px; height: 24px; color: white; }

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.plan-card-info h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.plan-card-info p { font-size: 0.85rem; color: var(--text-muted); }

.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.upgrade-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}
.upgrade-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.upgrade-card.current { border-color: var(--primary); background: rgba(124,58,237,0.05); }
.upgrade-card-name { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.upgrade-card-price { font-size: 1.5rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 0.75rem; }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.empty-state-icon {
  width: 80px; height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(124,58,237,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state-icon svg { width: 36px; height: 36px; color: rgba(124,58,237,0.5); }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.75rem; max-width: 320px; margin-left: auto; margin-right: auto; }

/* ============================================================
   UPGRADE BANNER
   ============================================================ */
.upgrade-banner {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(236,72,153,0.15));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}
.upgrade-banner-text h4 { margin-bottom: 0.25rem; }
.upgrade-banner-text p { font-size: 0.85rem; color: var(--text-muted); }

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

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(124,58,237,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(124,58,237,0); }
}

@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes fade-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

.animate-fade-in { animation: fade-in 0.5s ease both; }
.animate-scale-in { animation: scale-in 0.3s ease both; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.min-w-0 { min-width: 0; }
.flex-shrink-0 { flex-shrink: 0; }
.cursor-pointer { cursor: pointer; }
.rounded-full { border-radius: var(--radius-full); }
.opacity-50 { opacity: 0.5; }
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* ============================================================
   RESPONSIVE - TABLET 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .diversity-stat { padding: 0.5rem 1.25rem; }
  .diversity-num { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-actions-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .image-grid { grid-template-columns: repeat(3, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-grid, .pricing-grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .generate-layout { grid-template-columns: 320px 1fr; }
  .upgrade-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE - MOBILE 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --sidebar-width: 0px; }

  .nav { padding: 0 1rem; }
  .nav-links, .nav-actions .nav-link, .nav-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo { font-size: 1.1rem; }
  .nav-logo img { width: 28px; height: 28px; }

  .sidebar-toggle { display: flex; }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px !important;
    height: 100vh;
    z-index: 50;
    transform: translateX(-260px);
    transition: transform 0.3s ease;
  }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 49;
  }
  .sidebar-overlay.open { display: block; }

  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }

  .page-header { padding: 1.25rem 1rem; }
  .page-body { padding: 1.25rem 1rem; }

  .hero { padding: calc(var(--header-height) + 2rem) 1.25rem 3rem; }
  .hero-content { max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats { gap: 1.5rem; }

  .section { padding: 3.5rem 1.25rem; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header p { font-size: 0.95rem; }

  .features-grid { grid-template-columns: 1fr; }
  .diversity-bar { padding: 1rem 0.5rem; gap: 0.25rem; }
  .diversity-stat { padding: 0.4rem 0.6rem; }
  .diversity-num { font-size: 1.3rem; }
  .diversity-lbl { font-size: 0.6rem; }
  .diversity-sep { height: 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }

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

  .ba-grid { max-width: 100%; }
  .ba-panels { min-height: 200px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .quick-actions-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .image-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .pricing-grid-4 { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-card { padding: 2rem 1.5rem; }
  .pricing-price { font-size: 2.5rem; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 1.5rem; }
  .testimonial-quote { font-size: 0.9rem; }

  .cta-section { padding: 4rem 1.25rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .footer { padding: 3rem 1.25rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  .upgrade-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .generate-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; }
  .generate-settings { max-height: 60vh; }
  .generate-preview { min-height: 400px; }

  .lightbox-overlay { flex-direction: column; }
  .lightbox-panel { width: 100%; max-height: 40vh; }

  .gallery-filters { flex-direction: column; align-items: stretch; }
  .search-input-wrapper { max-width: 100%; }

  .modal { max-width: 95vw; margin: 0 1rem; }
  .upgrade-banner { flex-direction: column; text-align: center; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ============================================================
   RESPONSIVE - SMALL 480px
   ============================================================ */
@media (max-width: 480px) {
  .refine-panel { width: 100%; }
  .nav { padding: 0 0.75rem; }
  .nav-logo { font-size: 1rem; gap: 0.35rem; }
  .nav-logo img { width: 24px; height: 24px; }
  .mobile-menu { padding: 1.25rem 1rem; }

  .hero { padding: calc(var(--header-height) + 1.5rem) 1rem 2.5rem; min-height: auto; }
  .hero h1 { font-size: 1.65rem; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.3rem 0.75rem; }
  .hero-cta { margin-bottom: 2.5rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .hero-stat-value { font-size: 1.35rem; }
  .hero-stat-label { font-size: 0.7rem; }

  .section { padding: 2.5rem 0.75rem; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.3rem; }
  .section-header p { font-size: 0.85rem; }

  .diversity-bar { flex-wrap: wrap; gap: 0.15rem; padding: 0.75rem 0.35rem; border-radius: var(--radius-md); }
  .diversity-sep { display: none; }
  .diversity-stat { padding: 0.35rem 0.5rem; }
  .diversity-num { font-size: 1.1rem; }
  .diversity-lbl { font-size: 0.55rem; }

  .feature-card { padding: 1.25rem; }
  .step-card { padding: 1.25rem; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .category-info { padding: 0.75rem 0.9rem 0.9rem; }
  .category-info h3 { font-size: 0.9rem; }
  .category-info p { font-size: 0.75rem; }

  .ba-grid { grid-template-columns: 1fr; max-width: 100%; }
  .ba-panels { min-height: 160px; }
  .ba-panel-label { font-size: 0.72rem; }
  .ba-panel-sub { font-size: 0.62rem; }
  .ba-panel-badge { font-size: 0.58rem; padding: 0.15rem 0.5rem; top: 0.4rem; left: 0.4rem; }
  .ba-panel-info { padding: 0.4rem 0.5rem 0.5rem; }
  .ba-footer { padding: 0.5rem 0.75rem; }
  .ba-tag { font-size: 0.58rem; padding: 0.15rem 0.4rem; }

  .pricing-grid, .pricing-grid-4 { max-width: 100%; padding: 0; }
  .pricing-card { padding: 1.75rem 1.25rem; }
  .pricing-price { font-size: 2.25rem; }
  .pricing-price span { font-size: 1.1rem; }

  .testimonial-card { padding: 1.25rem; }
  .testimonial-quote { font-size: 0.85rem; margin-bottom: 1rem; }
  .testimonial-avatar { width: 36px; height: 36px; font-size: 0.85rem; }
  .testimonial-name { font-size: 0.82rem; }
  .testimonial-role { font-size: 0.72rem; }

  .cta-section { padding: 3rem 1rem; }
  .cta-content p { font-size: 0.9rem; margin-bottom: 1.5rem; }

  .footer { padding: 2rem 0.75rem 1.25rem; }
  .footer-grid { gap: 1.5rem; }
  .footer-col h4 { margin-bottom: 0.75rem; }

  .stats-grid { grid-template-columns: 1fr; }
  .image-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .option-buttons.grid-2 { grid-template-columns: 1fr; }
  .tabs { overflow-x: auto; }
  .tab-btn { white-space: nowrap; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .toast-container { left: 1rem; right: 1rem; }
}

/* ============================================================
   MISC / PAGE SPECIFIC
   ============================================================ */
.page-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 0.75rem;
}

.generation-remaining-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.875rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
}
.generation-remaining-badge.warning {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.3);
  color: var(--warning);
}
.generation-remaining-badge.danger {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.3);
  color: var(--danger);
}

.section-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.section-row-header h3 { font-size: 1rem; }

.load-more-container { text-align: center; margin-top: 2rem; }

/* Highlight current plan in pricing */
.pricing-current-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(16,185,129,0.15);
  color: var(--success);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Inline SVG icon sizing helpers */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }
