:root {
  /* Warm Modern Palette */
  --bg: oklch(98.5% 0.008 60);
  --surface: oklch(100% 0 0);
  --fg: oklch(25% 0.015 60);
  --muted: oklch(65% 0.015 60);
  --border: oklch(94% 0.01 60);
  --accent: oklch(75% 0.12 150);
  --accent-soft: oklch(94% 0.03 150);
  
  /* Status Colors */
  --status-info: oklch(70% 0.12 250);
  --status-success: oklch(75% 0.15 145);
  --status-warning: oklch(80% 0.12 85);
  --status-error: oklch(65% 0.15 25);

  /* Spacing & Radius */
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
}

/* iOS Specific resets */
button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.iphone-screen {
  width: 390px;
  height: 844px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.status-bar {
  height: 47px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}

.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  background: var(--fg);
  border-radius: 100px;
  opacity: 0.2;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 8px 24px oklch(0% 0 0 / 0.04);
  border: 1px solid var(--border);
}

.nav-bar {
  height: 84px;
  background: oklch(100% 0 0 / 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 24px; /* safe area */
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.nav-item.active {
  color: var(--accent);
}

.nav-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px 20px;
}

/* Utility */
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 24px; }

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.text-muted { color: var(--muted); }
.text-small { font-size: 13px; }
.badge {
  padding: 4px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
