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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    min-height: 100vh;
    color: #fff;
}

.blue-header {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #4A90E2 0%, #5BA3F5 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 510px;
    margin: 0 auto;
    padding: 60px 20px 20px;
}

.profile-card {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 40px 30px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: -80px auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    color: #fff;
}

.profile-title {
    font-size: 15px;
    text-align: center;
    color: #999;
    margin-bottom: 24px;
}

.top-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.offline-btn,
.send-card-btn {
    background: transparent;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
}

.offline-btn svg,
.send-card-btn svg {
    width: 24px;
    height: 24px;
}

.save-contact-btn {
    background: #4A90E2;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-contact-btn:hover {
    background: #5BA3F5;
    transform: translateY(-1px);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
}

.action-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.action-icon.call {
    background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
}

.action-icon.email {
    background: linear-gradient(135deg, #4A90E2 0%, #5BA3F5 100%);
}

.action-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.action-icon.map {
    background: linear-gradient(135deg, #FF9500 0%, #FF6B00 100%);
}

.quick-action span {
    font-size: 13px;
    color: #fff;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-btn {
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-btn:hover {
    background: #5BA3F5;
    transform: translateX(4px);
}

.link-btn i {
    font-size: 18px;
}

.footer {
    background: #000;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.taggo-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #1a1a1a;
    padding: 20px 24px;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
}

.taggo-connect {
    flex: 1;
}

.connect-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.connect-subtitle {
    font-size: 13px;
    color: #999;
}

.exchange-btn {
    background: #4A90E2;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.qr-section {
    text-align: center;
}

.qr-section p {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.qr-code {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    display: inline-block;
}

@media (max-width: 640px) {
    .profile-card {
        padding: 40px 20px 24px;
    }
    
    .quick-actions {
        gap: 16px;
    }
    
    .action-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
    
    .footer-actions {
        flex-direction: column;
        text-align: center;
    }
    
    .exchange-btn {
        width: 100%;
    }
}
