/* ==========================================================================
   PRD CRM Landing Page & System Request Custom Styles
   Designed to seamlessly match PRD Company identity
   ========================================================================== */

/* Header Tab Enhancements */
.navigation .crm-tab-link {
    position: relative;
    font-weight: 600 !important;
}

.crm-badge-pill {
    background: linear-gradient(135deg, #fb5c04, #ff8138);
    color: #ffffff !important;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 20px;
    margin-inline-start: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(251, 92, 4, 0.4);
    animation: crmPulse 2s infinite ease-in-out;
}

@keyframes crmPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* CRM Hero Section */
.crm-hero {
    position: relative;
    background: linear-gradient(135deg, #0b111e 0%, #141c2e 50%, #1f1b3b 100%);
    color: #ffffff;
    padding: 120px 0 80px;
    overflow: hidden;
    direction: rtl;
    text-align: right;
}

.crm-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 92, 4, 0.15) 0%, rgba(251, 92, 4, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.crm-hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 100, 143, 0.2) 0%, rgba(79, 100, 143, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.crm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fb5c04;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
}

.crm-hero-badge i {
    font-size: 14px;
}

.crm-hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: inherit;
}

.crm-hero-title span.text-highlight {
    background: linear-gradient(135deg, #fb5c04 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.crm-hero-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #b0b9cf;
    margin-bottom: 35px;
    max-width: 600px;
}

.crm-hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.crm-btn-primary {
    background: linear-gradient(135deg, #fb5c04 0%, #e04e00 100%);
    color: #ffffff !important;
    padding: 14px 34px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(251, 92, 4, 0.35);
    transition: all 0.3s ease;
}

.crm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(251, 92, 4, 0.45);
    color: #ffffff !important;
}

.crm-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.crm-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Free Trial & System Explore Button (Hero CTA) */
.crm-btn-trial {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.crm-btn-trial::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(30deg);
    animation: crmShimmer 4s infinite;
}

@keyframes crmShimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    30%, 100% { transform: translateX(100%) rotate(30deg); }
}

.crm-btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: #ffffff !important;
}

/* Pulsing Live Dot */
.crm-live-pulse {
    width: 9px;
    height: 9px;
    background-color: #34d399;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    animation: crmTrialPulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes crmTrialPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

.crm-hero-stats {
    display: flex;
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.crm-stat-item h4 {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.crm-stat-item p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

/* Dashboard Mockup / Screenshot Area */
.crm-mockup-wrapper {
    position: relative;
    padding: 10px;
    margin-top: 20px;
}

.crm-window-frame {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
}

.crm-window-frame:hover {
    transform: translateY(-4px);
}

.crm-window-header {
    background: #0f172a;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.crm-window-dots {
    display: flex;
    gap: 7px;
}

.crm-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.crm-dot.red { background: #ef4444; }
.crm-dot.yellow { background: #eab308; }
.crm-dot.green { background: #22c55e; }

.crm-window-address {
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 12px;
    padding: 4px 16px;
    border-radius: 20px;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.crm-window-address-link {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.crm-window-address-link:hover {
    color: #34d399 !important;
}

.crm-mockup-demo-btn {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.crm-mockup-demo-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
    color: #ffffff !important;
}

.crm-window-body {
    position: relative;
    min-height: 380px;
    background: #0b1120;
    display: flex;
    flex-direction: column;
}

.crm-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Interactive Mock Dashboard (Shown when screenshot isn't uploaded yet) */
.crm-preview-dashboard {
    padding: 20px;
    color: #e2e8f0;
    direction: rtl;
    text-align: right;
}

.crm-dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.crm-dash-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.crm-kpi-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 14px;
}

.crm-kpi-card .kpi-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.crm-kpi-card .kpi-val {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.crm-kpi-card .kpi-badge {
    font-size: 11px;
    color: #22c55e;
    margin-inline-start: 6px;
}

.crm-dash-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.crm-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 15px;
}

.crm-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f1f5f9;
}

.crm-kanban-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.crm-kanban-col {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 10px;
}

.crm-kanban-header {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.crm-kanban-item {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 12px;
    border-right: 3px solid #fb5c04;
}

.crm-kanban-item strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
}

.crm-kanban-item span {
    color: #94a3b8;
    font-size: 11px;
}

.crm-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.crm-activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
}

.crm-activity-item i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(251, 92, 4, 0.15);
    color: #fb5c04;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Sections Global Styling */
.crm-section {
    padding: 100px 0;
    direction: rtl;
    text-align: right;
}

.crm-section-bg {
    background: #f8fafc;
}

.crm-title-area {
    margin-bottom: 60px;
    text-align: center;
}

.crm-sub-badge {
    display: inline-block;
    color: #fb5c04;
    background: rgba(251, 92, 4, 0.1);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.crm-main-title {
    font-size: 38px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.35;
}

.crm-title-desc {
    font-size: 16px;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Tasks & Features Section */
.crm-task-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.crm-task-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #fb5c04, #ff8138);
    transition: width 0.35s ease;
}

.crm-task-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

.crm-task-card:hover::before {
    width: 100%;
}

.crm-task-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(251, 92, 4, 0.12) 0%, rgba(251, 92, 4, 0.03) 100%);
    color: #fb5c04;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    border: 1.5px solid rgba(251, 92, 4, 0.2);
    box-shadow: 0 6px 16px rgba(251, 92, 4, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.crm-task-card:hover .crm-task-icon {
    background: linear-gradient(135deg, #fb5c04 0%, #ff8138 100%);
    color: #ffffff;
    border-color: #fb5c04;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 10px 24px rgba(251, 92, 4, 0.35);
}

.crm-task-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.crm-task-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 18px;
}

.crm-task-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed #e2e8f0;
    padding-top: 14px;
}

.crm-task-features-list li {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.5;
}

.crm-task-features-list li i {
    color: #22c55e;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* All-in-One Platform Highlight Card */
.crm-platform-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 48px 36px;
    margin-top: 55px;
    color: #ffffff;
    border: 1.5px solid rgba(251, 92, 4, 0.35);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.crm-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 92, 4, 0.16);
    color: #fb5c04;
    border: 1px solid rgba(251, 92, 4, 0.4);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.crm-platform-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.crm-platform-card .crm-platform-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #cbd5e1;
    max-width: 860px;
    margin: 0 auto 24px;
}

.crm-platform-pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}

.crm-pillar-tag {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.crm-pillar-tag i {
    color: #fb5c04;
}

.crm-pillar-tag:hover {
    background: #fb5c04;
    border-color: #fb5c04;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(251, 92, 4, 0.4);
}

.crm-pillar-tag:hover i {
    color: #ffffff;
}

.crm-platform-summary {
    font-size: 15px;
    line-height: 1.8;
    color: #94a3b8;
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
}

@media (max-width: 767.98px) {
    .crm-platform-card {
        padding: 32px 20px;
    }
    .crm-platform-card h3 {
        font-size: 22px;
    }
    .crm-pillar-tag {
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* Pricing Section */
.crm-pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s ease;
    position: relative;
}

.crm-pricing-card.featured {
    border-color: #fb5c04;
    box-shadow: 0 15px 40px rgba(251, 92, 4, 0.12);
    transform: scale(1.03);
    z-index: 2;
}

.crm-pricing-badge {
    position: absolute;
    top: -14px;
    right: 30px;
    background: #fb5c04;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(251, 92, 4, 0.3);
}

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

.crm-pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.crm-price-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.crm-plan-name {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.crm-plan-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 18px;
}

.crm-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.crm-price-amount {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
}

.crm-price-period {
    font-size: 14px;
    color: #64748b;
}

.crm-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    flex-grow: 1;
}

.crm-price-features li {
    font-size: 14.5px;
    color: #334155;
    padding: 9px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.crm-price-features li i.fa-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    margin-inline-end: 10px;
    box-shadow: 0 2px 5px rgba(34, 197, 94, 0.15);
}

.crm-price-features li i.fa-times {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    margin-inline-end: 10px;
}

.crm-price-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.crm-price-btn.btn-outline {
    background: transparent;
    color: #1e293b;
    border: 2px solid #cbd5e1;
}

.crm-price-btn.btn-outline:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
}

.crm-price-btn.btn-solid {
    background: #fb5c04;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(251, 92, 4, 0.3);
}

.crm-price-btn.btn-solid:hover {
    background: #e04e00;
    color: #ffffff;
}

/* ==========================================================================
   Free Trial CTA Section & Callout Card
   ========================================================================== */
.crm-trial-cta-section {
    padding: 20px 0 60px;
    background: #f8fafc;
}

.crm-trial-cta-card {
    position: relative;
    background: linear-gradient(135deg, #0b1329 0%, #152243 50%, #111a33 100%);
    border-radius: 20px;
    padding: 42px 48px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 19, 41, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.25);
    direction: rtl;
    text-align: right;
}

.crm-trial-cta-glow {
    position: absolute;
    top: -80px;
    left: 20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.crm-trial-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.crm-trial-cta-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.crm-trial-cta-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #cbd5e1;
    margin: 0;
    max-width: 680px;
}

.crm-btn-trial-action {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff !important;
    padding: 16px 28px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.35s ease;
    text-align: right;
}

.crm-btn-trial-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.55);
    color: #ffffff !important;
}

.crm-btn-trial-action-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    flex-shrink: 0;
}

.crm-btn-trial-action-content {
    display: flex;
    flex-direction: column;
}

.crm-btn-trial-action-content strong {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    display: block;
}

.crm-btn-trial-action-content small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 3px;
    font-weight: 500;
}

/* Request Form Section */
.crm-form-section {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    padding: 90px 0 110px;
    direction: rtl;
    text-align: right;
}

.crm-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* Form Header Trial Note */
.crm-form-trial-note {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.crm-form-trial-link {
    color: #059669 !important;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.crm-form-trial-link:hover {
    color: #047857 !important;
    text-decoration: underline;
}

.crm-form-label {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
}

.crm-form-label .req {
    color: #ef4444;
    margin-inline-start: 3px;
}

/* Enhanced Form Field Container & Modern RTL Input Group */
.crm-field-group {
    margin-bottom: 24px;
}

.crm-form-label {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.crm-form-label .req {
    color: #ef4444;
    font-weight: 800;
}

/* Premium RTL Input Wrapper with Right-Hand Icon Prefix */
.crm-input-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1.5px solid #dbe2ea;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.crm-input-wrapper:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.crm-input-wrapper:focus-within {
    border-color: #fb5c04;
    box-shadow: 0 0 0 4px rgba(251, 92, 4, 0.14);
    background: #ffffff;
}

/* The right-hand icon prefix box */
.crm-input-prefix {
    width: 50px;
    background: linear-gradient(135deg, rgba(251, 92, 4, 0.08) 0%, rgba(251, 92, 4, 0.02) 100%);
    color: #fb5c04;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    border-left: 1.5px solid #eef2f6;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.crm-input-wrapper:focus-within .crm-input-prefix {
    background: #fb5c04;
    color: #ffffff;
    border-color: #fb5c04;
}

/* The actual input element */
.crm-input-wrapper .crm-form-control {
    flex: 1;
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    outline: none !important;
    box-shadow: none !important;
    font-family: inherit;
    direction: rtl;
    text-align: right;
}

.crm-input-wrapper .crm-form-control::placeholder {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 400;
}

/* Custom Select with styled chevron arrow on left */
.crm-select-wrapper {
    position: relative;
}

.crm-select-wrapper select.crm-form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-left: 45px !important;
    padding-right: 18px !important;
}

.crm-select-arrow {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 13px;
    pointer-events: none;
    transition: transform 0.25s ease, color 0.25s ease;
}

.crm-input-wrapper:focus-within .crm-select-arrow {
    color: #fb5c04;
    transform: translateY(-50%) rotate(180deg);
}

/* Textarea styling */
.crm-textarea-wrapper {
    align-items: flex-start;
}

.crm-textarea-wrapper .crm-input-prefix {
    height: auto;
    padding-top: 15px;
    border-bottom-right-radius: 0;
}

.crm-textarea-wrapper textarea.crm-form-control {
    min-height: 115px;
    resize: vertical;
}

/* Captcha Box */
.crm-captcha-box {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 12px;
    transition: all 0.25s ease;
}

.crm-captcha-box:hover {
    border-color: #fb5c04;
}

.crm-captcha-question {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.crm-captcha-shield-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(251, 92, 4, 0.12);
    color: #fb5c04;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.crm-math-badge {
    background: #1e293b;
    color: #ffffff;
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 8px;
    letter-spacing: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.crm-captcha-input {
    width: 120px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 14px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    transition: all 0.25s ease;
}

.crm-captcha-input:focus {
    border-color: #fb5c04;
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 92, 4, 0.15);
}

.crm-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #fb5c04 0%, #e04e00 100%);
    color: #ffffff !important;
    border: none;
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(251, 92, 4, 0.35);
    transition: all 0.3s ease;
}

.crm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(251, 92, 4, 0.45);
}

/* Alert Styling */
.crm-alert {
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
}

.crm-alert.success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.crm-alert.danger {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
    .crm-hero {
        padding: 80px 0 60px;
        text-align: center;
        direction: rtl;
    }

    .crm-hero-title {
        font-size: 34px;
    }

    .crm-hero-desc {
        margin: 0 auto 30px;
        font-size: 16px;
    }

    .crm-hero-btns {
        justify-content: center;
    }

    .crm-hero-stats {
        justify-content: center;
    }

    .crm-pricing-card.featured {
        transform: none;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .crm-dash-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .crm-dash-main-grid {
        grid-template-columns: 1fr;
    }

    .crm-form-card {
        padding: 30px 20px;
    }
}

@media (max-width: 767px) {
    .crm-hero-title {
        font-size: 28px;
    }

    .crm-main-title {
        font-size: 26px;
    }

    .crm-hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .crm-kanban-cols {
        grid-template-columns: 1fr;
    }

    .crm-captcha-box {
        flex-direction: column;
        align-items: stretch;
    }

    .crm-captcha-input {
        width: 100%;
    }
}

/* ==========================================================================
   Bilingual Support & Language Switcher (Only for CRM Page)
   ========================================================================== */

/* CRM Navbar Language Switcher */
.crm-lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff !important;
    border: 1.5px solid rgba(251, 92, 4, 0.6);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
}

.crm-lang-toggle-btn:hover {
    background: #fb5c04;
    border-color: #fb5c04;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 92, 4, 0.35);
}

.crm-lang-flag {
    font-size: 15px;
    line-height: 1;
}

.crm-lang-label {
    letter-spacing: 0.3px;
}

/* Nav Language Button Alignment */
.tgmenu__action .crm-nav-lang-item {
    margin-inline-end: 12px;
    display: inline-flex;
    align-items: center;
}

/* LTR / English Overrides when lang is EN */
html[lang="en"] .crm-main-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

html[lang="en"] .crm-main-content h1,
html[lang="en"] .crm-main-content h2,
html[lang="en"] .crm-main-content h3,
html[lang="en"] .crm-main-content h4,
html[lang="en"] .crm-main-content h5,
html[lang="en"] .crm-main-content h6 {
    font-family: 'Poppins', 'Inter', sans-serif !important;
}

html[lang="en"] .crm-hero {
    direction: ltr !important;
    text-align: left !important;
}

html[lang="en"] .crm-hero-badge {
    margin-right: auto;
    margin-left: 0;
}

html[lang="en"] .crm-hero-btns {
    justify-content: flex-start;
}

html[lang="en"] .crm-hero-desc {
    margin-right: 0;
    margin-left: 0;
}

html[lang="en"] .crm-hero-stats {
    direction: ltr;
}

html[lang="en"] .crm-preview-dashboard {
    direction: ltr !important;
    text-align: left !important;
}

html[lang="en"] .crm-kanban-item {
    border-right: none !important;
    border-left: 3px solid #fb5c04 !important;
}

html[lang="en"] .crm-section {
    direction: ltr !important;
    text-align: left !important;
}

html[lang="en"] .crm-task-card {
    text-align: left !important;
}

html[lang="en"] .crm-task-card::before {
    left: 0 !important;
    right: auto !important;
}

html[lang="en"] .crm-pricing-card {
    text-align: left !important;
}

html[lang="en"] .crm-pricing-badge {
    left: 30px !important;
    right: auto !important;
}

html[lang="en"] .crm-form-section {
    direction: ltr !important;
    text-align: left !important;
}

html[lang="en"] .crm-form-card {
    text-align: left !important;
}

html[lang="en"] .crm-input-wrapper {
    direction: ltr !important;
}

html[lang="en"] .crm-input-prefix {
    border-left: none !important;
    border-right: 1.5px solid #eef2f6 !important;
}

html[lang="en"] .crm-input-wrapper .crm-form-control {
    direction: ltr !important;
    text-align: left !important;
}

html[lang="en"] .crm-select-wrapper select.crm-form-control {
    padding-left: 18px !important;
    padding-right: 45px !important;
}

html[lang="en"] .crm-select-arrow {
    left: auto !important;
    right: 16px !important;
}

html[lang="en"] .crm-captcha-box {
    direction: ltr !important;
}

html[lang="en"] .crm-captcha-question {
    direction: ltr !important;
}

html[lang="en"] .crm-trial-cta-card {
    direction: ltr !important;
    text-align: left !important;
}

html[lang="en"] .crm-btn-trial-action {
    text-align: left !important;
}

html[lang="en"] .crm-trial-cta-glow {
    left: auto !important;
    right: 20% !important;
}

@media (max-width: 767.98px) {
    .crm-trial-cta-card {
        padding: 30px 20px;
        text-align: center;
    }
    .crm-trial-cta-desc {
        margin: 0 auto;
    }
    .crm-btn-trial-action {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .crm-btn-trial-action-content {
        align-items: center;
    }
    .crm-form-trial-note {
        flex-direction: column;
        gap: 8px;
        border-radius: 14px;
        padding: 12px;
        text-align: center;
    }
    .crm-btn-trial {
        width: 100%;
        justify-content: center;
    }

    html.crm-page .tgmenu__action,
    .tgmenu__action:has(.crm-nav-lang-item) {
        display: flex !important;
        margin: 0 !important;
    }
    html.crm-page .tgmenu__action .login-btn,
    .tgmenu__action:has(.crm-nav-lang-item) .login-btn {
        display: none !important;
    }
    html.crm-page .tgmenu__action .crm-nav-lang-item,
    .tgmenu__action:has(.crm-nav-lang-item) .crm-nav-lang-item {
        margin: 0 8px !important;
    }
    html.crm-page .crm-lang-toggle-btn,
    .tgmenu__action:has(.crm-nav-lang-item) .crm-lang-toggle-btn {
        padding: 5px 12px !important;
        font-size: 12px !important;
        gap: 5px !important;
    }
}


