/*
  BluCRM — CRM Landing Page Styles
  Extends: ../style.css
  Specific styles for the /crm landing page
*/

/* =====================================================
   CRM HERO — slight teal tint variation
   ===================================================== */
.crm-hero .blob-1 {
    background: radial-gradient(circle, #028DB966, transparent 70%);
}

.crm-hero .blob-2 {
    background: radial-gradient(circle, #00546F55, transparent 70%);
    width: 600px;
    height: 600px;
}

/* =====================================================
   FEATURE ROWS — alternating 2-col layout
   ===================================================== */
.crm-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
    margin-bottom: var(--sp-2xl);
    padding-bottom: var(--sp-2xl);
    border-bottom: 1px solid var(--color-border);
}

.crm-feature-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.crm-feature-row-reverse {
    direction: rtl;
}

.crm-feature-row-reverse>* {
    direction: ltr;
}

/* Feature text area */
.crm-feature-text {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.crm-feature-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent-ice-light);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: -0.5rem;
}

.crm-feature-number-sm {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-ice-light);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: -0.25rem;
}

.crm-feature-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--color-accent-ice-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.crm-feature-text h3 {
    font-size: 1.5rem;
    color: var(--color-brand-dark);
    line-height: 1.2;
    margin: 0;
}

.crm-feature-text p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

/* Feature image visual */
.crm-feature-visual {
    position: relative;
}

.crm-feature-screenshot {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: block;
    background: var(--color-bg-alt);
    transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.crm-feature-screenshot:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-blue);
}

.problem-img-wrap {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
    line-height: 0;
}

.problem-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Feature detail list */
.feature-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding: 0;
}

.feature-detail-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
}

.feature-detail-list svg {
    flex-shrink: 0;
}

.mt-sm {
    margin-top: var(--sp-sm);
}

/* =====================================================
   MINI FEATURE GRID (2 columns for features 6 & 7)
   ===================================================== */
.grid-2-crm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
    margin-top: var(--sp-2xl);
}

.crm-mini-features .feature-card {
    padding: var(--sp-lg);
}

/* =====================================================
   WHY BLUCRM LIST
   ===================================================== */
.why-crm-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-base);
    margin-top: var(--sp-lg);
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-sm);
    padding: var(--sp-base);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: background var(--t-fast), border-color var(--t-fast);
}

.why-item:hover {
    background: rgba(2, 141, 185, 0.12);
    border-color: rgba(2, 141, 185, 0.3);
}

.why-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.why-item h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 4px;
}

.why-item p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   CTA ACTIONS
   ===================================================== */
.cta-actions {
    display: flex;
    gap: var(--sp-sm);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--sp-lg);
}

.cta-footer-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: var(--sp-sm);
}

.cta-footer-note a {
    color: var(--color-primary);
    font-weight: 500;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .crm-feature-row {
        grid-template-columns: 1fr;
        gap: var(--sp-lg);
    }

    .problem-layout {
        grid-template-columns: 1fr;
        gap: var(--sp-lg);
    }

    .crm-feature-row-reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .crm-feature-number {
        font-size: 2.5rem;
    }

    .crm-feature-text h3 {
        font-size: 1.3rem;
    }

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

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}