/* Service Pages Specific Styles */

/* Service Hero Section */
.service-hero {
    min-height: 80vh;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 50%, #1e3a8a 100%);
    color: white;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="service-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23service-pattern)"/></svg>');
    opacity: 0.3;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.service-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.service-breadcrumb a:hover {
    color: white;
}

.service-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-hero-title .service-icon {
    font-size: 3rem;
    color: var(--accent-color);
}

.service-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.service-hero-stats .stat-item {
    text-align: center;
}

.service-hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.service-hero-stats .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

.service-hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Service Hero Visual */
.service-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.voice-ai-animation {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-phone {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-color), #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
    animation: phone-pulse 2s infinite;
}

@keyframes phone-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.voice-wave {
    position: absolute;
    border: 3px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    animation: wave-expand 3s infinite;
}

.voice-wave:nth-child(1) {
    width: 180px;
    height: 180px;
    animation-delay: 0s;
}

.voice-wave:nth-child(2) {
    width: 240px;
    height: 240px;
    animation-delay: 1s;
}

.voice-wave:nth-child(3) {
    width: 300px;
    height: 300px;
    animation-delay: 2s;
}

@keyframes wave-expand {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* SMS Animation */
.sms-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 400px;
    background: #1f2937;
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #374151;
    border-radius: 2px;
}

.message-bubble {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    max-width: 80%;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-primary);
    animation: message-appear 2s infinite;
}

.message-bubble.incoming {
    background: #e5e7eb;
    margin-right: auto;
    border-bottom-left-radius: 0.25rem;
}

.message-bubble.outgoing {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 0.25rem;
    animation-delay: 1s;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background: #e5e7eb;
    border-radius: 1rem;
    max-width: 60px;
    animation: typing-pulse 2s infinite;
    animation-delay: 2s;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing-dot 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes message-appear {
    0%, 70% { opacity: 0; transform: translateY(10px); }
    80%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes typing-pulse {
    0%, 80% { opacity: 0; }
    90%, 100% { opacity: 1; }
}

@keyframes typing-dot {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* CRM Dashboard Animation */
.crm-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.crm-dashboard {
    width: 320px;
    height: 240px;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.dashboard-header {
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 60px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.data-card {
    height: 60px;
    background: var(--surface);
    border-radius: 0.25rem;
    border: 1px solid var(--border);
    position: relative;
    animation: data-pulse 3s infinite;
}

.data-card:nth-child(2) { animation-delay: 0.5s; }
.data-card:nth-child(3) { animation-delay: 1s; }

.data-card::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 20px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.data-card::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 30px;
    height: 20px;
    background: linear-gradient(135deg, var(--secondary-color), transparent);
    border-radius: 2px;
}

.pipeline-visual {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.25rem;
    height: 40px;
}

.pipeline-stage {
    flex: 1;
    background: linear-gradient(135deg, var(--accent-color), #fbbf24);
    border-radius: 0.25rem;
    position: relative;
    animation: pipeline-flow 4s infinite;
}

.pipeline-stage:nth-child(2) { animation-delay: 1s; }
.pipeline-stage:nth-child(3) { animation-delay: 2s; }

@keyframes data-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes pipeline-flow {
    0%, 75% { transform: scaleX(1); }
    25%, 50% { transform: scaleX(1.1); }
}

/* Service Features Section */
.service-features-section {
    padding: 6rem 0;
    background: var(--surface);
}

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

.feature-card-detailed {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card-detailed:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.feature-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.feature-card-detailed h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card-detailed p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.feature-benefits i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 0;
    background: white;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.process-step-detailed {
    background: var(--surface);
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    border: 1px solid var(--border);
}

.step-number-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 2rem;
}

.step-content-detailed h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-content-detailed p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

/* Pricing Section */
.service-pricing-section {
    padding: 6rem 0;
    background: var(--surface);
}

/* LeadVault Pricing Section - Blue Background */
.leadvault-pricing {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.leadvault-pricing .section-header h2 {
    color: white;
}

.leadvault-pricing .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* Remove border from featured pricing in LeadVault section */
.leadvault-pricing .featured-pricing {
    border: none;
    transform: none;
}

/* CRM Pricing Structure Styling */
.price-structure {
    text-align: center;
    margin: 1.5rem 0;
}

.setup-fee {
    background: var(--surface);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
}

.fee-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.fee-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.monthly-fee {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.monthly-fee .currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.monthly-fee .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.monthly-fee .period {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Button styling for LeadVault pricing section */
.leadvault-pricing .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
}

.leadvault-pricing .btn-primary:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.leadvault-pricing .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
}

.leadvault-pricing .btn-outline:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
}

.pricing-showcase {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pricing-card-large {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 20px 60px var(--shadow-lg);
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--border);
}

.featured-pricing {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge-large {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header-large h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 3rem;
}

.price-display .currency {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.price-display .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0.5rem;
}

.price-display .period {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.pricing-features-large {
    text-align: left;
    margin-bottom: 3rem;
}

.pricing-features-large h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-features-large ul {
    list-style: none;
    padding: 0;
}

.pricing-features-large li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.pricing-features-large i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.pricing-guarantee {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-guarantee i {
    color: var(--secondary-color);
}

/* SMS Pricing Structure */
.pricing-structure {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.setup-fee, .monthly-fee {
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
}

.setup-fee {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--accent-color);
}

.monthly-fee {
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid var(--primary-color);
}

.setup-label, .monthly-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-display-setup {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price-display-setup .currency {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.price-display-setup .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: 0.25rem;
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Benefits Section */
.service-benefits-section {
    padding: 6rem 0;
    background: white;
}

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

.benefit-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.benefit-card:hover {
    background: white;
    box-shadow: 0 10px 30px var(--shadow);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.benefit-card h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Service CTA Section */
.service-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content-large h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content-large p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        padding: 6rem 0 3rem;
    }
    
    .service-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .service-hero-title {
        font-size: 2.5rem;
        justify-content: center;
    }
    
    .service-hero-title .service-icon {
        font-size: 2rem;
    }
    
    .service-hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .service-hero-buttons {
        justify-content: center;
    }
    
    .voice-ai-animation {
        width: 250px;
        height: 250px;
    }
    
    .ai-phone {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-detailed {
        padding: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .featured-pricing {
        transform: none;
    }
    
    .price-display .amount {
        font-size: 3rem;
    }
    
    .cta-content-large h2 {
        font-size: 2rem;
    }
    
    .cta-buttons-large {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-xl {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .service-hero-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pricing-card-large {
        padding: 2rem;
    }
    
    .price-display .amount {
        font-size: 2.5rem;
    }
}