/* ================================================================
   PROJECT: DropSaas Modern Landing Page
   FILE: landing-modern.css
   ORGANIZATION: Logical Sectioning & Component-Based Flow
   ----------------------------------------------------------------
   01. ROOT & VARIABLES (Colors, Fonts, Tokens)
   02. RESET & BASE STYLES
   03. TYPOGRAPHY & UTILITIES
   04. SHARED COMPONENTS (Buttons, Cards, Badges)
   05. NAVIGATION (Header & Mobile Drawer)
   06. MAIN SECTIONS (Hero, Bento, Features, Pricing)
   07. INTERACTIVE (FAQ, Chat Widget, Modals)
   08. LEGAL PAGES (Privacy, Terms, etc.)
   09. FOOTER
   10. RESPONSIVE MEDIA QUERIES (Global Breakpoints)
   ================================================================ */

/* --- 01. ROOT & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Primary Color Palette */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --primary-soft: #eef2ff;
    --primary-rgb: 79, 70, 229;

    /* Semantic Colors */
    --success: #10b981;
    --success-soft: #ecfdf5;
    --danger: #ef4444;
    --danger-soft: #fef2f2;
    --warning: #f59e0b;
    --warning-soft: #fffbeb;
    --info: #3b82f6;
    --info-soft: #eff6ff;

    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --black: #000000;

    /* Layout Tokens */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Animations & Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- 02. RESET & BASE STYLES --- */
/* 1. Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
    font-family: 'Cairo', sans-serif;
    min-width: 320px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Subtle Grain/Mesh overlay if desired, keeping it clean for now */
}

/* Ensure main content grows to push footer down */
main,
.ls-guest-main {
    flex: 1 0 auto;
}

/* Footer stays at bottom */
.footer {
    flex-shrink: 0;
}

.font-cairo {
    font-family: 'Cairo', sans-serif;
}

.font-inter {
    font-family: 'Cairo', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.lp-hidden {
    display: none !important;
}

/* --- 03. TYPOGRAPHY & UTILITIES --- */
/* 2. Global Utilities */
.container {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1.5rem;
    width: 100%;
}

.section {
    padding-block: 6rem;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--gray-500);
}

.font-bold {
    font-weight: 700;
}

.w-full {
    width: 100%;
}

.bg-white {
    background-color: var(--white);
}

.section-header {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
    margin-block-end: 4rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-block-end: 1rem;
    color: var(--gray-900);
    line-height: 1.2;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-full);
    margin: 1rem auto 0 auto;
}

.section-header p {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--gray-500);
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.6;
}

/* Fallback for Disabled JavaScript */
.js-disabled-notice {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: #2c3e50;
    padding: 1rem 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    border-bottom: 3px solid #e74c3c;
    font-family: 'Cairo', sans-serif;
}

.js-disabled-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.js-disabled-notice i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: #e74c3c;
}

.js-disabled-notice h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: #2c3e50;
}

.js-disabled-notice p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.ls-guest-body.js-disabled {
    padding-top: 80px;
}


/* Section: Legal Pages */
.legal-page-wrapper {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(var(--secondary-rgb), 0.05), transparent 40%);
}

.legal-page-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-page-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.legal-language-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-lang-link {
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-lang-link:hover {
    color: var(--white);
}

.legal-lang-link.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.legal-page-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.legal-body-text {
    color: var(--gray-300);
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-body-text h2,
.legal-body-text h3 {
    color: var(--white);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-body-text p {
    margin-bottom: 1.5rem;
}

.legal-body-text ul,
.legal-body-text ol {
    margin-bottom: 1.5rem;
    padding-inline-start: 1.5rem;
}

.legal-body-text li {
    margin-bottom: 0.5rem;
}

.legal-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-updated-date {
    font-size: 0.9rem;
    color: var(--gray-500);
}




/* Section: Legal Pages Advanced */
.legal-page-wrapper {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 60%),
        radial-gradient(circle at bottom left, rgba(var(--secondary-rgb), 0.03), transparent 60%);
    background-color: var(--gray-50);
}

.legal-breadcrumb {
    margin-bottom: 2rem;
}

.legal-breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-breadcrumb li {
    color: var(--gray-500);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.legal-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray-600);
}

.legal-breadcrumb a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-breadcrumb a:hover {
    color: var(--primary);
}

.legal-breadcrumb li.active {
    color: var(--primary);
    font-weight: 500;
}

.legal-page-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar & TOC */
.legal-toc-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-toc-container {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.toc-item-link {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.toc-item-link:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.toc-item-link.active {
    color: var(--primary);
    background: var(--primary-soft);
    border-left-color: var(--primary);
    font-weight: 600;
}

/* Main Card */
.legal-page-card.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.legal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-title {
    margin: 0;
    font-size: 2.2rem;
    color: var(--gray-900);
    background: none;
    -webkit-text-fill-color: initial;
}

/* Language Dropdown */
.lang-toggle-btn {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-toggle-btn:hover {
    background: var(--gray-50);
    color: var(--primary);
    border-color: var(--primary-light);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 50;
}

.legal-language-dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: none;
    border-radius: 8px;
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.lang-item.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

/* Body Text */
/* Body Text */
.legal-body-text {
    color: #475569;
    line-height: 1.8;
    font-size: 1.1rem;
}

.legal-body-text h1,
.legal-body-text h2,
.legal-body-text h3,
.legal-body-text h4 {
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    scroll-margin-top: 120px;
    /* Spacer for sticky header */
}

.legal-body-text h2 {
    font-size: 1.75rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.legal-body-text p {
    margin-bottom: 1.5rem;
}

.legal-body-text ul,
.legal-body-text ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.legal-body-text li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.legal-body-text ul li::marker {
    color: var(--primary);
}

/* Footer */
.legal-card-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.last-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-action-bar {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.btn-legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--gray-200);
    padding: 0.8rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* --- 04. SHARED COMPONENTS --- */
/* 3. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    gap: 0.5rem;
    border: 1px solid transparent;
    font-size: 0.9375rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(0);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn--white:hover,
.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn--secondary {
    background: var(--white);
    border-color: var(--gray-200);
    color: var(--gray-900);
}

.btn--secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn--white {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-900);
}

.btn--white:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.btn--block {
    width: 100%;
}

/* --- 05. NAVIGATION --- */
/* 4. Navigation Header */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.navbar__container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
    gap: 10px;
    max-width: 250px;
}

.navbar__logo-img {
    height: auto;
    max-height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.navbar__logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__link {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-muted);
    position: relative;
    padding-block: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.navbar__link i {
    font-size: 1.125rem;
    color: var(--text-light);
    transition: var(--transition);
}

.navbar__link:hover {
    color: var(--primary);
}

.navbar__link:hover i {
    color: var(--primary);
    transform: translateY(-1px);
}

/* Slide-in Underline Effect */
.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Switcher */
.navbar__language {
    position: relative;
}

.navbar__language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 600;
}

.navbar__language-toggle:hover {
    background: var(--white);
    border-color: var(--primary-light);
    color: var(--primary);
}

.navbar__language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    overflow: hidden;
}

.navbar__language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar__language-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
}

.navbar__language-dropdown a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.navbar__language-dropdown a.active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

/* Navbar Buttons Styles */
.navbar__btn {

    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border: none;
    outline: none;
    cursor: pointer;
    background: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.navbar__btn--ghost {
    background: transparent;
    color: var(--gray-600);
}

.navbar__btn--ghost:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.navbar__btn--primary {
    background: var(--primary);
    color: var(--white);
}

.navbar__btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar__logout-form {
    display: inline;
}

/* Mobile Menu Trigger */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--primary);
    font-size: 1.5rem;
}

/* 5. Mobile Drawer Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu__close {
    width: 36px;
    height: 36px;
    background: var(--gray-50);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--danger);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.mobile-menu__close:hover {
    background: rgba(239, 68, 68, 0.2);
}

.mobile-menu__nav {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--gray-700);
    font-weight: 600;
    border-radius: var(--radius-md);
}

.mobile-menu__link:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.mobile-menu__language {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.mobile-language-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--gray-700);
    font-weight: 600;
}

.mobile-language-dropdown {
    margin-top: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding-inline: 0.5rem;
}

.mobile-language-dropdown.active {
    display: flex;
}

.mobile-language-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
}

.mobile-language-dropdown a.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.mobile-menu__actions {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
}

.mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(var(--black), 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu__overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ef4444;
    font-size: 1.125rem;
}

.mobile-menu__close:hover {
    background: rgba(239, 68, 68, 0.2);
}

.mobile-menu__nav {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu__link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mobile-menu__actions {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Mobile Menu Language Switcher */
.mobile-menu__language {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-language-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
    font-weight: 500;
}

.mobile-language-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mobile-language-dropdown {
    margin-top: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-language-dropdown.active {
    display: flex;
}

.mobile-language-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #475569;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-language-dropdown a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mobile-language-dropdown a.active {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    font-weight: 500;
}

.mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu__overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */






/* RTL Support */
[dir="rtl"] .mobile-menu {
    right: auto;
    left: -100%;
}

[dir="rtl"] .mobile-menu.active {
    left: 0;
}

[dir="rtl"] .mobile-menu {
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

/* --- 06. MAIN SECTIONS --- */
/* 6. Hero Section */
.hero {
    padding-block: 8rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Modern Radial Gradient Background */
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.05), transparent 50%);
    overflow: visible;
}

.hero::before {
    /* Optional Mesh/Noise overlay can go here */
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero__content {
    max-width: 600px;
}

.hero__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-block-end: 1rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.hero-main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-block-end: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

/* Pulse Animation for CTA */
.btn--pulse-glow {
    animation: pulse-glow-btn 2s infinite;
}

@keyframes pulse-glow-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

.lp-animated-container {
    display: block;
    min-height: 1.4em;
    margin-top: 0.5rem;
}

.lp-animated-text {
    color: var(--primary);
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Typewriter text */
.lp-typed-text {
    color: var(--primary);
}

/* Blinking cursor */
.lp-typed-cursor {
    color: var(--primary);
    font-weight: 300;
    animation: lp-cursor-blink 0.8s step-end infinite;
    margin-inline-start: 2px;
}

@keyframes lp-cursor-blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--gray-600);
    margin-block-end: 2.5rem;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__tags {
    margin-block-start: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
    font-weight: 500;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.hero__tag:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}

.hero__tag i {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    font-size: 0;
}

/* Hero Demo Dashboard - Premium Interactive Design */
.hero-demo {
    position: relative;
    width: 100%;
    perspective: 1500px;
}

.hero-demo-dashboard {
    background: var(--white);
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 25px 80px -12px rgba(0, 0, 0, 0.15),
        0 12px 30px -8px rgba(102, 126, 234, 0.1);
    display: flex;
    overflow: visible;
    transform: perspective(1500px) rotateY(-8deg) rotateX(3deg) translateZ(0);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.hero-demo-dashboard::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1.25rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), transparent 50%, rgba(168, 85, 247, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-demo-dashboard:hover {
    transform: perspective(1500px) rotateY(-2deg) rotateX(1deg) translateZ(10px) scale(1.02);
    box-shadow:
        0 35px 100px -15px rgba(0, 0, 0, 0.2),
        0 20px 50px -10px rgba(102, 126, 234, 0.15);
}

.hero-demo-sidebar {
    width: 180px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-radius: 1.25rem 0 0 1.25rem;
}

.hero-demo-sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-block-end: 1.5rem;
}

.hero-demo-sidebar-logo {
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
}

.hero-demo-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-demo-sidebar-item {
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hero-demo-sidebar-item:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.hero-demo-sidebar-item-active {
    background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.hero-demo-sidebar-item-active:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
}

.hero-demo-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: white;
    font-weight: 700;
    margin-inline-start: auto;
}

.hero-demo-sidebar-section {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-block: 1rem 0.5rem;
    padding-inline-start: 0.75rem;
}

.hero-demo-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fafbfc 0%, #f8fafc 100%);
    border-radius: 0 1.25rem 1.25rem 0;
}

.hero-demo-main-header {
    padding: 1rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 1.25rem 0 0;
}

.hero-demo-main-header-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

.hero-demo-main-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-demo-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-demo-icon-btn:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.hero-demo-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c084fc 0%, #818cf8 100%);
}

.hero-demo-main-content {
    padding: 1.25rem;
    flex: 1;
}

.hero-demo-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
    margin-block-end: 1rem;
}

.hero-demo-stat-card {
    padding: 1rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-demo-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.hero-demo-stat-label {
    font-size: 0.65rem;
    color: var(--gray-500);
    font-weight: 500;
}

.hero-demo-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    margin-block: 0.35rem 0.25rem;
    color: var(--gray-900);
}

.hero-demo-stat-trend {
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hero-demo-stat-trend i {
    font-size: 0.8rem;
}

.hero-demo-stat-trend-up {
    color: #10b981;
}

.hero-demo-stat-trend-primary {
    color: var(--primary);
}

/* Chart Card */
.hero-demo-chart-card {
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    margin-block-end: 1rem;
    transition: all 0.3s ease;
}

.hero-demo-chart-card:hover {
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

.hero-demo-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block-end: 1rem;
}

.hero-demo-chart-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-800);
}

.hero-demo-chart-tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.hero-demo-chart-tab {
    font-size: 0.65rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.35rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-demo-chart-tab:hover {
    color: var(--gray-700);
}

.hero-demo-chart-tab-active {
    background: var(--white);
    color: var(--gray-800);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-demo-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    height: 80px;
    padding-block-start: 0.5rem;
}

.hero-demo-chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 0.35rem 0.35rem 0 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    min-height: 15px;
}

.hero-demo-chart-bar:nth-child(1) {
    height: 45%;
}

.hero-demo-chart-bar:nth-child(2) {
    height: 65%;
}

.hero-demo-chart-bar:nth-child(3) {
    height: 40%;
}

.hero-demo-chart-bar:nth-child(4) {
    height: 75%;
}

.hero-demo-chart-bar:nth-child(5) {
    height: 90%;
}

.hero-demo-chart-bar:nth-child(6) {
    height: 55%;
}

.hero-demo-chart-bar:nth-child(7) {
    height: 70%;
}

.hero-demo-chart-bar:hover {
    background: linear-gradient(180deg, #818cf8 0%, var(--primary) 100%);
    transform: scaleY(1.05);
}

.hero-demo-chart-bar-active {
    background: linear-gradient(180deg, #818cf8 0%, var(--primary) 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Bottom Widgets Grid */
.hero-demo-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.hero-demo-widget-card {
    padding: 1rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.hero-demo-widget-card:hover {
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

.hero-demo-widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-demo-widget-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.hero-demo-widget-icon-purple {
    background: linear-gradient(135deg, #e9d5ff 0%, #f3e8ff 100%);
    color: #a855f7;
}

.hero-demo-widget-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-800);
}

.hero-demo-widget-subtitle {
    font-size: 0.65rem;
    color: var(--gray-500);
}

.hero-demo-progress-bar {
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
    margin-block: 0.75rem 0.5rem;
    overflow: hidden;
}

.hero-demo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #a855f7 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.hero-demo-progress-fill.progress-70 {
    width: 70%;
}

.hero-demo-progress-text {
    font-size: 0.65rem;
    color: var(--gray-500);
}

/* SEO Widget Card */
.hero-demo-widget-card-seo {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.hero-demo-widget-seo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-demo-widget-seo-score {
    font-size: 0.65rem;
    color: #059669;
    font-weight: 600;
    margin-block-start: 0.25rem;
}

.hero-demo-widget-seo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Floating Cards - Enhanced */
@keyframes hero-floating-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    padding: 0.875rem 1rem;
    border-radius: 0.875rem;
    box-shadow:
        0 20px 40px -8px rgba(0, 0, 0, 0.15),
        0 8px 16px -4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: hero-floating-bounce 4s ease-in-out infinite;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero-floating-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 25px 50px -10px rgba(0, 0, 0, 0.2),
        0 12px 24px -6px rgba(0, 0, 0, 0.15);
}

.hero-floating-card-right {
    right: -1.5rem;
    top: 18%;
    animation-delay: 0s;
}

.hero-floating-card-left {
    left: -1.5rem;
    bottom: 15%;
    flex-direction: column;
    align-items: flex-start;
    animation-delay: 1.5s;
}

.hero-floating-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.hero-floating-card-category {
    font-size: 0.65rem;
    color: var(--gray-500);
    font-weight: 500;
}

.hero-floating-card-badge {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-floating-card-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-block-start: 0.5rem;
}

.hero-floating-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.hero-floating-icon-green {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #22c55e;
}

.hero-floating-icon-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #ef4444;
}

.hero-floating-text {
    font-size: 0.65rem;
    color: var(--gray-500);
    margin: 0;
}

.hero-floating-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}

/* 7. Features Grid (Bento) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 1.5rem;
}

/* Feature Cards - Glassmorphism & Lift */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

/* Subtle gradient overlay on hover */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-block-end: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-card__icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

/* Input Fields - Modern Focus */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select,
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-main);
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    transform: translateY(-1px);
}

/* Fade In Animations */
[data-fade] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000),
        transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

[data-fade].visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card__body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-block-end: 0.75rem;
    color: var(--gray-900);
}

.feature-card__body p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.feature-card--wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.feature-card--tall {
    grid-row: span 2;
    justify-content: center;
}

/* 8. How It Works (Steps) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.step-item {
    position: relative;
}

.step-item__icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition);
}

.step-item:hover .step-item__icon-wrapper {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.step-item__badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.step-item__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-block-end: 1rem;
    color: var(--gray-900);
}

.step-item__desc {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* 9. Integrations (Marquee) */
.supported-platforms,
.section--integrations {
    padding-block: 4rem;
    background: var(--white);
    border-block: 1px solid var(--gray-100);
    overflow: hidden;
}

.supported-platforms__title {
    text-align: center;
    font-weight: 800;
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-block-end: 2rem;
}

.supported-platforms__marquee,
.integration-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.supported-platforms__track,
.integration-marquee__track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: max-content;
    animation: scroll-marquee 30s linear infinite;
}

[dir="rtl"] .supported-platforms__track,
[dir="rtl"] .integration-marquee__track {
    animation-name: scroll-marquee-rtl;
}

.integration-item,
.supported-platforms__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    transition: var(--transition);
    cursor: default;
}

.integration-item:hover,
.supported-platforms__item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: var(--gray-50);
}

.integration-icon,
.supported-platforms__icon {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.integration-name,
.supported-platforms__name {
    font-weight: 700;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Integration Tooltip */
.integration-tooltip {
    position: absolute;
    background: var(--gray-900);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-md);
    width: 280px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.integration-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 10. Pricing Section */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}





.pricing-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card--popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-soft) 100%);
    transform: scale(1.05);
}

.pricing-card--popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card__badge {
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
}

.pricing-card__price {
    font-size: 3rem;
    font-weight: 800;
    margin-block: 1.5rem;
    color: var(--gray-900);
}

.pricing-card__price span {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 500;
}

.pricing-card__feature-list {
    margin-block-end: 2.5rem;
    flex: 1;
}

.pricing-card__feature {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-block-end: 1rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.pricing-card__feature-icon {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.feature-group-header {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-block: 1.5rem 0.75rem;
    letter-spacing: 0.05em;
    padding-top: 1rem;
    border-top: 1px dashed var(--gray-200);
}

.pricing-card__features-extra {
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.features-collapsed {
    max-height: 200px;
}

.features-expanded {
    max-height: 2000px;
}

.toggle-features-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* --- 07. INTERACTIVE (FAQ, Chat, Modals) --- */
/* ============================================
   FAQ Section - Premium SaaS Design
   ============================================ */
.lp-faq {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    overflow: hidden;
}

.lp-faq__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 2rem);
}

/* Header Styles */
.lp-faq__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.lp-faq__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.lp-faq__title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-full);
    margin: 0 auto 1.25rem auto;
}

.lp-faq__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Accordion List */
.lp-faq__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FAQ Item */
.lp-faq__item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.lp-faq__item:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.lp-faq__item.is-active {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.12);
}

/* Question Button */
.lp-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 1.5rem);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: start;
    font-family: inherit;
}

.lp-faq__question-text {
    flex: 1;
    font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.5;
    transition: color 0.2s ease;
}

.lp-faq__item:hover .lp-faq__question-text,
.lp-faq__item.is-active .lp-faq__question-text {
    color: var(--primary);
}

/* Icon */
.lp-faq__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--gray-500);
    transition: var(--transition);
}

.lp-faq__icon i {
    font-size: 1rem;
    transition: transform 0.35s var(--ease-out);
}

.lp-faq__item.is-active .lp-faq__icon {
    background: var(--primary);
    color: var(--white);
}

.lp-faq__item.is-active .lp-faq__icon i {
    transform: rotate(180deg);
}

/* Answer Panel */
.lp-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), opacity 0.3s ease;
    opacity: 0;
}

.lp-faq__item.is-active .lp-faq__answer {
    max-height: 500px;
    opacity: 1;
}

.lp-faq__answer-inner {
    padding: 0 clamp(1.25rem, 3vw, 1.5rem) clamp(1.25rem, 3vw, 1.5rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--gray-600);
    line-height: 1.8;
    border-top: 1px solid var(--gray-100);
}

/* Empty State */
.lp-faq__empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--white);
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-lg);
}

.lp-faq__empty i {
    font-size: 2.5rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
    display: block;
}

.lp-faq__empty p {
    color: var(--gray-500);
    font-size: 1rem;
}

/* Responsive Adjustments */

/* 13. Modern SaaS Chat Widget - Brand Identity */
.chat-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

[dir="rtl"] .chat-widget {
    right: auto;
    left: 1.5rem;
}

.chat-window {
    position: fixed;
    bottom: 6.5rem;
    right: 1.5rem;
    width: 380px;
    max-width: calc(100vw - 3rem);
    height: 580px;
    max-height: calc(100vh - 8rem);
    background: var(--white);
    border-radius: 1.25rem;
    box-shadow:
        0 25px 80px -12px rgba(0, 0, 0, 0.25),
        0 12px 30px -8px rgba(102, 126, 234, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

[dir="rtl"] .chat-window {
    right: auto;
    left: 1.5rem;
}

.chat-window.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Chat Header - Primary Gradient */
.chat-window-header {
    background: linear-gradient(135deg, var(--primary) 0%, #818cf8 50%, #a855f7 100%);
    padding: 1.25rem 1.5rem;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.chat-window-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.chat-window-header-content {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    position: relative;
    z-index: 1;
}

.chat-window-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.chat-window-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.chat-window-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    opacity: 0.9;
    margin-block-start: 0.15rem;
}

.chat-window-status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: chat-pulse 2s ease-in-out infinite;
}

@keyframes chat-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.chat-window-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

.chat-window-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Chat Mode Tools */
.chat-tools {
    display: flex;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.5rem;
    gap: 0.375rem;
}

.chat-tools-btn {
    flex: 1;
    padding: 0.65rem 0.5rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    color: var(--gray-500);
    font-weight: 600;
    transition: all 0.2s ease;
}

.chat-tools-btn i {
    font-size: 1.125rem;
}

.chat-tools-btn:hover {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* Chat Messages Area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    background: linear-gradient(180deg, #fafbfc 0%, var(--white) 100%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    max-width: 85%;
    animation: chat-message-in 0.3s ease-out;
}

@keyframes chat-message-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message-bot {
    align-self: flex-start;
}

.chat-message-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.chat-message-bot .chat-message-avatar {
    background: linear-gradient(135deg, var(--primary-soft) 0%, #e0e7ff 100%);
    color: var(--primary);
}

.chat-message-user .chat-message-avatar {
    background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
    color: white;
}

.chat-message-content {
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.chat-message-bot .chat-message-content {
    background: var(--white);
    color: var(--gray-800);
    border: 1px solid var(--gray-100);
    border-bottom-left-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chat-message-user .chat-message-content {
    background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
    color: var(--white);
    border-bottom-right-radius: 0.25rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.chat-message-content p {
    margin: 0;
}

/* Typing Indicator */
.chat-typing {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem;
}

.chat-typing-dot {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: chat-typing 1.4s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes chat-typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-8px);
    }
}

/* Chat Input Area */
.chat-input-area {
    padding: 1rem 1.25rem 1.25rem;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}

.chat-input-wrapper {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

.chat-input {
    flex: 1;
    border: 1px solid var(--gray-200);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-full);
    outline: none;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--gray-50);
}

.chat-input::placeholder {
    color: var(--gray-400);
}

.chat-input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chat-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

/* Chat Footer */
.chat-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-block-start: 0.75rem;
    font-size: 0.7rem;
    color: var(--gray-400);
}

.chat-footer-icon {
    color: var(--primary);
    font-size: 0.85rem;
}

/* Chat Toggle Button */
.chat-toggle {
    width: 3.75rem;
    height: 3.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, #818cf8 50%, #a855f7 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow:
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 4px 10px rgba(102, 126, 234, 0.25);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.chat-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 50%;
}

.chat-toggle:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow:
        0 12px 35px rgba(102, 126, 234, 0.5),
        0 6px 15px rgba(102, 126, 234, 0.3);
}

.chat-toggle:active {
    transform: scale(0.95);
}

/* Chat Widget Mobile Responsive */

/* 14. Modern SaaS Auth Modals */


.invalid-feedback {
    color: var(--danger);
    font-size: 0.8125rem;
    margin-block-start: 0.5rem;
    font-weight: 500;
}

.chat-input::placeholder {
    color: #94a3b8 !important;
}

.chat-send-btn {
    width: 2.5rem !important;
    height: 2.5rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.chat-send-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

.chat-send-btn:active {
    transform: scale(0.95) !important;
}

.chat-send-btn i {
    font-size: 1.125rem !important;
}

.chat-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
}

.chat-footer-icon {
    color: #667eea !important;
    font-size: 1rem !important;
}

/* Chat window header */
.chat-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #3b82f6;
    color: white;
    border-radius: 1rem 1rem 0 0;
}

.chat-window-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.chat-window-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-window-close-btn i {
    font-size: 1.25rem;
}

.chat-window {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 22rem;
    height: 32rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-window-header {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-window-close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.chat-window-close-btn:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.chat-tools {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
}

.chat-tools-btn {
    flex: 1;
    padding: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    transition: all 0.2s ease;
}

.chat-tools-btn:hover {
    background: var(--gray-50);
    color: var(--gray-800);
}

.chat-tools-btn.chat-tools-btn-active {
    background: var(--primary-color);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    max-width: 80%;
}

.chat-message-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    flex-shrink: 0;
}

.chat-message-user .chat-message-avatar {
    background: var(--primary-color);
}

.chat-message-avatar i {
    font-size: 1rem;
    color: var(--gray-600);
}

.chat-message-user .chat-message-avatar i {
    color: white;
}

.chat-message-content {
    background: var(--gray-100);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    flex: 1;
}



.chat-input-area {
    padding: 1rem;
    border-top: 1px solid var(--gray-200);
}

.chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-send-btn {
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-send-btn:hover {
    background: var(--primary-color-dark);
}

.chat-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */




/* 15. Process Flow & Integrations */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-block-start: 4rem;
    text-align: center;
}

.step-item__icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-900);
    margin: 0 auto 1.5rem auto;
    transition: var(--transition);
}

.step-item:hover .step-item__icon-wrapper {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.step-item__badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.step-item__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-block-end: 0.75rem;
    color: var(--gray-900);
}

.step-item__desc {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

.integration-feature-icon-shopify {
    background: #95bf47;
}

.integration-feature-icon-woocommerce {
    background: #96588a;
}

.integration-feature-icon-mailchimp {
    background: #ffe01b;
    color: #000;
}

.integration-feature-icon-google {
    background: #ea4335;
}

.integration-feature-icon-tiktok {
    background: #000;
}

.integration-feature-icon-facebook {
    background: #1877f2;
}

.integration-feature-icon-whatsapp {
    background: #25d366;
}

/* 16. Animations Registry */
@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}

@keyframes scroll-marquee-rtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(25%);
    }
}

@keyframes hero-floating-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}


/* 14. Modern SaaS Auth Pages Styles */
.ls-guest-body {
    background: radial-gradient(circle at 0% 0%, var(--primary-soft) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%);
    min-height: 100vh;
}

.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 5vw, 3rem);
}

.auth-card-container {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 3.5rem);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-200);
    animation: modalSlideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.auth-field {
    margin-bottom: 1.5rem;
}

.auth-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input {
    width: 100%;
    height: 3.5rem;
    padding: 0 1.25rem;
    padding-left: 3.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    transition: var(--transition);
    font-size: 1rem;
    font-family: inherit;
}

[dir="rtl"] .auth-input {
    padding-left: 1.25rem;
    padding-right: 3.25rem;
}

.auth-input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.auth-input-disabled {
    background: var(--gray-100);
    cursor: not-allowed;
    color: var(--gray-500);
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1.25rem;
    transition: var(--transition);
}

.auth-input:focus+.auth-input-icon {
    color: var(--primary);
}

.auth-input-icon.left {
    left: 1.25rem;
}

.auth-input-icon.right {
    right: 1.25rem;
}

.auth-error {
    display: block;
    font-size: 0.8125rem;
    color: var(--danger);
    margin-top: 0.375rem;
    font-weight: 600;
}

.auth-forgot-row {
    text-align: right;
    margin-bottom: 1.5rem;
}

[dir="rtl"] .auth-forgot-row {
    text-align: left;
}

.auth-forgot-link {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}

.auth-forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    height: 3.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: var(--font-primary);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.auth-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
}

.auth-button-facebook {
    background: #1877f2;
}

.auth-button-facebook:hover {
    background: #166fe5;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-200);
}

.auth-divider span {
    padding: 0 1.25rem;
    color: var(--gray-400);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-link {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-top: 2rem;
}

.auth-link a {
    color: var(--primary);
    font-weight: 800;
    margin-inline-start: 0.5rem;
    transition: var(--transition);
}

.auth-link a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.auth-step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.auth-step {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 800;
    transition: var(--transition);
}

.auth-step.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.auth-step.inactive {
    background: var(--gray-100);
    color: var(--gray-400);
    border: 1px solid var(--gray-200);
}

.auth-phone-wrapper {
    display: flex;
    gap: 0.75rem;
}

.auth-country-code-wrapper {
    width: 110px;
    position: relative;
    flex-shrink: 0;
}

.auth-country-code-prefix {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-600);
    font-weight: 700;
    z-index: 1;
    font-size: 1.125rem;
}

[dir="rtl"] .auth-country-code-prefix {
    left: auto;
    right: 1.25rem;
}

.auth-country-code-input {
    width: 100%;
    height: 3.5rem;
    padding: 0 1.25rem;
    padding-left: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-weight: 700;
    text-align: center;
    font-size: 1.125rem;
}

[dir="rtl"] .auth-country-code-input {
    padding-left: 1.25rem;
    padding-right: 2.25rem;
}

.auth-country-code-input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.auth-input-wrapper-phone {
    flex: 1;
}

.auth-phone-input {
    letter-spacing: 0.05em;
    font-weight: 600;
}

.whatsapp-otp-modal .modal-container {
    padding: 3rem;
    text-align: center;
}

.whatsapp-otp-header .modal-title {
    color: #25d366;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.whatsapp-otp-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.whatsapp-otp-phone {
    color: var(--gray-900);
    display: block;
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

.whatsapp-otp-input {
    height: 4rem;
    font-size: 2rem;
    text-align: center;
    letter-spacing: 0.75rem;
    font-weight: 800;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    margin-block: 1rem 2rem;
    transition: var(--transition);
}

.whatsapp-otp-input:focus {
    border-color: #25d366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.whatsapp-otp-resend {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gray-100);
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

/* 15. Modern SaaS Auth Modals - Glassmorphism */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    perspective: 1000px;
}

.auth-modal.active {
    display: flex;
}

.auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.auth-modal__card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.auth-modal.active .auth-modal__card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.auth-modal__card--wide {
    max-width: 520px;
}

.auth-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-50);
    color: var(--gray-500);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.auth-modal__close:hover {
    background: var(--danger-soft);
    color: var(--danger);
    transform: rotate(90deg);
}

.auth-modal__header {
    text-align: center;
    margin-block-end: 2rem;
}

.auth-modal__icon {
    width: 56px;
    height: 56px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.auth-modal__icon--warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.auth-modal__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-block-end: 0.5rem;
}

.auth-modal__subtitle {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

/* Auth Steps - Registration */
.auth-steps {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-block-end: 2.5rem;
}

.auth-steps__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-400);
}

.auth-steps__item--active {
    color: var(--primary);
}

.auth-steps__number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.auth-steps__label {
    font-size: 0.8125rem;
    font-weight: 600;
}

.auth-steps__line {
    flex: 1;
    height: 2px;
    background: var(--gray-100);
    border-radius: 1px;
}

.auth-step-content {
    display: none;
}

.auth-step-content--active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

/* Forms */
.auth-form__group {
    margin-block-end: 1.25rem;
}

.auth-form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-block-end: 0.5rem;
}

.auth-form__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-form__input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--gray-400);
    font-size: 1.125rem;
}

[dir="rtl"] .auth-form__input-wrapper i {
    left: auto;
    right: 1rem;
}

.auth-form__input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    font-family: var(--font-primary);

}

[dir="rtl"] .auth-form__input {
    padding: 0.75rem 2.75rem 0.75rem 1rem;
}

.auth-form__input-wrapper input[type="password"] {
    padding-right: 3rem !important;
}

[dir="rtl"] .auth-form__input-wrapper input[type="password"] {
    padding-right: 2.75rem !important;
    padding-left: 3rem !important;
}

.auth-form__input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
    outline: none;
}

.auth-form__phone-group {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.auth-form__country-code {
    position: relative;
    width: 80px;
    flex-shrink: 0;
}

.auth-form__country-input {
    width: 100%;
    height: 100%;
    padding: 0.75rem 0.75rem 0.75rem 1.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    text-align: center;
    font-weight: 600;
}

[dir="rtl"] .auth-form__country-input {
    padding: 0.75rem 1.75rem 0.75rem 0.75rem;
}

.auth-form__country-plus {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-weight: 600;
}

[dir="rtl"] .auth-form__country-plus {
    left: auto;
    right: 0.75rem;
}

.auth-form__phone-group .auth-form__input-wrapper {
    flex: 1;
}

.auth-form__password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

[dir="rtl"] .auth-form__password-toggle {
    right: auto;
    left: 0.75rem;
}

.auth-form__hint {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 5px;
}

.auth-form__error,
.error-text {
    display: block;
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 5px;
}

.auth-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block-end: 1.5rem;
}

.auth-form__checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.auth-form__checkbox input {
    display: none;
}

.auth-form__checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-200);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.auth-form__checkbox input:checked+.auth-form__checkbox-mark {
    background: var(--primary);
    border-color: var(--primary);
}

.auth-form__checkbox input:checked+.auth-form__checkbox-mark::after {
    content: '\e038';
    font-family: 'Phosphor';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.auth-form__checkbox-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.auth-form__link {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.auth-form__buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-block-start: 1rem;
}

.auth-form__back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
    flex-shrink: 0;
}

.auth-form__back:hover {
    background: var(--gray-100);
    color: var(--gray-900);
    border-color: var(--gray-300);
}

.auth-form__back i {
    font-size: 1.125rem;
}

.auth-form__submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.auth-form__submit:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

.auth-form__submit:active {
    transform: translateY(0);
}

.auth-form__submit-loader {
    display: none;
    animation: spin 1s linear infinite;
}

.auth-form__submit--loading .auth-form__submit-text {
    opacity: 0;
}

.auth-form__submit--loading .auth-form__submit-loader {
    display: block;
    position: absolute;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Success State */
.auth-success-state {
    display: none;
    text-align: center;
    padding-block: 1rem;
}

.auth-success-state--active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

.auth-success-state__icon {
    width: 64px;
    height: 64px;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.auth-success-state__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-block-end: 0.75rem;
}

.auth-success-state__text {
    color: var(--gray-500);
    margin-block-end: 2rem;
}

/* Divider & Social */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-block: 1.5rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-100);
}

.auth-divider span {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    font-weight: 700;
}

.auth-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    color: var(--gray-700);
    font-weight: 600;
    transition: all 0.2s ease;
}

.auth-social__btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.auth-modal__footer {
    text-align: center;
    margin-block-start: 2rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.auth-modal__footer a {
    color: var(--primary);
    font-weight: 700;
}

/* WhatsApp Verification Modal Specific Styles */
.auth-modal__icon--whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

/* WhatsApp Code Inputs */
.whatsapp-code-inputs {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-block-end: 0.5rem;
}

.whatsapp-code-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    background: var(--gray-50);
    color: var(--gray-900);
    transition: all 0.2s ease;
    outline: none;
}

.whatsapp-code-input:focus {
    border-color: #25d366;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
    transform: scale(1.05);
}

.whatsapp-code-input:not(:placeholder-shown) {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.05);
}

.whatsapp-code-input.error {
    border-color: var(--danger);
    background: var(--danger-soft);
    animation: shake 0.4s ease;
}

/* Resend Section */
.whatsapp-resend-section {
    text-align: center;
    margin-block: 1.5rem;
    padding-block: 1rem;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.whatsapp-resend-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-block-end: 0.75rem;
}

.whatsapp-resend-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: #25d366;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.whatsapp-resend-btn:hover:not(:disabled) {
    background: rgba(37, 211, 102, 0.1);
    transform: translateY(-1px);
}

.whatsapp-resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.whatsapp-resend-btn i {
    font-size: 1.125rem;
}

.whatsapp-resend-timer {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 600;
}

#timerSeconds {
    color: #25d366;
    font-weight: 700;
}

/* Shake Animation for Error */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .whatsapp-code-input {
        width: 42px;
        height: 50px;
        font-size: 1.25rem;
    }

    .whatsapp-code-inputs {
        gap: 0.5rem;
    }
}

/* RTL Support */
[dir="rtl"] .whatsapp-code-inputs {
    direction: ltr;
    /* Keep code inputs left-to-right for consistency */
}

[dir="rtl"] .whatsapp-resend-btn i {
    transform: scaleX(-1);
}

.auth-alert-container {
    margin-block-end: 1.5rem;
}

.auth-alert {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: modalSlideUp 0.3s ease-out;
}

.auth-alert--error {
    background: var(--danger-soft);
    color: var(--danger);
}

.auth-alert--success {
    background: var(--success-soft);
    color: var(--success);
}

/* End of Optimized landing-modern.css */

/* --- 08. LEGAL PAGES --- */
/* Section: Legal Pages */
.legal-page-wrapper {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(var(--secondary-rgb), 0.05), transparent 40%);
}

.legal-page-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-page-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.legal-language-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-lang-link {
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-lang-link:hover {
    color: var(--white);
}

.legal-lang-link.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.legal-page-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.legal-body-text {
    color: var(--gray-300);
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-body-text h2,
.legal-body-text h3 {
    color: var(--white);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-body-text p {
    margin-bottom: 1.5rem;
}

.legal-body-text ul,
.legal-body-text ol {
    margin-bottom: 1.5rem;
    padding-inline-start: 1.5rem;
}

.legal-body-text li {
    margin-bottom: 0.5rem;
}

.legal-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-updated-date {
    font-size: 0.9rem;
    color: var(--gray-500);
}




/* Section: Legal Pages Advanced */
.legal-page-wrapper {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 60%),
        radial-gradient(circle at bottom left, rgba(var(--secondary-rgb), 0.03), transparent 60%);
    background-color: var(--gray-50);
}

.legal-breadcrumb {
    margin-bottom: 2rem;
}

.legal-breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-breadcrumb li {
    color: var(--gray-500);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.legal-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray-600);
}

.legal-breadcrumb a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-breadcrumb a:hover {
    color: var(--primary);
}

.legal-breadcrumb li.active {
    color: var(--primary);
    font-weight: 500;
}

.legal-page-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar & TOC */
.legal-toc-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-toc-container {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.toc-item-link {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.toc-item-link:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.toc-item-link.active {
    color: var(--primary);
    background: var(--primary-soft);
    border-left-color: var(--primary);
    font-weight: 600;
}

/* Main Card */
.legal-page-card.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.legal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-title {
    margin: 0;
    font-size: 2.2rem;
    color: var(--gray-900);
    background: none;
    -webkit-text-fill-color: initial;
}

/* Language Dropdown */
.lang-toggle-btn {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-toggle-btn:hover {
    background: var(--gray-50);
    color: var(--primary);
    border-color: var(--primary-light);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 50;
}

.legal-language-dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: none;
    border-radius: 8px;
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.lang-item.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

/* Body Text */
/* Body Text */
.legal-body-text {
    color: #475569;
    line-height: 1.8;
    font-size: 1.1rem;
}

.legal-body-text h1,
.legal-body-text h2,
.legal-body-text h3,
.legal-body-text h4 {
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    scroll-margin-top: 120px;
    /* Spacer for sticky header */
}

.legal-body-text h2 {
    font-size: 1.75rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.legal-body-text p {
    margin-bottom: 1.5rem;
}

.legal-body-text ul,
.legal-body-text ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.legal-body-text li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.legal-body-text ul li::marker {
    color: var(--primary);
}

/* Footer */
.legal-card-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.last-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-action-bar {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.btn-legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--gray-200);
    padding: 0.8rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-legal-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background: var(--gray-50);
}

/* --- 09. FOOTER --- */
/* 12. Modern Professional Footer */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #0a0f1a 100%);
    color: var(--gray-300);
    padding-block: 5rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
}

.footer__content {
    position: relative;
    z-index: 1;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-block-end: 3rem;
}

.footer__col--brand {
    max-width: 320px;
}

.footer__logo {
    margin-block-end: 1.25rem;
}

.footer__logo h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
}

.footer-logo-img {
    max-height: 40px;
    width: auto;
}

.footer__description {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-block-end: 1.5rem;
    color: var(--gray-400);
}

.footer__socials {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1.125rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

.footer__label {
    color: var(--white);
    font-weight: 700;
    margin-block-end: 1.25rem;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__link {
    color: var(--gray-400);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    transition: var(--transition);
}

.footer__link i {
    font-size: 1rem;
    opacity: 0.7;
}

.footer__link:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer__link:hover i {
    opacity: 1;
}

/* Footer Bottom */
.footer__bottom {
    padding-block-start: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__bottom-left p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer__bottom-center {
    display: flex;
    align-items: center;
}

/* Language Dropdown in Footer */
.footer__language {
    position: relative;
}

.footer__language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-300);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer__language-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.footer__language-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.5rem;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.footer__language-dropdown.active {
    opacity: 1;
    visibility: visible;
}

.footer__language-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--gray-300);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer__language-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.footer__language-dropdown a.active {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-light);
}

/* Payment Methods */
.footer__bottom-right {
    display: flex;
    align-items: center;
}

.footer__payment-methods {
    display: flex;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--gray-500);
}

.footer__payment-gateways {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__payment-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer__payment-list {
    display: flex;
    gap: 0.5rem;
}

.footer__payment-item {
    width: 36px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    font-size: 1rem;
    transition: var(--transition);
}

.footer__payment-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

/* Footer Tablet/Mobile */

/* --- 10. RESPONSIVE MEDIA QUERIES (Global Breakpoints) --- */

/* Large Tablets & Groups (max-width: 1024px) */
@media (max-width: 1024px) {

    /* Navbar */
    .navbar__links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer__col--brand {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
    }

    .footer__socials {
        justify-content: center;
    }

    /* Hero */
    .hero-main-title {
        font-size: 3rem;
    }

    .hero__container {
        gap: 2rem;
    }

    /* Legal Pages */
    .legal-page-grid {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        display: none;
    }
}

/* Medium Tablets & Small Laptops (max-width: 992px) */
@media (max-width: 992px) {

    /* Layout */
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        margin: 0 auto;
        margin-bottom: 4rem;
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__tags {
        justify-content: center;
    }

    /* Pricing */
    .pricing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {

    /* Global */
    .container {
        padding-inline: 1.25rem;
    }

    .section {
        padding-block: 4rem;
    }

    /* Navbar */
    .navbar__container {
        padding: 0 1.25rem;
        height: 70px;
    }

    .navbar__actions {
        gap: 8px;
    }

    .navbar__btn span,
    .navbar__language-toggle span {
        display: none;
    }

    .navbar__btn,
    .navbar__language-toggle {
        padding: 0.5rem;
        min-width: 40px;
        justify-content: center;
    }

    .mobile-menu {
        width: 100%;
        right: -100%;
    }

    /* Hero */
    .hero {
        padding-block: 6rem 4rem;
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-demo-dashboard {
        transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    }

    /* Bento Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.feature-card--wide,
    .feature-card.feature-card--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Hero Demo Mobile Enhancements */
    .hero-demo-dashboard {
        flex-direction: column;
        /* Stack vertically on small screens if needed, or keep side-by-side but compact sidebar */
        overflow: hidden;
        /* Prevent spillover */
    }

    .hero-demo-sidebar {
        width: 100%;
        /* If stacked */
        height: auto;
        padding: 1rem;
        flex-direction: row;
        /* Horizontal iconography on mobile view */
        overflow-x: auto;
        border-radius: 1.25rem 1.25rem 0 0;
        justify-content: space-between;
    }

    .hero-demo-sidebar-menu,
    .hero-demo-sidebar-section {
        display: none;
        /* Hide detailed menu on mobile to save space */
    }

    .hero-demo-sidebar-header {
        margin-bottom: 0;
    }

    .hero-demo-main {
        border-radius: 0 0 1.25rem 1.25rem;
    }

    .hero-demo-stats-grid {
        grid-template-columns: 1fr;
        /* Single column stats */
    }

    /* Adjust sizing for mobile */
    .hero-demo-stat-value {
        font-size: 1.1rem;
    }

    /* Pricing */
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .pricing-card--popular {
        transform: scale(1);
    }

    .pricing-card--popular:hover {
        transform: translateY(-8px);
    }

    /* Footer */
    .footer {
        padding-block: 3rem 2rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer__col--brand {
        grid-column: span 1;
    }

    .footer__col {
        text-align: center;
    }

    .footer__links {
        align-items: center;
    }

    .footer__link:hover {
        transform: none;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer__bottom-left,
    .footer__bottom-center,
    .footer__bottom-right {
        width: 100%;
        justify-content: center;
    }

    .footer__payment-gateways {
        align-items: center;
    }

    /* Chat Widget */
    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chat-window {
        width: calc(100vw - 2rem);
        height: calc(100vh - 8rem);
        bottom: 1rem;
        right: 1rem;
    }

    /* FAQ */
    .faq-item__header {
        padding: 1.25rem 0;
    }

    .faq-item__title {
        font-size: 1rem;
    }

    /* Legal Pages */
    .legal-page-card.glass-panel,
    .legal-page-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .legal-title {
        font-size: 1.8rem;
    }

    .legal-page-header h1 {
        font-size: 2rem;
    }

    .legal-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-language-dropdown,
    .lang-toggle-btn {
        width: 100%;
        justify-content: space-between;
    }

    /* Logo Responsive Logic */
    .logo-img-display {
        display: none !important;
    }

    .logo-text-display {
        display: block !important;
    }

    /* Ensure text is styled correctly when forced visible */
    .navbar__logo-text {
        font-size: 1.25rem;
        display: block;
    }
}

/* Default Desktop Logo Logic (Outside Media Query) */
/* If image is present, hide the text next to it by default */
.logo-img-display+.logo-text-display {
    display: none;
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .navbar__container {
        padding: 0 1rem;
    }

    .navbar__logo-text {
        font-size: 1.1rem;
    }

    /* Hero Demo - Reset 3D for small screens */
    .hero-demo {
        perspective: none;
    }

    .hero-demo-dashboard {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .hero-demo-dashboard {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        display: block;
        /* Simpler block display */
    }

    .hero-demo-sidebar {
        display: none;
        /* Completely hide sidebar on tiny screens */
    }

    .hero-demo-main {
        border-radius: 1.25rem;
    }

    /* Hide complex floating elements if space is tight */
    .hero-floating-card {
        display: none;
    }

    /* Chat */
    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }

    [dir="rtl"] .chat-widget {
        right: auto;
        left: 1rem;
    }

    .chat-window {
        bottom: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        width: calc(100vw - 1rem);
        height: calc(100vh - 6rem);
        border-radius: 0.75rem;
        max-width: none;
    }

    .chat-toggle {
        width: 3rem;
        height: 3rem;
        bottom: 0.5rem;
        right: 0.5rem;
    }

    /* FAQ Icons */
    .lp-faq__icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .lp-faq__icon i {
        font-size: 0.875rem;
    }
}
/* ============================================
   PAGE LOADING BAR SYSTEM
   ============================================ */
.page-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    z-index: 10000;
    transition: width 0.2s ease, opacity 0.4s ease;
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.3);
    pointer-events: none;
    opacity: 0;
}

.page-loading-bar.loading {
    opacity: 1;
    transition: width 2s cubic-bezier(0.1, 0.4, 0.1, 1), opacity 0.3s ease;
    width: 90%;
}

.page-loading-bar.complete {
    width: 100% !important;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease 0.2s;
}

/* RTL Support */
[dir='rtl'] .page-loading-bar {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, #4f46e5, #6366f1);
}

