/* Developer-inspired business card styles
   Recommended: add this in your HTML head:
   <link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap" rel="stylesheet">
   (or use JetBrains Mono / Source Code Pro)
*/

:root {
    /* Fonts */
    --mono: 'Fira Code', 'JetBrains Mono', 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', monospace;

    /* Shape tokens */
    --sharp: 6px;
    --soft: 10px;
    --round: 999px;

    /* Colors */
    --bg: #071126;
    /* deep navy background */
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    --surface: rgba(255, 255, 255, 0.03);
    --muted: rgba(230, 230, 230, 0.6);
    --text: #e6f1ff;
    --accent: #64ffda;
    /* developer-green/teal accent */
    --accent-2: #00bfa5;
    --border: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.02);

    /* Sizing */
    --card-padding: 32px;
    --card-width: 680px;
    --avatar-size: 180px;

    /* Misc */
    --glass-blur: 6px;
}

/* Page background and base text */
html,
body {
    height: 100%;
    margin: 0;
    padding: 24px;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(100, 255, 218, 0.03), transparent),
        linear-gradient(180deg, #05101a 0%, var(--bg) 100%);
    color: var(--text);
    font-family: var(--mono);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Generic card container — apply to your business card element */
.card {
    width: min(96%, var(--card-width));
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.1), 0 10px 40px rgba(3, 8, 15, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: var(--card-padding);
    display: grid;
    grid-template-columns: var(--avatar-size) 1fr;
    gap: 32px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0.5deg);
    }

    50% {
        transform: translateY(-15px) rotate(-0.5deg);
        box-shadow: 0 0 30px rgba(100, 255, 218, 0.2), 0 25px 60px rgba(3, 8, 15, 0.9);
    }
}

/* subtle accent stripe on the left */
.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

/* Avatar */
.card img {
    width: var(--avatar-size);
    height: var(--avatar-size);
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(3, 8, 15, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.08));
    display: block;
}

/* Right side content */
.card .meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Name — prominent */
.card .name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin: 0;
}

/* Role — muted and monospace / small caps feel */
.card .role {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-weight: 600;
}

/* small "terminal" style line with handle and badges */
.card .info {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* Links styled like inline code / terminals */
.card a,
.card .tag {
    color: var(--accent);
    background: rgba(100, 255, 218, 0.03);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    text-decoration: none;
    border: 1px solid rgba(100, 255, 218, 0.08);
    box-shadow: 0 2px 6px rgba(2, 6, 10, 0.45);
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms;
}

/* Slight hover lift for interactive feel */
.card a:hover,
.card .tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2, 6, 10, 0.55);
    background: rgba(100, 255, 218, 0.06);
}

.card .links {
    margin-top: 8px;
    display: flex;
    gap: 12px;
}

/* "Code" block for things like email / website — looks like a small terminal line */
.card .code {
    font-family: var(--mono);
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.28);
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.02);
    display: inline-block;
    white-space: nowrap;
}

/* Badge for tech or languages */
.badge {
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Inputs and buttons — match the terminal look */
.newsletter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

input {
    display: block;
    width: 220px;
    box-sizing: border-box;
    padding: 8px 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.06);
    color: var(--text);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 0.9rem;
    outline: none;
    transition: box-shadow 120ms ease, transform 120ms ease;
}

input:focus {
    box-shadow: 0 6px 18px rgba(100, 255, 218, 0.06);
    transform: translateY(-2px);
    border-color: var(--accent);
}

/* placeholder color */
::placeholder {
    color: rgba(230, 230, 230, 0.45);
}

/* Buttons */
button {
    border-radius: 8px;
    padding: 8px 12px;
    border: none;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #01221a;
    font-weight: 700;
    box-sizing: border-box;
    display: inline-block;
    margin: 8px 0;
    cursor: pointer;
    font-family: var(--mono);
    width: auto;
    transition: transform 120ms ease, filter 120ms ease;
    box-shadow: 0 8px 20px rgba(2, 6, 10, 0.45);
    white-space: nowrap;
}

button:hover {
    transform: translateY(-3px);
    filter: brightness(1.03);
}

/* Small responsive tweaks */
@media (max-width: 680px) {
    .card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 24px;
        gap: 20px;
    }

    .card .info,
    .card .links,
    .newsletter {
        justify-content: center;
    }

    .card img {
        width: 140px;
        height: 140px;
    }

    .card .name {
        font-size: 1.4rem;
    }
}

/* End of developer-inspired CSS */