/* ==========================================================================
   1. المتغيرات والتهيئة العامة (Variables & Reset)
   ========================================================================== */
:root {
    --brand-green: #1b4332;       /* الأخضر العشبي الملكي العميق */
    --brand-green-light: #2d6a4f; /* درجة أفتح للروابط والتأثيرات */
    --gold: #d4af37;              /* الذهب البراق الفاخر */
    --gold-hover: #aa8c2c;         /* درجة الذهب الداكنة عند التمرير */
    --text-dark: #1e293b;          /* لون النصوص الداكنة المريحة للعين */
    --text-muted: #64748b;         /* لون النصوص الفرعية */
    --bg-light: #f8fafc;           /* خلفية رمادية ناعمة للأقسام */
    --white: #ffffff;
    --transition-fast: all 0.3s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px rgba(27, 67, 50, 0.12);
    --gold-glow: 0 0 25px rgba(212, 175, 55, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
}

body {
    overflow-x: hidden;
    line-height: 1.8;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* ==========================================================================
   2. شريط الإعلان وشريط الشعار (Top Bar & Header)
   ========================================================================== */
.top-bar {
    background-color: var(--brand-green);
    color: var(--gold);
    text-align: center;
    padding: 10px 5px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.top-bar i {
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.landing-header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--brand-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo i {
    color: var(--gold);
}

.brand-name span {
    color: var(--gold);
}

.btn-buy-now-top {
    background-color: var(--brand-green);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-fast);
}

.btn-buy-now-top:hover {
    background-color: var(--brand-green-light);
    transform: translateY(-2px);
}

/* ==========================================================================
   3. الواجهة الرئيسية الجاذبة (Hero Section)
   ========================================================================== */
.hero-landing {
    padding: 80px 0;
    background: radial-gradient(circle at 90% 10%, rgba(214, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(27, 67, 50, 0.05) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.trust-badge {
    background-color: rgba(27, 67, 50, 0.08);
    color: var(--brand-green);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.main-heading {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--brand-green);
}

.gold-text {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.sub-heading {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.quick-benefits {
    margin-bottom: 35px;
}

.quick-benefits li {
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-benefits li i {
    color: var(--brand-green-light);
    font-size: 18px;
}

.price-box-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.old-price {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 600;
}

.new-price {
    font-size: 38px;
    color: var(--brand-green);
    font-weight: 900;
}

.discount-tag {
    background-color: #e63946;
    color: var(--white);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

/* زر النبض التفاعلي لزيادة الرغبة في الشراء */
.btn-pulse {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--gold);
    color: var(--brand-green);
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: var(--gold-glow);
    transition: var(--transition-fast);
    animation: pulseAnimation 2s infinite;
}

.btn-pulse:hover {
    background-color: var(--gold-hover);
    transform: translateY(-3px);
}

@keyframes pulseAnimation {
    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); }
}

.stock-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.pulse-indicator {
    width: 10px;
    height: 10px;
    background-color: #e63946;
    border-radius: 50px;
    animation: indicatorPulse 1s infinite alternate;
}

@keyframes indicatorPulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

.stock-notice p {
    font-size: 14px;
    font-weight: 700;
    color: #e63946;
}

/* تصميم عبوة الزيت الفاخرة */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card-visual {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(27, 67, 50, 0.05);
    position: relative;
    width: 100%;
    max-width: 380px;
}

.oil-bottle-placeholder {
    height: 380px;
    background: linear-gradient(135deg, var(--brand-green) 0%, #081c15 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.oil-bottle-placeholder i {
    font-size: 110px;
    color: var(--gold);
    z-index: 2;
}

.gold-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(214, 175, 55, 0.3) 0%, transparent 70%);
    z-index: 1;
}

.bottle-label {
    position: absolute;
    bottom: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(214, 175, 55, 0.3);
    color: var(--gold);
    padding: 6px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
}

.badge-on-image {
    position: absolute;
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(214, 175, 55, 0.2);
}

.badge-on-image i { color: var(--gold); }
.bi-1 { top: 20px; right: -20px; }
.bi-2 { bottom: 60px; left: -20px; }

/* ==========================================================================
   4. العناوين المشتركة وقسم المشكلة والحل (Globals & Problem-Solution)
   ========================================================================== */
.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-center h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--brand-green);
}

.section-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 5px;
}

.gold-line {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.problem-solution {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.grid-two-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.box-side {
    background-color: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.box-side h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-side p {
    font-size: 15px;
    color: var(--text-muted);
}

.problem-side { border-right: 4px solid #e63946; }
.problem-side h3 { color: #e63946; }
.solution-side { border-right: 4px solid var(--brand-green-light); }
.solution-side h3 { color: var(--brand-green); }

/* ==========================================================================
   5. قسم المكونات (Ingredients Section)
   ========================================================================== */
.ingredients-section {
    padding: 80px 0;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.ing-card {
    text-align: center;
    padding: 40px 25px;
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.ing-card:hover {
    transform: translateY(-5px);
}

.ing-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(214, 175, 55, 0.1);
    color: var(--gold);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    margin: 0 auto 22px auto;
}

.ing-card h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--brand-green);
}

.ing-card p {
    color: var(--text-muted);
    font-size: 14.5px;
}

/* ==========================================================================
   6. قسم آراء الزبائن (Testimonials Section)
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.test-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 15px;
}

.test-text {
    font-size: 15px;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
}

.test-author {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--brand-green);
}

/* ==========================================================================
   7. قسم استمارة الشراء الفخمة (Order Form)
   ========================================================================== */
.order-section {
    padding: 80px 0;
}

.form-wrapper {
    max-width: 650px;
    background-color: var(--white);
    border: 2px solid var(--brand-green);
    border-radius: 24px;
    padding: 45px 35px;
    box-shadow: var(--shadow-premium);
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-green);
}

.form-header p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-top: 5px;
}

.purchase-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i { color: var(--gold); }

.form-group input, .form-group select {
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background-color: var(--bg-light);
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--brand-green-light);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
}

.price-summary {
    background-color: rgba(27, 67, 50, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 10px;
}

.price-summary p {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-green);
}

#final-price {
    font-size: 26px;
    color: #e63946;
    font-weight: 900;
    margin: 0 5px;
}

.free-shipping-tag {
    color: var(--brand-green-light);
    font-size: 14px;
}

.btn-submit-order {
    background-color: #2a9d8f; /* لون أخضر بحري يوحي بالأمان والموافقة الفورية */
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(42, 157, 143, 0.3);
    transition: var(--transition-fast);
}

.btn-submit-order:hover {
    background-color: #21867a;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(42, 157, 143, 0.5);
}

.guarantee-box {
    margin-top: 30px;
    border-top: 1px dashed #cbd5e1;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.guarantee-box i {
    color: var(--gold);
    margin-left: 4px;
}

/* ==========================================================================
   8. التذييل والتجاوب (Footer & Responsive)
   ========================================================================== */
.landing-footer {
    background-color: var(--brand-green);
    color: var(--white);
    text-align: center;
    padding: 25px 10px;
    font-size: 14px;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .quick-benefits {
        text-align: right;
    }
    .main-heading {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .main-heading { font-size: 26px; }
    .new-price { font-size: 30px; }
    .form-wrapper { padding: 30px 20px; }
    .badge-on-image { display: none; } /* إخفاء الشارات الجانبية في الشاشات الصغيرة جداً لمنع التداخل */
}