:root {
    --primary-purple: #3c1053;
    --accent-purple: #5c1d80;
    --brand-btn: #4f1773;
    --gold-accent: #f59e0b;
    --light-bg: #fbfbfe;
    --card-shadow: 0 15px 35px rgba(60, 16, 83, 0.08);
    --text-dark: #221f26;
    --text-muted: #6b7280;
    --border-color: #f0ebf5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    direction: rtl;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glows */
.glow-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
}
.glow-top-right {
    top: -100px;
    right: -100px;
    background: var(--gold-accent);
}
.glow-bottom-left {
    top: 500px;
    left: -100px;
    background: var(--primary-purple);
    position: fixed;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* Top Banner */
.top-banner {
    background: linear-gradient(90deg, #3c1053, #5c1d80);
    color: #fff;
    text-align: center;
    padding: 7px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Header */
header {
    background: transparent;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

/* Badges */
.pill-badge {
    background: #f3e8ff;
    color: var(--primary-purple);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

/* Hero Section */
.hero {
    padding: 20px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 620px 1fr;
    gap: 50px;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
}

/* Form Styling - Unified & Exact Fit */
.form-card {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    width: 100%;
}

.form-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #fef3c7;
    color: #d97706;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.form-card h3 {
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 800;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    font-size: 0.85rem;
    color: #1f2937;
    transition: all 0.25s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-purple);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(60, 16, 83, 0.1);
}

.btn-purple {
    width: 100%;
    background: var(--brand-btn);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.btn-purple:hover {
    background: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(79, 23, 115, 0.25);
}

.form-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Radio Buttons Group Styling */
.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 6px;
}

.radio-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    text-align: center;
}

.radio-card input[type="radio"] {
    display: none; /* إخفاء زر الراديو الافتراضي */
}

.radio-card span {
    font-size: 0.85rem;
    color: #374151;
    font-weight: 600;
}

.radio-card {
    border-color: #e5e7eb;
    background-color: #f9fafb;
}

.radio-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(168, 85, 247, 0.4);
}

/* التنسيق عند اختيار العنصر */
.radio-card:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(126, 34, 206, 0.25));
    border-color: #a855f7;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.radio-card:has(input[type="radio"]:checked) span {
    color: #000;
    font-weight: 700;
}

/* Hero Content */
.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-purple);
    line-height: 1.25;
    margin-bottom: 15px;
}

.highlight-text {
    color: var(--accent-purple);
    font-size: 4rem;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.stats-container {
    display: flex;
    gap: 15px;
}

.stat-box {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    text-align: center;
    flex: 1;
}

.stat-box h2 {
    color: var(--primary-purple);
    font-size: 3rem;
    font-weight: 800;
}

.stat-box span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #ffffff;
    padding: 22px 18px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.icon-box {
    width: 46px;
    height: 46px;
    background: #f3e8ff;
    color: var(--primary-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.25rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Partners */
.partners {
    padding: 30px 0 50px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logo {
    width: 190px;
    height: 120px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: saturate(0%);
    transition: filter 0.3s ease;
}

.partner-logo img:hover {
    filter: saturate(100%);
}

/* Bottom Offer Section */
.bottom-offer-section {
    padding: 50px 0 70px;
}

.promo-ribbon {
    background: linear-gradient(90deg, #3c1053, #5c1d80);
    color: #fff;
    width: max-content;
    max-width: 100%;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 auto 30px;
    box-shadow: 0 8px 20px rgba(92, 29, 128, 0.3);
    text-align: center;
}

.bottom-form-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 50px;
    align-items: center;
}

.offer-features h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.offer-features p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.check-list li {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list li i {
    color: var(--gold-accent);
}

/* Footer */
footer {
    background: #170724;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.light-logo {
    color: #fff;
    margin-bottom: 12px;
    filter: brightness(10);
    justify-self: right;
}

.footer-col p {
    text-align: right;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Responsive Styles for Mobile & Tablets */
@media (max-width: 992px) {
    .hero-grid, .bottom-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1, 
    .section-header h2, 
    .offer-features h2 {
        font-size: 2.2rem;
    }

    .highlight-text {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .check-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stats-container {
        flex-direction: column;
        gap: 10px;
    }

    .partner-logo {
        width: 140px;
        height: 100px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .light-logo {
        justify-content: center;
    }

    .footer-col p {
        text-align: center;
    }

    .promo-ribbon {
        font-size: 0.85rem;
        padding: 8px 15px;
    }

    .form-card {
        padding: 25px 16px;
    }

    .form-badge {
        font-size: 0.68rem;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .hero-content h1, 
    .section-header h2, 
    .offer-features h2 {
        font-size: 1.75rem;
    }

    .highlight-text {
        font-size: 2.2rem;
    }

    .partner-logo {
        width: 45%;
        height: 90px;
    }
}

.thankyou-wrapper {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f9fafb;
        padding: 20px;
        text-align: center;
      }
      .thankyou-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 40px 30px;
        max-width: 500px;
        width: 100%;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        border: 1px solid #e5e7eb;
      }
      .icon-box {
        width: 80px;
        height: 80px;
        background-color: #f3e8ff;
        color: #7c3aed;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px auto;
        font-size: 40px;
      }
       .icon-box svg{
        margin: 15px;
      }
      .btn-home {
        display: inline-block;
        margin-top: 24px;
        background-color: #7c3aed;
        color: #ffffff;
        padding: 12px 28px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.2s ease;
      }
      .btn-home:hover {
        background-color: #6d28d9;
      }