        :root {
            --primary: #7E57C2;
            --primary-dark: #5E35B1;
            --primary-light: #B39DDB;
            --secondary: #F5F5F5;
            --accent: #FFD54F;
            --text-dark: #333333;
            --text-light: #666666;
            --white: #FFFFFF;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        .dark-mode {
            --primary-color: #6a0dad;
            --secondary-color: #00c6ff;
            --text-color: #ffffff;
            --bg-color: #1a0a24;
            --card-bg: rgba(255, 255, 255, 0.05);
            --card-border: rgba(255, 255, 255, 0.15);
            --shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            --transition: all 0.3s ease;

            --primary: var(--primary-color);
            --primary-dark: #5a0c9c;
            --primary-light: #8a4dcc;
            --secondary: var(--bg-color);
            --accent: var(--secondary-color);
            --text-dark: var(--text-color);
            --text-light: #e0e0e0;
            --white: #1a0a24;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Tajawal', sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--secondary);
            color: var(--text-dark);
            line-height: 1.7;
            overflow-x: hidden;
            transition: var(--transition);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        header {
            background-color: var(--white);
            box-shadow: var(--shadow);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
        }

        header.scrolled {
            padding: 5px 0;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            transition: var(--transition);
        }

        header.scrolled nav {
            padding: 10px 0;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary-dark);
            text-decoration: none;
            display: flex;
            align-items: center;
            z-index: 1001;
        }

        .logo i {
            margin-left: 10px;
            color: var(--primary);
            font-size: 2rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
            position: relative;
            padding: 5px 0;
        }

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

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 3px;
            background-color: var(--primary);
            transition: var(--transition);
            border-radius: 3px;
        }

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

        .nav-btns {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .nav-btns .btn {
            padding: 10px 22px;
            font-size: 0.95rem;
            white-space: nowrap;
        }

        .btn {
            display: inline-block;
            padding: 14px 35px;
            background-color: var(--primary);
            color: var(--white);
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            text-align: center;
            box-shadow: 0 4px 10px rgba(126, 87, 194, 0.3);
        }

        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-5px);
            box-shadow: 0 7px 15px rgba(126, 87, 194, 0.4);
        }

        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background-color: var(--primary);
            color: var(--white);
        }

        .menu-toggle {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--primary-dark);
            transition: var(--transition);
            z-index: 1001;
            background: none;
            border: none;
        }

        .menu-toggle:hover {
            color: var(--primary);
        }

        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100vh;
            background-color: var(--white);
            box-shadow: var(--shadow);
            padding: 100px 30px 30px;
            transition: var(--transition);
            z-index: 999;
            overflow-y: auto;
        }

        .mobile-nav.active {
            right: 0;
        }

        .mobile-nav-links {
            list-style: none;
        }

        .mobile-nav-links li {
            margin-bottom: 20px;
        }

        .mobile-nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            display: block;
            padding: 12px 0;
            border-bottom: 1px solid #f5f5f5;
            font-size: 1.2rem;
            transition: var(--transition);
        }

        .mobile-nav-links a:hover {
            color: var(--primary);
            padding-right: 10px;
        }

        .mobile-nav-btns {
            margin-top: 30px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .mobile-nav-btns .btn {
            width: 100%;
            text-align: center;
        }

        .overlay {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .theme-toggle-wrapper {
            display: flex;
            align-items: center;
        }

        .theme-switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
        }

        .theme-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            background-color: var(--primary-light);
            transition: var(--transition);
            border-radius: 34px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 8px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            right: 4px;
            bottom: 4px;
            background-color: white;
            transition: var(--transition);
            border-radius: 50%;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            font-size: 12px;
            color: var(--primary);
        }

        input:checked+.slider {
            background-color: var(--primary);
        }

        input:checked+.slider:before {
            transform: translateX(-30px);
            content: "\f186";
            color: var(--accent);
        }

        input:not(:checked)+.slider:before {
            content: "\f185";
        }

        .slider .sun-icon,
        .slider .moon-icon {
            font-size: 14px;
            color: white;
            z-index: 1;
        }

        .sun-icon {
            opacity: 1;
            transition: var(--transition);
        }

        .moon-icon {
            opacity: 0;
            transition: var(--transition);
        }

        input:checked+.slider .sun-icon {
            opacity: 0;
        }

        input:checked+.slider .moon-icon {
            opacity: 1;
        }

        @media (max-width: 1100px) {
            .nav-links li {
                margin-left: 20px;
            }

            .nav-btns {
                gap: 10px;
            }

            .nav-btns .btn {
                padding: 8px 18px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 992px) {
            .nav-links {
                display: none;
            }

            .nav-btns .btn:not(.menu-toggle) {
                display: none;
            }

            .menu-toggle {
                display: block;
            }
        }

        @media (max-width: 576px) {
            .logo {
                font-size: 1.5rem;
            }

            .logo i {
                font-size: 1.6rem;
            }

            .mobile-nav {
                width: 100%;
            }

            .theme-switch {
                width: 50px;
                height: 25px;
            }

            .slider:before {
                height: 18px;
                width: 18px;
                font-size: 10px;
            }

            input:checked+.slider:before {
                transform: translateX(-25px);
            }
        }

        section {
            padding: 90px 0;
        }

        .hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--white);
            padding: 200px 0 120px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
            background-position: center;
        }

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-size: 3.8rem;
            margin-bottom: 25px;
            line-height: 1.2;
            font-weight: 800;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 40px;
            opacity: 0.9;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.8;
        }

        .hero-btns {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
        }

        .hero-btns .btn {
            background-color: var(--white);
            color: var(--primary);
            font-size: 1.1rem;
            padding: 15px 40px;
        }

        .hero-btns .btn:hover {
            background-color: var(--accent);
            color: var(--text-dark);
        }

        @media (max-width: 1100px) {
            .hero h1 {
                font-size: 3.2rem;
            }
        }

        @media (max-width: 992px) {
            .hero {
                padding: 180px 0 100px;
            }

            .hero h1 {
                font-size: 2.8rem;
            }

            .hero p {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 768px) {
            .hero {
                padding: 160px 0 80px;
            }

            .hero h1 {
                font-size: 2.4rem;
            }

            .hero-btns {
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }

            .hero-btns .btn {
                width: 80%;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1.1rem;
            }
        }

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

        .section-title h2 {
            font-size: 2.8rem;
            color: var(--primary-dark);
            margin-bottom: 20px;
            font-weight: 800;
        }

        .section-title p {
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.2rem;
            line-height: 1.8;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -20px;
            right: 50%;
            transform: translateX(50%);
            width: 100px;
            height: 5px;
            background: linear-gradient(to left, var(--primary), var(--accent));
            border-radius: 3px;
        }

        @media (max-width: 1100px) {
            .section-title h2 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .section-title h2 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 576px) {
            .section-title h2 {
                font-size: 1.8rem;
            }

            .section-title p {
                font-size: 1rem;
            }
        }

        .register-section {
            padding: 150px 0 100px;
            background-color: var(--white);
        }

        .register-container {
            max-width: 500px;
            margin: 0 auto;
            background-color: var(--white);
            border-radius: 20px;
            box-shadow: var(--shadow);
            padding: 50px 40px;
            position: relative;
            overflow: hidden;
        }

        .register-container::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 8px;
            background: linear-gradient(to left, var(--primary), var(--accent));
        }

        .register-title {
            text-align: center;
            margin-bottom: 40px;
        }

        .register-title h2 {
            font-size: 2.2rem;
            color: var(--primary-dark);
            margin-bottom: 10px;
            font-weight: 800;
        }

        .register-title p {
            color: var(--text-light);
            font-size: 1.1rem;
        }

        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text-dark);
            font-size: 1.1rem;
        }

        .form-control {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 1.1rem;
            font-family: 'Tajawal', sans-serif;
            transition: var(--transition);
            background-color: var(--white);
            color: var(--text-dark);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(126, 87, 194, 0.2);
        }

        .password-toggle {
            position: absolute;
            left: 15px;
            top: 50px;
            background: none;
            border: none;
            color: var(--text-light);
            cursor: pointer;
            font-size: 1.2rem;
            transition: var(--transition);
        }

        .password-toggle:hover {
            color: var(--primary);
        }

        .register-btn {
            width: 100%;
            padding: 16px;
            font-size: 1.2rem;
            margin-top: 10px;
            font-weight: 700;
        }

        .login-link {
            text-align: center;
            margin-top: 30px;
            color: var(--text-light);
            font-size: 1.1rem;
        }

        .login-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
        }

        .login-link a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .register-container {
                padding: 40px 30px;
            }

            .register-title h2 {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 576px) {
            .register-section {
                padding: 130px 0 80px;
            }

            .register-container {
                padding: 30px 20px;
            }

            .register-title h2 {
                font-size: 1.6rem;
            }

            .form-control {
                padding: 12px 15px;
                font-size: 1rem;
            }

            .password-toggle {
                top: 45px;
                left: 12px;
            }
        }

        footer {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            color: var(--white);
            padding: 80px 0 40px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-column h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
            font-weight: 700;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent);
            border-radius: 3px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: var(--transition);
            font-size: 1.05rem;
            display: flex;
            align-items: center;
        }

        .footer-links a i {
            margin-left: 8px;
            font-size: 0.9rem;
        }

        .footer-links a:hover {
            color: var(--accent);
            padding-right: 8px;
        }

        .footer-newsletter p {
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.8;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .newsletter-form input {
            padding: 15px 20px;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-family: 'Tajawal', sans-serif;
        }

        .newsletter-form input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.3);
        }

        .newsletter-form .btn {
            background-color: var(--accent);
            color: var(--text-dark);
            border: none;
            font-weight: 700;
        }

        .newsletter-form .btn:hover {
            background-color: var(--white);
        }

        .copyright {
            text-align: center;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            font-size: 1rem;
        }

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

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: rgba(255, 255, 255, 0.8);
            transition: var(--transition);
            text-decoration: none;
            font-size: 1.2rem;
        }

        .social-links a:hover {
            background-color: var(--accent);
            color: var(--text-dark);
            transform: translateY(-5px);
        }

        .dark-mode .register-container,
        .dark-mode .form-control {
            background-color: var(--card-bg);
            color: var(--text-color);
            border-color: var(--card-border);
        }

        .dark-mode .form-control:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.2);
        }

        .dark-mode .form-group label {
            color: var(--text-color);
        }

        .dark-mode .register-title h2,
        .dark-mode .register-title p,
        .dark-mode .login-link {
            color: var(--text-color);
        }

        .dark-mode .login-link a {
            color: var(--secondary-color);
        }

        .dark-mode .login-link a:hover {
            color: var(--accent);
        }

        .dark-mode .hero {
            color: var(--text-color);
        }

        .dark-mode .package-img {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--text-color);
        }

        .dark-mode .package-features i,
        .dark-mode .footer-links a i {
            color: var(--secondary-color);
        }

        .dark-mode .package-content h3,
        .dark-mode .feature-card h3,
        .dark-mode .section-title h2,
        .dark-mode .section-title p,
        .dark-mode .package-price,
        .dark-mode .package-features li,
        .dark-mode .feature-card p,
        .dark-mode .footer-column h3,
        .dark-mode .footer-links a,
        .dark-mode .footer-newsletter p,
        .dark-mode .copyright,
        .dark-mode .nav-links a,
        .dark-mode .mobile-nav-links a,
        .dark-mode .logo,
        .dark-mode .menu-toggle {
            color: var(--text-color);
        }

        .dark-mode .package-card,
        .dark-mode .feature-card {
            background-color: var(--card-bg);
            border-color: var(--card-border);
        }

        .dark-mode .btn {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--text-color);
            border: none;
        }

        .dark-mode .btn:hover {
            filter: brightness(0.9);
        }

        .dark-mode .btn-outline {
            background: transparent;
            border: 2px solid var(--secondary-color);
            color: var(--secondary-color);
        }

        .dark-mode .btn-outline:hover {
            background: var(--secondary-color);
            color: var(--bg-color);
        }

        .dark-mode .mobile-nav,
        .dark-mode header {
            background-color: var(--bg-color);
        }

        .dark-mode .mobile-nav-links a {
            border-bottom-color: var(--card-border);
        }

        .dark-mode .hero-btns .btn {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--text-color);
        }

        .dark-mode .hero-btns .btn:hover {
            filter: brightness(0.9);
            color: var(--text-color);
        }

        .dark-mode .feature-icon {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
        }

        .dark-mode .social-links a,
        .dark-mode .footer-links a,
        .dark-mode .footer-newsletter p,
        .dark-mode .copyright {
            color: white;
        }

        .dark-mode .social-links a:hover {
            color: var(--text-dark);
        }
