/**
 * Pension Eligibility Landing Page - CashFlow.Express Brand Design
 * Dark theme with purple/pink/blue gradients, glassmorphism, and animated elements
 */

/* ===== CSS Variables - CashFlow Brand ===== */
:root {
    --primary-purple: #8b5cf6;
    --primary-pink: #ec4899;
    --primary-blue: #3b82f6;
    --bg-dark: #000000;
    --bg-dark-alt: #0a0a1a;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.8);
    --text-gray-light: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --gradient-primary: linear-gradient(135deg, #8b5cf6, #ec4899, #3b82f6);
    --gradient-purple-pink: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-purple-blue: linear-gradient(135deg, #8b5cf6, #3b82f6);
    --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.5);
    --shadow-glow-pink: 0 0 30px rgba(236, 72, 153, 0.5);
    --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.5);
    --transition: all 0.3s ease;
    --font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Container max-width */
.container {
    max-width: 1200px !important;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    direction: rtl;
    text-align: right;
    background: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ===== Animated Background ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #0a0a1a 50%, #000000 100%);
    pointer-events: none;
}


/* Animated Grid */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
    overflow: hidden;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orbFloat 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    max-width: 100%;
    overflow: hidden;
}

.orb-1 {
    width: 400px;
    height: 400px;
    max-width: 100vw;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    max-width: 100vw;
    background: radial-gradient(circle, var(--primary-pink) 0%, transparent 70%);
    bottom: 20%;
    left: 15%;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    max-width: 100vw;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(50px, 20px) scale(1.05); }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-gray);
    font-size: 1.0625rem;
}

/* ===== Navigation ===== */
/* Override Bootstrap's position: relative - MUST override Bootstrap */
.navbar,
#mainNav,
nav.navbar,
.navbar.navbar-expand-lg,
.navbar.navbar-dark,
.navbar.sticky-top,
#mainNav.navbar.navbar-expand-lg.navbar-dark.sticky-top {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1020 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.2) !important;
    padding: 1.25rem 0 !important;
    transition: var(--transition) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    width: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.3);
    padding: 0.875rem 0;
}

.navbar-brand {
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 40px rgba(236, 72, 153, 0.4));
    transition: var(--transition);
}

.navbar-brand:hover .navbar-logo {
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 1)) drop-shadow(0 0 50px rgba(236, 72, 153, 0.6));
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 35px;
    }
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    margin: 0 0.25rem;
    padding: 0.625rem 1.25rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-purple-pink);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    right: 0;
}

.btn-cta-nav {
    background: var(--gradient-purple-pink) !important;
    color: var(--text-white) !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.625rem 1.5rem !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transition: var(--transition);
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
    color: var(--text-white) !important;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 4rem;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-section .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.hero-section .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* ===== Hero Promo Section (Right Side) ===== */
.hero-promo {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

.multi-step-form {
    position: relative;
}

.form-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-purple-pink);
    color: var(--text-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    z-index: 10;
}

.form-badge svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    flex-shrink: 0;
}

.form-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--primary-purple);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-sub-badge span:first-child {
    color: var(--primary-purple);
    font-weight: 700;
}

.promo-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.promo-line-1 {
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-line-2 {
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-line-3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-line-4 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 90%;
}

.promo-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
}

.trust-badges-promo {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    justify-content: flex-start;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-white);
    transition: var(--transition);
}

.trust-badge-item:hover {
    background: var(--glass-bg-hover);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.trust-badge-icon {
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.trust-badge-text {
    color: var(--text-gray);
    transition: var(--transition);
}

.trust-badge-item:hover .trust-badge-text {
    color: var(--text-white);
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}


.cta-button {
    background: var(--gradient-purple-pink);
    color: var(--text-white);
    font-weight: 800;
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6);
    color: var(--text-white);
}

.btn-arrow {
    font-size: 1.75rem;
    transition: var(--transition);
}

.cta-button:hover .btn-arrow {
    transform: translateX(-8px);
}

.hero-image {
    position: relative;
    z-index: 10;
}

.hero-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3.5rem;
    text-align: center;
    color: var(--text-white);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.hero-card:hover::before {
    opacity: 0.3;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.hero-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-card p {
    color: var(--text-gray);
    font-size: 1.125rem;
}

/* ===== Hero Multi-Step Form ===== */
.hero-form-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.multi-step-form {
    max-width: 100%;
    width: 100%;
    padding: 1.75rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: visible;
}


.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 0.25rem;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--text-gray);
    margin: 0 auto 0.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.step-item.active .step-circle {
    background: var(--gradient-purple-pink);
    border-color: var(--primary-purple);
    color: var(--text-white);
    box-shadow: var(--shadow-glow-purple);
}

.step-item.completed .step-circle {
    background: var(--gradient-purple-pink);
    border-color: var(--primary-purple);
    color: var(--text-white);
}

.step-item.completed .step-circle::after {
    content: '✓';
    font-size: 1.5rem;
}

.step-label {
    font-size: 0.6875rem;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.2;
}

.step-item.active .step-label {
    color: var(--primary-purple);
    font-weight: 600;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
    width: 100%;
    max-width: 100%;
    opacity: 0;
    visibility: hidden;
    overflow: visible;
}

.form-step.active {
    display: block;
    opacity: 1;
    visibility: visible;
    overflow: visible;
}

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

.step-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 100%;
    display: block;
}

.form-group {
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

.form-step-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: space-between;
}

.btn-step-next,
.btn-step-prev,
.btn-step-submit {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
}

.btn-step-next,
.btn-step-submit {
    background: var(--gradient-purple-pink);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-step-next:hover,
.btn-step-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.btn-step-prev {
    background: var(--glass-bg);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.btn-step-prev:hover {
    background: var(--glass-bg-hover);
    border-color: var(--primary-purple);
}

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

/* ===== Glass Card Effect ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    transition: var(--transition);
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.3);
}

.glass-card:hover::before {
    opacity: 0.3;
}

/* ===== Section Styles ===== */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== Info Cards ===== */
.info-cards-section {
    background: var(--bg-dark);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.info-card {
    height: 100%;
    position: relative;
    padding: 3rem 2.5rem;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-12px);
}

.card-number {
    position: absolute;
    top: -25px;
    right: 30px;
    background: var(--gradient-purple-pink);
    color: var(--text-white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    box-shadow: var(--shadow-glow-purple);
    z-index: 2;
    border: 4px solid var(--bg-dark);
}

.info-card h3 {
    color: var(--text-white);
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.0625rem;
}

/* ===== Process Timeline ===== */
.process-section {
    background: var(--bg-dark-alt);
    position: relative;
    overflow: hidden;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(50%);
    border-radius: 2px;
    box-shadow: var(--shadow-glow-purple);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 90px;
    height: 90px;
    background: var(--gradient-purple-pink);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    box-shadow: var(--shadow-glow-purple);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    border: 5px solid var(--bg-dark);
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-pink);
}

.step-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    margin: 0 2.5rem;
    flex: 1;
    max-width: 450px;
    transition: var(--transition);
}

.step-content:hover {
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    border-color: var(--primary-purple);
}

.step-content h3 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.8;
}

/* ===== Form Section ===== */
.form-section {
    background: var(--bg-dark);
    position: relative;
}

.form-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem;
}

.form-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

.form-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.form-label {
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.required {
    color: #f87171;
    margin-right: 0.25rem;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25);
    outline: none;
    color: var(--text-white);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Dropdown options styling */
.form-select option {
    background: #1a1a2e !important;
    color: #ffffff !important;
    padding: 0.75rem 1rem;
}

.form-select option:hover {
    background: var(--primary-purple) !important;
    color: var(--text-white) !important;
}

.form-select option:checked,
.form-select option:focus {
    background: var(--primary-purple) !important;
    color: var(--text-white) !important;
}

/* For better browser compatibility - custom dropdown arrow */
select.form-select {
    background-color: rgba(255, 255, 255, 0.1);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ffffff' d='M8 11L3 6h10z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 16px 12px;
    padding-left: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Ensure select dropdown is visible on all browsers */
select.form-select::-ms-expand {
    display: none;
}

/* For mobile browsers */
@media (max-width: 768px) {
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-select option {
        background: #1a1a2e !important;
        color: #ffffff !important;
        font-size: 16px;
    }
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #f87171;
}

.invalid-feedback {
    display: none;
    color: #f87171;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
}

.form-check-label {
    color: var(--text-white);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.form-check-label a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.form-check-label a:hover {
    color: var(--primary-pink);
    border-bottom-color: var(--primary-pink);
}

.disclaimer-box {
    background: rgba(236, 72, 153, 0.1);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.disclaimer-box::before {
    content: '⚠️';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    opacity: 0.3;
}

.disclaimer-box strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.disclaimer-box p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.8;
}

#submitBtn {
    background: var(--gradient-purple-pink);
    border: none;
    color: var(--text-white);
    font-weight: 800;
    font-size: 1.125rem;
    padding: 1.125rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
    transition: var(--transition);
    margin-top: 1.5rem;
    width: 100%;
}

#submitBtn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6);
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

#formMessage {
    margin-top: 1.5rem;
    border-radius: 12px;
    padding: 1.25rem;
    font-weight: 500;
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--bg-dark-alt);
    position: relative;
}

.accordion-item {
    border: 1px solid var(--glass-border);
    border-radius: 12px !important;
    margin-bottom: 1.25rem;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.accordion-button {
    background: var(--glass-bg);
    color: var(--text-white);
    font-weight: 700;
    padding: 1.5rem 2rem;
    border: none;
    box-shadow: none;
    font-size: 1.0625rem;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background: var(--glass-bg-hover);
    color: var(--primary-purple);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 2rem;
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.0625rem;
    background: rgba(0, 0, 0, 0.2);
}

/* ===== Trust Strip ===== */
.trust-strip {
    background: var(--bg-dark-alt);
    padding: 3rem 0;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-item-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.trust-icon-strip {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

/* ===== Footer ===== */
.footer {
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-white);
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.footer-logo-wrapper {
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.7)) drop-shadow(0 0 30px rgba(236, 72, 153, 0.3));
    transition: var(--transition);
}

.footer-logo:hover {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.9)) drop-shadow(0 0 40px rgba(236, 72, 153, 0.5));
    transform: scale(1.05);
}

.footer h4 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 800;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer p {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9375rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-purple);
    transform: translateX(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray-light);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray-light);
    text-align: center;
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .process-timeline::before {
        right: 40px;
    }
    
    .process-step {
        flex-direction: row !important;
    }
    
    .step-content {
        margin-right: 3rem;
        margin-left: 0;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    * {
        max-width: 100%;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    section {
        padding: 4rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-section {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 4rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .section-title {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
        word-wrap: break-word;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .step-content {
        margin-right: 1.5rem;
        padding: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .trust-item-strip {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 1.25rem;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .card-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        top: -20px;
        right: 20px;
    }
    
    .cta-button {
        font-size: 1.125rem;
        padding: 1.125rem 2.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-form-container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .multi-step-form {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: auto;
    }
    
    .form-step {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .form-step:not(.active) {
        display: none !important;
    }
    
    .step-indicator {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .step-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }
    
    .form-group {
        width: 100%;
        max-width: 100%;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 1.25rem;
    }
    
    .form-control,
    .form-select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .form-label {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
    }
    
    .form-step-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-step-next,
    .btn-step-prev,
    .btn-step-submit {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .orb {
        display: none;
    }
    
    .grid-overlay {
        display: none;
    }
}

@media (max-width: 576px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-section {
        padding-top: 100px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 1.5rem;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .hero-promo {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
    
    .promo-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .promo-description {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .promo-stats {
        gap: 1.5rem;
        justify-content: space-around;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .trust-badges-promo {
        margin-top: 2rem;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .trust-badge-item {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .disclaimer-box {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .multi-step-form {
        padding: 1rem;
    }
    
    .step-indicator {
        padding: 0;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
}

/* ===== Accessibility ===== */
:focus-visible {
    outline: 3px solid var(--primary-purple);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.6);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===== Accessibility Widget ===== */
#accessibility-widget {
    position: fixed !important;
    bottom: 180px;
    right: 20px;
    z-index: 99998 !important;
    direction: rtl;
}

.accessibility-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
}

.accessibility-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
}

.accessibility-btn svg {
    width: 30px;
    height: 30px;
}

.accessibility-menu {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    max-height: 600px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    z-index: 99999 !important;
    display: block !important;
    pointer-events: none;
}

#accessibility-menu.open,
.accessibility-menu.open,
div.accessibility-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    display: block !important;
}

.accessibility-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
}

.accessibility-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.accessibility-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessibility-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.accessibility-close svg {
    width: 20px;
    height: 20px;
}

.accessibility-content {
    padding: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
}

.accessibility-section {
    margin-bottom: 2rem;
}

.accessibility-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.accessibility-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.control-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.8);
}

#font-size-display {
    color: white;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.accessibility-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    width: 100%;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
}

.option-btn.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.8);
}

.option-icon {
    font-size: 1.5rem;
}

.option-text {
    flex: 1;
    font-weight: 500;
}

.option-toggle {
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    position: relative;
    transition: all 0.3s ease;
}

.option-toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 3px;
    right: 3px;
    transition: all 0.3s ease;
}

.option-btn.active .option-toggle {
    background: var(--primary-purple);
}

.option-btn.active .option-toggle::after {
    transform: translateX(-24px);
}

.reset-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.5);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}

.reset-btn:hover {
    background: rgba(236, 72, 153, 0.3);
    border-color: rgba(236, 72, 153, 0.8);
}

.reset-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Cookie Management Button ===== */
.cookie-manage-btn {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 99997;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    pointer-events: auto !important;
    touch-action: manipulation;
}

.cookie-manage-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
    background: rgba(139, 92, 246, 1);
}

.cookie-manage-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Cookie Modal ===== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    direction: rtl;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.cookie-modal-content {
    position: relative;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.cookie-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.cookie-modal-close svg {
    width: 24px;
    height: 24px;
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

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

input:checked + .cookie-toggle-slider {
    background-color: var(--primary-purple);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 768px) {
    .cookie-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .cookie-modal-header {
        padding: 1.5rem;
    }
    
    .cookie-modal-body {
        padding: 1.5rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
}

/* ===== RTL Adjustments for Footer Buttons ===== */
/* In RTL: accessibility on left side (visually), cookie on right side (visually) - matching main site */
[dir="rtl"] .cookie-manage-btn {
    left: auto;
    right: 20px;
}

[dir="rtl"] #accessibility-widget {
    right: auto;
    left: 20px;
}

[dir="rtl"] .scroll-to-top {
    right: auto;
    left: 30px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    .accessibility-menu {
        width: 90vw;
        max-width: 350px;
    }
    
    .cookie-manage-btn {
        bottom: 160px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-manage-btn span {
        display: none;
    }
    
    [dir="rtl"] .cookie-manage-btn {
        left: auto;
        right: 10px;
    }
    
    [dir="rtl"] #accessibility-widget {
        right: auto;
        left: 10px;
    }
    
    [dir="rtl"] .scroll-to-top {
        left: 20px;
    }
}

/* Force sticky navbar - override Bootstrap's position: relative */
body nav.navbar.sticky-top,
body #mainNav.navbar.sticky-top,
.navbar.sticky-top.navbar-expand-lg.navbar-dark {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1020 !important;
}
