:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --bg-dark: #0f051d;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --font-main: 'Tajawal', sans-serif;
    --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

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

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

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

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 5, 29, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
}

.logo i {
    color: var(--primary);
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--gradient-1);
    padding: 10px 25px;
    border-radius: 50px;
    color: white !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.gradient-text {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.store-btn i {
    font-size: 30px;
}

.store-btn .text span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.store-btn .text strong {
    font-size: 18px;
    display: block;
}

.hero-image {
    position: relative;
}

.img-wrapper {
    position: relative;
    z-index: 2;
}

.img-wrapper img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-glass);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-glass);
    animation: float 3s ease-in-out infinite;
}

.icon-1 { top: 10%; left: -10%; color: #ff4b2b; animation-delay: 0s; }
.icon-2 { top: 50%; right: -5%; color: #4facfe; animation-delay: 1s; }
.icon-3 { bottom: 15%; left: 0%; color: #ffeb3b; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    opacity: 0.2;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    opacity: 0.1;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.feature-cardactive {
    background: var(--gradient-1);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-cardactive .icon {
    color: white;
    font-size: 44px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

.feature-cardactive p {
    color: rgba(255, 255, 255, 0.9);
}

/* Stats */
.stats {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-item .count {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
}

.footer-logo i {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-btns {
        justify-content: center;
    }
    .gradient-text {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
