/* ==========================================================================
   ICLT CRM CUSTOM STYLESHEET
   ========================================================================== */

/* --- THEME VARIABLES & ROOT --- */
:root {
    --brand-primary: #0d6efd;
    --brand-primary-rgb: 13, 110, 253;
    --brand-dark: #0f172a;
    --brand-light: #f8fafc;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --upcoming-color: #f59e0b;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* =========================================================
   HERO SECTION & BACKGROUND
========================================================= */
.features-hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/login-bg.webp') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 2;
}

.features-hero .container {
    position: relative;
    z-index: 3;
}

/* =========================================================
   HERO BADGE
========================================================= */
.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* =========================================================
   HERO CONTENT
========================================================= */
.hero-title {
    margin-bottom: 28px;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-description {
    max-width: 540px;
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   HERO BUTTONS
========================================================= */
.hero-btn-primary,
.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.hero-btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff;
    border: 1px solid transparent;
}

.hero-btn-primary:hover {
    background-color: #0b5ed7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--brand-primary-rgb), 0.3);
}

.hero-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================================
   HERO STATS
========================================================= */
.hero-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.hero-stat-item span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
========================================================= */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* =========================================================
   DASHBOARD PREVIEW
========================================================= */
.dashboard-preview-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.dashboard-preview-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}

.preview-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.preview-widget {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--surface-glass-2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-widget small {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.preview-widget h3 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--white-color);
}

.widget-bar {
    height: 8px;
    margin-top: 18px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #60a5fa, #2563eb);
}

/* =========================================================
   CHART
========================================================= */
.preview-chart {
    position: relative;
    height: 190px;
    padding: 24px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(37,99,235,0.18), rgba(37,99,235,0.04));
    border: 1px solid var(--border-soft);
}

.chart-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 100% 40px, 40px 100%;
}

.chart-bars {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 2;
}

.chart-bars .bar {
    width: 28px;
    border-radius: 12px 12px 4px 4px;
    background: linear-gradient(180deg, rgba(96,165,250,1), rgba(37,99,235,0.35));
    box-shadow: 0 10px 20px rgba(37,99,235,0.25);
    animation: chartGrow 1.2s ease;
}

.chart-line {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.chart-line::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    top: 70px;
    height: 3px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    transform: skewY(-8deg);
}

.chart-line .point {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white-color);
    border: 4px solid #60a5fa;
    box-shadow: 0 0 0 6px rgba(96,165,250,0.15);
}

.point-1 { left: 40px; top: 92px; }
.point-2 { left: 120px; top: 78px; }
.point-3 { left: 200px; top: 86px; }
.point-4 { left: 280px; top: 55px; }
.point-5 { right: 40px; top: 40px; }

/* REALISTIC PREVIEW TABLE */
.dashboard-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.table-row span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.table-row strong {
    color: #ffffff;
    font-size: 0.875rem;
}

/* --- UNIVERSAL SECTION HEADING SYSTEM --- */
.section-heading {
    max-width: 650px;
}

.section-badge {
    background-color: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-heading h2 {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- FEATURES CARD COMPONENT --- */
.features-section {
    background-color: var(--brand-light);
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.25rem;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(var(--brand-primary-rgb), 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--brand-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* UPCOMING BADGES BLOCK */
.upcoming-feature {
    position: relative;
    border-style: dashed;
}

.upcoming-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--upcoming-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.upcoming-feature .feature-icon {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--upcoming-color);
}

/* --- INDUSTRIES SOLUTIONS SECTION --- */
.solutions-section {
    background-color: #ffffff;
}

.solution-card {
    background: var(--brand-light);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.solution-card:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-3px);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.solution-card:hover .solution-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.solution-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

.solution-card:hover h4 {
    color: #ffffff;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
    transition: var(--transition-smooth);
}

.solution-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    background-color: var(--brand-light);
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    color: var(--brand-dark);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-user strong {
    display: block;
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-user span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- PRICING SWITCH COMPONENT --- */
.pricing-switch-wrapper {
    display: flex;
    justify-content: center;
}

.pricing-switch {
    background: var(--brand-light);
    border: 1px solid var(--border-color);
    padding: 0.375rem;
    border-radius: 12px;
    display: inline-flex;
    position: relative;
    z-index: 1;
}

.billing-btn {
    background: transparent;
    border: none;
    padding: 0.625rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.billing-btn.active {
    color: var(--brand-primary);
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.save-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.25rem;
}

/* PLAN CONTAINERS SHOW/HIDE LOGIC */
.pricing-plan-wrapper {
    display: none;
}

.pricing-plan-wrapper.active {
    display: block;
}

/* PRICING CARDS SYSTEM */
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.pricing-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.pricing-list li {
    font-size: 0.95rem;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-list li::before {
    content: "✓";
    color: #22c55e;
    font-weight: 700;
}

/* ULTRA PREMIUM FEATURED PLAN CARD */
.featured-plan {
    border-color: var(--brand-primary);
    box-shadow: 0 20px 25px -5px rgba(var(--brand-primary-rgb), 0.05);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand-primary);
    color: #ffffff;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- CONTACT CTA CARD SECTION --- */
.cta-section {
    background-color: #ffffff;
}

.cta-card {
    background: var(--brand-dark);
    color: #ffffff;
    border-radius: 24px;
    padding: 4rem 3.5rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .cta-card {
        padding: 2.5rem 1.5rem;
    }
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.6;
}

.cta-card .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* CONTACT LIST COMPONENTS */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--brand-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info-item small {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.contact-info-item h5 {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 500;
}