body { background: #f5f5f5; }
    .profile-container { max-width: 900px; margin: 8px auto 2rem; padding: 0 16px; }

    .profile-header { background: white; border-radius: 8px; padding: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 2rem; }
    .header-top { display: grid; grid-template-columns: 120px 1fr auto; gap: 2rem; align-items: flex-start; margin-bottom: 2rem; }

    .avatar { width: 120px; height: 120px; border-radius: 50%; background: #0a66c2; color: white; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 700; }

    .profile-info h1 { margin: 0; font-size: 1.8rem; font-weight: 700; color: #0a66c2; }
    .profile-info p { margin: 0.5rem 0 0; color: #666; font-size: 1rem; }
    .profile-meta { display: flex; gap: 2rem; margin-top: 1rem; color: #666; font-size: 0.95rem; }
    .profile-meta span { display: flex; align-items: center; gap: 0.5rem; }

    .edit-btn { padding: 0.75rem 1.5rem; background: #0a66c2; color: white; border: none; border-radius: 20px; cursor: pointer; font-weight: 600; }
    .edit-btn:hover { background: #0855b7; }

    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
    .stat-card { background: white; padding: 1.5rem; border-radius: 8px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
    .stat-number { font-size: 1.8rem; font-weight: 700; color: #0a66c2; }
    .stat-label { color: #666; font-size: 0.9rem; margin-top: 0.5rem; }

    .skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
    .skill-card {
      background: white;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      transition: all 0.2s ease;
    }
    .skill-card:hover {
      border-color: #0a66c2;
      box-shadow: 0 4px 12px rgba(10,102,194,0.1);
    }
    .skill-diamond {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, #0a66c2 0%, #0891b2 100%);
      transform: rotate(45deg);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      font-size: 1.2rem;
      flex-shrink: 0;
    }
    .skill-info {
      flex: 1;
      min-width: 0;
    }
    .skill-name {
      font-weight: 600;
      color: #0f172a;
      font-size: 0.95rem;
      margin-bottom: 0.5rem;
    }
    .skill-bar {
      height: 6px;
      background: #e5e7eb;
      border-radius: 3px;
      overflow: hidden;
      position: relative;
    }
    .skill-fill {
      height: 100%;
      background: linear-gradient(90deg, #10b981 0%, #0a66c2 100%);
      border-radius: 3px;
      transition: width 0.4s ease;
    }
    .skill-score {
      font-size: 11px;
      color: #64748b;
      margin-top: 0.4rem;
      font-weight: 500;
    }

    .languages-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
    }
    .language-badge {
      background: white;
      border: 2px solid #e5e7eb;
      border-radius: 8px;
      padding: 1rem;
      text-align: center;
      transition: all 0.2s ease;
    }
    .language-badge:hover {
      border-color: #0a66c2;
      box-shadow: 0 4px 12px rgba(10,102,194,0.1);
    }
    .language-name {
      font-weight: 600;
      color: #0f172a;
      margin-bottom: 0.5rem;
      font-size: 1rem;
    }
    .language-proficiency {
      display: inline-block;
      background: #0a66c2;
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 12px;
      font-size: 0.8rem;
      font-weight: 500;
    }

    .section { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 2rem; }
    .section-title { font-size: 1.2rem; font-weight: 700; color: #0a66c2; margin: 0 0 1.5rem; }

    .badge-container { display: flex; flex-wrap: wrap; gap: 0.75rem; }
    .badge { background: #f3f5f7; padding: 0.5rem 1rem; border-radius: 20px; color: #0a66c2; font-weight: 500; font-size: 0.9rem; }

    .bio { color: #333; line-height: 1.6; }

    .referral-item { padding: 1rem 0; border-bottom: 1px solid #e5e7eb; display: grid; grid-template-columns: 1fr 100px; gap: 1rem; align-items: center; }
    .referral-item:last-child { border-bottom: none; }
    .referral-title { font-weight: 600; color: #0a66c2; }
    .referral-type { color: #666; font-size: 0.9rem; }
    .referral-value { text-align: right; font-weight: 600; color: #0a66c2; }

    @media (max-width: 768px) {
      .header-top { grid-template-columns: 80px 1fr; }
      .avatar { width: 80px; height: 80px; font-size: 2rem; }
      .profile-info h1 { font-size: 1.5rem; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .edit-btn { width: 100%; }
    }
