:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --bg-light: #f8fafc;
    --card-border: #e2e8f0;
    --font-main: 'Rubik', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: #1e293b;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
}

/* Site Navbar */
.site-navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-accent {
    color: #38bdf8;
}

.brand-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: -3px;
}

.btn-gradient-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.35);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
}

/* Wizard Steps & Progress */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2.5rem;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 3px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-bar-fill {
    position: absolute;
    top: 50%;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.4s ease;
}

.wizard-step-indicator {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s ease;
}

.wizard-step-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.wizard-step-item.active .wizard-step-indicator {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.2);
}

.wizard-step-item.completed .wizard-step-indicator {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #ffffff;
}

.wizard-step-title {
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 600;
    color: #64748b;
}

.wizard-step-item.active .wizard-step-title {
    color: var(--primary-color);
}

/* Plan Selection Cards */
.plan-card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: #93c5fd;
}

.plan-card.selected {
    border-color: var(--primary-color);
    background: #f0f7ff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.plan-card.featured {
    border-color: #3b82f6;
}

.plan-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
}

/* Live Preview Card */
.sticky-preview {
    position: sticky;
    top: 90px;
    z-index: 10;
}

.business-preview-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.preview-header-bg {
    height: 110px;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    position: relative;
}

.preview-avatar-wrapper {
    position: absolute;
    bottom: -35px;
    right: 20px;
    width: 75px;
    height: 75px;
    border-radius: 14px;
    background: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-badge-status {
    position: absolute;
    bottom: 12px;
    left: 15px;
}

.preview-content {
    padding: 45px 20px 20px;
}

.preview-gallery-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

/* Form Styles */
.form-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    padding: 30px;
}

.form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 10px 15px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.custom-file-upload {
    border: 2px dashed #94a3b8;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-file-upload:hover {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

/* Public Business View Page */
.business-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 45px 0;
}

.business-logo-main {
    width: 110px;
    height: 110px;
    border-radius: 18px;
    background: #ffffff;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    object-fit: cover;
}

.btn-contact-action {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    transition: all 0.2s;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}
.btn-whatsapp:hover {
    background: #20bd5a;
    color: #ffffff;
}

.btn-call {
    background: #2563eb;
    color: #ffffff;
}
.btn-call:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
/* ------------------------------------------------------------- */
/* Accessibility Floating Widget & Overrides                     */
/* ------------------------------------------------------------- */
.a11y-widget-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    direction: rtl;
    text-align: right;
    font-family: var(--font-main);
}

.a11y-toggle-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.a11y-toggle-btn:hover {
    transform: scale(1.08);
    background: #1d4ed8;
}

.a11y-panel {
    display: none;
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 300px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.a11y-panel.open {
    display: block;
    animation: fadeInA11y 0.25s ease;
}

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

.a11y-panel-header {
    background: #1e293b;
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.a11y-panel-header h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.a11y-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.a11y-panel-body {
    padding: 15px;
}

.a11y-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.a11y-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.a11y-btn i {
    font-size: 1.1rem;
    color: #2563eb;
}

.a11y-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.a11y-panel-footer {
    padding: 12px 15px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Accessibility Themes */
body.a11y-grayscale {
    filter: grayscale(100%) !important;
}

body.a11y-high-contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.a11y-high-contrast * {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.a11y-negative-contrast {
    filter: invert(100%) hue-rotate(180deg) !important;
}

body.a11y-light-bg,
body.a11y-light-bg * {
    background-color: #ffffff !important;
    color: #000000 !important;
}

body.a11y-highlight-links a {
    background-color: #ffff00 !important;
    color: #000000 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}

body.a11y-readable-font,
body.a11y-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}