:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #10b981;
    --dark-text: #1f2937;
    --light-text: #6b7280;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --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);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] {
    font-family: 'Cairo', 'Inter', sans-serif;
}

[dir="rtl"] .hero_text h1,
[dir="rtl"] .section_title,
[dir="rtl"] .feature_title,
[dir="rtl"] .step_title,
[dir="rtl"] .plan_name {
    text-align: right;
}

[dir="rtl"] .hero_content {
    grid-template-columns: 1fr 1fr;
}

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

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

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

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

[dir="rtl"] .hero_stats {
    justify-content: flex-end;
}

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

[dir="rtl"] .plan_features li {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

[dir="rtl"] .plan_features li i {
    margin-left: 8px;
    margin-right: 0;
}

[dir="rtl"] .floating_card {
    direction: rtl;
}

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

[dir="rtl"] .step_card::after {
    right: auto;
    left: -20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header_area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header_top {
    padding: 15px 0;
}

.header_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
    font-size: 28px;
}

[dir="rtl"] .logo i {
    margin-right: 0;
    margin-left: 8px;
}

.header_links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav_links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav_links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav_links a:hover {
    color: var(--primary-color);
}

.nav_links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

[dir="rtl"] .nav_links a::after {
    left: auto;
    right: 0;
}

.nav_links a:hover::after {
    width: 100%;
}

.auth_buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Language Toggle */
.language_toggle {
    position: relative;
    margin-left: 15px;
}

[dir="rtl"] .language_toggle {
    margin-left: 0;
    margin-right: 15px;
}

.language_btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark-text);
}

.language_dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 120px;
    display: none;
    z-index: 1001;
}

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

.language_dropdown.show {
    display: block;
}

.language_option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language_option:hover {
    background: var(--background-light);
}

/* Mobile Menu */
.mobile_menu_toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile_menu_toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero_section {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="600" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero_text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.hero_text .highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero_text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero_buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.hero_stats {
    display: flex;
    gap: 40px;
}

.stat_item {
    text-align: center;
    color: white;
}

.stat_number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.stat_label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero_visual {
    position: relative;
}

.hero_image {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

[dir="rtl"] .hero_image {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
}

.hero_image:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

[dir="rtl"] .hero_image:hover {
    transform: perspective(1000px) rotateY(2deg) rotateX(2deg);
}

.floating_cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating_card {
    position: absolute;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating_card:nth-child(1) {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

[dir="rtl"] .floating_card:nth-child(1) {
    left: auto;
    right: -10%;
}

.floating_card:nth-child(2) {
    top: 60%;
    right: -15%;
    animation-delay: 1s;
}

[dir="rtl"] .floating_card:nth-child(2) {
    right: auto;
    left: -15%;
}

.floating_card:nth-child(3) {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

[dir="rtl"] .floating_card:nth-child(3) {
    left: auto;
    right: 10%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* {{ __('tenant.features') }} Section */
.features_section {
    padding: 100px 0;
    background: var(--background-light);
}

.section_header {
    text-align: center;
    margin-bottom: 80px;
}

.section_title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.section_subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.features_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature_card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature_card:hover::before {
    transform: scaleX(1);
}

.feature_card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature_icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 24px;
}

.feature_title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.feature_description {
    color: var(--light-text);
    line-height: 1.7;
}

/* {{ __('tenant.how_it_works') }} Section */
.how_it_works_section {
    padding: 100px 0;
    background: white;
}

.steps_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step_card {
    text-align: center;
    position: relative;
}

.step_card::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step_card:last-child::after {
    display: none;
}

.step_number {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 24px;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.step_title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.step_description {
    color: var(--light-text);
    line-height: 1.6;
}

/* {{ __('tenant.testimonials') }} Section */
.testimonials_section {
    padding: 100px 0;
    background: var(--background-light);
}

.testimonials_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial_card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial_quote {
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 30px;
}

[dir="rtl"] .testimonial_quote {
    left: auto;
    right: 30px;
}

.testimonial_text {
    margin-bottom: 32px;
    font-style: italic;
    line-height: 1.7;
    color: var(--dark-text);
    position: relative;
    z-index: 2;
}

.testimonial_author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author_avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.author_info h4 {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.author_info p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* {{ __('tenant.pricing') }} Section */
.pricing_section {
    padding: 100px 0;
    background: white;
}

.pricing_toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0 60px;
}

.toggle_switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle_switch.active {
    background: var(--primary-color);
}

.toggle_slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle_switch.active .toggle_slider {
    transform: translateX(30px);
}

.pricing_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.pricing_card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing_card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing_card.popular::before {
    content: attr(data-popular);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing_card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.pricing_card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan_name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.plan_price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.plan_period {
    color: var(--light-text);
    margin-bottom: 32px;
}

.plan_features {
    list-style: none;
    margin-bottom: 32px;
}

.plan_features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plan_features li i {
    color: var(--accent-color);
}

/* FAQ Section */
.faq_section {
    padding: 100px 0;
    background: var(--background-light);
}

.faq_container {
    max-width: 800px;
    margin: 0 auto;
}

.faq_item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq_question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-text);
    transition: background 0.3s ease;
}

.faq_question:hover {
    background: var(--background-light);
}

.faq_question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq_item.active .faq_question i {
    transform: rotate(180deg);
}

.faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq_item.active .faq_answer {
    max-height: 200px;
}

.faq_answer_content {
    padding: 0 24px 24px;
    color: var(--light-text);
    line-height: 1.7;
}

/* CTA Section */
.cta_section {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
    color: white;
}

.cta_title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta_subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: white;
    padding: 60px 0 30px;
}

.footer_content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer_logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer_description {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 24px;
}

.newsletter_form {
    display: flex;
    gap: 12px;
}

.newsletter_input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: #374151;
    color: white;
}

.newsletter_input::placeholder {
    color: #9ca3af;
}

.footer_section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer_links {
    list-style: none;
}

.footer_links li {
    margin-bottom: 12px;
}

.footer_links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer_links a:hover {
    color: white;
}

.footer_bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header_links {
        display: none;
    }

    .mobile_menu_toggle {
        display: flex;
    }

    .hero_content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero_text h1 {
        font-size: 2.5rem;
    }

    .hero_buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero_stats {
        justify-content: center;
    }

    .features_grid {
        grid-template-columns: 1fr;
    }

    .steps_container {
        grid-template-columns: 1fr;
    }

    .step_card::after {
        display: none;
    }

    .testimonials_grid {
        grid-template-columns: 1fr;
    }

    .pricing_grid {
        grid-template-columns: 1fr;
    }

    .pricing_card.popular {
        transform: none;
    }

    .footer_content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter_form {
        flex-direction: column;
    }

    [dir="rtl"] .hero_buttons,
    [dir="rtl"] .newsletter_form {
        flex-direction: column;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Styles */
.mobile_nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile_nav.active {
    display: block;
}

.mobile_nav_content {
    padding: 20px;
}

.mobile_nav_links {
    list-style: none;
    margin-bottom: 20px;
}

.mobile_nav_links li {
    margin-bottom: 15px;
}

.mobile_nav_links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.mobile_auth_buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Registration Page Styles */
.register_section {
    padding: 80px 0;
    background: var(--background-light);
}

.register_card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.register_card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.register_card .section_title h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.register_card .primary_input_label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.register_card .primary_input_field {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.plan_selection_area .single_plan_card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: box-shadow 0.3s;
    text-align: center;
}
.plan_selection_area .single_plan_card.selected {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}
