@font-face {
      font-family: 'Inter';
      font-style: normal;
      font-weight: 100 900;
      font-display: swap;
      src: url('/fonts/inter-latin.woff2') format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

    @font-face {
      font-family: 'Fira Code';
      font-style: normal;
      font-weight: 300 700;
      font-display: swap;
      src: url('/fonts/fira-code-latin.woff2') format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

    :root {
      --bg: #07090e;
      --card-bg: rgba(13, 17, 26, 0.85);
      --card-border: rgba(56, 189, 248, 0.18);
      --card-border-hover: rgba(56, 189, 248, 0.45);
      --text-main: #f1f5f9;
      --text-muted: #cbd5e1;
      --text-dim: #94a3b8;
      --accent-cyan: #38bdf8;
      --accent-green: #10b981;
      --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }

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

    body {
      min-height: 100vh;
      background-color: var(--bg);
      color: var(--text-main);
      font-family: var(--font-sans);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      position: relative;
      overflow-x: hidden;
      background-image: 
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
        radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
      background-size: 100% 100%, 100% 100%, 28px 28px;
    }

    .grid-glow {
      position: fixed;
      inset: 0;
      pointer-events: none;
      background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(56, 189, 248, 0.05), transparent 80%);
      z-index: 0;
    }

    .card {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 460px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 24px;
      padding: 3rem 2.25rem 2.5rem 2.25rem;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
      transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
      animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
      text-align: center;
    }

    .card:hover {
      border-color: var(--card-border-hover);
      box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 30px -5px rgba(56, 189, 248, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
      transform: translateY(-2px);
    }

    /* Profile Photo */
    .avatar-wrapper {
      position: relative;
      width: 110px;
      height: 110px;
      margin: 0 auto 1.75rem auto;
    }

    .avatar-wrapper picture {
      display: block;
      width: 100%;
      height: 100%;
    }

    .avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      border: 2px solid rgba(56, 189, 248, 0.35);
      box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(56, 189, 248, 0.2);
      display: block;
      transition: transform 0.3s ease, border-color 0.3s ease;
    }

    .avatar-wrapper:hover .avatar-img {
      transform: scale(1.03);
      border-color: var(--accent-cyan);
    }

    /* Identity Section */
    .identity {
      margin-bottom: 2rem;
    }

    .name {
      font-size: 2.15rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text-main);
      margin-bottom: 0.5rem;
      line-height: 1.15;
    }

    .role {
      font-size: 1.05rem;
      font-weight: 500;
      color: var(--accent-cyan);
      font-family: var(--font-mono);
      letter-spacing: -0.01em;
      margin-bottom: 1.1rem;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .role-prefix {
      color: var(--text-dim);
    }

    .location-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.03);
      padding: 0.45rem 0.95rem;
      border-radius: 9999px;
      border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .status-dot {
      position: relative;
      width: 8px;
      height: 8px;
      background-color: var(--accent-green);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--accent-green);
    }

    .status-dot::after {
      content: "";
      position: absolute;
      inset: -3px;
      border-radius: 50%;
      border: 1px solid var(--accent-green);
      animation: pulse 2s infinite ease-out;
    }

    /* Actions & Buttons */
    .actions {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      width: 100%;
      padding: 0.9rem 1.25rem;
      border-radius: 14px;
      font-size: 0.925rem;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      border: none;
      font-family: var(--font-sans);
    }

    .btn:focus-visible {
      outline: 2px solid var(--accent-cyan);
      outline-offset: 3px;
      box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
    }

    .btn-primary {
      background: linear-gradient(135deg, #0a84c6 0%, #00669c 100%);
      color: #ffffff;
      box-shadow: 0 4px 14px rgba(0, 119, 181, 0.35);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #1397de 0%, #0073af 100%);
      box-shadow: 0 6px 20px rgba(0, 119, 181, 0.5);
      transform: translateY(-1px);
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-muted);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-family: var(--font-mono);
      font-size: 0.85rem;
      font-weight: 500;
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.08);
      color: var(--text-main);
      border-color: rgba(255, 255, 255, 0.18);
      transform: translateY(-1px);
    }

    .btn-secondary.copied {
      background: rgba(16, 185, 129, 0.12);
      border-color: rgba(16, 185, 129, 0.45);
      color: var(--accent-green);
      box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
    }

    .btn svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    .btn-primary svg {
      fill: currentColor;
    }

    .btn-secondary svg {
      fill: none;
      stroke: currentColor;
    }

    .icon-check {
      display: none;
    }

    .btn-secondary.copied .icon-mail {
      display: none;
    }

    .btn-secondary.copied .icon-check {
      display: block;
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background: #10b981;
      color: #032014;
      font-weight: 600;
      font-size: 0.85rem;
      padding: 0.6rem 1.25rem;
      border-radius: 9999px;
      box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 100;
      pointer-events: none;
      font-family: var(--font-sans);
    }

    .toast.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }

    @keyframes pulse {
      0% { transform: scale(1); opacity: 0.8; }
      100% { transform: scale(2.2); opacity: 0; }
    }

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

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .status-dot::after {
        display: none;
      }
    }

    @media (forced-colors: active) {
      .btn,
      .location-tag,
      .card {
        border: 2px solid ButtonBorder;
      }
    }

    @media (max-width: 480px) {
      .card {
        padding: 2.25rem 1.5rem 2rem 1.5rem;
        border-radius: 20px;
      }
      .name {
        font-size: 1.85rem;
      }
      .role {
        font-size: 0.95rem;
      }
      .avatar-wrapper {
        width: 96px;
        height: 96px;
        margin-bottom: 1.25rem;
      }
    }
