/* Enhanced Service Pages CSS - Universal Styling for All Service Pages */

/* Font Variables */
:root {
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Typography for Enhanced Services */
.service-hero h1, .service-hero h2, .service-hero h3 {
    font-family: var(--font-heading);
}

.service-hero p, .service-hero span, .service-hero div {
    font-family: var(--font-body);
}

/* Service Cards */
.service-card h3, .service-card h4 {
    font-family: var(--font-heading);
}

.service-card p, .service-card span {
    font-family: var(--font-body);
}

/* Hero Section Enhancements */
.service-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e0f2fe" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23bae6fd" opacity="0.2"/><circle cx="50" cy="10" r="0.5" fill="%233b82f6" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.4;
    z-index: 1;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-hero-text {
    animation: slideInLeft 0.8s ease-out;
}

.service-hero-visual {
    animation: slideInRight 0.8s ease-out;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.service-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.service-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-hero p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Enhanced Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Cards */
.service-card, .feature-card, .pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before, .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before, .feature-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover, .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

/* Icon Styling */
.service-icon, .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before, .feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.service-card:hover .service-icon::before,
.feature-card:hover .feature-icon::before {
    left: 100%;
}

.service-icon i, .feature-icon i {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i,
.feature-card:hover .feature-icon i {
    transform: scale(1.1) rotate(5deg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-hero {
        padding: 6rem 0 4rem;
        min-height: 70vh;
    }
    
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .service-hero h1 {
        font-size: 2.8rem;
    }
    
    .service-hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.2rem;
    }
    
    .service-hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 4rem 0 3rem;
    }
    
    .service-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .service-card, .feature-card, .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon, .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i, .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

/* AI Personalization Specific Styles */
.personalization-demo {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.demo-header {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.demo-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.visitor-profiles {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.visitor-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.visitor-card:last-child {
    margin-bottom: 0;
}

.visitor-card.active {
    border-color: #3b82f6;
    background: #f0f9ff;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.1);
}

.visitor-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.visitor-avatar {
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.visitor-details h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.visitor-details span {
    font-size: 0.85rem;
    color: #64748b;
}

.visitor-behavior {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.behavior-tag {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.personalized-content {
    padding: 1.5rem;
}

.content-block {
    display: none;
    text-align: center;
}

.content-block.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-block h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
}

.content-block p {
    margin: 0 0 1rem 0;
    color: #64748b;
    font-size: 0.95rem;
}

.recommended-services {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-tag {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CRM Automation Specific Styles */
.pipeline-dashboard {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 700px;
}

.dashboard-header {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.pipeline-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.stage {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid #e2e8f0;
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.stage-header h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.stage-count {
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.deals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.deal {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    border-left: 4px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.deal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.deal.high-value {
    border-left-color: #10b981;
}

.deal.medium-value {
    border-left-color: #f59e0b;
}

.deal.closed {
    border-left-color: #3b82f6;
    background: #f0f9ff;
}

.deal-company {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.deal-value {
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.deal-score {
    font-size: 0.75rem;
    color: #64748b;
}

/* Marketing Automation Specific Styles */
.service-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.service-breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.service-breadcrumb a:hover {
    text-decoration: underline;
}

.service-hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.service-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.service-icon-large i {
    font-size: 3rem;
    color: white;
}

.how-it-works {
    padding: 6rem 0;
    background: #f8fafc;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.workflow-step {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.step-visual {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-visual i {
    font-size: 2rem;
    color: white;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

.service-benefits {
    padding: 6rem 0;
    background: white;
}

.benefits-content {
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-text > p {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Process Automation Specific Styles */
.automation-flow {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.flow-header {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.flow-header h4 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.flow-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
}

.flow-stats .stat {
    opacity: 0.9;
}

.automation-steps {
    padding: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step:last-child {
    margin-bottom: 0;
}

.step.active {
    border-left-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #64748b, #475569);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step.active .step-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.step-icon i {
    font-size: 1.2rem;
    color: white;
}

.step-content {
    flex: 1;
}

.step-content h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.step-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.step-status {
    flex-shrink: 0;
}

.step-status i {
    font-size: 1.2rem;
}

.step.active .step-status i {
    color: #10b981;
}

.step:not(.active) .step-status i {
    color: #94a3b8;
}

.processing-time {
    background: #f0f9ff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

.processing-time .arrow {
    font-size: 1.2rem;
    color: #3b82f6;
    font-weight: bold;
}

.processing-time strong {
    color: #1e293b;
}

/* AI Chatbots Specific Styles */
.use-cases {
    padding: 6rem 0;
    background: #f8fafc;
}

.use-cases-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.tab-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.tab-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tab-pane {
    display: none;
}

/* Blog post content styling */
.blog-post-content {
    line-height: 1.8;
    color: #374151;
}

.blog-post-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem 0;
}

.blog-post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.5rem 0 0.75rem 0;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul, .blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
    border-left: 4px solid #3b82f6;
    background: #f8fafc;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.blog-post-content code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.blog-post-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0 2rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pagination-btn:hover:not(.disabled) {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.pagination-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.pagination-btn.active:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9fafb;
    color: #9ca3af;
}

.pagination-btn i {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .pagination-container {
        gap: 0.25rem;
        margin: 2rem 0 1rem 0;
    }
    
    .pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

.use-case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.use-case-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.use-case-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #1e293b;
    font-size: 0.95rem;
}

.benefits-list i {
    color: #10b981;
    font-size: 0.9rem;
}

.use-case-stats {
    display: flex;
    gap: 2rem;
}

.use-case-stats .stat {
    text-align: center;
}

.use-case-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.use-case-stats .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.use-case-visual {
    display: flex;
    justify-content: center;
}

.chat-example {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.chat-bubble {
    padding: 1rem 1.25rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-bubble.user {
    background: #3b82f6;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 6px;
}

.chat-bubble.bot {
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    margin-right: auto;
    border-bottom-left-radius: 6px;
}

.chat-action {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.action-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.chat-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}

.option-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Process Automation Use Cases Styles */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.use-case-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.use-case-icon i {
    font-size: 2rem;
    color: white;
}

.use-case-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.use-case-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.use-case-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric {
    background: #f0f9ff;
    color: #1d4ed8;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
}

/* Responsive adjustments for chatbots */
@media (max-width: 768px) {
    .use-case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .chat-example {
        max-width: 100%;
    }
    
    .use-case-stats {
        justify-content: center;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-metrics {
        align-items: center;
    }
}

/* CRM ROI Calculator Styles */
.roi-calculator {
    padding: 6rem 0;
    background: #f8fafc;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calculator-inputs {
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.calculator-results {
    padding: 3rem;
    background: white;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.result-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.result-value.increase {
    color: #10b981;
}

.result-value.roi {
    color: #3b82f6;
}

.calculator-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive ROI Calculator */
@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .calculator-inputs,
    .calculator-results {
        padding: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Specific Styles */
.blog-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.blog-card img {
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* Line clamp utilities for older browsers */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    max-height: 3em;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    max-height: 4.8em;
}

/* Blog post content styling */
.prose {
    color: #374151;
    line-height: 1.75;
}

.prose h2 {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.prose h3 {
    color: #1f2937;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

/* Newsletter section */
.newsletter-input {
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Responsive blog grid */
@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .blog-card:hover {
        transform: none;
    }
}
