/* ===== Smart Media — Landing Page ===== */
/* هوية بصرية: بنفسجي / أرجواني عصري */

:root {
    --violet: #7b2cbf;
    --purple: #9d4edd;
    --deep: #5a189a;
    --dark: #240046;
    --magenta: #c77dff;
    --gold: #ffb703;
    --white: #ffffff;
    --light: #f6f0ff;
    --gray: #b8a8cc;
    --bg-dark: #1a0533;
    --bg-darker: #120224;
    --wa-green: #25D366;
    --wa-dark: #128C7E;
    --radius: 18px;
    --shadow: 0 10px 40px rgba(123, 44, 191, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-dark);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

.text-gradient {
    background: linear-gradient(90deg, var(--gold), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== الأزرار ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 50px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #ff8c00);
    color: var(--dark);
    box-shadow: 0 8px 30px rgba(255, 183, 3, 0.4);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(255, 183, 3, 0.55); }

.btn-whatsapp {
    background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
    color: var(--white);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5); }

.btn-outline {
    background: transparent;
    color: var(--magenta);
    border: 2px solid var(--magenta);
}
.btn-outline:hover {
    background: rgba(199, 125, 255, 0.12);
}

.btn-lg { padding: 16px 38px; font-size: 1.15rem; }
.btn-small {
    background: linear-gradient(135deg, var(--purple), var(--violet));
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.95rem;
}
.btn-outline.btn-small { background: transparent; }
.btn-whatsapp.btn-small {
    padding: 10px 22px;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
    color: var(--white);
}
.btn-block { width: 100%; justify-content: center; }

/* ===== الهيدر ===== */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background: rgba(18, 2, 36, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
}
.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(157, 78, 221, 0.5);
}
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.5px; }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== قسم البطل ===== */
.hero {
    position: relative;
    padding: 150px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
}
.hero-glow-1 {
    width: 500px; height: 500px;
    background: var(--purple);
    top: -150px; right: -100px;
}
.hero-glow-2 {
    width: 420px; height: 420px;
    background: var(--deep);
    bottom: -120px; left: -100px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.4);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 22px;
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(255, 183, 3, 0); }
}

.hero-title {
    font-size: clamp(1.9rem, 4.6vw, 3.1rem);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 18px;
}
.hero-subtitle {
    font-size: 1.12rem;
    color: var(--gray);
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

/* العدّاد */
.countdown-label {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--magenta);
}
.countdown-boxes { display: flex; gap: 12px; }
.count-box {
    background: linear-gradient(160deg, rgba(157, 78, 221, 0.25), rgba(90, 24, 154, 0.35));
    border: 1px solid rgba(199, 125, 255, 0.35);
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
    min-width: 76px;
}
.count-box span {
    display: block;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}
.count-box small { color: var(--gray); font-size: 0.8rem; }

/* الجانب البصري */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.logo-orbit { position: relative; }
.hero-logo {
    width: min(320px, 70vw);
    border-radius: 32px;
    box-shadow: 0 25px 80px rgba(123, 44, 191, 0.55);
    animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
.orbit-ring {
    position: absolute;
    inset: -28px;
    border: 2px dashed rgba(199, 125, 255, 0.4);
    border-radius: 44px;
    animation: spinSlow 24s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(36, 0, 70, 0.9);
    border: 1px solid rgba(199, 125, 255, 0.4);
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: var(--shadow);
    animation: floatY 6s ease-in-out infinite;
}
.floating-card i { font-size: 1.6rem; color: var(--gold); }
.floating-card strong { display: block; font-size: 1.1rem; }
.floating-card span { font-size: 0.8rem; color: var(--gray); }
.card-top { top: 20px; right: -10px; animation-delay: 0.6s; }
.card-bottom { bottom: 30px; left: -10px; }

/* ===== شريط المنصات ===== */
.platforms-strip {
    background: linear-gradient(90deg, var(--deep), var(--violet), var(--purple));
    padding: 18px 0;
}
.platforms-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    font-weight: 700;
}
.platform-icons { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.platform-icons span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
}
.platform-icons i { font-size: 1.15rem; }

/* ===== الأقسام العامة ===== */
.section-title {
    text-align: center;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 10px;
}
.section-title.align-start { text-align: right; }
.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 640px;
    margin: 0 auto 46px;
}

/* ===== خطوات مسار المبيعات ===== */
.steps { padding: 90px 0; }
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 18px;
    align-items: stretch;
}
.step-card {
    position: relative;
    background: linear-gradient(165deg, rgba(90, 24, 154, 0.35), rgba(36, 0, 70, 0.65));
    border: 1px solid rgba(157, 78, 221, 0.35);
    border-radius: var(--radius);
    padding: 44px 24px 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--magenta);
}
.step-number {
    position: absolute;
    top: -18px;
    right: 22px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), #ff8c00);
    color: var(--dark);
    font-weight: 900;
    font-size: 1.15rem;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(255, 183, 3, 0.45);
}
.step-icon {
    width: 74px; height: 74px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple), var(--violet));
    border-radius: 22px;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(157, 78, 221, 0.45);
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card .en {
    color: var(--magenta);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.step-card p { color: var(--gray); font-size: 0.95rem; }
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
}

/* ===== مميزات الخدمة ===== */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(90, 24, 154, 0.16), transparent);
}
.features-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.benefits-list {
    list-style: none;
    margin: 30px 0 34px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.benefits-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.benefit-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple), var(--violet));
    border-radius: 16px;
    font-size: 1.35rem;
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4);
}
.benefits-list strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.benefits-list p { color: var(--gray); font-size: 0.95rem; }

.quote-card {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(199, 125, 255, 0.35);
    border-right: 4px solid var(--purple);
    border-radius: var(--radius);
    padding: 34px 30px;
    box-shadow: var(--shadow);
}
.quote-card i { color: var(--gold); font-size: 1.8rem; margin-bottom: 14px; display: block; }
.quote-card p { font-style: italic; font-size: 1.15rem; margin-bottom: 12px; }
.quote-card small { color: var(--gray); }

/* ===== نماذج الأعمال ===== */
.portfolio { padding: 90px 0; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.35);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, rgba(90, 24, 154, 0.4), rgba(18, 2, 36, 0.8));
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item figcaption {
    position: absolute;
    right: 0; left: 0; bottom: 0;
    padding: 16px 18px;
    background: linear-gradient(0deg, rgba(18, 2, 36, 0.95), transparent);
    font-weight: 700;
    font-size: 0.98rem;
}

/* ===== آراء العملاء ===== */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(90, 24, 154, 0.18), transparent);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: rgba(36, 0, 70, 0.7);
    border: 1px solid rgba(157, 78, 221, 0.35);
    border-radius: var(--radius);
    padding: 28px 26px;
}
.stars { color: var(--gold); margin-bottom: 14px; }
.testimonial-card p { font-size: 1.02rem; margin-bottom: 18px; }
.testimonial-card footer strong { color: var(--magenta); display: block; }
.testimonial-card footer span { color: var(--gray); font-size: 0.85rem; }

/* ===== الأسئلة الشائعة ===== */
.faq { padding: 80px 0; }
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: rgba(36, 0, 70, 0.7);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 14px;
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
    color: var(--magenta);
    transition: transform 0.25s ease;
}
.faq-item[open] summary { color: var(--gold); }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p {
    padding: 0 22px 20px;
    color: var(--gray);
}

/* ===== نموذج الحجز ===== */
.booking { padding: 90px 0 100px; }
.booking-card {
    max-width: 620px;
    margin: 0 auto;
    background: linear-gradient(165deg, rgba(90, 24, 154, 0.45), rgba(18, 2, 36, 0.9));
    border: 1px solid rgba(199, 125, 255, 0.4);
    border-radius: 26px;
    padding: 44px 38px;
    box-shadow: var(--shadow);
}
.booking-header { text-align: center; margin-bottom: 30px; }
.booking-header h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 8px; }
.booking-header p { color: var(--gray); }
.spots-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    background: rgba(255, 82, 82, 0.12);
    border: 1px solid rgba(255, 82, 82, 0.45);
    color: #ff8a80;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}
.spots-left strong { font-size: 1.1rem; }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.98rem;
}
.required { color: #ff8a80; }
.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(199, 125, 255, 0.35);
    background: rgba(18, 2, 36, 0.7);
    color: var(--white);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--magenta);
    box-shadow: 0 0 0 4px rgba(199, 125, 255, 0.18);
}
.form-group input::placeholder { color: rgba(184, 168, 204, 0.55); }
.form-group select { appearance: none; cursor: pointer; }

.form-error {
    color: #ff8a80;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 14px;
    min-height: 1.4em;
}

/* رسالة النجاح */
.form-success { text-align: center; padding: 20px 0; }
.success-icon { font-size: 4rem; color: #69f0ae; margin-bottom: 14px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--gray); margin-bottom: 20px; }

.booking-alt {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px dashed rgba(199, 125, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--gray);
}

/* ===== الفوتر ===== */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(157, 78, 221, 0.25);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: 40px;
    padding: 60px 20px 46px;
}
.footer-col h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--magenta);
    position: relative;
    padding-bottom: 10px;
}
.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--purple));
}
.footer-about .brand { margin-bottom: 18px; }
.footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.4);
}
.footer-desc { color: var(--gray); font-size: 0.98rem; max-width: 340px; }

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-links a {
    color: var(--gray);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a i { font-size: 0.8rem; color: var(--gold); }
.footer-links a:hover { color: var(--white); transform: translateX(-4px); }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 22px; }
.contact-list a {
    color: var(--gray);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease;
}
.contact-list a:hover { color: var(--white); }
.contact-list i { color: var(--gold); width: 18px; text-align: center; }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid rgba(199, 125, 255, 0.35);
    border-radius: 12px;
    color: var(--magenta);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.social-icons a:hover {
    background: linear-gradient(135deg, var(--purple), var(--violet));
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    padding: 20px 0;
    text-align: center;
    color: var(--gray);
    font-size: 0.88rem;
}
.footer-bottom a { color: var(--magenta); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ===== صفحة سياسة الخصوصية ===== */
.privacy-main { padding: 140px 0 80px; }
.privacy-container { max-width: 820px; }
.privacy-container h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 6px; }
.privacy-updated { color: var(--gray); font-size: 0.9rem; margin-bottom: 36px; }
.privacy-container section { margin-bottom: 30px; }
.privacy-container h2 {
    font-size: 1.3rem;
    color: var(--magenta);
    margin-bottom: 10px;
}
.privacy-container p { color: var(--gray); margin-bottom: 10px; }
.privacy-container ul {
    padding-right: 22px;
    color: var(--gray);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.privacy-contact { list-style: none; padding-right: 0 !important; }
.privacy-contact i { color: var(--gold); margin-left: 8px; }
.privacy-contact a { color: var(--magenta); text-decoration: none; }
.privacy-contact a:hover { color: var(--gold); }

/* ===== زر واتساب العائم ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 200;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease;
    animation: waPulse 2.4s infinite;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ===== استجابة الشاشات ===== */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 2; }
    .hero-visual { order: 1; min-height: auto; margin-bottom: 10px; }
    .hero-actions { justify-content: center; }
    .hero-subtitle { margin-right: auto; margin-left: auto; }
    .countdown-boxes { justify-content: center; }
    .card-top { right: 0; }
    .card-bottom { left: 0; }

    .steps-grid { grid-template-columns: 1fr; }
    .step-arrow { transform: rotate(-90deg); padding: 4px 0; }

    .features-inner { grid-template-columns: 1fr; }
    .section-title.align-start { text-align: center; }
    .features-text { text-align: center; }
    .benefits-list li { text-align: right; }

    .portfolio-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .footer-desc { margin: 0 auto; }
    .footer-col h3::after { right: 50%; transform: translateX(50%); }
    .footer-links ul { align-items: center; }
    .contact-list { align-items: center; }
    .social-icons { justify-content: center; }
}

@media (max-width: 560px) {
    .header-actions .btn-outline { display: none; }
    .hero { padding-top: 120px; }
    .count-box { min-width: 62px; padding: 10px 6px; }
    .count-box span { font-size: 1.35rem; }
    .booking-card { padding: 32px 22px; }
    .hero-actions .btn-lg { padding: 14px 26px; font-size: 1.02rem; width: 100%; justify-content: center; }
    .benefits-list li { flex-direction: row; }
}
