:root {
  /* Colors - Soft, Dreamy, Medical-Futuristic */
  --zuno-bg-gradient: linear-gradient(135deg, #fdfcfb 0%, #e2d1f9 100%);
  --zuno-card-blue: #e0f2fe;
  --zuno-card-orange: #ffedd5;
  --zuno-card-purple: #f3e8ff;
  --zuno-card-green: #dcfce7;
  --zuno-text-primary: #1a1a1a;
  --zuno-text-secondary: #666666;
  --zuno-accent: #8b5cf6;
  --zuno-white: #ffffff;
  --zuno-glass: rgba(255, 255, 255, 0.6);
  --zuno-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  
  /* Spacing */
  --wf-space-xs: 8px;
  --wf-space-sm: 12px;
  --wf-space-md: 20px;
  --wf-space-lg: 32px;
  --wf-space-xl: 56px;
  --wf-border-radius: 32px;
  --wf-card-radius: 24px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--zuno-bg-gradient);
  color: var(--zuno-text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 450px; /* Mobile focused as per screenshots */
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--zuno-white);
  box-shadow: 0 0 100px rgba(0,0,0,0.1);
  overflow-y: auto;
  padding-bottom: 100px;
}

/* Header */
header {
  padding: var(--wf-space-lg) var(--wf-space-md) var(--wf-space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--zuno-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: transform 0.2s;
}

.icon-btn:hover {
  transform: scale(1.05);
}

.like-badge {
  background: var(--zuno-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--zuno-shadow);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: var(--wf-space-xl) var(--wf-space-md);
  position: relative;
}

.hero-subtitle {
  color: var(--zuno-text-secondary);
  font-size: 16px;
  margin-bottom: var(--wf-space-xs);
}

.hero-title {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--zuno-white);
  padding: 10px 20px;
  border-radius: 30px;
  margin-top: var(--wf-space-lg);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--zuno-shadow);
}

/* Filters/Chips */
.chips-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 var(--wf-space-md);
  margin-top: var(--wf-space-lg);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.chips-container::-webkit-scrollbar {
  display: none;
}

.chip {
  white-space: nowrap;
  padding: 12px 20px;
  background: var(--zuno-white);
  border-radius: 25px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* Cards Section */
.section-label {
  padding: var(--wf-space-lg) var(--wf-space-md) var(--wf-space-sm);
  font-size: 16px;
  font-weight: 400;
  color: var(--zuno-text-primary);
}

.horizontal-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 var(--wf-space-md) var(--wf-space-lg);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.card {
  min-width: 200px;
  height: 200px;
  border-radius: var(--wf-card-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.card:hover {
  transform: scale(1.02);
}

.card.orange { background-color: var(--zuno-card-orange); }
.card.blue { background-color: var(--zuno-card-blue); }
.card.purple { background-color: var(--zuno-card-purple); }
.card.green { background-color: var(--zuno-card-green); }

.card-title {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  z-index: 2;
}

.card-title span {
  color: var(--zuno-text-secondary);
  opacity: 0.6;
}

.card-icon-bg {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.2;
}

/* Documentation List (Index) */
.doc-list {
  padding: 0 var(--wf-space-md);
}

.doc-item {
  background: var(--zuno-white);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  border: 1px solid #f0f0f0;
  transition: transform 0.2s, border-color 0.2s;
}

.doc-item:hover {
  transform: translateY(-2px);
  border-color: var(--zuno-accent);
}

.doc-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-name {
  font-weight: 600;
  font-size: 16px;
}

.doc-purpose {
  font-size: 13px;
  color: var(--zuno-text-secondary);
}

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  background: var(--zuno-glass);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  padding: 16px 0 30px;
  border-top: 1px solid rgba(0,0,0,0.05);
  z-index: 100;
}

.nav-item {
  color: #999;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.nav-item.active {
  color: #1a1a1a;
}

.nav-main {
  background: #1a1a1a;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Utils */
.placeholder-image.abstract {
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(0,0,0,0.05));
  mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
}

.badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-new { background: #fee2e2; color: #ef4444; }
.badge-core { background: #e0e7ff; color: #4338ca; }
