* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: #0b0b0c; 
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding-bottom: 90px;
}

#bg-video {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(35%);
}

body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 11, 12, 0.6); z-index: -1;
}

.container { max-width: 480px; margin: 0 auto; padding: 20px 15px; }

/* زرار الصوت */
.sound-btn {
    position: fixed; top: 20px; right: 20px; z-index: 1000;
    background: rgba(30, 30, 35, 0.65); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff;
    border-radius: 50%; width: 45px; height: 45px; cursor: pointer;
    display: flex; justify-content: center; align-items: center; font-size: 1.2rem; transition: 0.3s;
}

/* اسم الشركة */
.logo-text {
    font-size: 2rem; font-family: 'Georgia', serif; font-weight: 400;
    letter-spacing: 6px; 
    margin-bottom: 25px; color: #ffffff; line-height: 1.3;
}
.logo-subtext {
    font-size: 0.75rem; letter-spacing: 3px; font-family: sans-serif; color: #D4AF37; margin-top: 5px;
}

.header-section { text-align: center; padding: 30px 10px; }
.profile-img-container { width: 130px; height: 130px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255, 255, 255, 0.15); }
.profile-img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 1.8rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.5px; }
.company-name { font-size: 0.95rem; color: #a0a0a5; margin-bottom: 25px; line-height: 1.4; }

.btn-save-contact {
    display: inline-flex; align-items: center; gap: 10px; background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff; padding: 12px 35px; border-radius: 50px; text-decoration: none; font-size: 0.95rem;
    font-weight: 500; border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.3s ease;
}

.separator { border: 0; height: 1px; background: rgba(255, 255, 255, 0.1); margin: 25px 0; }

.info-section { padding: 10px 5px; }
.section-title { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 2px; color: #8e8e93; text-align: center; margin-bottom: 20px; }

.grid-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-item {
    background: rgba(30, 30, 35, 0.65); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px; padding: 20px 10px; text-align: center; text-decoration: none; color: #ffffff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.grid-item i { font-size: 1.6rem; }
.grid-item span { font-size: 0.8rem; font-weight: 300; color: #e5e5ea; }

.bio-card {
    background: rgba(30, 30, 35, 0.65); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px; padding: 22px; margin-top: 15px;
}
.bio-card-title { font-size: 1.15rem; font-weight: 500; margin-bottom: 12px; }
.bio-card-desc, .bio-card-desc-ar { font-size: 0.9rem; line-height: 1.6; color: #d1d1d6; margin-bottom: 15px; }
.bio-card-desc-ar { font-family: system-ui, -apple-system, sans-serif; }

/* إطار اللوجو داخل كارت السيرة الذاتية */
.logo-preview-container {
    width: 100%;
    height: 180px; 
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #ffffff; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-card-logo {
    width: 90%;
    height: 90%;
    object-fit: contain; 
    animation: pulse 2s infinite alternate; 
}

/* حركة النبض للوجو */
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    100% { transform: scale(1.02); opacity: 1; }
}

.bio-card-link {
    display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08); padding: 12px 18px; border-radius: 10px; color: #e5e5ea; text-decoration: none; font-size: 0.88rem;
}

.qr-section { padding: 10px 5px; }
.qr-card {
    background: rgba(30, 30, 35, 0.65); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px; padding: 25px; text-align: center;
}
.qr-text { font-size: 0.9rem; color: #8e8e93; margin-bottom: 20px; }
.qr-placeholder { width: 150px; height: 150px; background: #ffffff; border-radius: 12px; padding: 8px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.qr-placeholder img { width: 100%; height: 100%; object-fit: contain; }

.footer-nav {
    position: fixed; bottom: 0; left: 0; width: 100%; background-color: #0b0b0c; border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex; justify-content: space-around; align-items: center; padding: 12px 10px; z-index: 100;
}
.footer-btn {
    background: none; border: none; color: #8e8e93; text-decoration: none; display: flex; flex-direction: column;
    align-items: center; gap: 6px; cursor: pointer; width: 20%; font-family: inherit;
}
.footer-btn i { font-size: 1.1rem; }
.footer-btn span { font-size: 0.75rem; }