
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
  --bg: #f1f4fa;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.78);
  --text: #0f172a;
  --text-2: #435068;
  --line: rgba(15, 23, 42, 0.075);
  --accent: #2563eb;
  --radius: 18px;
  color-scheme: light;
}
:root[data-mode="dark"] {
  --bg: #070a12;
  --surface: #0f1422;
  --surface-glass: rgba(15, 20, 34, 0.8);
  --text: #f1f5f9;
  --text-2: #a8b5cb;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #60a5fa;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; transition: background 0.3s, color 0.3s; }
.topbar { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; background: var(--surface-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 24px; height: 24px; color: var(--accent); }
.brand-text { display: flex; flex-direction: column; }
.title { font-weight: 700; font-size: 15px; letter-spacing: 0.05em; display: flex; align-items: baseline; gap: 4px; margin-bottom: 2px;}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.subtitle { font-size: 11px; color: var(--text-2); opacity: 0.9; }
.filters { display: flex; gap: 6px; background: rgba(15,23,42,0.04); padding: 4px; border-radius: 10px; border: 1px solid var(--line); }
:root[data-mode="dark"] .filters { background: rgba(255,255,255,0.04); }
.filters button { border: none; background: transparent; padding: 6px 14px; border-radius: 6px; font-size: 13px; color: var(--text-2); cursor: pointer; transition: all 0.2s; font-weight: 500; }
.filters button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.actions button { background: transparent; border: none; color: var(--text-2); cursor: pointer; padding: 8px; border-radius: 8px; display: grid; place-items: center; transition: background 0.2s; }
.actions button:hover { background: var(--line); }
.moon { width: 18px; height: 18px; }

main { max-width: 760px; margin: 48px auto; padding: 0 20px; }
.timeline-container { position: relative; border-left: 2px solid var(--line); padding-left: 36px; display: flex; flex-direction: column; gap: 24px; padding-bottom: 60px;}
.year-marker { position: relative; font-size: 24px; font-weight: 700; color: var(--text); margin: 32px 0 12px; display: flex; align-items: center; letter-spacing: 0.02em; }
.year-marker::before { content: ""; position: absolute; left: -44px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-sizing: border-box;}
.year-marker:first-child { margin-top: 0; }
.event-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 8px rgba(0,0,0,0.015); transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s; }
.event-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.05); border-color: var(--accent); }
:root[data-mode="dark"] .event-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.event-card::before { content: ""; position: absolute; left: -40.5px; top: 32px; width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background 0.3s, transform 0.3s; }
.event-card:hover::before { background: var(--accent); transform: scale(1.3); }
.event-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.event-title { display: flex; align-items: center; gap: 14px; }
.provider-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); padding: 5px; border: 1px solid var(--line); flex-shrink: 0;}
.provider-icon img { width: 100%; height: 100%; object-fit: contain; }
.model-info h3 { margin: 0 0 5px 0; font-size: 17px; color: var(--text); font-weight: 600; letter-spacing: 0.01em;}
.company-name { font-size: 13px; color: var(--text-2); font-weight: 500; background: var(--bg); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); display: inline-block;}
.event-date { font-size: 13.5px; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 4px;}
.event-desc { font-size: 14.5px; line-height: 1.65; color: var(--text-2); margin: 0; }

@media (max-width: 640px) {
  .timeline-container { padding-left: 24px; }
  .year-marker::before { left: -32px; }
  .event-card::before { left: -29.5px; }
  .topbar { padding: 0 16px; flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 12px;}
  .filters { width: 100%; order: 3; justify-content: center; }
}
