/* ABOUTME: Marketing-focused CSS for client acquisition pages
   ABOUTME: Modern styling for hero sections, pain points, solutions, and CTAs */

/* ============================================
   Color Palette & Variables
   ============================================ */
:root {
    --primary-color: #b84315;
    --primary-dark: #a03b12;
    --secondary-color: #333333;
    --accent-color: #5bc0de;
    --success-color: #217821;
    --light-bg: #f8f9fa;
    --dark-bg: #2d3436;
    --text-muted: #666666;
}

/* ============================================
   Navigation Enhancements
   ============================================ */
.btn-nav-cta {
    background-color: #b84315 !important;
    color: white !important;
    border-radius: 4px;
    margin-top: 8px;
    padding: 8px 16px !important;
    font-weight: bold;
}

.btn-nav-cta:hover {
    background-color: #a03b12 !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #2d3436 0%, #4a5568 100%);
    color: white;
    padding: 80px 0;
    margin-top: -20px;
}

.hero-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.3em;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 30px;
}

.hero-cta .btn {
    margin: 5px 10px;
    padding: 14px 28px;
    font-size: 1.1em;
}

.hero-cta .btn-primary {
    background-color: #b84315;
    border-color: #b84315;
}

.hero-cta .btn-primary:hover {
    background-color: #a03b12;
    border-color: #a03b12;
}

.hero-cta .btn-default {
    background-color: transparent;
    border-color: white;
    color: white;
}

.hero-cta .btn-default:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ============================================
   Section Styling
   ============================================ */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.2em;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Pain Point Section
   ============================================ */
.pain-section {
    background-color: var(--light-bg);
}

.pain-cards {
    margin-top: 40px;
}

.pain-card {
    background: white;
    border-radius: 8px;
    padding: 30px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #dc3545;
    min-height: 220px;
}

.pain-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.pain-card h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.pain-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95em;
}

/* ============================================
   Solution Section
   ============================================ */
.solution-section {
    background-color: white;
}

.solution-features {
    margin-top: 40px;
}

.solution-feature {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    border-left: 4px solid var(--success-color);
}

.solution-feature h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.solution-feature ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.solution-feature li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.5;
}

.feature-result {
    background: rgba(92, 184, 92, 0.1);
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 15px;
    color: #2d5a2d;
    font-size: 0.95em;
}

/* ============================================
   Metrics Section
   ============================================ */
.metrics-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px 0;
}

.metrics-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.metric-box {
    text-align: center;
    padding: 20px 30px;
}

.metric-value {
    font-size: 3em;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.metric-detail {
    font-size: 0.85em;
    opacity: 0.8;
}

/* ============================================
   Verticals Section
   ============================================ */
.verticals-section {
    background-color: var(--light-bg);
}

.vertical-cards {
    margin-top: 40px;
}

.vertical-card {
    background: white;
    border-radius: 8px;
    padding: 30px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    min-height: 240px;
}

.vertical-card h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.vertical-problem,
.vertical-solution {
    font-size: 0.95em;
    margin-bottom: 10px;
    line-height: 1.5;
}

.vertical-problem {
    color: #856404;
}

.vertical-solution {
    color: #155724;
}

/* ============================================
   Case Study Highlights
   ============================================ */
.case-highlight-section {
    background-color: white;
}

.case-highlight-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    border-top: 4px solid var(--primary-color);
}

.case-highlight-card h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.case-highlight-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.case-metrics {
    margin-bottom: 20px;
}

.case-metric {
    display: inline-block;
    background: white;
    padding: 8px 15px;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.95em;
    border: 1px solid #ddd;
}

.case-metric strong {
    color: var(--success-color);
    font-size: 1.1em;
}

/* ============================================
   Badges Section
   ============================================ */
.badges-section {
    background-color: var(--light-bg);
    padding: 50px 0;
}

.badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.badge-item {
    text-align: center;
    padding: 20px 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    min-width: 140px;
}

.badge-icon {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.badge-label {
    font-size: 0.85em;
    color: var(--text-muted);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #2d3436 0%, #4a5568 100%);
    color: white;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section > .container > .row > div > p {
    font-size: 1.15em;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: #b84315;
    border-color: #b84315;
    padding: 14px 35px;
    font-size: 1.1em;
}

.cta-section .btn-primary:hover {
    background-color: #a03b12;
    border-color: #a03b12;
}

/* Global btn-primary contrast fix for WCAG AA compliance */
.btn-primary {
    background-color: #b84315;
    border-color: #b84315;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #a03b12;
    border-color: #a03b12;
}

/* Global btn-default contrast fix */
.btn-default {
    color: #333333;
    border-color: #999999;
}

/* Global btn-info contrast fix for WCAG AA compliance */
.btn-info {
    background-color: #2a7d9b;
    border-color: #2a7d9b;
    color: #ffffff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: #1f6380;
    border-color: #1f6380;
    color: #ffffff;
}

.cta-note {
    font-size: 0.9em;
    opacity: 0.7;
    margin-top: 15px;
}

/* ============================================
   Blog Preview Section
   ============================================ */
.blog-preview-section {
    background-color: white;
}

.blog-preview-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    min-height: 150px;
}

.blog-preview-card h3 {
    font-size: 1.15em;
    margin-bottom: 10px;
}

.blog-preview-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.blog-preview-card h3 a:hover {
    color: var(--primary-color);
}

.blog-preview-card p {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.5;
}

/* ============================================
   Footer Section
   ============================================ */
.footer-section {
    background-color: var(--dark-bg);
    color: white;
    padding: 50px 0 30px;
}

.footer-section h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.footer-section hr {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0 20px;
}

/* ============================================
   Mobile Responsive Overrides
   ============================================ */
@media (max-width: 767px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .section-title {
        font-size: 1.6em;
    }

    .metrics-row {
        flex-direction: column;
        align-items: center;
    }

    .metric-box {
        width: 80%;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .metric-value {
        font-size: 2.5em;
    }

    .badges-row {
        gap: 15px;
    }

    .badge-item {
        min-width: 120px;
        padding: 15px;
    }

    .pain-card,
    .vertical-card,
    .solution-feature {
        min-height: auto;
    }

    .footer-section .col-md-4 {
        margin-bottom: 30px;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.2em;
    }

    .metric-box {
        width: 45%;
    }
}

/* ============================================
   Services Page Enhancements
   ============================================ */
.service-vertical {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.service-vertical:last-child {
    border-bottom: none;
}

.service-vertical h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-benefits {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.service-benefits h4 {
    color: var(--success-color);
    margin-bottom: 15px;
}

/* ============================================
   Pricing Comparison Table
   ============================================ */
.pricing-table {
    margin: 30px 0;
}

.pricing-table th {
    background: var(--dark-bg);
    color: white;
    padding: 15px;
}

.pricing-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.pricing-table .savings {
    color: var(--success-color);
    font-weight: 600;
}

/* ============================================
   Trust Signals
   ============================================ */
.trust-signals {
    background: var(--light-bg);
    padding: 30px 0;
    text-align: center;
}

.trust-item {
    display: inline-block;
    margin: 0 30px;
    vertical-align: middle;
}

.trust-item span {
    font-weight: 600;
    color: var(--secondary-color);
}
