/* card.css — standalone styles for card.html */

:root {
    --ink: #0a0a14;
    --paper: #f7f6f2;
    --accent: #3d52ff;
    --accent2: #00c896;
    --muted: #6b6b7a;
    --border: rgba(10,10,20,0.1);
    --card-bg: #ffffff;
  }

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

  body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--ink);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    position: relative;
    overflow-x: hidden;
  }

  /* Background grid texture */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(61,82,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(61,82,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }

  /* Subtle glow */
  body::after {
    content: '';
    position: fixed;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(61,82,255,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .card {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    background: #141628;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 32px 28px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(61,82,255,0.1);
  }

  /* Header */
  .header {
    text-align: center;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.1s forwards;
  }

  .avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #6b7fff);
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Lato', sans-serif;
    font-size: 26px; font-weight: 900;
    color: white;
    letter-spacing: -0.5px;
    box-shadow: 0 0 0 3px rgba(61,82,255,0.2), 0 0 32px rgba(61,82,255,0.3);
  }

  .name {
    font-family: 'Lato', sans-serif;
    font-size: 28px; font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .title {
    font-size: 14px; font-weight: 400;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 11px;
  }

  /* Contact actions */
  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.25s forwards;
  }

  .action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px; font-weight: 500;
    font-family: 'IBM Plex Sans', sans-serif;
    transition: transform 0.15s, box-shadow 0.15s;
    border: none; cursor: pointer;
  }

  .action-btn:active { transform: scale(0.97); }

  .btn-email {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(61,82,255,0.4);
  }
  .btn-email:hover { box-shadow: 0 8px 28px rgba(61,82,255,0.5); transform: translateY(-1px); }

  .btn-whatsapp {
    background: var(--accent2);
    color: white;
    box-shadow: 0 4px 20px rgba(0,200,150,0.3);
  }
  .btn-whatsapp:hover { box-shadow: 0 8px 28px rgba(0,200,150,0.4); transform: translateY(-1px); }

  .btn-linkedin {
    background: rgba(255,255,255,0.07);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    grid-column: 1 / -1;
  }
  .btn-linkedin:hover { background: rgba(255,255,255,0.11); transform: translateY(-1px); }

  .btn-save {
    background: rgba(255,255,255,0.07);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    grid-column: 1 / -1;
    font-size: 13px;
  }
  .btn-save:hover { background: rgba(255,255,255,0.11); }

  /* Ventures */
  .ventures {
    opacity: 0;
    animation: fadeUp 0.6s ease 0.4s forwards;
  }

  .ventures-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 12px;
    padding-left: 2px;
  }

  .venture {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 8px;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
  }

  .venture:last-child { margin-bottom: 0; }

  .venture:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(61,82,255,0.3);
    transform: translateX(3px);
  }

  .venture:active { transform: scale(0.99); }

  .venture-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
  }

  .v1 .venture-icon { background: rgba(61,82,255,0.2); }
  .v2 .venture-icon { background: rgba(0,200,150,0.15); }
  .v3 .venture-icon { background: rgba(255,180,0,0.15); }

  .venture-text { flex: 1; }

  .venture-name {
    font-family: 'Lato', sans-serif;
    font-size: 14px; font-weight: 700;
    color: white;
    line-height: 1.2;
  }

  .venture-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
    font-weight: 300;
  }

  .venture-arrow {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
    transition: color 0.15s;
  }

  .venture:hover .venture-arrow { color: rgba(61,82,255,0.7); }

  /* Footer */
  .footer {
    text-align: center;
    margin-top: 28px;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    opacity: 0;
    animation: fadeUp 0.6s ease 0.55s forwards;
  }

  /* Divider */
  .divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 20px 0;
  }

  .contact-details {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.35s forwards;
  }

  .contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    text-decoration: none;
    transition: opacity 0.15s;
  }
  .contact-row:last-child { border-bottom: none; }
  .contact-row:hover { opacity: 0.75; }

  .contact-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    width: 60px;
  }

  .contact-value {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    text-align: right;
  }

  /* Company details */
  .company-details {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.6s forwards;
  }

  .company-name {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .company-rows { display: flex; flex-direction: column; gap: 0; }

  .company-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.09);
  }
  .company-row:last-child { border-bottom: none; }

  .company-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    width: 70px;
  }

  .company-value {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    text-align: right;
    font-family: 'IBM Plex Sans', monospace;
  }

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

  /* Icon SVGs inline */
  .icon { width: 16px; height: 16px; flex-shrink: 0; }
  .toast {
    position: fixed; bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #00c896; color: white;
    padding: 10px 20px; border-radius: 20px;
    font-size: 13px; font-weight: 500;
    opacity: 0; transition: opacity 0.2s, transform 0.2s;
    pointer-events: none; z-index: 999;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }