/* Import Arabic Font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

/* Theme Variables */
:root, .theme-light {
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;

    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;

    /* Border Colors */
    --border-primary: #e5e7eb;
    --border-secondary: #d1d5db;

    /* Card Colors */
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --card-shadow: rgba(0, 0, 0, 0.1);

    /* Sidebar Colors */
    --sidebar-bg: #ffffff;
    --sidebar-text: #4b5563;
    --sidebar-hover: #f0fdf4;
    --sidebar-active: rgba(22, 163, 74, 0.1);

    /* Green (Primary - unchanged in both themes) */
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;

    /* Shadow */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.theme-dark {
    /* Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;

    /* Border Colors */
    --border-primary: #334155;
    --border-secondary: #475569;

    /* Card Colors */
    --card-bg: #1e293b;
    --card-border: #334155;
    --card-shadow: rgba(0, 0, 0, 0.3);

    /* Sidebar Colors */
    --sidebar-bg: #0f172a;
    --sidebar-text: #cbd5e1;
    --sidebar-hover: rgba(22, 163, 74, 0.15);
    --sidebar-active: rgba(22, 163, 74, 0.2);

    /* Green colors for dark mode */
    --green-50: #0f2419;
    --green-100: #15402d;

    /* Shadow (darker in dark mode) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    position: relative;
    display: block;
}

body.sidebar-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('https://cdn.pixabay.com/photo/2024/06/20/03/24/ai-generated-8841090_1280.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 61, 46, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.75rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        margin-bottom: 2rem;
        line-height: 1.3;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.25rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #16a34a 0%, #0b3d2e 100%);
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
}

@media (min-width: 640px) {
    .hero-button {
        padding: 1rem 2.75rem;
        font-size: 1.15rem;
    }
}

@media (min-width: 768px) {
    .hero-button {
        padding: 1.1rem 3rem;
        font-size: 1.2rem;
    }
}

@media (min-width: 1024px) {
    .hero-button {
        padding: 1.2rem 3.25rem;
        font-size: 1.25rem;
    }
}

.hero-button:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.6);
}

/* Menu Button */
.menu-button {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .menu-button {
        top: 1.5rem;
        right: 1.5rem;
        width: 3.5rem;
        height: 3.5rem;
    }
}

.menu-button:hover {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.menu-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: #0b3d2e;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Sidebar Drawer */
.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #ffffff;
    z-index: 1002;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-nav {
    padding: 2rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    color: #1f2937;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-right: 3px solid transparent;
}

.sidebar-link:hover {
    background: #f0fdf4;
    color: #16a34a;
    border-right-color: #16a34a;
}

.sidebar-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.sidebar-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 1.5rem;
}

.sidebar-lang {
    padding: 0.5rem 0;
}

.sidebar-lang-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-lang-link:hover {
    background: #f9fafb;
    color: #16a34a;
}

.sidebar-lang-link.active {
    color: #16a34a;
    background: #f0fdf4;
    font-weight: 600;
}

/* RTL Support */
[dir="rtl"] .menu-button {
    right: auto;
    left: 1.5rem;
}

[dir="rtl"] .sidebar {
    right: auto;
    left: -320px;
}

[dir="rtl"] .sidebar.active {
    left: 0;
    right: auto;
}

[dir="rtl"] .sidebar-link {
    border-right: none;
    border-left: 3px solid transparent;
}

[dir="rtl"] .sidebar-link:hover {
    border-left-color: #16a34a;
    border-right: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        justify-content: center;
    }

    .hero-content {
        padding: 6rem 1.5rem 3rem 1.5rem;
        width: 100%;
    }

    .hero-content > div {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-content > div p {
        margin-bottom: 0.75rem;
    }

    .hero-button {
        margin-top: 1rem;
    }

    .hero-content > p {
        font-size: 0.95rem;
    }

    .sidebar {
        width: 85%;
        right: -85%;
    }

    .sidebar.active {
        right: 0;
    }

    [dir="rtl"] .sidebar {
        left: -85%;
        right: auto;
    }

    [dir="rtl"] .sidebar.active {
        left: 0;
        right: auto;
    }

    [dir="rtl"] .menu-button {
        left: 1rem;
        right: auto;
    }
}

@media (max-width: 480px) {
    .hero-section {
        background-attachment: scroll;
    }

    .hero-content {
        padding: 5rem 1.25rem 2rem 1.25rem;
    }

    .hero-content > div {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-content > div p {
        margin-bottom: 0.6rem;
    }

    .hero-button {
        margin-top: 0.75rem;
    }

    .hero-content > p {
        font-size: 0.875rem;
        margin-top: 0.75rem;
    }

    .menu-button {
        width: 3.5rem;
        height: 3.5rem;
        top: 1rem;
        right: 1rem;
    }

    .menu-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* Additional Page Styles */
.page-container {
    min-height: 100vh;
    background: #f9fafb;
    font-size: 1.1rem;
    line-height: 1.7;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

@media (max-width: 768px) {
    .page-container {
        font-size: 1rem;
        padding-top: 4rem;
    }

    .content-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-container {
        font-size: 0.95rem;
    }

    .content-wrapper {
        padding: 1.25rem;
    }
}

/* General Typography for All Pages */
body {
    font-size: 16px;
    line-height: 1.6;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.875rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1f2937;
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #16a34a 0%, #0b3d2e 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

@media (max-width: 768px) {
    .form-container {
        padding: 1.75rem;
    }

    .form-label {
        font-size: 1.05rem;
    }

    .form-input {
        padding: 0.95rem 1.15rem;
        font-size: 1.05rem;
    }

    .btn-primary {
        padding: 0.95rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.5rem;
    }

    .form-label {
        font-size: 1rem;
    }

    .form-input {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .btn-primary {
        padding: 0.875rem;
        font-size: 1.05rem;
    }
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

@media (max-width: 768px) {
    .alert {
        padding: 0.95rem 1.15rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .alert {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

/* Questionnaire Option Styling */
.option-label:has(input[type="radio"]:checked) {
    background: #dcfce7 !important;
    border-color: #16a34a !important;
}

.option-label:active {
    transform: scale(0.98);
}

/* CTA Button and Feature Cards */
.cta-button {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .cta-button {
        width: auto;
        max-width: 90%;
    }
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
}

/* Touch-Friendly Elements */
button, a.hero-button, .plan-button, .btn-primary, .btn-secondary {
    min-height: 44px;
    min-width: 44px;
}

@media (pointer: coarse) {
    button, a, input, select, textarea {
        min-height: 48px;
    }
}

/* Screen Reader Only */
.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;
}

/* Questionnaire Styles */
.questionnaire-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #d1fae5 100%) !important;
    padding: 4rem 1rem 2rem !important;
    position: relative !important;
    width: 100% !important;
}

.questionnaire-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.questionnaire-header {
    text-align: center;
    margin-bottom: 2rem;
}

.questionnaire-title {
    font-size: 2rem;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.questionnaire-subtitle {
    font-size: 1.15rem;
    color: #059669;
    font-weight: 500;
}

.progress-section {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.progress-label {
    font-weight: 600;
    color: #047857;
}

.progress-count {
    font-weight: 700;
    color: #065f46;
    background: #d1fae5;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
}

.progress-bar-container {
    position: relative;
    width: 100%;
    height: 0.75rem;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-bar-fill {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 50%, #047857 100%);
    border-radius: 9999px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.progress-bar-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.question-card {
    background: white !important;
    border-radius: 1.25rem !important;
    padding: 1.75rem !important;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.12) !important;
    border: 2px solid #d1fae5 !important;
    display: block !important;
    visibility: visible !important;
}

.question-content {
    margin-bottom: 2rem;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

.option-item {
    position: relative;
    display: block;
    cursor: pointer;
}

.option-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.option-item:hover .option-content {
    background: #f0fdf4;
    border-color: #86efac;
    transform: translateX(4px);
}

.option-radio:checked + .option-content {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.option-check {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.2s ease;
}

.option-radio:checked + .option-content .option-check {
    background: #10b981;
    border-color: #10b981;
}

.option-check-icon {
    width: 1rem;
    height: 1rem;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.option-radio:checked + .option-content .option-check-icon {
    opacity: 1;
    transform: scale(1);
}

.option-text {
    font-size: 1.05rem;
    color: #374151;
    font-weight: 500;
    flex: 1;
}

.option-radio:checked + .option-content .option-text {
    color: #065f46;
    font-weight: 600;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #4b5563;
    transform: translateY(-1px);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-icon-rtl {
    transform: rotate(180deg);
}

/* RTL Support for Questionnaire */
[dir="rtl"] .option-item:hover .option-content {
    transform: translateX(-4px);
}

[dir="rtl"] .option-content {
    flex-direction: row-reverse;
}

/* Mobile Responsive - Questionnaire */
@media (max-width: 640px) {
    .questionnaire-container {
        padding: 4rem 1rem 2rem;
    }

    .questionnaire-title {
        font-size: 1.75rem;
    }

    .questionnaire-subtitle {
        font-size: 1.05rem;
    }

    .progress-section {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }

    .question-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .question-text {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
    }

    .options-container {
        gap: 0.75rem;
    }

    .option-content {
        padding: 1rem 1.15rem;
        gap: 0.875rem;
    }

    .option-text {
        font-size: 1rem;
    }

    .form-actions {
        gap: 0.625rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .btn-icon {
        width: 1.125rem;
        height: 1.125rem;
    }
}

/* Pricing Page Styles */
.pricing-page {
    min-height: 100vh !important;
    background: #ffffff !important;
    padding: 8rem 2rem 4rem !important;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.pricing-header {
    text-align: center !important;
    max-width: 800px;
    margin: 0 auto 4rem !important;
    width: 100%;
}

.pricing-title {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
    display: block;
    visibility: visible;
}

.pricing-subtitle {
    font-size: 1.25rem !important;
    color: #6b7280 !important;
    margin-bottom: 2.5rem !important;
    font-weight: 400 !important;
    display: block;
    visibility: visible;
}

.billing-toggle {
    display: inline-flex !important;
    background: #f3f4f6;
    border-radius: 0.75rem;
    padding: 0.375rem;
    gap: 0.25rem;
    margin-bottom: 1rem;
    visibility: visible;
}

.billing-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.billing-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.billing-btn.active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.savings-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, #16a34a 0%, #0b3d2e 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.billing-note {
    font-size: 0.875rem;
    color: #16a34a;
    font-weight: 600;
    text-align: center;
}

.pricing-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 6rem;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.pricing-card {
    position: relative;
    background: #ffffff !important;
    border: 2px solid #e5e7eb;
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: #16a34a;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #16a34a 0%, #0b3d2e 100%);
    color: #ffffff;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
}

.period {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 500;
}

.plan-note {
    font-size: 0.875rem;
    color: #6b7280;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.x-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.feature-disabled {
    opacity: 0.5;
}

.feature-disabled span {
    text-decoration: line-through;
    color: #9ca3af;
}

.plan-button {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #16a34a 0%, #0b3d2e 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.faq-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 0.75rem;
}

.faq-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #d1d5db;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: #16a34a;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* RTL Support for Pricing */
[dir="rtl"] .popular-badge {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

[dir="rtl"] .feature-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-question {
    text-align: right;
    flex-direction: row-reverse;
}

/* Mobile Responsive - Pricing */
@media (max-width: 768px) {
    .pricing-page {
        padding: 6rem 1.5rem 3rem !important;
    }

    .pricing-title {
        font-size: 2.25rem !important;
    }

    .pricing-subtitle {
        font-size: 1.15rem !important;
    }

    .pricing-header {
        margin-bottom: 3rem !important;
    }

    .pricing-cards {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        margin-bottom: 4rem;
    }

    .plan-name {
        font-size: 1.65rem !important;
    }

    .price {
        font-size: 2.75rem !important;
    }

    .period {
        font-size: 1.15rem !important;
    }

    .plan-note {
        font-size: 0.95rem !important;
    }

    .feature-item {
        font-size: 1rem !important;
    }

    .plan-button {
        padding: 1rem 1.5rem !important;
        font-size: 1.1rem !important;
    }

    .faq-title {
        font-size: 2rem !important;
    }

    .faq-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }

    .faq-question {
        font-size: 1.05rem !important;
        padding: 1.1rem 1.35rem !important;
    }

    .faq-answer p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .pricing-page {
        padding: 5.5rem 1.25rem 2rem !important;
    }

    .pricing-title {
        font-size: 2rem !important;
    }

    .pricing-subtitle {
        font-size: 1.05rem !important;
    }

    .billing-toggle {
        padding: 0.3rem !important;
    }

    .billing-btn {
        padding: 0.625rem 1.15rem !important;
        font-size: 0.95rem !important;
    }

    .pricing-card {
        padding: 1.75rem !important;
    }

    .plan-name {
        font-size: 1.5rem !important;
    }

    .price {
        font-size: 2.5rem !important;
    }

    .period {
        font-size: 1.05rem !important;
    }

    .plan-note {
        font-size: 0.9rem !important;
    }

    .feature-item {
        font-size: 0.95rem !important;
    }

    .plan-button {
        padding: 0.95rem 1.35rem !important;
        font-size: 1.05rem !important;
    }
}
