/* ========================================
   LABFY CUSTOM CSS - Site Redesign 2026
   ======================================== */

/* --- Custom Variables --- */
:root {
    --labfy-blue: #1565C0;
    --labfy-blue-dark: #0D47A1;
    --labfy-blue-light: #E3F2FD;
    --labfy-green: #2E7D32;
    --labfy-green-light: #E8F5E9;
    --labfy-orange: #EF6C00;
    --labfy-orange-light: #FFF3E0;
    --labfy-red: #C62828;
    --labfy-red-light: #FFEBEE;
    --labfy-gray: #F5F5F5;
    --labfy-dark: #1A237E;
    --labfy-text: #333333;
    --labfy-text-light: #666666;
}

/* --- General Improvements --- */
.section-title-badge {
    display: inline-block;
    background: var(--labfy-blue-light);
    color: var(--labfy-blue);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--labfy-text-light);
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* --- Hero Section Improvements --- */
.hero-banner {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1976D2 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-banner h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-banner .lead {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.25);
}

/* --- Differentials Section --- */
.differential-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.differential-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--labfy-blue);
}

.differential-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.differential-card h5 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--labfy-text);
}

.differential-card p {
    font-size: 14px;
    color: var(--labfy-text-light);
    line-height: 1.6;
    margin: 0;
}

.icon-blue { background: var(--labfy-blue-light); color: var(--labfy-blue); }
.icon-green { background: var(--labfy-green-light); color: var(--labfy-green); }
.icon-orange { background: var(--labfy-orange-light); color: var(--labfy-orange); }
.icon-red { background: var(--labfy-red-light); color: var(--labfy-red); }

/* --- Segment Cards --- */
.segment-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.segment-card .card-icon {
    padding: 30px;
    text-align: center;
    font-size: 48px;
}

.segment-card .card-body {
    padding: 0 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.segment-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.segment-card p {
    font-size: 15px;
    color: var(--labfy-text-light);
    line-height: 1.6;
    flex: 1;
}

.segment-card .btn-segment {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}

/* --- Exclusive Badge --- */
.badge-exclusive {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B00, #FF9100);
    color: #fff;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Technology/Lucy Section --- */
.tech-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.tech-feature .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    font-size: 22px;
}

.tech-feature h6 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 15px;
}

.tech-feature p {
    font-size: 14px;
    color: var(--labfy-text-light);
    margin: 0;
    line-height: 1.5;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, #0D47A1, #1976D2);
    border-radius: 16px;
    padding: 50px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.cta-banner h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-banner p {
    opacity: 0.9;
    font-size: 17px;
    margin-bottom: 25px;
}

.btn-cta-white {
    background: #fff;
    color: var(--labfy-blue);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-cta-white:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: var(--labfy-blue);
}

.btn-cta-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 10px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    margin-left: 12px;
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* --- Stats Counter --- */
.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-box .number {
    font-size: 36px;
    font-weight: 700;
    color: var(--labfy-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box .label {
    font-size: 14px;
    color: var(--labfy-text-light);
    font-weight: 500;
}

/* --- Problem/Solution Layout --- */
.problem-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 18px;
    background: #fff;
    border-radius: 10px;
    border-left: 4px solid var(--labfy-blue);
    transition: all 0.2s;
}

.problem-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.problem-item .icon {
    font-size: 24px;
    margin-right: 15px;
    min-width: 35px;
    text-align: center;
}

.problem-item h6 {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
}

.problem-item p {
    font-size: 14px;
    color: var(--labfy-text-light);
    margin: 0;
    line-height: 1.5;
}

/* --- Use Case Cards --- */
.usecase-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #eee;
    height: 100%;
    transition: all 0.2s;
}

.usecase-card:hover {
    border-color: var(--labfy-blue);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.usecase-card .emoji {
    font-size: 32px;
    margin-bottom: 12px;
}

.usecase-card h5 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.usecase-card p {
    font-size: 14px;
    color: var(--labfy-text-light);
    line-height: 1.6;
}

.usecase-card .result {
    background: var(--labfy-green-light);
    color: var(--labfy-green);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    display: inline-block;
}

/* --- Blog Cards --- */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.blog-card .card-img-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.blog-card .card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.blog-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 14px;
    color: var(--labfy-text-light);
    line-height: 1.6;
    flex: 1;
}

.blog-card .read-more {
    color: var(--labfy-blue);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

/* --- Compliance Badges --- */
.compliance-badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 2px solid #eee;
    padding: 10px 20px;
    border-radius: 50px;
    margin: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.compliance-badge:hover {
    border-color: var(--labfy-blue);
    background: var(--labfy-blue-light);
}

.compliance-badge i {
    margin-right: 8px;
    color: var(--labfy-green);
}

/* --- Breadcrumb --- */
.page-breadcrumb {
    background: var(--labfy-gray);
    padding: 15px 0;
}

.page-breadcrumb a {
    color: var(--labfy-blue);
    text-decoration: none;
    font-size: 14px;
}

.page-breadcrumb span {
    color: var(--labfy-text-light);
    font-size: 14px;
}

/* --- FAQ Section --- */
.faq-item {
    margin-bottom: 12px;
}

.faq-item .accordion-button {
    font-weight: 600;
    font-size: 15px;
    padding: 18px 20px;
    background: #fff;
    color: var(--labfy-text);
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--labfy-blue-light);
    color: var(--labfy-blue);
}

.faq-item .accordion-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--labfy-text-light);
}

/* --- Navigation Improvements --- */
.nav-segment-dropdown {
    position: relative;
}

.nav-segment-dropdown .dropdown-menu {
    min-width: 280px;
    padding: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
}

.nav-segment-dropdown .dropdown-item {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.nav-segment-dropdown .dropdown-item:hover {
    background: var(--labfy-blue-light);
}

.nav-segment-dropdown .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    width: 25px;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 0 50px;
    }
    .hero-banner h1 {
        font-size: 28px;
    }
    .hero-banner .lead {
        font-size: 16px;
    }
    .cta-banner {
        padding: 30px 20px;
    }
    .stat-box .number {
        font-size: 28px;
    }
    .btn-cta-outline {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* --- Article/Blog Content --- */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--labfy-text);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
}

.article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--labfy-text-light);
    margin-bottom: 18px;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--labfy-text-light);
    margin-bottom: 8px;
}

.article-meta {
    font-size: 14px;
    color: var(--labfy-text-light);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* --- Invisible Helper (keep from original) --- */
.invisivel {
    display: none;
}

/* --- Override some template defaults for better readability --- */
.landing-page-wrapper .section h3 {
    color: var(--labfy-text);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}

.text-labfy-blue { color: var(--labfy-blue) !important; }
.text-labfy-green { color: var(--labfy-green) !important; }
.text-labfy-orange { color: var(--labfy-orange) !important; }
.bg-labfy-light { background-color: var(--labfy-blue-light) !important; }
