:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-text: #1a1a2e;
  --color-text-secondary: #64748b;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-accent: #7A78FF;
  --color-accent-light: #eef2ff;
  --color-accent-secondary: #7FE6DB;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --max-width: 720px;
  --spacing-page: 24px;
}

[data-theme="dark"] {
  --color-bg: #0f0f1a;
  --color-surface: #1a1a2e;
  --color-text: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-border: #2d2d44;
  --color-accent-light: #1e1e3f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Header */
.about-header {
  position: sticky;
  top: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px var(--spacing-page);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.header-logo {
  width: 32px;
  height: 32px;
}

.header-logo svg {
  width: 100%;
  height: 100%;
}

.header-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.header-title span {
  color: #ec4899;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--color-text);
}

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

/* Main Content */
.about-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px var(--spacing-page) 120px;
}

/* Page Header */
.page-header {
  margin-bottom: 48px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-header .lead {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Content Sections */
.content-section {
  margin-bottom: 56px;
}

.content-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.content-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  margin-top: 32px;
}

.content-section p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section ul {
  list-style: none;
  margin-bottom: 16px;
}

.content-section li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.content-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Beliefs/Values Grid */
.beliefs-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.belief-item {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.belief-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px 0;
}

.belief-item p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Navigation Cards */
.nav-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.nav-card {
  display: block;
  padding: 20px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(122, 120, 255, 0.1);
}

.nav-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 4px 0;
}

.nav-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Roadmap Styles */
.roadmap-section {
  margin-bottom: 48px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.roadmap-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.roadmap-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.roadmap-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.roadmap-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  margin-top: 0;
}

.roadmap-item p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.roadmap-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.roadmap-section.active .roadmap-status {
  background: #dcfce7;
  color: #166534;
}

.roadmap-section.planned .roadmap-status {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.roadmap-section.exploring .roadmap-status {
  background: #f1f5f9;
  color: #64748b;
}

.roadmap-section.exploring > p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

[data-theme="dark"] .roadmap-section.active .roadmap-status {
  background: #052e16;
  color: #4ade80;
}

[data-theme="dark"] .roadmap-section.exploring .roadmap-status {
  background: #1e293b;
  color: #94a3b8;
}

/* Changelog Styles */
.changelog-section {
  margin-bottom: 48px;
}

.changelog-entry {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.changelog-entry:first-child {
  padding-top: 0;
}

.changelog-entry:last-child {
  border-bottom: none;
}

.changelog-entry time {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.changelog-entry h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.changelog-entry p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Callout */
.callout {
  padding: 20px 24px;
  background: var(--color-accent-light);
  border-radius: 12px;
  border-left: 3px solid var(--color-accent);
  margin: 32px 0;
}

.callout p {
  color: var(--color-text);
  margin: 0;
  font-size: 0.9375rem;
}

.callout a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.callout a:hover {
  text-decoration: none;
}

/* Links in content */
.content-section a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-section a:hover {
  text-decoration: none;
}

/* Footer */
.about-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px var(--spacing-page);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-brand svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 640px) {
  .header-nav {
    display: none;
  }
  
  .about-main {
    padding: 40px var(--spacing-page) 80px;
  }
  
  .page-header {
    margin-bottom: 32px;
  }
  
  .content-section {
    margin-bottom: 40px;
  }
}
