/* =========================================
   متغيرات الألوان والخطوط (Variables)
========================================= */
/* =========================================
   متغيرات الألوان والخطوط (Theme الفاتح والأنيق)
========================================= */
:root {
    /* الألوان لي بدلنا قبيلة خليهم كيما هما... */
    --gold-light: #e6c280;
    --gold-main: #c5a059;
    --gold-dark: #8c6e33;
    
    --bg-dark: #faf9f6;
    --bg-panel: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(197, 160, 89, 0.2);
    
    --text-main: #2b2b2b;
    --text-muted: #666666;
    
    /* هادا هو الخط الجديد */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Playfair Display', serif;
}

/* =========================================
   إعدادات عامة (Global)
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-ar);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* الخلفيات المضيئة (Ambient Glows) */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.4;
}
.glow-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold-dark) 0%, transparent 70%);
}
.glow-2 {
    bottom: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.glass-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 244, 235, 0.9) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), inset 0 2px 15px rgba(255, 255, 255, 0.8);
}

/* =========================================
   الهيدر (Header)
========================================= */
.header {
    text-align: center;
    padding: 20px 0;
}
.logo {
    font-family: var(--font-en);
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 5px;
    background: linear-gradient(45deg, var(--gold-light), var(--gold-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(197, 160, 89, 0.3));
}

/* =========================================
   القسم الأول (Hero Section)
========================================= */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.hero-image-wrapper:hover .hero-img {
    transform: scale(1.05);
}

.premium-badge-offer {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.price-section {
    margin-bottom: 30px;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
}
.premium-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-main);
}
.price-new {
    font-size: 2rem;
}

/* الأزرار (Buttons) */
.btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-ar);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.btn-gold {
    background: linear-gradient(90deg, var(--gold-main), var(--gold-light), var(--gold-main));
    background-size: 200% auto;
    color: #000;
}
.btn-gold:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}
.btn-pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.trust-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.trust-badges .badge {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    padding: 10px;
}

/* =========================================
   قسم الفيديو (Video Section)
========================================= */
.video-section {
    margin: 60px 0;
    text-align: center;
}
.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}
.video-wrapper {
    max-width: 320px; /* رديناه بعبار شاشة ديال التليفون باش يبقى مجموع و HD */
    margin: 0 auto;
    padding: 10px;
    border-radius: 24px; /* دورنا الجناب باش يبان بحال شي تليفون */
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.promo-video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: cover; /* هادي كتحافظ على الجودة باش ما يتعوجش */
}
/* =========================================
   المميزات (Features)
========================================= */
.features {
    margin: 60px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-item {
    text-align: center;
    padding: 30px 20px;
}
.feature-img-box {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}
.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.caramelle-glow { box-shadow: 0 0 30px rgba(184, 115, 51, 0.5); }
.peche-glow { box-shadow: 0 0 30px rgba(255, 140, 0, 0.5); }
.fleur-glow { box-shadow: 0 0 30px rgba(144, 238, 144, 0.5); }

.feature-text h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--gold-light);
}
.ar-name {
    font-family: var(--font-ar);
    font-size: 1rem;
    color: var(--text-muted);
}

/* =========================================
   الآراء (Reviews)
========================================= */
.reviews-section {
    margin: 60px 0;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.stars {
    color: var(--gold-main);
    letter-spacing: 2px;
}
.review-text {
    font-style: italic;
    color: var(--text-muted);
    flex-grow: 1;
}
.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}
.avatar {
    width: 40px;
    height: 40px;
    background: var(--gold-main);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-family: var(--font-en);
}
.reviewer-info h5 { margin: 0; }
.reviewer-info span { font-size: 0.8rem; color: #4CAF50; }

/* =========================================
   استمارة الطلب (Order Form)
========================================= */
.order-section {
    margin: 60px 0;
}
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}
.form-header {
    text-align: center;
    margin-bottom: 30px;
}
.form-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}
.form-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    position: relative;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-ar);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold-main);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}
.floating-label label {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
}
.form-group textarea + label {
    top: 20px;
    transform: none;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    right: 10px;
    font-size: 0.8rem;
    background: var(--bg-dark);
    padding: 0 5px;
    color: var(--gold-main);
}
.btn-submit {
    margin-top: 20px;
    font-size: 1.3rem;
}
.btn-price {
    background: rgba(0,0,0,0.2);
    padding: 2px 10px;
    border-radius: 5px;
}

/* =========================================
   الفوتر (Footer)
========================================= */
.footer {
    background: #110e0c;
    padding: 80px 20px 30px;
    margin-top: 80px;
    position: relative;
    color: #e0d9c8;
}
.footer-top-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}
.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #b5ac98;
}
.logo-small {
    font-family: var(--font-en);
    color: var(--gold-light);
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-btn:hover {
    background: var(--gold-main);
    transform: translateY(-3px);
}
.footer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-main);
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 15px;
}
.footer-links a {
    color: #b5ac98;
    text-decoration: none;
    transition: all 0.3;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(-5px);
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #b5ac98;
}
.contact-icon {
    font-size: 1.2rem;
}
.contact-text {
    font-size: 0.95rem;
    margin-top: 3px;
}
.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright {
    color: #b5ac98;
    font-size: 0.9rem;
}
.badge-cod {
    background: rgba(197, 160, 89, 0.15);
    color: var(--gold-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

@media (max-width: 768px) {
    .footer h4::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .social-icons {
        justify-content: center;
    }
    .contact-item {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* =========================================
   تجاوب الشاشات (Responsive Design)
========================================= */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-image-wrapper {
        order: -1; /* يخلي الصورة الفوق فالتليفون */
    }
    .features-grid, .reviews-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2rem;
    }
}

/* =========================================
   الزر اللاصق فالتليفون (Sticky CTA)
========================================= */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.sticky-cta.visible {
    transform: translateY(0);
}
.hidden {
    display: none;
}