/* css styling for klinio.net */

/* 1. Global Setup & Variables */
:root {
  /* HSL tailored palettes - Dark Theme (Default) */
  --bg-base: hsl(222, 47%, 9%);
  --bg-surface: hsl(222, 47%, 12%);
  --bg-card: hsla(222, 47%, 15%, 0.65);
  --border-color: hsla(222, 40%, 25%, 0.4);
  --border-color-glow: hsla(174, 90%, 50%, 0.3);
  --text-main: hsl(210, 40%, 98%);
  --text-muted: hsl(215, 25%, 72%);
  
  /* Accent Colors */
  --primary-color: hsl(174, 90%, 45%);
  --primary-glow: hsla(174, 90%, 45%, 0.15);
  --secondary-color: hsl(217, 91%, 60%);
  --secondary-glow: hsla(217, 91%, 60%, 0.15);
  --accent-purple: hsl(262, 83%, 58%);
  --accent-orange: hsl(24, 95%, 53%);
  --accent-pink: hsl(330, 85%, 55%);
  --accent-cyan: hsl(190, 90%, 50%);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Utils */
  --glass-blur: blur(12px);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --container-max: 1200px;
}

/* Light Theme overrides */
body.light-theme {
  --bg-base: hsl(210, 40%, 96%);
  --bg-surface: hsl(0, 0%, 100%);
  --bg-card: rgba(255, 255, 255, 0.7);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-glow: rgba(174, 90%, 45%, 0.2);
  --text-main: hsl(222, 47%, 12%);
  --text-muted: hsl(215, 15%, 45%);
  --primary-color: hsl(174, 90%, 38%);
  --primary-glow: rgba(174, 90%, 38%, 0.08);
  --secondary-color: hsl(217, 91%, 50%);
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

/* 2. Base Rules & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.w-full { width: 100%; }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.mt-16 { margin-top: 16px; }
.mt-12 { margin-top: 12px; }
.font-semibold { font-weight: 600; }
.hidden { display: none !important; }

/* Gradients and Colors classes */
.bg-gradient-blue { background: linear-gradient(135deg, var(--secondary-color), var(--accent-cyan)); }
.bg-gradient-purple { background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); }
.bg-gradient-green { background: linear-gradient(135deg, var(--primary-color), var(--accent-cyan)); }
.bg-gradient-orange { background: linear-gradient(135deg, var(--accent-orange), hsl(45, 95%, 55%)); }
.bg-gradient-pink { background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple)); }
.bg-gradient-cyan { background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-color)); }

.color-blue { color: var(--secondary-color); }
.color-green { color: var(--primary-color); }
.color-red { color: hsl(350, 80%, 60%); }

/* 3. Glowing Background Orbs */
.glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  transition: var(--transition-smooth);
}

body.light-theme .glow-bg {
  opacity: 0.08;
  filter: blur(150px);
}

.glow-bg-1 {
  background: var(--primary-color);
  top: 10%;
  left: -100px;
}

.glow-bg-2 {
  background: var(--accent-purple);
  top: 45%;
  right: -100px;
}

/* 4. Glassmorphic Card Panel */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-color-glow);
}

/* 5. Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-color);
  color: hsl(222, 47%, 9%);
  box-shadow: 0 4px 20px -4px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -2px hsla(174, 90%, 45%, 0.4);
  background-color: hsl(174, 90%, 50%);
}

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

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--primary-glow);
  transform: translateY(-2px);
}

.btn-tertiary {
  background: transparent;
  color: var(--text-main);
  padding-left: 12px;
  padding-right: 12px;
}

.btn-tertiary:hover {
  color: var(--primary-color);
}

.btn-tertiary i {
  transition: transform 0.2s ease;
}

.btn-tertiary:hover i {
  transform: translateX(4px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
}

/* 6. Navigation Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: hsla(222, 47%, 9%, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  height: 80px;
  transition: var(--transition-smooth);
}

body.light-theme .main-header {
  background: rgba(255, 255, 255, 0.7);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-main);
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(222, 47%, 9%);
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.theme-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.moon-icon { display: block; }
.sun-icon { display: none; }

body.light-theme .moon-icon { display: none; }
body.light-theme .sun-icon { display: block; }

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.5rem;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.drawer-link:hover {
  color: var(--primary-color);
}

/* 7. Hero Section */
.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-top: 20px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-main) 40%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--primary-color);
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Hero Desktop Visual Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1.45;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: var(--border-color-glow);
}

.card-header-bar {
  background: hsla(222, 47%, 9%, 0.6);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
}

.dots .dot:nth-child(1) { background: hsl(350, 75%, 60%); }
.dots .dot:nth-child(2) { background: hsl(45, 80%, 55%); }
.dots .dot:nth-child(3) { background: hsl(140, 60%, 45%); }

.visual-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 auto;
  transform: translateX(-16px);
}

.visual-content {
  display: flex;
  flex: 1;
}

.visual-sidebar {
  width: 44px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
  gap: 16px;
  background: hsla(222, 47%, 9%, 0.2);
}

.sb-item {
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sb-item.active {
  color: var(--primary-color);
}

.visual-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-row {
  display: flex;
  gap: 12px;
}

.small-widget {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.widget-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.widget-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 4px;
}

.widget-trend {
  font-size: 0.65rem;
  font-weight: 600;
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.widget-trend.positive {
  color: var(--primary-color);
}

.chart-row {
  flex: 1;
}

.main-chart-widget {
  width: 100%;
  padding: 12px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.green { background: var(--primary-color); }
.legend-dot.blue { background: var(--secondary-color); }

.mock-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 90px;
  padding-top: 10px;
}

.bar {
  width: 10%;
  height: var(--height);
  background: linear-gradient(to top, var(--secondary-color), var(--primary-color));
  border-radius: 3px 3px 0 0;
  animation: barGrow 1.5s ease-out forwards;
}

@keyframes barGrow {
  from { height: 0; }
  to { height: var(--height); }
}

/* 8. Sections Structure */
section {
  padding: 100px 0;
}

.section-title-wrapper {
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title-wrapper h2 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.section-title-wrapper p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* 9. Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: hsl(222, 47%, 9%);
}

.feature-card h3 {
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 10. Showcase Section Tabs */
.showcase-tabs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.showcase-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.showcase-tab:hover {
  color: var(--text-main);
  background: var(--border-color);
}

.showcase-tab.active {
  color: var(--primary-color);
  background: var(--primary-glow);
}

.showcase-display {
  padding: 40px;
}

.showcase-content {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.showcase-content.active {
  display: grid;
  animation: fadeIn 0.4s ease;
}

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

.showcase-info h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.showcase-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-bullets li i {
  color: var(--primary-color);
}

/* Module-Specific Visual Panels */
.showcase-preview {
  display: flex;
  justify-content: center;
}

.preview-panel {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: hsla(222, 47%, 9%, 0.4);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

/* Tab 1: General Clinic */
.patient-card-detail {
  display: flex;
  align-items: center;
  gap: 12px;
}

.patient-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.patient-meta {
  display: flex;
  flex-direction: column;
}

.patient-meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.patient-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.history-tags {
  display: flex;
  gap: 6px;
}

.tag {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.tag-alert {
  background: hsla(350, 75%, 60%, 0.15);
  color: hsl(350, 80%, 70%);
}

.tag-normal {
  background: hsla(217, 91%, 60%, 0.15);
  color: hsl(217, 91%, 70%);
}

.timeline-simple {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid var(--border-color);
  padding-left: 12px;
  margin-left: 4px;
}

.timeline-point {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline-point::before {
  content: '';
  position: absolute;
  left: -17px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
}

.point-date {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.point-desc {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Tab 2: Odontogram */
.odontogram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 10px 0;
}

.tooth-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  cursor: pointer;
}

.tooth-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tooth-shape {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.tooth-shape.healthy { background: var(--bg-card); }
.tooth-shape.decayed { background: hsla(350, 75%, 60%, 0.3); border-color: hsl(350, 75%, 60%); }
.tooth-shape.filled { background: hsla(217, 91%, 60%, 0.3); border-color: hsl(217, 91%, 60%); }
.tooth-shape.missing { background: transparent; border-style: dashed; }
.tooth-shape.implant { background: hsla(262, 83%, 58%, 0.3); border-color: var(--accent-purple); }

.odontogram-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.color-box {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1px solid var(--border-color);
}

.color-box.healthy { background: var(--bg-card); }
.color-box.decayed { background: hsl(350, 75%, 60%); }
.color-box.filled { background: hsl(217, 91%, 60%); }
.color-box.missing { border-style: dashed; background: transparent; }
.color-box.implant { background: var(--accent-purple); }

/* Tooltips */
.tooltipped::after {
  content: attr(data-status);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  white-space: nowrap;
  text-transform: capitalize;
  z-index: 10;
}

.tooltipped:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Tab 3: Face Map */
.facemap-canvas {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mock-face-vector {
  width: 140px;
  height: 100%;
  position: relative;
  color: var(--text-muted);
}

.face-svg {
  width: 100%;
  height: 100%;
}

.injection-marker {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-purple);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px var(--accent-purple);
  cursor: pointer;
}

.injection-marker.special {
  background: var(--accent-pink);
  box-shadow: 0 0 8px var(--accent-pink);
}

.tooltipped-marker::after {
  content: attr(data-marker);
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  white-space: nowrap;
  z-index: 10;
}

.tooltipped-marker:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Tab 4: Physiotherapy */
.rom-meter {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  position: relative;
}

.rom-arc {
  width: 160px;
  position: relative;
  text-align: center;
}

.arc-svg {
  width: 100%;
  transform: scaleY(-1);
}

.rom-value {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
}

.rom-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.rom-stats-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

.rom-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.rom-stat-row span {
  color: var(--text-muted);
}

/* Tab 5: Veterinary */
.vet-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vet-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.vet-meta {
  display: flex;
  flex-direction: column;
}

.vet-meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.vet-vaccines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vaccine-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vaccine-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.vaccine-item.done {
  border-color: var(--border-color-glow);
  color: var(--primary-color);
  background: var(--primary-glow);
}

.vaccine-item.pending {
  border-color: var(--border-color);
  color: var(--text-muted);
  background: var(--bg-card);
}

/* 11. AI Assistant Panel Section */
.ai-section {
  position: relative;
}

.ai-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

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

.ai-chat-widget {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 380px;
  border-color: var(--border-color-glow);
}

.chat-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  background: hsla(222, 47%, 9%, 0.3);
}

.ai-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
  color: hsl(222, 47%, 9%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-title-meta {
  display: flex;
  flex-direction: column;
}

.chat-title-meta span {
  font-size: 0.7rem;
  color: var(--primary-color);
}

.chat-messages {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.chat-message {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.45;
}

.bot-message {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 0;
}

.user-message {
  align-self: flex-end;
  background: var(--secondary-glow);
  border: 1px solid var(--secondary-color);
  color: var(--text-main);
  border-bottom-right-radius: 0;
}

.ai-typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 16px;
}

.ai-typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingGlow 1.2s infinite ease-in-out;
}

.ai-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingGlow {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); background-color: var(--primary-color); }
}

.ai-response-text {
  animation: slideUp 0.3s ease forwards;
}

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

.ai-response-text p {
  margin-bottom: 8px;
}

.ai-response-text ul {
  padding-left: 16px;
  margin-bottom: 8px;
}

.ai-response-text li {
  list-style-type: disc;
  margin-bottom: 4px;
}

.ai-disclaimer {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 6px;
  margin-top: 6px;
}

.ai-content h2 {
  font-size: 2.5rem;
  margin-top: 20px;
  margin-bottom: 18px;
}

.ai-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai-f-icon {
  background: var(--primary-glow);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.ai-feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* 12. Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--secondary-color);
  opacity: 0.03;
  filter: blur(50px);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  pointer-events: none;
}

.pricing-card.recommended {
  border-color: var(--primary-color);
  transform: scale(1.03);
}

.pricing-card.recommended .card-glow {
  background: var(--primary-color);
  opacity: 0.08;
}

.plan-badge {
  background: var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 24px;
}

.recommended .plan-badge {
  background: var(--primary-color);
  color: hsl(222, 47%, 9%);
}

.plan-name {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.plan-price {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
}

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.plan-price .amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.plan-features li i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.plan-features li i.not-included {
  color: var(--text-muted);
  opacity: 0.3;
}

/* 13. Download Section */
.download-section {
  position: relative;
}

.download-container {
  display: flex;
  justify-content: center;
  text-align: center;
}

.download-content {
  max-width: 850px;
  width: 100%;
}

.download-content h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.download-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 44px;
}

.download-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.download-box {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.download-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-glow);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 1px solid var(--primary-color);
}

.download-box h3 {
  font-size: 1.4rem;
}

.download-box p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.file-size {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.store-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.store-btn {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 170px;
  transition: var(--transition-smooth);
}

.store-btn:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  background: var(--primary-glow);
}

.store-btn i {
  font-size: 1.5rem;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-text span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.store-text strong {
  font-size: 0.85rem;
}

/* 14. FAQ Accordion Section */
.faq-accordion-wrapper {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover, .faq-item.active {
  border-color: var(--border-color-glow);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
}

.faq-trigger i {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-trigger i {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-content {
  max-height: 0;
  padding: 0 24px;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 15. Footer */
.main-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links-col ul a:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icons a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.footer-bottom-container {
  display: flex;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 16. Mock Checkout Modal & Form Styling */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: rgba(9, 11, 19, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  width: 90%;
  max-width: 480px;
  padding: 36px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-color: var(--border-color-glow);
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-stage {
  display: none;
}

.modal-stage.active {
  display: block;
}

.modal-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.header-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: hsl(222, 47%, 9%);
}

.modal-header h3 {
  font-size: 1.35rem;
}

.modal-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.required {
  color: var(--accent-pink);
}

.form-group input {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-glow);
}

.form-group input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-row {
  display: flex;
  gap: 12px;
}

.col-8 { flex: 2; }
.col-4 { flex: 1; }

.input-tip {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.checkout-summary {
  background: hsla(222, 47%, 9%, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.summary-row.total-row {
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.total-row strong {
  color: var(--primary-color);
}

/* Stage 2: Loading */
.loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0;
  gap: 20px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

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

.loading-wrapper h4 {
  font-size: 1.2rem;
}

.loading-wrapper p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stage 3: Success */
.success-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  line-height: 1;
}

.success-wrapper h3 {
  font-size: 1.45rem;
}

.success-wrapper p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.serial-key-box {
  background: hsla(174, 90%, 45%, 0.08);
  border: 1px dashed var(--primary-color);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 8px;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.copy-btn:hover {
  transform: scale(1.1);
}

.copy-success-msg {
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: -12px;
}

.copy-success-msg.show {
  opacity: 1;
}

.next-steps-card {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
}

.next-steps-card h4 {
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.next-steps-card ol {
  padding-left: 16px;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
}

/* 17. Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-badge, .hero-ctas, .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 20px;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .pricing-card.recommended {
    transform: scale(1);
  }
}

@media (max-width: 860px) {
  .showcase-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .showcase-preview {
    order: -1;
  }
  
  .ai-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .main-nav, .nav-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.6rem;
  }
  
  .download-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-stats {
    gap: 20px;
    justify-content: space-around;
  }
  
  .showcase-tabs {
    gap: 8px;
  }
  
  .showcase-tab {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  
  .showcase-display {
    padding: 24px 16px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .modal-container {
    padding: 24px 16px;
  }
}

/* 18. Subpage Hero Layouts */
.subpage-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
}

.subpage-hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-main) 40%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subpage-hero p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* 19. Pricing Comparison Matrix */
.pricing-matrix-section {
  padding-top: 20px;
  padding-bottom: 60px;
}

.pricing-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-premium);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.comparison-table th, .comparison-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  background: hsla(222, 47%, 9%, 0.4);
}

.comparison-table tr:hover td {
  background: hsla(222, 47%, 20%, 0.25);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-main);
}

.comparison-table td:not(:first-child) {
  text-align: center;
  color: var(--text-muted);
}

.comparison-table td i.success-icon {
  color: var(--primary-color);
}

.comparison-table td i.error-icon {
  color: var(--text-muted);
  opacity: 0.25;
}

/* Add-ons Matrix styling */
.addons-section {
  padding-bottom: 80px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.addon-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-card h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.addon-card h3 i {
  color: var(--primary-color);
}

.addon-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* 20. Lead Capture Forms styling */
.contact-section {
  padding-bottom: 80px;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-height: 120px;
  resize: vertical;
  transition: var(--transition-smooth);
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-glow);
}

.contact-form select {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.form-success-wrapper {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fadeIn 0.4s ease;
}

.form-success-wrapper i {
  font-size: 3.5rem;
  color: var(--primary-color);
}

/* 21. Module Detail Layouts */
.module-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}

.module-detail-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.module-detail-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-list-item i {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-list-item strong {
  display: block;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 2px;
}

.feature-list-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.module-detail-visual {
  display: flex;
  justify-content: center;
}

.ai-speedup-card {
  border-color: var(--border-color-glow);
  padding: 24px;
  margin-bottom: 24px;
}

.ai-speedup-card h3 {
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sync-protection-card {
  border-color: var(--secondary-color);
  padding: 24px;
}

.sync-protection-card h3 {
  color: var(--secondary-color);
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 22. Trust Bullets styling */
.hero-trust-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.trust-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-bullet i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* 23. Download Center Styles */
.download-subpage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 80px;
}

.download-subpage-card {
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.download-subpage-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-glow);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.download-subpage-card h3 {
  font-size: 1.25rem;
}

.download-subpage-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.download-subpage-card .info-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: hsla(222, 47%, 9%, 0.4);
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* 24. Legal / Documentation layout */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content li {
  list-style-type: disc;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .download-subpage-grid {
    grid-template-columns: 1fr;
  }
  
  .module-detail-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .module-detail-visual {
    order: -1;
  }
  
  .hero-trust-bullets {
    grid-template-columns: 1fr;
  }
}

/* 25. Header Navigation Dropdowns */
.nav-dropdown-trigger {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: var(--shadow-premium);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  z-index: 110;
  text-align: left;
}

body.light-theme .nav-dropdown {
  background: var(--bg-surface);
}

.nav-dropdown-trigger:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(4px);
}

.nav-dropdown li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  font-weight: 500;
}

.nav-dropdown li a:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

/* 26. Compliance Trust Blocks */
.trust-disclaimer-card {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  align-items: flex-start;
  border-color: var(--border-color-glow);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 24px;
  line-height: 1.5;
  text-align: left;
}

.compliance-notice-block {
  border-color: hsl(350, 75%, 60%);
  padding: 20px;
  background: hsla(350, 75%, 60%, 0.04);
  text-align: left;
  border-radius: var(--radius-sm);
  border-left: 3px solid hsl(350, 75%, 60%);
}

.compliance-notice-block .notice-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  color: hsl(350, 75%, 60%);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.compliance-notice-block p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0 !important;
}

.footer-partner-mark {
  margin-left: 16px;
  opacity: 0.6;
  font-size: 0.8rem;
}


