/* ==============================================================================
   DEEPA'S PODIS — MINIMAL EDITORIAL & SWISS STUDIO DESIGN SYSTEM
   Salem, Tamil Nadu • Est. 2026
   Full Layout Optimization Across All Breakpoints (Mobile, Tablet, Laptop, Desktop)
   ============================================================================== */

:root {
  /* Brand Heritage Palette */
  --brand-primary: #8a2405;        /* Roasted Chili Terracotta */
  --brand-primary-dark: #6b1b02;
  --brand-primary-light: #fff5ee;
  --brand-accent: #c27803;         /* Turmeric Ochre / Saffron */
  --brand-accent-light: #fef3c7;
  --brand-kraft: #d8c2a7;          /* Kraft Tone */
  --brand-kraft-light: #f6efe6;
  --brand-ink: #141210;            /* Charcoal Ink Black */
  
  /* Modern Swiss / Architectural Canvas */
  --bg-page: #f8f6f0;              /* Warm Studio Linen */
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-subtle: #f2ece1;
  --text-main: #141210;
  --text-muted: #5c554e;
  --text-subtle: #8a8177;
  --border-light: #e6dfd3;
  --border-medium: #d6ccbe;
  --border-dark: #1e1b18;
  
  /* Status Color System */
  --status-completed-bg: #ecfdf5;
  --status-completed-text: #065f46;
  --status-completed-border: #a7f3d0;
  
  --status-shipped-bg: #eff6ff;
  --status-shipped-text: #1e40af;
  --status-shipped-border: #bfdbfe;
  
  --status-cooking-bg: #fff7ed;
  --status-cooking-text: #9a3412;
  --status-cooking-border: #fed7aa;
  
  --status-ready-bg: #fefce8;
  --status-ready-text: #854d0e;
  --status-ready-border: #fef08a;
  
  --status-pending-bg: #f3f4f6;
  --status-pending-text: #374151;
  --status-pending-border: #d1d5db;

  /* Shadows & Depth */
  --shadow-xs: 0 1px 2px rgba(18, 16, 14, 0.04);
  --shadow-sm: 0 2px 4px rgba(18, 16, 14, 0.05);
  --shadow-md: 0 6px 16px -2px rgba(18, 16, 14, 0.07), 0 2px 6px -1px rgba(18, 16, 14, 0.03);
  --shadow-lg: 0 12px 28px -4px rgba(18, 16, 14, 0.09), 0 4px 10px -2px rgba(18, 16, 14, 0.04);
  --shadow-xl: 0 20px 36px -6px rgba(18, 16, 14, 0.12), 0 8px 16px -4px rgba(18, 16, 14, 0.06);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography Helpers */
.font-brand { font-family: 'Rye', serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-heading { font-family: 'Space Grotesk', sans-serif; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
.text-center { text-align: center; }

/* ==============================================================================
   TOP MINIMAL STUDIO NAVIGATION BAR
   ============================================================================== */
.navbar {
  background: #ffffff;
  color: var(--text-main);
  padding: 14px clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.nav-brand-logo {
  height: clamp(36px, 4vw, 44px);
  width: auto;
  transition: transform 0.2s ease;
}

.nav-brand-logo:hover {
  transform: scale(1.03);
}

.brand-title {
  font-family: 'Rye', serif;
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: 0.5px;
  color: var(--brand-ink);
  white-space: nowrap;
}

/* Floating Segmented Tabs */
.nav-center-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-page);
  padding: 4px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(12px, 1vw, 13px);
  font-weight: 600;
  padding: 7px clamp(12px, 1.5vw, 20px);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-tab-btn .tab-index {
  font-size: 10px;
  opacity: 0.6;
  letter-spacing: 0.5px;
}

.nav-tab-btn:hover {
  color: var(--text-main);
}

.nav-tab-btn.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}

.nav-tab-btn.active .tab-index {
  opacity: 1;
  color: var(--brand-primary);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Quick Sync Live Button */
.btn-live-sync {
  background: #ffffff;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sync-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 6px #16a34a;
  display: inline-block;
  animation: pulseSync 1.5s infinite;
}

@keyframes pulseSync {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.btn-live-sync:hover {
  background: #f0fdf4;
  border-color: #86efac;
  transform: translateY(-1px);
}

/* Header Settings Trigger Button */
.btn-header-settings {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-settings:hover {
  background: var(--bg-subtle);
  border-color: var(--border-dark);
  transform: translateY(-1px);
}

/* ==============================================================================
   MAIN APPLICATION CONTAINER
   ============================================================================== */
.app-container {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 40px) 64px;
}

/* ==============================================================================
   HERO EDITORIAL SECTION
   ============================================================================== */
.hero-editorial-section {
  padding: clamp(16px, 2vw, 24px) 0 clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: clamp(20px, 3vw, 28px);
}

.hero-top-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-tag-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 10px;
  color: var(--brand-primary);
  letter-spacing: 1px;
}

.hero-meta-divider {
  color: var(--border-medium);
}

.hero-meta-desc {
  font-weight: 500;
  color: var(--text-muted);
}

.hero-main-flex {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: flex-end;
}

.hero-main-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-main);
}

.hero-main-paragraph {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
}

/* ==============================================================================
   NUMBERED STUDIO METRICS GRID (001 - 004)
   ============================================================================== */
.numbered-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 18px);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.studio-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: clamp(16px, 1.8vw, 22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.studio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.studio-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.studio-card:hover::before {
  background: var(--brand-primary);
}

.studio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.studio-index {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.5px;
}

.studio-badge-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 4px;
}

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

.studio-card-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
}

.studio-accent-val {
  color: var(--brand-primary);
}

.studio-success-val {
  color: #15803d;
}

.studio-card-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
}

/* ==============================================================================
   SECTION HEADERS & TOOLBARS
   ============================================================================== */
.studio-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.studio-section-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.studio-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.studio-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Filter Chips Row */
.filter-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.filter-chips-row::-webkit-scrollbar {
  height: 4px;
}

.filter-chips-row::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

.chip-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chip-btn:hover {
  border-color: var(--border-medium);
  color: var(--text-main);
}

.chip-btn.active {
  background: #141210;
  color: #ffffff;
  border-color: #141210;
}

.chip-count {
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 10px;
}

.chip-btn.active .chip-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==============================================================================
   DATA GRID TABLE
   ============================================================================== */
.card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  margin-bottom: 36px;
}

.search-action-bar {
  padding: 14px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 6px 16px;
  min-width: 280px;
  flex: 1;
  max-width: 440px;
  gap: 8px;
  transition: all 0.2s ease;
}

.search-input-wrap:focus-within {
  border-color: var(--brand-primary);
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(138, 36, 5, 0.1);
}

.search-input-wrap input {
  border: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  width: 100%;
}

.data-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  min-width: 900px;
}

.data-table th {
  background: #faf8f4;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 0.15s ease;
}

.data-table tbody tr:hover {
  background: #faf7f2;
}

/* Customer Cell Avatar */
.customer-cell-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff5ee;
  color: var(--brand-primary);
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.customer-name {
  font-weight: 700;
  color: var(--text-main);
}

.customer-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Spice Jar Flavor Chips */
.items-chips-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 380px;
}

.spice-chip {
  background: #fff8f0;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.spice-chip-qty {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: #ea580c;
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 8px;
  font-weight: 700;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.status-badge.completed,
.status-badge.fulfilled {
  background: var(--status-completed-bg);
  color: var(--status-completed-text);
  border: 1px solid var(--status-completed-border);
}

.status-badge.shipped {
  background: var(--status-shipped-bg);
  color: var(--status-shipped-text);
  border: 1px solid var(--status-shipped-border);
}

.status-badge.cooking {
  background: var(--status-cooking-bg);
  color: var(--status-cooking-text);
  border: 1px solid var(--status-cooking-border);
}

.status-badge.ready {
  background: var(--status-ready-bg);
  color: var(--status-ready-text);
  border: 1px solid var(--status-ready-border);
}

.status-badge.pending {
  background: var(--status-pending-bg);
  color: var(--status-pending-text);
  border: 1px solid var(--status-pending-border);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Action Buttons */
.btn-action-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-whatsapp-action {
  background: #15803d;
  color: #ffffff;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(21, 128, 61, 0.2);
}

.btn-whatsapp-action:hover {
  background: #166534;
  transform: translateY(-1px);
}

.btn-invoice-action {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-invoice-action:hover {
  border-color: var(--border-dark);
  background: #141210;
  color: #ffffff;
}

/* Standard Buttons */
.btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(138, 36, 5, 0.25);
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-dark);
}

/* ==============================================================================
   PODI CATALOG SHOWCASE GRID
   ============================================================================== */
.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.product-card-img-wrap {
  width: 100%;
  height: 220px;
  background: #fbf8f3;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.04);
}

.product-index-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #141210;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.product-hsn-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-primary);
}

.product-tax-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ==============================================================================
   TECHNICAL BLUEPRINT BANNER
   ============================================================================== */
.technical-blueprint-banner {
  background: #141210;
  color: #ffffff;
  border-radius: 12px;
  padding: clamp(20px, 3vw, 36px);
  margin-top: 16px;
  border: 1px solid #292524;
  box-shadow: var(--shadow-sm);
}

.blueprint-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.blueprint-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #c27803;
  margin-bottom: 8px;
}

.blueprint-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.blueprint-desc {
  font-size: 12px;
  color: #a8a29e;
  line-height: 1.6;
}

.blueprint-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blueprint-grid-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 11px;
  color: #d6d3d1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.blueprint-num {
  color: #fde68a;
  font-weight: 700;
}

/* Tab Panes */
.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease forwards;
}

.tab-pane.active {
  display: block;
}

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

/* ==============================================================================
   SLIDE-OVER SETTINGS DRAWER & MODALS
   ============================================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 16, 14, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-container {
  width: 460px;
  max-width: 90vw;
  height: 100%;
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.active .drawer-container {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf8f4;
}

.drawer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  border-radius: 4px;
}

.drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-section-card {
  background: #faf8f4;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px;
}

.drawer-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.drawer-link-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
}

.drawer-link-btn:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: var(--text-main);
  background: #ffffff;
  outline: 2px solid transparent;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--brand-primary);
  outline: 2px solid var(--brand-primary);
  outline-offset: 1px;
}

/* Toggle Switch */
.toggle-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toggle-switch-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.toggle-switch-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .25s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #15803d;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 16, 14, 0.5);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 820px;
  max-width: 95vw;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf8f4;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  background: #f4efe6;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: #ffffff;
}

/* ==============================================================================
   RESPONSIVE BREAKPOINTS (ALL DEVICES)
   ============================================================================== */
@media (max-width: 1080px) {
  .navbar {
    flex-wrap: wrap;
    padding: 12px 20px;
  }

  .nav-center-tabs {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-main-flex {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .blueprint-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .app-container {
    padding: 20px 16px 40px;
  }

  .hero-main-headline {
    font-size: 30px;
  }

  .numbered-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .studio-card {
    padding: 14px;
    min-height: auto;
  }

  .studio-card-val {
    font-size: 22px;
  }

  .studio-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .drawer-container {
    width: 100% !important;
    max-width: 100%;
  }

  .search-input-wrap {
    min-width: 100%;
    max-width: 100%;
  }

  .modal-container {
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 14px;
  }

  .numbered-kpi-grid {
    grid-template-columns: 1fr;
  }

  .hero-main-headline {
    font-size: 24px;
  }

  .studio-header-actions {
    width: 100%;
  }

  .studio-header-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
