/* ArkStar Business Card — business-card.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --card-bg: #000000;
    --card-fg: #ffffff;
    --bc-bg:   #1a1a1a;
    --bc-fg:   #ffffff;
}

html, body {
    background: var(--card-bg);
    color: var(--card-fg);
    font-family: 'Montserrat', -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ── BROADCAST BANNER ─────────────────────── */
.ak-broadcast {
    background: var(--bc-bg);
    color: var(--bc-fg);
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    line-height: 1.5;
}

/* ── TOP ACTION BAR ───────────────────────── */
.ak-top-bar {
    display: flex;
    background: #111111;
    border-bottom: 1px solid #222;
}

.ak-top-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-right: 1px solid #222;
    transition: background 0.2s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-bottom: none;
    border-left: none;
    font-family: 'Montserrat', sans-serif;
}
.ak-top-btn:last-child { border-right: none; }
.ak-top-btn:active { background: #1a1a1a; }
.ak-top-btn svg { width: 20px; height: 20px; fill: #ffffff; }

/* ── LOGO AT TOP ──────────────────────────── */
.ak-logo-top {
    display: block;
    background: var(--card-bg);
    width: 100%;
    line-height: 0;
}
.ak-logo-top-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    object-position: center;
}

/* ── TAGLINE STRIP ────────────────────────── */
.ak-tagline-strip {
    text-align: center;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    border-bottom: 1px solid #1a1a1a;
    text-transform: uppercase;
}

/* ── CARD BODY ────────────────────────────── */
.ak-card {
    max-width: 540px;
    margin: 0 auto;
    padding: 32px 24px 120px;
}

/* ── PHOTO ────────────────────────────────── */
.ak-photo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.ak-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid #ffffff;
    display: block;
}

/* ── NAME ─────────────────────────────────── */
.ak-name-wrap {
    text-align: center;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.ak-name {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.ak-designation {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
}

/* ── TITLE ────────────────────────────────── */
.ak-title {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ── DIVIDER ──────────────────────────────── */
.ak-divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 20px 0;
}

/* ── BIO ──────────────────────────────────── */
.ak-bio-wrap {
    margin-bottom: 16px;
    text-align: center;
}
.ak-bio-toggle {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 2px;
    margin-bottom: 0;
    transition: background .2s, border-color .2s;
}
.ak-bio-toggle:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.ak-bio-text {
    display: none;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-top: 14px;
    text-align: center;
}
.ak-bio-text.ak-bio-open { display: block; }

/* ── FFC ──────────────────────────────────── */
.ak-ffc {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 6px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── CONTACT DETAILS ──────────────────────── */
.ak-contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px;
}
.ak-contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}
.ak-contact-line:active { background: rgba(255,255,255,0.12); }
.ak-contact-line svg { width: 18px; height: 18px; fill: #ffffff; flex-shrink: 0; }

/* ── SECTION HEADING ──────────────────────── */
.ak-section-heading {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 14px;
    text-align: center;
}

/* ── ACTION GRID ──────────────────────────── */
.ak-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 4px;
}
.ak-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s, border-color 0.2s;
}
.ak-action-btn:active,
.ak-action-btn:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }
.ak-action-btn svg { width: 24px; height: 24px; fill: #ffffff; }

/* ── SOCIAL ICONS ─────────────────────────── */
.ak-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.ak-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s;
}
.ak-social-icon:active { background: rgba(255,255,255,0.1); }
.ak-social-icon svg { width: 20px; height: 20px; fill: #ffffff; stroke: none; }

/* ── QR CODE ──────────────────────────────── */
.ak-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.ak-qr {
    width: 120px;
    height: 120px;
    display: block;
    border: 3px solid rgba(255,255,255,0.15);
}
.ak-qr-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

/* ── PPRA LINE ────────────────────────────── */
.ak-ppra {
    text-align: center;
    font-size: 10px;
    color: rgba(255,255,255,0.25);
    line-height: 1.5;
    margin-bottom: 8px;
}

/* ── STICKY BOTTOM BAR ────────────────────── */
.ak-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    background: #111111;
    border-top: 1px solid #2a2a2a;
    padding-bottom: env(safe-area-inset-bottom);
}
.ak-sticky-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 4px;
    color: #ffffff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-right: 1px solid #222;
    transition: background 0.15s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-bottom: none;
    border-left: none;
    font-family: 'Montserrat', sans-serif;
}
.ak-sticky-btn:last-child { border-right: none; }
.ak-sticky-btn:active { background: #1a1a1a; }
.ak-sticky-btn svg { width: 20px; height: 20px; fill: #ffffff; }

/* ── SHARE MODAL ──────────────────────────── */
.ak-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.85);
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}
.ak-modal-overlay.open { display: flex; }
.ak-modal {
    background: #111111;
    border: 1px solid #2a2a2a;
    border-bottom: none;
    width: 100%;
    max-width: 540px;
    padding: 28px 24px 32px;
    position: relative;
    border-radius: 12px 12px 0 0;
}
.ak-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    font-family: sans-serif;
}
.ak-modal h3 { font-size: 18px; font-weight: 800; color: #ffffff; margin-bottom: 4px; }
.ak-modal-subtitle { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.ak-share-url-row { display: flex; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.15); }
.ak-share-url-row input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: none;
    color: rgba(255,255,255,0.7);
    padding: 12px 14px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
}
.ak-share-url-row button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}
.ak-share-url-row button:active { background: #dddddd; }
.ak-share-options { display: flex; gap: 10px; }
.ak-share-opt {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    transition: background 0.2s;
}
.ak-share-opt:active { opacity: 0.8; }
.ak-share-opt svg { width: 22px; height: 22px; fill: #ffffff; }
.ak-share-wa  { border-color: #25D366; }
.ak-share-fb  { border-color: #1877F2; }
.ak-share-email { border-color: rgba(255,255,255,0.2); }

/* ── DESKTOP ──────────────────────────────── */
@media (min-width: 600px) {
    .ak-card { padding: 40px 40px 120px; }
    .ak-photo { width: 150px; height: 150px; }
    .ak-name { font-size: 32px; }
    .ak-action-grid { grid-template-columns: repeat(3, 1fr); }
    .ak-modal { border-radius: 12px; border-bottom: 1px solid #2a2a2a; bottom: auto; }
    .ak-modal-overlay { align-items: center; }
}
