/* Digital Business Card - Simplified Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.digital-card {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#neural-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.card-container {
    width: 400px;
    min-width: 400px;
    border: 2px solid white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 10;
    position: relative;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.profile-image {
    position: relative;
    margin-bottom: 12px;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.profile-info {
    text-align: center;
}

h1, .profile-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 45px;
    color: #1e293b;
    margin-bottom: 6px;
    letter-spacing: -0.025em;
}

h2, .profile-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 33px;
    color: #64748b;
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

.contact-section {
    margin-bottom: 20px;
}

.contact-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-item:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.contact-item i {
    color: #3b82f6;
    font-size: 16px;
    min-width: 24px;
    width: 24px;
    flex-shrink: 0;
    text-align: center;
}

.contact-details {
    flex: 1;
    text-align: left;
    min-width: 0;
    overflow: hidden;
}

.contact-details a {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    word-break: break-word;
    overflow-wrap: break-word;
    display: block;
    line-height: 18px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: #3b82f6;
}

.action-section {
    margin-bottom: 16px;
}

.vcard-download {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3), 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 12px;
    overflow: hidden;
    min-width: 200px;
    height: 52px;
    backdrop-filter: blur(10px);
}

.vcard-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.vcard-download::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    animation: pulseGlow 3s ease-in-out infinite;
}

.vcard-download i {
    transition: transform 0.3s ease;
    animation: bounce 2s ease-in-out infinite;
}

.vcard-download span {
    position: relative;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vcard-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4), 0 8px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.vcard-download:hover::before {
    left: 100%;
}

.vcard-download:hover i {
    transform: translateY(-2px) rotate(5deg);
    animation-play-state: paused;
}

.vcard-download:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3), 0 2px 5px rgba(0, 0, 0, 0.1);
}

.vcard-download.downloading {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation: downloadPulse 0.6s ease-in-out;
}

.vcard-download.success {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    animation: successBounce 0.8s ease-out;
}

.vcard-download.success i::before {
    content: '✓';
    font-family: inherit;
    font-style: normal;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.social-btn i {
    font-size: 18px;
}

.company-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-logo-link {
    cursor: pointer;
    padding: 8px;
}

.company-logo-large {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.tech-icon,
.data-particle {
    will-change: transform, opacity;
    contain: layout style;
}

.card-container {
    will-change: transform;
    contain: layout style paint;
}

.mobile-optimized .tech-icon {
    animation-duration: 8s !important;
}

.mobile-optimized .data-particle {
    display: none;
}