:root {
    --primary: #0081fd;
    --primary-glow: rgba(0, 129, 253, 0.12);
    --bg-dark: #070b19;
    --card-bg: rgba(15, 23, 42, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* تأثير قطرات الضوء المائية الخلفية التفاعلية */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 129, 253, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(40px);
}

/* هيدر ناصع البياض يظهر اللوجو الكحلي بوضوح تام وثبات هندسي */
header {
    background-color: #ffffff;
    padding: 12px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    max-height: 52px;
    width: auto;
    display: block;
}

.logo-text-side {
    color: #0b3c66;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-right: 2px solid #e2e8f0;
    padding-right: 15px;
}

.header-tag {
    color: #0b3c66;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid rgba(11, 60, 102, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    background: #f0f7ff;
    white-space: nowrap;
}

/* قسم الـ Hero المطور */
.hero {
    padding: 50px 5% 50px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* حاوية بيضاء مذهلة على شكل قطرة مياه انسيابية مسحوبة لأعلى لإبراز اللوجو الشفاف */
.hero-water-drop-container {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0% 100% 100% 100% / 0% 100% 100% 100%;
    transform: rotate(45deg);
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 129, 253, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.hero-water-drop-container img {
    max-height: 95px;
    width: auto;
    display: block;
    transform: rotate(-45deg); 
    transition: all 0.4s ease;
}

.hero-water-drop-container:hover {
    transform: rotate(45deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 129, 253, 0.5);
    background: #ffffff;
}

.hero-water-drop-container:hover img {
    transform: rotate(-45deg) scale(1.02);
}

.water-drop-bg {
    font-size: 4rem;
    color: rgba(0, 129, 253, 0.04);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    animation: float 4s ease-in-out infinite;
}

.hero p.subtitle {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 129, 253, 0.08);
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-block;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero p.description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* المنتجات والحلول */
.section-container {
    padding: 40px 5% 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 0 12px var(--primary);
}

.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0,129,253,0.15);
    border-color: rgba(0, 129, 253, 0.4);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #090f1e;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.03);
    opacity: 1;
}

.card-icon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(7, 11, 25, 0.85);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    border: 1px solid var(--border);
    z-index: 10;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* قسم المميزات */
.features-section {
    background-color: #050812;
    padding: 60px 5%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-box {
    background: var(--card-bg);
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 129, 253, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    border: 1px solid rgba(0, 129, 253, 0.15);
}

.feature-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* قسم الاتصال */
.cta-premium {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #03050a 100%);
    color: white;
    text-align: center;
    padding: 80px 5%;
}

.cta-premium h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-premium p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 40px;
}

.contact-buttons-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #ffffff;
    padding: 16px 28px;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: calc(50% - 13px);
    min-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.action-btn .btn-info {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
}

.action-btn i.main-icon {
    font-size: 2rem;
    color: #25d366;
}

.action-btn .btn-label {
    font-size: 0.8rem;
    color: #25d366;
    display: block;
    font-weight: 600;
}

.action-btn .phone-num {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.action-btn i.arrow-icon {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s;
}

.action-btn:hover {
    transform: translateY(-4px);
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.action-btn:hover i.main-icon,
.action-btn:hover .btn-label,
.action-btn:hover i.arrow-icon {
    color: #ffffff;
}

.action-btn:hover i.arrow-icon {
    transform: translateX(-5px);
}

footer {
    background: #03050a;
    color: #475569;
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0px); }
    50% { transform: translate(-50%, -10px); }
}

/* تعديلات التجاوب */
@media (max-width: 991px) {
    .action-btn { width: 100%; }
}

@media (max-width: 768px) {
    header { padding: 12px 4%; }
    .brand-wrapper { gap: 10px; }
    .logo-container img { max-height: 40px; }
    .logo-text-side { font-size: 0.72rem; padding-right: 10px; line-height: 1.3; }
    .header-tag { display: none; }
    .hero { padding: 35px 4% 35px; }
    .hero-water-drop-container { padding: 25px; margin-bottom: 25px; }
    .hero-water-drop-container img { max-height: 70px; }
    .hero h1 { font-size: 1.9rem; line-height: 1.4; }
    .hero p.description { font-size: 1.05rem; }
    .section-container { padding: 30px 4%; }
    .section-title h2 { font-size: 1.6rem; }
    .grid-products { grid-template-columns: 1fr; gap: 20px; }
}
