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

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    direction: rtl;
    padding-top: 70px;
    /* Space for fixed header */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Solid Color Backgrounds */
.gradient-bg-1 {
    background: #22d3ee;
}

.gradient-bg-2 {
    background: #3b82f6;
}

.gradient-bg-3 {
    background: #22d3ee;
}

.gradient-bg-4 {
    background: #3b82f6;
}

.gradient-bg-5 {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animated Gradients */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(-45deg, #22d3ee, #3b82f6, #22d3ee, #3b82f6);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.2);
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(34, 211, 238, 0.3);
}

.btn-secondary {
    background: transparent;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    color: white;
    text-decoration: none;
    display: inline-block;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Icon Glow */
.icon-glow {
    filter: drop-shadow(0 0 10px currentColor);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Spacing */
section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }
}

/* Accordion Animation */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

/* Stars Background */
.stars-bg {
    position: relative;
    overflow: hidden;
}

.stars-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 60px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50px 50px, #eee, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 10px, #eee, rgba(0, 0, 0, 0));
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.3;
    animation: stars 200s linear infinite;
}

@keyframes stars {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-2000px);
    }
}

/* Number Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.count-animation {
    animation: countUp 1s ease-out;
}

/* Checkmark Icon */
.checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #22d3ee;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Floating CTA Styles */
#floating-register {
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    transform: translateY(100%);
}

#floating-register.show-floating-cta {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

@keyframes floatingCTA {

    0%,
    100% {
        transform: translate(-50%, 0px);
    }

    50% {
        transform: translate(-50%, -10px);
    }
}

.floating-cta-animation {
    animation: floatingCTA 3s ease-in-out infinite;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    #floating-register {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        transform: translateY(100%);
    }
    
    #floating-register.show-floating-cta {
        transform: translateY(0);
    }
    
    @keyframes floatingCTA {
        0%,
        100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-5px);
        }
    }
}

/* Desktop - Less intrusive */
@media (min-width: 769px) {
    #floating-register {
        bottom: 2rem;
        left: 1.5rem;
        right: auto;
        transform: translateY(20px);
    }

    #floating-register.show-floating-cta {
        transform: translateY(0);
    }

    @keyframes floatingCTA {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }
    }
}