/*
 * BOLESER SECTIONS
 * Homepage section-specific styles.
 * Each section matches the reference design exactly.
 */

/* =====================================================================
   HERO SECTION
   Structure: full-width, light orange-tinted bg, 2-col layout
   Elementor: Section (full-width) > Container > 2 columns (60/40)
   ===================================================================== */
.boleser-hero {
    background: linear-gradient(135deg, #FFF8F5 0%, #FFF4F0 40%, #F9F5FF 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.boleser-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,90,40,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.bh-content { max-width: 620px; }
.bh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bl-primary-light);
    color: var(--bl-primary);
    font-size: var(--bl-text-xs);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--bl-radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bh-eyebrow svg { width: 12px; height: 12px; }

.bh-title {
    font-size: var(--bl-text-5xl);
    font-weight: 800;
    line-height: 1.15;
    color: var(--bl-text-primary);
    margin-bottom: 20px;
}
.bh-title .bl-highlight { color: var(--bl-primary); }

.bh-subtitle {
    font-size: var(--bl-text-lg);
    color: var(--bl-text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.bh-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.bh-trust-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.bh-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--bl-text-xs);
    color: var(--bl-text-secondary);
    font-weight: 500;
}
.bh-trust-item svg { width: 16px; height: 16px; color: var(--bl-green); }

/* Hero right: floating product cards */
.bh-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bh-card-float {
    position: absolute;
    background: var(--bl-white);
    border-radius: var(--bl-radius-md);
    padding: 16px 20px;
    box-shadow: var(--bl-shadow-md);
    border: 1px solid var(--bl-border-light);
    min-width: 160px;
}
.bh-card-float-1 { top: 5%;  left: 0;   animation: bhFloat 4s ease-in-out infinite; }
.bh-card-float-2 { top: 20%; right: -10%; animation: bhFloat 4s ease-in-out 1s infinite; }
.bh-card-float-3 { bottom: 20%; left: 5%; animation: bhFloat 4s ease-in-out 2s infinite; }

@keyframes bhFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* Dashboard preview card */
.bh-dashboard-card {
    background: var(--bl-white);
    border-radius: var(--bl-radius-xl);
    overflow: hidden;
    box-shadow: var(--bl-shadow-lg);
    border: 1px solid var(--bl-border);
    padding: 20px;
    width: 100%;
    max-width: 480px;
}

/* =====================================================================
   TRUSTED BRANDS SECTION
   Elementor: Section > Container > [boleser_brands_marquee]
   ===================================================================== */
.boleser-brands-section {
    padding: 28px 0;
    border-top: 1px solid var(--bl-border);
    border-bottom: 1px solid var(--bl-border);
    background: var(--bl-white);
}
.bbs-label {
    font-size: var(--bl-text-xs);
    font-weight: 600;
    color: var(--bl-text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* =====================================================================
   SOFTWARE CATEGORIES SECTION
   Elementor: Section (gray bg) > Container > heading + [boleser_product_categories]
   ===================================================================== */
.boleser-categories-section {
    background: var(--bl-bg);
    padding: var(--bl-section-py) 0;
}
.bcs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.bcs-header h2 { margin: 0; font-size: var(--bl-text-3xl); font-weight: 700; }

/* =====================================================================
   FEATURED PRODUCTS SECTION
   Elementor: Section (white bg) > Container > heading + [boleser_featured_products]
   ===================================================================== */
.boleser-products-section { background: var(--bl-white); padding: var(--bl-section-py) 0; }

/* =====================================================================
   CLOUD SOLUTIONS SECTION
   Elementor: Section (dark bg) > Container > 2-col + [boleser_cloud_features]
   ===================================================================== */
.boleser-cloud-section {
    background: linear-gradient(135deg, var(--bl-dark) 0%, var(--bl-dark-2) 60%, #0D1B3E 100%);
    padding: var(--bl-section-py) 0;
    position: relative;
    overflow: hidden;
}
.boleser-cloud-section::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    top: -30%; left: -10%;
    pointer-events: none;
}
.bcs-cloud-heading {
    color: var(--bl-white);
    font-size: var(--bl-text-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}
.bcs-cloud-sub {
    color: rgba(255,255,255,0.7);
    font-size: var(--bl-text-base);
    line-height: 1.7;
    margin-bottom: 32px;
}
.bcs-cloud-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cloud icon glow visual */
.bcs-cloud-visual {
    width: 100%;
    aspect-ratio: 4/3;
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.2) 0%, rgba(99,102,241,0.05) 50%, transparent 70%);
    border-radius: var(--bl-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.bcs-cloud-icon {
    width: 200px; height: 200px;
    background: linear-gradient(135deg, #6366F1, #3B82F6);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 80px rgba(99,102,241,0.4), 0 0 160px rgba(99,102,241,0.2);
}
.bcs-cloud-icon svg { width: 80px; height: 80px; color: var(--bl-white); }

/* Features grid below cloud image */
.bcs-features-below {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* =====================================================================
   WHY CHOOSE US SECTION
   Elementor: Section (white) > Container > 5 icon-box columns + stats
   ===================================================================== */
.boleser-why-section { background: var(--bl-white); padding: var(--bl-section-py) 0; }

.boleser-why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}
.bwg-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 16px;
}
.bwg-icon {
    width: 56px; height: 56px;
    border-radius: var(--bl-radius-md);
    background: var(--bl-primary-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--bl-primary);
}
.bwg-icon svg { width: 24px; height: 24px; }
.bwg-title { font-size: var(--bl-text-sm); font-weight: 600; color: var(--bl-text-primary); }
.bwg-desc  { font-size: var(--bl-text-xs); color: var(--bl-text-secondary); }

/* =====================================================================
   COMPARE SOFTWARE SECTION
   Elementor: Section (gray bg) > Container > tabs + [boleser_compare_table]
   ===================================================================== */
.boleser-compare-section { background: var(--bl-bg); padding: var(--bl-section-py) 0; }
.bcs-compare-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }

.bcs-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--bl-border);
    overflow-x: auto;
}
.bcs-tab {
    padding: 10px 20px;
    font-size: var(--bl-text-sm);
    font-weight: 500;
    color: var(--bl-text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color var(--bl-transition-fast), border-color var(--bl-transition-fast);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}
.bcs-tab:hover  { color: var(--bl-primary); }
.bcs-tab.active { color: var(--bl-primary); border-bottom-color: var(--bl-primary); font-weight: 600; }

/* Expert help card (right side) */
.bcs-help-card {
    background: var(--bl-white);
    border: 1px solid var(--bl-border);
    border-radius: var(--bl-radius-lg);
    padding: 28px;
    position: sticky;
    top: 100px;
}
.bcs-help-card h4 { font-size: var(--bl-text-lg); font-weight: 700; margin-bottom: 16px; }
.bcs-help-list    { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.bcs-help-list li {
    display: flex; align-items: center; gap: 8px;
    font-size: var(--bl-text-sm); color: var(--bl-text-secondary);
}
.bcs-help-list li svg { width: 16px; height: 16px; color: var(--bl-green); flex-shrink: 0; }

/* =====================================================================
   TESTIMONIALS SECTION
   Elementor: Section (white bg) > Container > [boleser_testimonials]
   ===================================================================== */
.boleser-testimonials-section { background: var(--bl-white); padding: var(--bl-section-py) 0; }

/* =====================================================================
   INSIGHTS SECTION
   Elementor: Section (gray bg) > Container > [boleser_recent_insights]
   ===================================================================== */
.boleser-insights-section { background: var(--bl-bg); padding: var(--bl-section-py) 0; }

/* =====================================================================
   CONSULTATION SECTION
   Elementor: Section (white bg) > 2-col (50/50)
   Left: heading + why points | Right: [boleser_consultation_form]
   ===================================================================== */
.boleser-consult-section { background: var(--bl-white); padding: var(--bl-section-py) 0; }
.bcs-consult-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.bcs-consult-left h2 { font-size: var(--bl-text-4xl); font-weight: 700; margin-bottom: 16px; }
.bcs-consult-left h2 span { color: var(--bl-primary); }
.bcs-consult-left p  { font-size: var(--bl-text-base); color: var(--bl-text-secondary); margin-bottom: 28px; line-height: 1.7; }
.bcs-why-list    { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bcs-why-list li { display: flex; align-items: center; gap: 10px; font-size: var(--bl-text-sm); color: var(--bl-text-secondary); }
.bcs-why-list li svg { width: 18px; height: 18px; color: var(--bl-green); flex-shrink: 0; }

/* =====================================================================
   RESPONSIVE SECTION ADJUSTMENTS
   ===================================================================== */
@media (max-width: 1024px) {
    .boleser-why-grid    { grid-template-columns: repeat(3, 1fr); }
    .bcs-compare-layout  { grid-template-columns: 1fr; }
    .bcs-help-card       { position: static; }
    .bcs-consult-layout  { grid-template-columns: 1fr; gap: 40px; }
    .bcs-features-below  { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .boleser-hero { padding: 48px 0 40px; }
    .bh-title { font-size: var(--bl-text-3xl); }
    .bh-subtitle { font-size: var(--bl-text-base); }
    .boleser-why-grid { grid-template-columns: repeat(2, 1fr); }
    .bcs-features-below { grid-template-columns: repeat(2, 1fr); }
    .bcs-cloud-heading { font-size: var(--bl-text-2xl); }
    .bcs-consult-left h2 { font-size: var(--bl-text-2xl); }
}
@media (max-width: 480px) {
    .boleser-why-grid { grid-template-columns: 1fr 1fr; }
    .bh-cta-group { flex-direction: column; align-items: flex-start; }
    .bh-cta-group .bl-btn { width: 100%; justify-content: center; }
}
