:root {
    --bg: #0a0a0f;
    --bg-2: #0f0f1a;
    --card: rgba(255, 255, 255, 0.04);
    --card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(139, 92, 246, 0.4);
    --text: #e8e8f0;
    --text-dim: #9ca3af;
    --accent: #8b5cf6;
    --accent-2: #06b6d4;
    --accent-3: #ec4899;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
  }

  /* Animated gradient background */
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
      radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15), transparent 40%),
      radial-gradient(circle at 80% 60%, rgba(6, 182, 212, 0.12), transparent 40%),
      radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.1), transparent 40%);
    z-index: 0;
    animation: drift 20s ease-in-out infinite alternate;
  }

  @keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 20px) scale(1.05); }
  }

  /* Subtle grid overlay */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
  }

  .section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 140px;
  }

  /* Header */
  .section > h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeUp 0.8s ease-out;
  }

  .section > h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin-top: 20px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
  }

  /* Timeline */
  .timeline {
    position: relative;
    margin-top: 80px;
    padding-left: 40px;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      var(--accent) 10%,
      var(--accent-2) 50%,
      var(--accent-3) 90%,
      transparent 100%
    );
    opacity: 0.5;
  }

  .timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 32px 36px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeUp 0.8s ease-out backwards;
    overflow: hidden;
  }

  .timeline-item:nth-child(1) { animation-delay: 0.1s; }
  .timeline-item:nth-child(2) { animation-delay: 0.25s; }
  .timeline-item:nth-child(3) { animation-delay: 0.4s; }

  .timeline-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(
      600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(139, 92, 246, 0.08),
      transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }

  .timeline-item:hover::before { opacity: 1; }

  .timeline-item:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateX(8px);
    box-shadow:
      0 20px 60px -20px rgba(139, 92, 246, 0.3),
      0 0 0 1px rgba(139, 92, 246, 0.1);
  }

  /* Timeline dot */
  .timeline-item::after {
    content: '';
    position: absolute;
    left: -44px;
    top: 36px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
    transition: all 0.3s;
  }

  .timeline-item:nth-child(2)::after { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15); }
  .timeline-item:nth-child(3)::after { border-color: var(--accent-3); box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15); }

  .timeline-item:hover::after {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.2);
  }

  .timeline-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .timeline-item:nth-child(1) h3::before { content: '🏢'; }
  .timeline-item:nth-child(2) h3::before { content: '🏥'; }
  .timeline-item:nth-child(3) h3::before { content: '💼'; }

  .timeline-item p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 60ch;
  }

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

  /* Responsive */
  @media (max-width: 640px) {
    .section { padding: 60px 20px 80px; }
    .timeline { padding-left: 30px; }
    .timeline-item::after { left: -34px; }
    .timeline-item { padding: 24px; }
    .timeline-item h3 { font-size: 1.25rem; }
  }