/* =========================================
   RESET & ROOT VARIABLES
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #6C3DE0;
    --primary-dark: #4e2aad;
    --primary-light: #9b6ef3;
    --accent: #FF6B6B;
    --accent2: #FFD166;
    --gold: #f5a623;
    --dark: #0f0a1e;
    --dark2: #1a1030;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --bg-light: #f8f5ff;
    --card-bg: rgba(255,255,255,0.96);
    --border: #e8e0f7;
    --shadow: 0 8px 40px rgba(108,61,224,0.13);
    --radius: 18px;
    --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg-light);
    color: var(--text);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   ANNOUNCE BAR
   ========================================= */
.announce-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    animation: slideIn 0.6s ease;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(108,61,224,0.08);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary-dark);
}
.logo-icon { font-size: 1.5rem; }
.logo-accent { color: var(--primary-light); }
.header-badge {
    background: #eef6ee;
    color: #2d7a2d;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid #c3e6c3;
}

/* =========================================
   HERO
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, #2a1060 100%);
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
}
.shape-1 {
    width: 500px; height: 500px;
    background: var(--primary-light);
    top: -150px; left: -100px;
}
.shape-2 {
    width: 400px; height: 400px;
    background: var(--accent);
    bottom: -100px; right: -80px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-content { color: white; }
.badge-new {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 18px;
    animation: pulse 2s infinite;
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 16px;
}
.gradient-text {
    background: linear-gradient(90deg, var(--primary-light), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero-price-block {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.old-price {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.45);
    text-decoration: line-through;
}
.new-price {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--accent2);
}
.new-price small { font-size: 1.2rem; }
.save-badge {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
}
.hero-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-features li {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-hero {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(255,107,107,0.4);
    transition: all 0.3s ease;
    animation: ctaPulse 2.5s infinite;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255,107,107,0.55);
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* GALLERY */
.hero-image-wrap { position: relative; }
.image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(108,61,224,0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.product-gallery {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 20px;
    backdrop-filter: blur(10px);
}
.main-product-img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.4s ease;
    background: rgba(255,255,255,0.05);
}
.main-product-img:hover { transform: scale(1.03); }
.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s;
    opacity: 0.6;
}
.thumb.active, .thumb:hover { border-color: var(--primary-light); opacity: 1; }

/* =========================================
   SECTION TITLE
   ========================================= */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 50px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    margin: 14px auto 0;
}

/* =========================================
   WHY US / FEATURES
   ========================================= */
.why-us {
    padding: 80px 0;
    background: var(--white);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}
.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}
.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* =========================================
   SHOWCASE
   ========================================= */
.showcase {
    padding: 80px 0;
    background: var(--bg-light);
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.showcase-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
    transition: transform 0.3s;
}
.showcase-item:hover { transform: scale(1.02); }
.showcase-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.showcase-caption {
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
}
.testimonials .section-title { color: white; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s;
}
.review-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}
.stars { font-size: 1.1rem; margin-bottom: 14px; }
.review-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 16px;
}
.reviewer {
    color: var(--primary-light);
    font-size: 0.88rem;
    font-weight: 700;
}

/* =========================================
   ORDER FORM
   ========================================= */
.order-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.order-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(108,61,224,0.15);
    border: 1px solid var(--border);
}
.order-header { text-align: center; margin-bottom: 28px; }
.order-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.order-header p { color: var(--text-light); font-size: 0.95rem; }

.price-display {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.price-label { font-weight: 700; font-size: 0.95rem; }
.price-value { font-size: 1.5rem; font-weight: 900; }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg-light);
    transition: border-color 0.25s, box-shadow 0.25s;
    direction: rtl;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108,61,224,0.1);
    background: white;
}
.form-group textarea { resize: vertical; min-height: 80px; }

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 8px 30px rgba(108,61,224,0.35);
    transition: all 0.3s ease;
    animation: ctaPulse 2.5s infinite;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(108,61,224,0.45);
}
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: none;
    transform: none;
}

.order-guarantees {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.order-guarantees span {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 600;
}

/* =========================================
   FAQ
   ========================================= */
.faq {
    padding: 80px 0;
    background: var(--white);
}
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-q {
    padding: 18px 20px;
    font-weight: 800;
    font-size: 0.97rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-dark);
    transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-light); }
.faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.8;
    transition: max-height 0.35s ease, padding 0.3s;
}
.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 20px 18px;
}
.faq-item.open .arrow { transform: rotate(180deg); }
.arrow { transition: transform 0.3s; font-size: 0.8rem; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 32px 20px;
    font-size: 0.88rem;
}
.footer-logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

/* =========================================
   STICKY CTA
   ========================================= */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 12px 20px;
    background: white;
    border-top: 1px solid var(--border);
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.btn-sticky {
    display: block;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(108,61,224,0.35);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(108,61,224,0.35); }
    50% { box-shadow: 0 8px 40px rgba(255,107,107,0.5); }
}
@keyframes slideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-image-wrap { order: -1; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .order-card { padding: 32px 20px; }
    .order-guarantees { gap: 10px; }
    .sticky-cta { display: block; }
    .hero { padding: 40px 0 60px; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.9rem; }
}
