        :root {
            --main-purple: #502C84;
            --purple-light: #7B4FB8;
            --purple-dark: #2a124a;
            --secondary-orange: #FF781F;
            --orange-glow: rgba(255, 120, 31, 0.4);
            --white: #ffffff;
            --text-primary: #1a1a1a;
            --text-muted: #6b7280;
            --bg-cream: #faf8f5;
        }

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

        body {
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            background: linear-gradient(160deg, var(--purple-dark) 0%, var(--main-purple) 50%, #1a0a30 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        .bg-orbs {
            position: fixed;
            inset: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.5;
            animation: float 20s ease-in-out infinite;
        }

        .orb-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, var(--secondary-orange) 0%, transparent 70%);
            top: -200px;
            right: -200px;
        }

        .orb-2 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, var(--purple-light) 0%, transparent 70%);
            bottom: -150px;
            left: -150px;
            animation-delay: -10s;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(30px, -30px) scale(1.05); }
            66% { transform: translate(-20px, 20px) scale(0.95); }
        }

        .geo-pattern {
            position: fixed;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
        }

        .back-btn {
            position: fixed;
            top: 25px;
            right: 25px;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 100;
            text-decoration: none;
        }

        .back-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(5px);
        }

        .header-section {
            text-align: center;
            margin-bottom: 35px;
            position: relative;
            z-index: 10;
        }

        .logo-img {
            height: 140px;
            width: auto;
            margin-bottom: -30px;
            filter: drop-shadow(0 4px 20px rgba(255, 120, 31, 0.3));
        }

        .tagline {
            font-size: 17px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
        }

        .main-content {
            position: relative;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .form-panel {
            background: var(--white);
            border-radius: 28px;
            padding: 40px 60px;
            width: 100%;
            max-width: 540px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
            position: relative;
            z-index: 5;
            animation: floatMain 6s ease-in-out infinite;
        }

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

        .feature-card {
            position: absolute;
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 18px;
            padding: 18px 15px;
            text-align: center;
            width: 150px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: default;
            z-index: 1;
        }

        .feature-card:hover {
            transform: translateY(-10px) scale(1.08);
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .feature-card.card-1 {
            top: 130px;
            right: -200px;
            animation: floatCard1 5s ease-in-out infinite;
        }

        .feature-card.card-2 {
            bottom: 200px;
            right: -200px;
            animation: floatCard2 5.5s ease-in-out infinite;
        }

        .feature-card.card-3 {
            top: 130px;
            left: -200px;
            animation: floatCard3 6s ease-in-out infinite;
        }

        .feature-card.card-4 {
            bottom: 200px;
            left: -200px;
            animation: floatCard4 5.2s ease-in-out infinite;
        }

        @keyframes floatCard1 {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(1.5deg); }
        }

        @keyframes floatCard2 {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-8px) rotate(-1.5deg); }
        }

        @keyframes floatCard3 {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-12px) rotate(-1.5deg); }
        }

        @keyframes floatCard4 {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-9px) rotate(1.5deg); }
        }

        .feature-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--secondary-orange), #ff9a4d);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            margin: 0 auto 10px;
            box-shadow: 0 6px 20px var(--orange-glow);
            transition: transform 0.3s ease;
        }

        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .feature-card h4 {
            color: var(--white);
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .feature-card p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 11px;
            line-height: 1.4;
        }

        .welcome-text {
            text-align: center;
            margin-bottom: 25px;
        }

        .welcome-text h2 {
            color: var(--main-purple);
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 6px;
        }

        .welcome-text p {
            color: var(--text-muted);
            font-size: 14px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 700;
            font-size: 14px;
            color: var(--text-primary);
        }

        .optional-tag {
            font-weight: 500;
            font-size: 12px;
            color: var(--text-muted);
        }

        .input-wrapper {
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 15px 48px 15px 48px;
            border: 2px solid #e8e9f0;
            border-radius: 14px;
            font-size: 15px;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            transition: all 0.3s ease;
            background: var(--bg-cream);
            text-align: right;
            appearance: none;
            cursor: pointer;
        }

        input.form-input, textarea.form-input {
            cursor: text;
        }

        .form-textarea {
            min-height: 90px;
            resize: vertical;
            padding: 15px 48px 15px 16px;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--main-purple);
            background: var(--white);
            box-shadow: 0 0 0 4px rgba(80, 44, 132, 0.1);
        }

        .form-input::placeholder {
            color: #aaa;
        }

        .input-icon {
            position: absolute;
            right: 16px;
            top: 27px;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 16px;
            transition: color 0.3s;
            pointer-events: none;
        }

        .form-input:focus + .input-icon {
            color: var(--main-purple);
        }

        .custom-select {
            position: relative;
        }

        .custom-select-trigger {
            width: 100%;
            padding: 15px 48px 15px 48px;
            border: 2px solid #e8e9f0;
            border-radius: 14px;
            font-size: 15px;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-weight: 500;
            transition: background 0.3s ease;
            background: var(--bg-cream);
            text-align: right;
            cursor: pointer;
            display: block;
            color: var(--text-primary);
            appearance: none;
            -webkit-appearance: none;
            margin: 0;
            outline: none;
            vertical-align: top;
        }

        .custom-select-trigger span.placeholder {
            color: #aaa;
        }

        .custom-select-input {
            width: 100%;
            padding: 15px 48px 15px 48px;
            border: 2px solid #e8e9f0;
            border-radius: 14px;
            font-size: 15px;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-weight: 500;
            background: var(--bg-cream);
            text-align: right;
            color: var(--text-primary);
            outline: none;
        }

        .custom-select-input::placeholder {
            color: #aaa;
        }

        .custom-select-input:focus {
            border-color: var(--main-purple);
            background: var(--white);
            box-shadow: 0 0 0 4px rgba(80, 44, 132, 0.1);
        }

        .custom-select.open .custom-select-trigger,
        .custom-select-trigger:focus {
            outline: none;
            background: var(--white);
        }

        .select-arrow {
            position: absolute;
            left: 16px;
            top: 27px;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 12px;
            pointer-events: none;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .custom-select.open .select-arrow {
            transform: translateY(-50%) rotate(180deg);
            color: var(--main-purple);
        }

        .custom-select-options {
            display: none;
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            left: 0;
            background: white;
            border: 1px solid #e8e9f0;
            border-radius: 14px;
            box-shadow: 0 12px 30px rgba(0,0,0,0.1);
            z-index: 20;
            overflow: hidden;
            max-height: 220px;
            overflow-y: auto;
        }

        .custom-select.open .custom-select-options {
            display: block;
        }

        .custom-select-option {
            padding: 13px 18px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary);
            cursor: pointer;
            text-align: right;
            transition: background 0.2s ease;
        }

        .custom-select-option:hover {
            background: var(--bg-cream);
            color: var(--main-purple);
        }

        .custom-select-option.selected {
            background: var(--bg-cream);
            color: var(--main-purple);
            font-weight: 700;
        }

        .btn-submit {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, var(--secondary-orange) 0%, #ff9a4d 100%);
            color: white;
            border: none;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 800;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px var(--orange-glow);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
        }

        .btn-submit::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .btn-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px var(--orange-glow);
        }

        .btn-submit:hover::before {
            left: 100%;
        }

        .btn-submit:active {
            transform: translateY(-1px);
        }

        .btn-submit:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .success-panel {
            display: none;
            text-align: center;
            padding: 10px 0 5px;
            animation: fadeSlide 0.5s ease;
        }

        .success-panel.active {
            display: block;
        }

        @keyframes fadeSlide {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .success-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #22c55e, #16a34a);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 34px;
            margin: 0 auto 20px;
            box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
            animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes popIn {
            0% { transform: scale(0); }
            80% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .success-panel h2 {
            color: var(--main-purple);
            font-size: 22px;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .success-panel p {
            color: var(--text-muted);
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 26px;
            padding: 0 10px;
        }

        .success-panel .btn-submit {
            text-decoration: none;
        }

        @media (max-width: 900px) {
            .feature-card {
                position: relative;
                top: auto !important;
                bottom: auto !important;
                left: auto !important;
                right: auto !important;
                width: calc(50% - 8px);
            }

            .main-content {
                flex-direction: column;
                gap: 25px;
            }

            .features-mobile {
                display: flex;
                flex-wrap: wrap;
                gap: 12px;
                justify-content: center;
                max-width: 480px;
                order: 2;
            }

            .form-panel {
                order: 1;
                animation: none;
            }

            .feature-card.card-1,
            .feature-card.card-2,
            .feature-card.card-3,
            .feature-card.card-4 {
                animation: floatMobile 4s ease-in-out infinite;
            }

            .feature-card.card-2 { animation-delay: 0.5s; }
            .feature-card.card-3 { animation-delay: 1s; }
            .feature-card.card-4 { animation-delay: 1.5s; }

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

            .logo-img {
                height: 55px;
            }

            .back-btn {
                top: 15px;
                right: 15px;
                width: 45px;
                height: 45px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 15px;
            }

            .header-section {
                margin-bottom: 20px;
            }

            .logo-img {
                height: 45px;
            }

            .tagline {
                font-size: 14px;
            }

            .form-panel {
                padding: 30px 25px;
                border-radius: 24px;
                max-width: 100%;
            }

            .feature-card {
                width: 100%;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }
        }

        @media (min-width: 901px) {
            .features-mobile {
                display: none;
            }
        }
    

/* ---- */

.lg-1{fill:#fff;}.lg-2{fill:#ff781f;}
