/* ============================================================
   SalesExpert.me — Homepage Design System
   Unified spacing, typography, and section rhythm
   ============================================================ */

:root {
    --se-red:     #DD1533;
    --se-dark:    #1a1a2e;
    --se-text:    #2c2c2c;
    --se-muted:   #666;
    --se-light:   #f7f9fb;
    --se-border:  #e8ecf0;
    --se-radius:  12px;
    --se-shadow:  0 2px 20px rgba(0,0,0,0.07);
}

/* ---- Global resets for the page ---- */
body { color: var(--se-text); }

/* ---- Consistent section rhythm ---- */
section { padding: 80px 0; }
section + section { border-top: none; }

/* Override inline padding on specific sections */
#ai-crm          { padding: 80px 0 !important; }
section.section-main-el { padding: 0 !important; }

/* ---- Unified heading style ---- */
.titlebar.heading-block h1,
.titlebar.heading-block h2 {
    font-family: inherit;
    color: var(--se-text);
    letter-spacing: -0.3px;
}

.titlebar.heading-block h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
}

.titlebar.heading-block h3 {
    font-size: 17px;
    font-weight: 400;
    color: var(--se-muted);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 12px;
}

/* Decorative underline on centered headings */
.titlebar.heading-block.text-center::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--se-red);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ---- Section alternating backgrounds ---- */
section#trust-bar           { padding: 50px 0; }
section#our_leads           { background: var(--se-light); padding: 50px 0; }
section#capture-page                    { background: #fff; }
section#capture-page.cls-testimonial-cs { background: var(--se-dark); }
section.cls-counter-section             { background: #fff; }
section#ai-crm              { background: var(--se-light); }
section.signupdetails       { background: var(--se-light); }
section#features            { background: #fff; }
section.cls-testimonial-cs  { background: var(--se-dark); }

/* ---- Our Leads bar ---- */
.leads-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--se-dark);
    border-radius: var(--se-radius);
    padding: 36px 48px;
}
.leads-title {
    flex: 1;
}
.leads-img {
    flex: 0 0 auto;
    width: 30%;
}
.leads-img img {
    width: 100%;
    opacity: 0.85;
}
.leads-title h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}
.leads-title h2 span { color: var(--se-red); }
.leads-title .sub-text {
    color: #aaa;
    font-size: 15px;
    margin: 0;
}

/* ---- Lead category cards ---- */
.am-cart-product.am-cart-product-two-column {
    border: 1px solid var(--se-border) !important;
    border-radius: var(--se-radius) !important;
    box-shadow: none !important;
    background: #fff !important;
    transition: box-shadow .2s;
}
.am-cart-product.am-cart-product-two-column:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}
.gl-icons {
    border-radius: var(--se-radius) var(--se-radius) 0 0 !important;
    background: #fff !important;
    border: 1px solid var(--se-border) !important;
    border-radius: var(--se-radius) !important;
    padding: 20px 24px !important;
}
.gl-icons span { color: var(--se-text); font-weight: 700; font-size: 16px; }
.gl-icons .fa { display: none; }
.am-cart-product-content-desc-short {
    color: var(--se-muted) !important;
    font-size: 15px !important;
    padding: 16px 24px 10px !important;
    line-height: 1.6 !important;
}
.am-cart-button-add.btn-success {
    background: transparent !important;
    border: 1px solid var(--se-red) !important;
    color: var(--se-red) !important;
    border-radius: 6px !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
}
.am-cart-button-add.btn-success:hover {
    background: var(--se-red) !important;
    color: #fff !important;
}

/* ---- Feature pill/tag ---- */
.feature-tag {
    display: inline-block;
    background: #fde8eb;
    color: var(--se-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ---- AI CRM cards ---- */
.crm-cards-grid { display: flex; flex-wrap: wrap; }
.crm-card-col { margin-bottom: 24px; }
.crm-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--se-border);
    border-radius: var(--se-radius);
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.crm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.11);
    border-color: var(--se-red);
    text-decoration: none;
    color: inherit;
}
.crm-card-icon { color: var(--se-red); margin-bottom: 16px; display: block; }
.crm-card-title { color: var(--se-text); font-weight: 700; font-size: 18px; margin: 0 0 10px; }
.crm-card-desc { color: #555; font-size: 15px; line-height: 1.65; margin: 0; flex: 1; }
.crm-card-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--se-red);
    letter-spacing: 0.3px;
}
.crm-card:hover .crm-card-link { text-decoration: underline; }

/* ---- Counter section ---- */
.counter-custom.color-custom-cls {
    font-size: 52px;
    font-weight: 800;
    color: var(--se-red);
}
.counter-subheading {
    font-size: 15px;
    color: var(--se-muted);
    font-weight: 500;
}

/* ---- Feature boxes ---- */
.feature-box {
    padding: 24px 16px !important;
    min-height: 0 !important;
    transition: background .2s;
    border-radius: var(--se-radius);
}
.feature-box:hover { background: var(--se-light); }
.feature-box i,
.fa-stack { color: var(--se-red) !important; margin-bottom: 16px; }
.feature-box-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--se-text);
    margin-bottom: 8px;
}
.feature-box-content p {
    font-size: 15px !important;
    color: var(--se-muted);
    line-height: 1.6;
    font-weight: 400 !important;
}

/* ---- Testimonials ---- */
section#capture-page.cls-testimonial-cs .titlebar h1 { color: #fff; }
.testimonials-grid { gap: 24px; }
.testimonials-grid .grid-item { padding: 0; }
.testimonials-grid .testimonial {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--se-radius);
    padding: 28px;
    height: 100%;
}
.testi-meta { color: #fff !important; font-size: 14px !important; }
.testi-meta span { color: #aaa !important; }
.test-desc { color: #ccc !important; font-size: 14px; line-height: 1.7; }

/* ---- Why our leads are superior ---- */
section#features { padding: 80px 0; }
#features .titlebar.heading-block h1 { font-size: 34px; }
#features .lead {
    font-size: 16px !important;
    color: var(--se-muted);
    line-height: 1.75;
}
#features .col-md-10 > .row.align-items-center {
    padding: 56px 0;
    border-bottom: 1px solid var(--se-border);
}
#features .col-md-10 > .row.align-items-center:first-child { padding-top: 0; }
#features .col-md-10 > .row.align-items-center:last-child  { border-bottom: none; padding-bottom: 0; }
#features h2.titlebar.heading-block {
    font-size: 26px;
    font-weight: 700;
    color: var(--se-text);
    margin-top: 10px;
}
#features h2.titlebar.heading-block::after {
    display: none;
}
.image-wrapper img {
    border-radius: var(--se-radius);
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.image-wrapper img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}
.punch-line p {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--se-dark) !important;
    letter-spacing: 0.2px;
}

/* ---- FAQ section ---- */
.signupdetails .panel { border-radius: var(--se-radius) !important; border: 1px solid var(--se-border) !important; margin-bottom: 8px; }
.signupdetails .panel-heading { background: #fff !important; border-radius: var(--se-radius) !important; }
.signupdetails .panel-title a { font-size: 15px; font-weight: 600; color: var(--se-text); }
.signupdetails .panel-title a:hover { color: var(--se-red); text-decoration: none; }

/* ---- Customer rating section ---- */
.state-great { background: none !important; color: #27ae60 !important; }
.state-okay  { background: none !important; color: #f39c12 !important; }
.state-not-good { background: none !important; color: var(--se-red) !important; }
section#features.text-center h3 { font-size: 22px; font-weight: 700; }

/* ---- Final CTA ---- */
section#features:last-of-type {
    background: var(--se-dark);
    padding: 80px 0;
}
section#features:last-of-type h2 { color: #fff; font-size: 32px; font-weight: 700; }
section#features:last-of-type p  { color: #aaa; }

/* ---- Hero slider ---- */
.section-main-el .container { min-height: 500px; }
.section-main-el h1 { line-height: 1.2 !important; }
.section-main-el h2 { color: #555 !important; font-size: 18px !important; font-weight: 400 !important; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .titlebar.heading-block h1 { font-size: 26px; }
    section { padding: 50px 0; }
    .leads-wrap { flex-direction: column; padding: 28px 20px; text-align: center; }
    .leads-title h2 { font-size: 22px; }
    #ai-crm .col-md-4 { margin-bottom: 20px; }
    .counter-custom.color-custom-cls { font-size: 38px; }
}
