:root {
    --primary-color: #00E5FF;
    --secondary-color: #9D4EDD;
    --dark-bg: #04000C;
    --card-bg: rgba(20, 10, 35, 0.4);
    --text-main: #F0F4F8;
    --text-muted: #A0ABC0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Gradients */
.glow-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: -10%;
    right: -5%;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    bottom: -10%;
    left: -5%;
    animation-delay: -5s;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title.text-right {
    text-align: right;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(4, 0, 12, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Sections */
.section {
    padding: 8rem 0 4rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 12rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Grid layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

/* Features */
.features-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.features-text {
    flex: 1;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features-list li {
    font-size: 1.2rem;
    position: relative;
    padding-right: 2rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.features-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.glass-box {
    width: 350px;
    height: 350px;
    background: var(--card-bg);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.glass-box::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 32px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--secondary-color));
    z-index: -1;
    filter: blur(5px);
}

.floating-img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

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

/* About */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.glass-card h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.glass-card p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.3);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: var(--text-muted);
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-footer img {
    height: 30px;
}

.logo-footer span {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
}

.developer-credit {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.developer-credit strong {
    color: var(--primary-color);
    font-family: var(--font-en);
}

.arab-hands {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pricing */
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.pricing-header .card-title {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.old-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.new-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-features li {
    font-size: 1.1rem;
}

.pricing-action {
    display: flex;
    width: 100%;
    margin-top: auto;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.disabled-card {
    opacity: 0.7;
    pointer-events: none;
    filter: grayscale(80%);
}

.status-badge {
    background: linear-gradient(90deg, #512b81, #35155D);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 1rem;
    border: 1px solid var(--glass-border);
}

.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

.featured {
    border-color: rgba(9, 219, 241, 0.5);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.15);
    z-index: 10;
}

.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .featured {
        transform: scale(1);
    }
    .featured:hover {
        transform: translateY(-5px) scale(1);
    }
    .hero-title { font-size: 2.5rem; }
    .features-wrapper { flex-direction: column; }
    .nav-links { display: none; }
    .hero-actions { flex-direction: column; }
    .glass-box { width: 100%; height: auto; padding: 3rem; }
    
    footer {
        padding: 1.5rem 0;
        margin-top: 2.5rem;
    }
    .logo-footer span {
        font-size: 1rem;
    }
    .footer-content p {
        font-size: 0.85rem;
    }
    .developer-credit {
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }
    .arab-hands {
        margin-top: 0.4rem;
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}
