:root {
    --primary: #1e3a8a; /* Deep Blue (Blue 900) */
    --primary-dark: #172554; /* Navy (Blue 950) */
    --primary-glow: rgba(30, 58, 138, 0.3);
    --secondary: #f3f4f6;
    --text-main: #0f172a;
    --text-muted: #475569;
    --white: #ffffff;
    --bg-body: #020617; /* Darkest Navy */
}

body {
    background-color: var(--bg-body);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(30, 58, 138, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.15) 0%, transparent 40%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card-wrapper {
    background: var(--white);
    width: 100%;
    max-width: 400px;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

@media (min-width: 450px) {
    .card-wrapper {
        min-height: auto;
        border-radius: 32px;
        overflow: hidden;
        height: auto;
    }
}

.header-bg {
    height: 180px;
    background: linear-gradient(135deg, #020617 0%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative tech patterns */
.header-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 20px 20px;
}

.header-bg::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 200px; height: 200px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.3;
}

.content {
    padding: 0 24px 40px;
    position: relative;
    margin-top: -80px;
}

.avatar-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 40px; /* Squircle style */
    padding: 6px;
    background: var(--white);
    margin: 0 auto 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.avatar-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    object-fit: cover;
}

.info {
    text-align: center;
    margin-bottom: 32px;
}

.info h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
    letter-spacing: -0.025em;
}

.info .title {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info .company {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.action-btn.primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 15px -3px var(--primary-glow);
}

.action-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px var(--primary-glow);
}

.action-btn.secondary {
    background: var(--white);
    color: var(--text-main);
    border-color: #e5e7eb;
}

.action-btn.secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.action-btn .icon {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.action-btn span {
    font-size: 0.85rem;
    font-weight: 700;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background: #f9fafb;
    border-color: var(--primary);
    transform: translateX(4px);
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 16px;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.phone { background: linear-gradient(135deg, #0f172a, #1e3a8a); }
.email { background: linear-gradient(135deg, #1e3a8a, #1d4ed8); }
.map { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.web { background: linear-gradient(135deg, #2563eb, #3b82f6); }

.details {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.value {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
}

.qr-section {
    text-align: center;
    padding: 32px 20px 0;
    border-top: 1px dashed #e5e7eb;
    background-image: radial-gradient(circle at 50% 100%, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
}

.qr-code {
    width: 140px;
    height: 140px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    padding: 12px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.qr-section p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

