/* ==========================================================================
   LOCAL HIGH-PERFORMANCE VAZIRMATN WEBFONTS (100% OFFLINE & IRAN ISP READY)
   ========================================================================== */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   MAHDIS DENTAL LABORATORY - LUXURY LIGHT GLASSMORPHISM THEME
   ========================================================================== */

:root {
  /* Ultra-Clean Minimalist Medical Theme */
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --primary-glow: rgba(13, 148, 136, 0.15);
  --primary-soft: #f0fdfa;
  
  --accent-purple: #6d28d9;
  --accent-blue: #0369a1;
  --accent-amber: #b45309;
  --accent-rose: #be123c;
  --accent-emerald: #047857;
  
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-card-subtle: #f8fafc;
  
  --border-card: #e2e8f0;
  --border-card-hover: #cbd5e1;
  --border-subtle: #f1f5f9;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 30px -4px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 15px rgba(13, 148, 136, 0.15);
  
  --text-heading: #0f172a;
  --text-dark: #0f172a;
  --text-body: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.18s ease;
}

/* Global Resets & Viewport Lock */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-main);
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  direction: rtl;
  background-color: var(--bg-main);
  color: var(--text-body);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Phone Number & LTR Bidirectional Isolation */
.phone-number, .ltr-text, bdi[dir="ltr"] {
  direction: ltr !important;
  display: inline-block !important;
  unicode-bidi: isolate !important;
  text-align: left !important;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Soft Ambient Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: #f8fafc;
}

.ambient-orb {
  display: none !important;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 20px) scale(1.05); }
  100% { transform: translate(-20px, -25px) scale(0.95); }
}

/* App Wrapper */
.app-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  box-sizing: border-box;
}

/* Base Glass Panels */
.glass-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.glass-panel:hover {
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-lg);
}

/* Common Badges */
.brand-origin-badge, .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.badge-teal {
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.badge-purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.badge-blue {
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.badge-amber {
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.badge-rose {
  background: rgba(225, 29, 72, 0.1);
  color: var(--accent-rose);
  border: 1px solid rgba(225, 29, 72, 0.25);
}

/* Table Responsive Wrapper */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HEADER & NAVIGATION BAR
   ========================================================================== */
.main-header {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(13, 148, 136, 0.35));
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06) rotate(3deg);
}

.brand-texts {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.header-nav li a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.header-nav li a:hover {
  color: var(--primary-dark);
  background: rgba(13, 148, 136, 0.08);
}

.header-nav li a.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 4px 14px var(--primary-glow);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary-dark);
  border: 1.5px solid rgba(13, 148, 136, 0.3);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  direction: ltr;
  transition: var(--transition-fast);
}

.phone-pill:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #0f766e;
  color: #ffffff;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #0f766e;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-admin-pill:hover {
  background: #0f172a;
  color: #ffffff;
}

.btn-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.08);
  border: 1.5px solid rgba(13, 148, 136, 0.25);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.btn-mobile-toggle:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Mobile Nav Drawer & Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(300px, 85vw);
  height: 100vh;
  background: #ffffff;
  z-index: 2001;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  transform: translateX(-320px);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}

.mobile-nav-list li a:hover {
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary-dark);
}

.mobile-nav-list li a.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.mobile-nav-list li a i {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   PAGE VIEWS (SPA CONTAINER & TRANSITIONS)
   ========================================================================== */
.main-view-container {
  position: relative;
  min-height: 600px;
}

.page-view {
  display: none;
  animation: viewFadeIn 0.35s ease-out forwards;
}

.page-view.active {
  display: block;
}

@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   VIEW 1: HERO SECTION
   ========================================================================== */
.hero-glass-section {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  align-items: stretch;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

.hero-features-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.hero-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.hero-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(15, 118, 110, 0.25));
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(13, 148, 136, 0.3);
}

.feature-text-content h4 {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.feature-text-content p {
  font-size: 0.80rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.btn-hero-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 20px var(--primary-glow);
  transition: var(--transition-fast);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

/* Showcase */
.hero-showcase-container {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.showcase-tabs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.4rem;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  min-width: 0;
}

.showcase-tab-btn i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.showcase-tab-btn.active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.showcase-image-frame {
  position: relative;
  width: 100%;
  height: 320px;
  background: #0f172a;
  overflow: hidden;
}

.showcase-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-showcase-container:hover .showcase-main-img {
  transform: scale(1.05);
}

.showcase-badge-top-left {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.showcase-badge-top-right {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  z-index: 2;
}

.showcase-float-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.float-pill-1 {
  bottom: 12px;
  right: 12px;
}

.float-pill-2 {
  bottom: 12px;
  left: 12px;
}

.showcase-float-pill strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
}

.showcase-float-pill span {
  display: block;
  font-size: 0.70rem;
  color: var(--text-muted);
}

.showcase-specs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.spec-strip-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.spec-strip-item span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* Profile Card */
.hero-profile-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  gap: 1rem;
}

.profile-avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px var(--primary-glow);
  flex-shrink: 0;

  overflow: hidden;}

.profile-name {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
}

.profile-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.profile-bio-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0.25rem 0;
}

.profile-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.profile-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-dark);
}

.profile-highlight-item i {
  color: var(--primary);
  width: 14px;
  height: 14px;
}

.profile-membership-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.25);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Ribbon Stats */
.hero-bottom-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

.ribbon-stat-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(13, 148, 136, 0.25);
  flex-shrink: 0;
}

.stat-value-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
}

.stat-label-title {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* Home Promo Banners Grid */
.home-promo-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.home-ai-banner {
  cursor: pointer;
  transition: var(--transition-fast);
}

.home-ai-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.15);
}

/* ==========================================================================
   3D DENTAL STAGE & FUTURISTIC CAD/CAM FRAME
   ========================================================================== */
.stage-card-wrapper {
  background: #090d16;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(13, 148, 136, 0.35);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.4), 0 0 35px rgba(13, 148, 136, 0.2);
  overflow: hidden;
  position: relative;
}

.stage-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stage-top-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2dd4bf;
  font-size: 0.92rem;
  font-weight: 900;
}

.model-selector-bar {
  display: flex;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.3rem 0.45rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

.model-btn {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.model-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.5);
}

#toothStage {
  width: 100%;
  height: 520px;
  position: relative;
  background: radial-gradient(circle at center, #111827 0%, #030712 100%);
  cursor: grab;
  touch-action: pan-y;
}

#toothStage:active {
  cursor: grabbing;
}

.stage-bottom-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stage-toolbar-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stage-btn-control {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.stage-btn-control:hover {
  background: rgba(13, 148, 136, 0.3);
  border-color: var(--primary);
}

/* ==========================================================================
   VIEW 2: DENTURE CATALOG & COMPARISON
   ========================================================================== */
.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card-lux {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.service-card-lux:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

/* Comparison Table */
.denture-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: right;
  min-width: 620px;
}

.denture-comparison-table th {
  background: #f1f5f9;
  padding: 0.95rem 1rem;
  font-weight: 900;
  color: #0f172a;
  border-bottom: 2px solid #cbd5e1;
  white-space: nowrap;
}

.denture-comparison-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #334155;
}

.denture-comparison-table tr:hover td {
  background: rgba(240, 253, 250, 0.6);
}

/* ==========================================================================
   VIEW 3: MATERIALS & GLOBAL BRANDS ENCYCLOPEDIA
   ========================================================================== */
.materials-hero-banner {
  background: linear-gradient(135deg, #042f2e 0%, #0f172a 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(13, 148, 136, 0.35);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}

.materials-hero-banner h2 {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.materials-hero-banner p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.category-filter-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

.cat-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.cat-filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.brands-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
}

.brand-showcase-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.brand-showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   VIEW 4: RELINE & REPAIR
   ========================================================================== */
.reline-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.emergency-repair-banner {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  border: 1.5px solid rgba(225, 29, 72, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   VIEW 5: DIGITAL PROCESS & CAD/CAM DROPZONE
   ========================================================================== */
.digital-scan-zone {
  border: 2px dashed rgba(13, 148, 136, 0.4);
  background: rgba(240, 253, 250, 0.5);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.digital-scan-zone:hover, .digital-scan-zone.dragover {
  border-color: var(--primary);
  background: rgba(240, 253, 250, 0.95);
  transform: scale(1.01);
}

/* ==========================================================================
   VIEW 6: SMART TOOLS (CALCULATOR, QUIZ & TRACKER)
   ========================================================================== */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.calc-step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-summary-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary);
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(13, 148, 136, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: sticky;
  top: 6rem;
}

/* Diagnostic Quiz */
.quiz-wizard-container {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.quiz-step-pane {
  display: none;
  animation: viewFadeIn 0.3s ease-out forwards;
}

.quiz-step-pane.active {
  display: block;
}

.quiz-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.quiz-choice-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quiz-choice-card:hover {
  border-color: var(--primary);
  background: rgba(240, 253, 250, 0.6);
  transform: translateY(-2px);
}

.quiz-choice-card.selected {
  border-color: var(--primary);
  background: rgba(13, 148, 136, 0.08);
  box-shadow: 0 0 0 2px var(--primary);
}

.btn-quiz-prev, .btn-quiz-next {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.btn-quiz-prev {
  background: #f1f5f9;
  color: var(--text-dark);
  border: 1.5px solid var(--border-card);
}

.btn-quiz-prev:hover {
  background: #e2e8f0;
}

.btn-quiz-next {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-quiz-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

.quiz-result-hero {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(59, 130, 246, 0.08));
  border: 1.5px solid rgba(20, 184, 166, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   VIEW 7: CARE, TIMER, SPEECH & WARRANTY
   ========================================================================== */
.care-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.care-timer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(13, 148, 136, 0.3);
  box-shadow: var(--shadow-md);
}

.timer-circle-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 1.25rem auto;
}

.timer-circle-wrap svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.timer-circle-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 10;
}

.timer-circle-progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.timer-digit-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  font-family: monospace;
}

.speech-trainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.speech-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.speech-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.speech-letter-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-speech-sound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(13, 148, 136, 0.3);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-speech-sound:hover {
  background: var(--primary);
  color: #ffffff;
}

.diet-timeline-tabs {
  display: flex;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.4rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.diet-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.diet-tab-btn.active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.diet-content-pane {
  display: none;
  animation: fadeIn 0.3s ease-out forwards;
}

.diet-content-pane.active {
  display: block;
}

.diet-pane-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.warranty-cert-luxury {
  background: linear-gradient(135deg, #fffcf5 0%, #fef9ee 50%, #fffbf0 100%);
  border: 3px double #d97706;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 45px rgba(217, 119, 6, 0.15);
  margin-top: 1.5rem;
}

.cert-hologram-seal {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde68a 20%, #f59e0b 60%, #b45309 100%);
  border: 2px dashed #78350f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #78350f;
  font-weight: 900;
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(180, 83, 9, 0.3);
  transform: rotate(-12deg);
}

/* ==========================================================================
   VIEW 8: CONTACT & CONSULTATION
   ========================================================================== */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.contact-nav-btns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-dark);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-right {
  position: absolute;
  right: 0.85rem;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 2.4rem 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-card);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.btn-copy-address {
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(13, 148, 136, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 6px;
  transition: var(--transition-fast);
}

.btn-copy-address:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   ADMIN PORTAL MODAL & DASHBOARD
   ========================================================================== */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-modal-backdrop.active {
  display: flex;
}

.admin-window-container {
  width: 1200px;
  max-width: 95vw;
  height: 88vh;
  background: #0f172a;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  overflow: hidden;
  color: #ffffff;
}

.admin-sidebar {
  width: 260px;
  background: #1e293b;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.admin-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(13, 148, 136, 0.15);
  color: #2dd4bf;
}

.admin-main-content {
  flex: 1;
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
  animation: viewFadeIn 0.3s ease-out forwards;
}

/* ==========================================================================
   AI CHATBOT DRAWER
   ========================================================================== */
.ai-chat-drawer {
  position: fixed;
  bottom: 5.5rem;
  left: 1.75rem;
  width: 380px;
  max-width: calc(100vw - 2.5rem);
  height: 520px;
  max-height: calc(100vh - 7rem);
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  border: 1.5px solid var(--border-card);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-smooth);
}

.ai-chat-drawer.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ai-chat-trigger-btn {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px var(--primary-glow);
  cursor: pointer;
  z-index: 2400;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

.ai-chat-trigger-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 14px 30px var(--primary-glow);
}

.ai-chat-trigger-btn i {
  width: 26px;
  height: 26px;
}

.user-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  margin-right: auto;
  border-bottom-right-radius: 4px;
}

.bot-bubble {
  background: #f1f5f9;
  color: var(--text-dark);
  margin-left: auto;
  border-bottom-left-radius: 4px;
}

.chat-prompt-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(13, 148, 136, 0.3);
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.chat-prompt-pill:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Floating WhatsApp Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  z-index: 2400;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.whatsapp-floating-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-floating-btn i {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   LUXURY AGENCY FOOTER
   ========================================================================== */
.luxury-footer {
  margin-top: 2rem;
  padding: 3rem 2.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(13, 148, 136, 0.35));
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.footer-bio-text {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.2);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-list li a, .footer-links-list li span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links-list li a:hover {
  color: var(--primary-dark);
  transform: translateX(-4px);
}

.footer-links-list li i {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-btn-call {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.footer-btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}


/* ==========================================================================
   SPECIFIC COMPONENT HELPERS & CARD THEMES (LIGHT LUXURY)
   ========================================================================== */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Card Themes */
.card-theme-teal { border-color: rgba(13, 148, 136, 0.35); }
.card-theme-teal:hover { border-color: #0d9488; box-shadow: 0 10px 30px rgba(13, 148, 136, 0.15); }

.card-theme-purple { border-color: rgba(124, 58, 237, 0.35); }
.card-theme-purple:hover { border-color: #7c3aed; box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15); }

.card-theme-blue { border-color: rgba(2, 132, 199, 0.35); }
.card-theme-blue:hover { border-color: #0284c7; box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15); }

.card-theme-emerald { border-color: rgba(5, 150, 105, 0.35); }
.card-theme-emerald:hover { border-color: #059669; box-shadow: 0 10px 30px rgba(5, 150, 105, 0.15); }

.card-theme-amber { border-color: rgba(217, 119, 6, 0.35); }
.card-theme-amber:hover { border-color: #d97706; box-shadow: 0 10px 30px rgba(217, 119, 6, 0.15); }

.card-theme-pink { border-color: rgba(225, 29, 72, 0.35); }
.card-theme-pink:hover { border-color: #e11d48; box-shadow: 0 10px 30px rgba(225, 29, 72, 0.15); }

/* Material Spec Meter Bars */
.spec-meter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 700;
  width: 100px;
  flex-shrink: 0;
}

.spec-meter-bar {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.spec-meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.6s ease;
}

.spec-val {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.8rem;
  width: 50px;
  text-align: left;
  flex-shrink: 0;
}

/* Indication Tags */
.brand-indication-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.indication-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.74rem;
  color: var(--text-dark);
  font-weight: 700;
}

/* Showcase Panes */
.showcase-pane {
  display: none;
}

.showcase-pane.active {
  display: block;
  animation: viewFadeIn 0.3s ease-out forwards;
}

/* ==========================================================================
   CONSOLIDATED CROSS-PLATFORM RESPONSIVE MEDIA QUERIES (DESKTOP -> MOBILE)
   ========================================================================== */

/* 1. LAPTOPS & SMALL DESKTOPS (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-glass-section {
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  
  .tools-showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .header-nav {
    display: none !important;
  }
  
  .btn-mobile-toggle {
    display: flex !important;
  }
}

/* 2. TABLETS LANDSCAPE & IPAD PRO (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-glass-section {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr !important;
  }
  
  .calc-summary-panel {
    position: static !important;
  }
}

/* 3. TABLETS PORTRAIT (max-width: 992px) */
@media (max-width: 992px) {
  .hero-bottom-ribbon {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }
  
  .home-promo-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .contact-main-grid, .reline-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  .materials-hero-banner {
    padding: 2rem 1.5rem !important;
  }
}

/* 4. LARGE MOBILE & SMALL TABLETS (max-width: 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .app-wrapper {
    padding: 0.5rem 0.65rem 2.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    gap: 1rem !important;
  }

  /* Header on Mobile */
  .main-header {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

  .brand-logo-img {
    width: 36px !important;
    height: 36px !important;
  }

  .brand-name {
    font-size: 0.92rem !important;
  }

  .brand-subtitle {
    display: none !important;
  }

  .header-left {
    gap: 0.35rem !important;
  }

  .main-header .phone-pill {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.78rem !important;
  }

  .main-header .phone-pill span, 
  .main-header .btn-primary-pill span, 
  .main-header .btn-admin-pill span {
    display: none !important;
  }

  .main-header .btn-primary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #0f766e;
  color: #ffffff;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #0f766e;
  cursor: pointer;
  transition: var(--transition-fast);
}

  .btn-mobile-toggle {
    width: 36px !important;
    height: 36px !important;
  }

  /* Hero Section on Mobile */
  .hero-glass-section {
    padding: 1.15rem 1rem !important;
    border-radius: var(--radius-lg) !important;
    gap: 1.15rem !important;
    min-height: auto !important;
  }

  .hero-features-stack {
    gap: 0.75rem !important;
  }

  .hero-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

  .feature-icon-wrapper {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
  }

  .feature-text-content h4 {
    font-size: 0.90rem !important;
  }

  .feature-text-content p {
    font-size: 0.75rem !important;
  }

  .btn-hero-primary {
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
  }

  /* Hero Showcase on Mobile */
  .hero-showcase-container {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

  .showcase-tabs-bar {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.3rem !important;
    padding: 0.3rem !important;
  }

  .showcase-tab-btn {
    min-width: 0 !important;
    padding: 0.5rem 0.35rem !important;
    font-size: 0.72rem !important;
    gap: 0.25rem !important;
    border-radius: 8px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  .showcase-tab-btn i {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }

  .showcase-image-frame {
    height: 260px !important;
  }

  .showcase-badge-top-right {
    display: none !important;
  }

  .showcase-badge-top-left {
    top: 8px !important;
    left: 8px !important;
    padding: 0.3rem 0.65rem !important;
    font-size: 0.70rem !important;
  }

  .showcase-float-pill.float-pill-2 {
    display: none !important;
  }

  .showcase-float-pill.float-pill-1 {
    bottom: 8px !important;
    right: 8px !important;
    padding: 0.35rem 0.65rem !important;
    border-radius: 10px !important;
    gap: 0.45rem !important;
  }

  .showcase-float-pill.float-pill-1 strong {
    font-size: 0.74rem !important;
  }

  .showcase-float-pill.float-pill-1 span {
    font-size: 0.64rem !important;
  }

  .showcase-specs-strip {
    grid-template-columns: 1fr !important;
    gap: 0.4rem !important;
    padding: 0.75rem 1rem !important;
  }

  /* Profile Card on Mobile */
  .hero-profile-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  gap: 1rem;
}

  .profile-avatar-circle {
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
    font-size: 1.3rem !important;
  
  overflow: hidden;}

  .profile-name {
    font-size: 1.05rem !important;
  }

  .profile-subtitle {
    font-size: 0.72rem !important;
  }

  .profile-bio-text {
    font-size: 0.78rem !important;
    line-height: 1.65 !important;
    margin: 0.35rem 0 !important;
  }

  .profile-highlights-grid {
    grid-template-columns: 1fr !important;
    gap: 0.35rem !important;
  }

  .profile-highlight-item {
    padding: 0.45rem 0.65rem !important;
    font-size: 0.74rem !important;
  }

  .profile-membership-pill {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.72rem !important;
  }

  /* Ribbon Stats */
  .hero-bottom-ribbon {
    grid-template-columns: 1fr 1fr !important;
    padding: 0.85rem !important;
    gap: 0.65rem !important;
    border-radius: var(--radius-md) !important;
  }

  .stat-icon-circle {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .stat-value-num {
    font-size: 1.15rem !important;
  }

  .stat-label-title {
    font-size: 0.70rem !important;
  }

  /* 3D Dental Stage */
  #toothStage {
    height: 330px !important;
  }

  .model-selector-bar {
    padding: 0.3rem 0.4rem !important;
    gap: 0.25rem !important;
  }

  .model-btn {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.72rem !important;
  }

  .stage-bottom-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }

  /* Catalog & Brands */
  .services-catalog-grid, .brands-grid-container {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .service-card-lux, .brand-showcase-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .diet-pane-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .materials-filter-bar, .category-filter-chips {
    gap: 0.35rem !important;
    overflow-x: auto !important;
    padding-bottom: 0.5rem !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .cat-filter-btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Admin Modal on Mobile */
  .admin-window-container {
    flex-direction: column !important;
    height: 94vh !important;
    width: 95vw !important;
  }

  .admin-sidebar {
    width: 100% !important;
    height: auto !important;
    padding: 0.75rem !important;
  }

  .admin-nav-list {
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 0.35rem !important;
  }

  .admin-nav-item {
    white-space: nowrap !important;
    padding: 0.4rem 0.75rem !important;
  }
}

/* 5. STANDARD SMARTPHONES (max-width: 640px) */
@media (max-width: 640px) {
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .luxury-footer {
    padding: 2rem 1.25rem 1.25rem !important;
    border-radius: var(--radius-lg) !important;
  }

  .footer-action-btns {
    grid-template-columns: 1fr !important;
  }

  .whatsapp-floating-btn {
    width: 52px !important;
    height: 52px !important;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 1.25rem !important;
  }

  .whatsapp-floating-btn i {
    width: 24px !important;
    height: 24px !important;
  }

  .ai-chat-trigger-btn {
    width: 52px !important;
    height: 52px !important;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
    left: 1.25rem !important;
  }

  .ai-chat-trigger-btn i {
    width: 24px !important;
    height: 24px !important;
  }

  .ai-chat-drawer {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)) !important;
    left: 0.65rem !important;
    right: 0.65rem !important;
    width: auto !important;
    max-width: none !important;
    height: 72vh !important;
  }
}

/* 6. COMPACT PHONES (max-width: 480px) */
@media (max-width: 480px) {
  .hero-bottom-ribbon {
    grid-template-columns: 1fr !important;
  }

  #toothStage {
    height: 280px !important;
  }

  .materials-hero-banner {
    padding: 1.5rem 1.15rem !important;
    border-radius: var(--radius-lg) !important;
  }

  .materials-hero-banner h2 {
    font-size: 1.25rem !important;
  }

  .timer-circle-wrap {
    width: 160px !important;
    height: 160px !important;
  }

  .timer-digit-text {
    font-size: 1.8rem !important;
  }

  .warranty-cert-luxury {
    padding: 1.75rem 1.15rem !important;
    border-radius: var(--radius-lg) !important;
  }

  .cert-hologram-seal {
    position: static !important;
    margin: 0 auto 1.25rem auto !important;
    transform: none !important;
  }

  .main-header {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}
}

/* 7. ULTRA-COMPACT PHONES (max-width: 360px) */
@media (max-width: 360px) {
  .brand-name {
    font-size: 0.84rem !important;
  }

  .showcase-tab-btn {
    font-size: 0.65rem !important;
    padding: 0.35rem 0.2rem !important;
  }

  .stat-value-num {
    font-size: 1.05rem !important;
  }

  .btn-hero-primary {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.8rem !important;
  }
}

/* 8. ULTRA-WIDE & 4K SCREENS (min-width: 1600px) */
@media (min-width: 1600px) {
  .app-wrapper {
    max-width: 1560px !important;
  }

  #toothStage {
    height: 580px !important;
  }
}


.profile-avatar-circle img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

/* Showcase Image Clean Styling */
.showcase-image-frame {
  position: relative;
  width: 100%;
  height: 360px;
  background: #f1f5f9;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-img,
.showcase-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  transition: transform 0.4s ease;
}

.showcase-image-frame:hover .showcase-img,
.showcase-image-frame:hover .showcase-main-img {
  transform: scale(1.02);
}

.showcase-gradient-overlay,
.showcase-float-pill {
  display: none !important;
}

@media (max-width: 768px) {
  .showcase-image-frame {
    height: 240px !important;
  }
}
