/* Main Stylesheet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme variables are injected dynamically via includes/theme-styles.php */
:root {
    --primary-color: #6C5CE7;
    --secondary-color: #00B894;
    --danger-color: #D63031;
    --dark-color: #2D3436;
    --light-color: #F5F6FA;
    --gray-color: #B2BEC3;
    --text-color: #2D3436;
    --border-radius: 8px;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --white-color: #ffffff;
    --muted-color: #666666;
    --border-color: #e9ecef;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'Arabic Typesetting', 'Traditional Arabic';
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
    direction: ltr;
}

body.rtl {
    direction: rtl;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--muted-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: var(--danger-dark);
}

.btn-light {
    background-color: var(--light-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-light:hover {
    background-color: var(--light-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.form-error {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

select, textarea {
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox & Radio */
.form-check {
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.rtl .form-check-input {
    margin-right: 0;
    margin-left: 0.5rem;
}

.form-check-label {
    user-select: none;
}

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    padding: 0 15px;
    flex: 0 0 auto;
}

.col { flex: 1 0 0%; }
.col-1 { flex: 0 0 8.333333%; }
.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-5 { flex: 0 0 41.666667%; }
.col-6 { flex: 0 0 50%; }
.col-7 { flex: 0 0 58.333333%; }
.col-8 { flex: 0 0 66.666667%; }
.col-9 { flex: 0 0 75%; }
.col-10 { flex: 0 0 83.333333%; }
.col-11 { flex: 0 0 91.666667%; }
.col-12 { flex: 0 0 100%; }

/* Navbar */
.navbar {
    background-color: var(--white-color);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary-color);
}

.navbar-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-switcher a {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: var(--light-color);
}

.language-switcher a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--muted-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    box-shadow: var(--shadow-card);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--muted-color);
    font-size: 0.95rem;
}

/* Cards */
.card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-card);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--light-color);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--light-color);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--primary-glow);
}

body.page-pricing .card.pricing-card {
    overflow: visible;
}

body.page-pricing .pricing-plan-col {
    padding-top: 14px;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price-tag small {
    font-size: 1rem;
    color: var(--muted-color);
}

.pricing-features {
    text-align: left;
    margin: 2rem 0;
    list-style: none;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--muted-color);
}

/* Pricing page extras */
.pricing-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.price-note {
    color: var(--muted-color);
    font-size: 1rem;
    font-weight: 500;
}

.plan-recommendation-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
}

.plan-recommendation-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.plan-recommendation-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.plan-recommendation-card p {
    color: var(--muted-color);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.plan-recommendation-badge {
    display: inline-block;
    background: color-mix(in srgb, var(--secondary-color) 15%, white);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.comfort-term-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    text-align: center;
    transition: var(--transition);
}

.comfort-term-card:hover {
    box-shadow: var(--shadow-hover);
}

.comfort-term-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.comfort-term-card h5 {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.comfort-term-card p {
    color: var(--muted-color);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

.pricing-seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-seo-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    line-height: 1.4;
}

.pricing-seo-content p {
    color: var(--muted-color);
    line-height: 1.9;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.pricing-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

footer .footer-credit:hover {
    opacity: 0.85;
    text-decoration: underline !important;
}

/* ===== Features page ===== */
.features-hero {
    position: relative;
    padding: 5rem 0 4.5rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 70%, var(--secondary-color)) 100%);
}

.features-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.features-hero-inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.features-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.features-hero h1 {
    color: #fff;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.35;
    margin-bottom: 1rem;
}

.features-hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-hero-intro {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.features-hero-tagline {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-hero-intro:last-of-type {
    margin-bottom: 2rem;
}

.features-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.features-section-label {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.features-trust-section {
    background: var(--light-color);
}

.features-trust-grid {
    gap: 1.5rem;
}

.features-trust-card {
    position: relative;
    text-align: start;
    padding-top: 2.75rem;
    border: 1px solid var(--border-color);
}

.features-trust-number {
    position: absolute;
    top: 1rem;
    inset-inline-start: 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    color: color-mix(in srgb, var(--primary-color) 12%, white);
    line-height: 1;
}

.features-trust-card .feature-icon {
    text-align: start;
    margin-bottom: 0.75rem;
}

.features-core-section {
    background: var(--white-color);
}

.features-core-grid {
    display: grid;
    gap: 1.5rem;
}

.features-core-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    transition: var(--transition);
}

.features-core-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.features-core-card-alt {
    background: color-mix(in srgb, var(--primary-color) 4%, white);
}

.features-core-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary-color) 12%, white);
    color: var(--primary-color);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.features-core-index {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
}

.features-core-body h3 {
    color: var(--dark-color);
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
}

.features-core-body p {
    color: var(--muted-color);
    margin: 0;
    line-height: 1.85;
}

.features-workflow-section {
    background: var(--light-color);
}

.features-workflow-intro {
    max-width: 720px;
    color: var(--muted-color);
    margin-top: 0.75rem;
    line-height: 1.85;
}

.features-workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.features-workflow-step {
    display: flex;
    gap: 1rem;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.features-workflow-step-marker {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 65%, var(--secondary-color)));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.features-workflow-step-num {
    position: absolute;
    top: -8px;
    inset-inline-end: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--dark-color);
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-workflow-step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.features-workflow-step-content p {
    color: var(--muted-color);
    margin: 0;
    line-height: 1.75;
    font-size: 0.95rem;
}

.features-advantages-section {
    background: var(--white-color);
}

.features-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.features-advantage-card {
    text-align: center;
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.75rem 1.25rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.features-advantage-card:hover {
    background: var(--white-color);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.features-advantage-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--secondary-color) 18%, white);
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.features-advantage-card h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.features-advantage-card p {
    color: var(--muted-color);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
}

.features-market-section {
    background: var(--light-color);
}

.features-market-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    background: var(--white-color);
    border-radius: calc(var(--border-radius) + 4px);
    box-shadow: var(--shadow-card);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.features-market-copy h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.65rem;
}

.features-closing {
    color: var(--muted-color);
    line-height: 1.9;
    margin: 0;
}

.features-market-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.features-market-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--dark-color);
    line-height: 1.7;
    font-weight: 500;
}

.features-market-list i {
    color: var(--secondary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.features-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 75%, var(--secondary-color)) 100%);
    color: #fff;
}

.features-cta-inner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.features-cta-inner h2 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.features-cta-inner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
}

.features-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.features-cta-actions .btn-link {
    text-decoration: none;
    font-weight: 600;
}

/* Overview & prose */
.features-overview-section {
    background: var(--white-color);
}

.features-prose-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.features-prose-block p {
    color: var(--muted-color);
    line-height: 1.95;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.features-prose-block p:last-child {
    margin-bottom: 0;
}

/* Future split panel */
.features-future-section {
    background: var(--light-color);
}

.features-split-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    background: var(--white-color);
    border-radius: calc(var(--border-radius) + 4px);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.features-split-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 65%, var(--secondary-color)));
    color: #fff;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.features-split-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.65rem;
}

.features-split-content p {
    color: var(--muted-color);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.features-split-content p:last-child {
    margin-bottom: 0;
}

/* Market stats */
.features-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.features-stat-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.features-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.features-stat-card p {
    color: var(--muted-color);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.features-market-list-wide {
    grid-template-columns: 1fr;
    margin-bottom: 1.5rem;
}

.features-market-banner {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 10%, white), color-mix(in srgb, var(--secondary-color) 8%, white));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    text-align: center;
}

.features-market-banner p {
    color: var(--dark-color);
    margin: 0;
    line-height: 1.85;
    font-weight: 500;
}

/* Why choose */
.features-why-section {
    background: var(--white-color);
}

.features-why-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.features-why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem;
    transition: var(--transition);
}

.features-why-card:hover {
    background: var(--white-color);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.features-why-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.features-why-card span {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* UX section */
.features-ux-section {
    background: var(--light-color);
}

.features-ux-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.features-ux-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.features-ux-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
}

.features-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.features-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--muted-color);
    line-height: 1.7;
}

.features-checklist li i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.features-checklist-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.5rem;
}

/* Feature modules */
.features-module-section {
    background: var(--white-color);
}

.features-module-section.features-module-alt {
    background: var(--light-color);
}

.features-module-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.features-module-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary-color) 12%, white);
    color: var(--primary-color);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.features-module-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    font-size: 1.5rem;
}

.features-module-subtitle {
    color: var(--muted-color);
    margin: 0;
    font-size: 1rem;
}

.features-module-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 1.5rem;
}

.features-module-grid li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--dark-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.features-module-grid li i {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* AI section */
.features-ai-section {
    background: linear-gradient(180deg, var(--light-color) 0%, var(--white-color) 100%);
}

.features-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.features-ai-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.features-ai-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.features-ai-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 60%, var(--secondary-color)));
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.features-ai-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
}

.features-ai-card p {
    color: var(--muted-color);
    margin: 0;
    line-height: 1.8;
}

/* Security */
.features-security-section {
    background: var(--dark-color);
    color: #fff;
}

.features-security-panel {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: center;
}

.features-security-copy h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.65rem;
}

.features-security-copy p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    margin: 0;
}

.features-security-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.features-security-grid li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

.features-security-grid li i {
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* Customization */
.features-custom-section {
    background: var(--white-color);
}

.features-custom-panel {
    background: var(--light-color);
    border-radius: calc(var(--border-radius) + 4px);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.features-custom-copy h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.features-custom-copy p {
    color: var(--muted-color);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

/* Plans */
.features-plans-section {
    background: var(--light-color);
}

.features-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.features-plan-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.features-plan-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.features-plan-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--secondary-color) 18%, white);
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.features-plan-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.features-plan-card p {
    color: var(--muted-color);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

/* Sectors */
.features-sectors-section {
    background: var(--white-color);
}

.features-sectors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.features-sector-chip {
    display: inline-block;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
}

.features-sector-chip:hover {
    background: color-mix(in srgb, var(--primary-color) 8%, white);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Differentiators */
.features-diff-section {
    background: var(--light-color);
}

.features-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.features-diff-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.features-diff-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.features-diff-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary-color) 12%, white);
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.features-diff-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.features-diff-card p {
    color: var(--muted-color);
    margin: 0;
    line-height: 1.75;
    font-size: 0.92rem;
}

/* Success story */
.features-success-section {
    background: var(--white-color);
}

.features-success-panel {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    background: color-mix(in srgb, var(--primary-color) 5%, white);
    border: 1px solid var(--border-color);
    border-radius: calc(var(--border-radius) + 4px);
    padding: 3rem 2.5rem;
}

.features-success-panel h2 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.features-success-panel p {
    color: var(--muted-color);
    line-height: 1.9;
    margin-bottom: 1rem;
}

body.page-features .features-why-card:hover,
body.page-features .features-ai-card:hover,
body.page-features .features-plan-card:hover,
body.page-features .features-diff-card:hover,
body.page-features .features-core-card:hover {
    transform: none !important;
}

/* ===== Testimonials ===== */
.testimonials-section {
    background: linear-gradient(180deg, var(--white-color) 0%, var(--light-color) 100%);
}

.testimonials-slider {
    padding-bottom: 3rem;
}

.testimonialsSwiper {
    padding: 0.5rem 0 2.5rem;
}

.testimonial-card {
    background: var(--white-color);
    padding: 2rem 1.75rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid color-mix(in srgb, var(--primary-color) 8%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
}

.testimonial-text {
    font-style: italic;
    margin: 1rem 0 1.5rem;
    color: var(--muted-color);
    line-height: 1.8;
    flex-grow: 1;
}

.testimonial-author-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid color-mix(in srgb, var(--primary-color) 15%, transparent);
}

.testimonial-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary-color) 12%, var(--white-color));
    color: var(--primary-color);
    font-size: 1.35rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-color);
}

.rating {
    color: var(--rating-color, #f1c40f);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.testimonial-star-empty {
    color: var(--border-color);
}

.testimonials-button-prev,
.testimonials-button-next {
    color: var(--primary-color);
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Footer */
footer h5 {
    color: #fff;
}

.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 3rem 0 1rem;
    margin-top: 60px;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white-color);
}

.footer-bottom {
    border-top: 1px solid color-mix(in srgb, var(--gray-color) 50%, var(--dark-color));
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-color);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--secondary-color) !important; }
.text-muted-theme { color: var(--muted-color); }
.text-theme-danger { color: var(--danger-color); }
.text-danger { color: var(--danger-color) !important; }
.text-success { color: var(--secondary-color) !important; }
.border-danger { border-color: var(--danger-color) !important; }
.border-success { border-color: var(--secondary-color) !important; }
.bg-success { background-color: var(--secondary-color) !important; }
.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}


.bg-theme-primary { background-color: var(--primary-color) !important; }
.bg-theme-secondary { background-color: var(--secondary-color) !important; }
.icon-circle-primary {
    width: 50px;
    height: 50px;
    background-color: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
}

.border-theme { border-color: var(--border-color) !important; }
.bg-surface-gradient { background: var(--surface-gradient); }

.text-right { text-align: right; }
.text-left { text-align: left; }

.rtl .text-right { text-align: left; }
.rtl .text-left { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-none { display: none; }

.flex-center { justify-content: center; align-items: center; }
.flex-between { justify-content: space-between; align-items: center; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert-success {
    background-color: color-mix(in srgb, var(--secondary-color) 15%, white);
    color: var(--secondary-dark);
    border: 1px solid color-mix(in srgb, var(--secondary-color) 35%, white);
}

.alert-error {
    background-color: color-mix(in srgb, var(--danger-color) 12%, white);
    color: var(--danger-dark);
    border: 1px solid color-mix(in srgb, var(--danger-color) 30%, white);
}

.alert-info {
    background-color: color-mix(in srgb, var(--primary-color) 12%, white);
    color: var(--primary-dark);
    border: 1px solid color-mix(in srgb, var(--primary-color) 30%, white);
}

.alert-warning {
    background-color: color-mix(in srgb, var(--secondary-color) 20%, white);
    color: var(--dark-color);
    border: 1px solid color-mix(in srgb, var(--secondary-color) 40%, white);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: var(--light-color);
    color: var(--text-color);
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
}

.badge-success {
    background-color: var(--secondary-color);
    color: white;
}

.badge-danger {
    background-color: var(--danger-color);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-hero {
        padding: 3.5rem 0 3rem;
    }

    .features-hero-actions,
    .features-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .features-workflow-grid,
    .features-advantages-grid,
    .features-market-panel,
    .features-stats-grid,
    .features-why-grid,
    .features-ux-grid,
    .features-module-grid,
    .features-ai-grid,
    .features-security-panel,
    .features-security-grid,
    .features-checklist-columns,
    .features-plans-grid,
    .features-diff-grid,
    .features-split-panel {
        grid-template-columns: 1fr;
    }

    .features-split-panel {
        text-align: center;
    }

    .features-split-icon {
        margin: 0 auto;
    }

    .features-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-module-header {
        flex-direction: column;
        text-align: center;
    }

    .features-market-panel {
        padding: 1.75rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .navbar-container {
        padding: 0 10px;
    }
    
    .row {
        margin: 0 -10px;
    }
    
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        padding: 0 10px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
}
