/* --- Variables & Reset --- */
:root {
    --bg-dark: #070913;
    --bg-card: rgba(20, 24, 44, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #f0f2f8;
    --text-muted: #a0a5b5;
    
    --primary: #4a00e0;
    --secondary: #8e2de2;
    --accent: #00d2ff;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Background Effects --- */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.5;
    animation: drift 20s infinite alternate;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    opacity: 0.3;
    animation-delay: -5s;
}

.bg-noise {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iMC4wNCIvPjwvc3ZnPg==');
    z-index: -1;
    pointer-events: none;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* --- Presentation Container --- */
.presentation-container {
    width: 100vw;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.slide {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 4rem;
}

.slide-content {
    max-width: 1100px;
    width: 100%;
    z-index: 10;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gray { color: var(--text-muted); }
.text-red { color: var(--danger); }

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1.gradient-text {
    background: linear-gradient(to right, var(--accent), #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 2rem;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(142, 45, 226, 0.15);
    border: 1px solid rgba(142, 45, 226, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
}

.highlight {
    color: var(--accent);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* --- Glassmorphism Cards --- */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--accent);
}

.card h3, .card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

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

/* Specific Cards */
.danger-card:hover::before { background: var(--danger); }
.danger-card:hover i { color: var(--danger); }

.disabled-card {
    opacity: 0.5;
    filter: grayscale(1);
    border-style: dashed;
}
.disabled-card:hover {
    opacity: 0.8;
    filter: grayscale(0.5);
    transform: none;
    border-color: var(--border-color);
}

/* --- Grids --- */
.cards-grid {
    display: grid;
    gap: 2rem;
}
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }

.features-grid .feature-full {
    grid-column: span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    text-align: left;
}
.features-grid .feature-full i { margin: 0; font-size: 3rem; }
.features-grid .feature-full h4 { margin: 0 0 0.2rem 0; }

.scope-grid .card {
    padding: 2rem 1rem;
    text-align: center;
}
.scope-grid i { font-size: 2rem; margin-bottom: 1rem; }
.scope-note { text-align: center; margin-top: 2rem; color: var(--text-muted); font-style: italic; }

.tech-grid .tech-card {
    text-align: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 1rem;
    transition: var(--transition);
}
.tech-grid .tech-card:hover {
    background: var(--bg-card);
    transform: translateY(-10px);
}

/* --- Solution Section --- */
.solution-card {
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.solution-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.solution-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}
.solution-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}
.gradient-icon {
    background: linear-gradient(135deg, var(--accent), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Layout Split (Video Section) --- */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}
.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.feature-list i {
    font-size: 1.5rem;
    color: var(--success);
}

.player-mockup {
    background: #000;
    border-radius: 12px;
    aspect-ratio: 16/9;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pattern-bg {
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}
.player-play {
    font-size: 4rem;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: var(--transition);
}
.player-play:hover {
    color: var(--accent);
    transform: scale(1.1);
}
.player-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 0 20px;
    display: flex;
    align-items: center;
}
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}
.progress-fill {
    width: 40%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent);
}

/* --- Admin Dashboard Mockup --- */
.dashboard-mockup {
    display: flex;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.sidebar {
    width: 80px;
    background: rgba(10, 15, 26, 0.8);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    gap: 1.5rem;
}
.nav-item {
    width: 40px; height: 40px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition);
}
.nav-item.active, .nav-item:hover {
    background: rgba(142, 45, 226, 0.2);
    color: var(--accent);
}
.main-view {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.dash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.dash-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}
.dash-val { font-size: 2rem; font-weight: 700; font-family: var(--font-heading); }
.dash-lbl { color: var(--text-muted); font-size: 0.9rem; }
.dash-chart {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* --- Timeline --- */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 3rem;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 40px; left: 0; right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}
.timeline-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}
.timeline-dot {
    width: 40px; height: 40px;
    background: var(--bg-dark);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}
.timeline-content h4 { margin-bottom: 0.5rem; }
.timeline-content p { color: var(--text-muted); font-size: 0.9rem; }

/* --- Closing Slide --- */
.closing-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem;
    text-align: center;
}
.price-box {
    margin: 2rem 0;
    font-family: var(--font-heading);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    text-shadow: 0 0 30px rgba(142, 45, 226, 0.8);
}
.currency { font-size: 3rem; line-height: 1; margin-top: 0.5rem; }
.amount { font-size: 6rem; font-weight: 800; line-height: 1; }
.delivery-time {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    font-size: 1.1rem;
    border: 1px solid rgba(255,255,255,0.1);
}
.delivery-time i { color: var(--warning); }
.divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 3rem 0;
}
.closing-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* --- Scroll Indicator & Nav --- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}
.scroll-indicator i { font-size: 1.5rem; margin-top: 0.5rem; color: var(--accent); }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

.slider-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}
.nav-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.nav-dot.active {
    background: var(--accent);
    transform: scale(1.5);
    box-shadow: 0 0 10px var(--accent);
}

/* --- Animations Engine (Intersection Observer classes) --- */
.reveal-up { transform: translateY(50px); opacity: 0; transition: all 0.8s ease-out; }
.reveal-scale { transform: scale(0.9); opacity: 0; transition: all 0.8s ease-out; }
.reveal-left { transform: translateX(-50px); opacity: 0; transition: all 0.8s ease-out; }
.reveal-right { transform: translateX(50px); opacity: 0; transition: all 0.8s ease-out; }

.slide.is-visible .reveal-up { transform: translateY(0); opacity: 1; }
.slide.is-visible .reveal-scale { transform: scale(1); opacity: 1; }
.slide.is-visible .reveal-left { transform: translateX(0); opacity: 1; }
.slide.is-visible .reveal-right { transform: translateX(0); opacity: 1; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
    h1.gradient-text { font-size: 3.5rem; }
    .layout-split { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr; }
    .features-grid .feature-full { grid-column: span 1; }
    .slide { padding: 2rem; }
    .slider-nav { display: none; }
    .section-title { font-size: 2.5rem; }
    .timeline { flex-direction: column; gap: 2rem; padding-top: 0; }
    .timeline::before { right: 20px; top: 0; bottom: 0; width: 2px; height: 100%; left: auto; }
    .timeline-item { display: flex; text-align: right; gap: 1rem; }
    .timeline-dot { margin: 0; flex-shrink: 0; }
}
