/**
 * CPI Premium Services Stylesheet
 * Creative Possibilities Inc. - Professional IT Services
 * Mid-Hudson Valley, NY
 */

/* Service Cards Enhanced Styling */
.bento-card.featured-service {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border: 2px solid rgba(44, 44, 44, 0.5);
    position: relative;
    overflow: hidden;
    color: #f8f8f8;
}

.bento-card.featured-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #6c63ff);
    z-index: 1;
}

/* Service Badges */
.service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.service-badge.professional {
    background: linear-gradient(135deg, #4a4a4a, #2c2c2c);
    color: #f8f8f8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.service-badge.certified {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    color: #fefefe;
}

.service-badge.executive {
    background: linear-gradient(135deg, #9c88ff, #667eea);
    color: #fefefe;
}

.service-badge.specialist {
    background: linear-gradient(135deg, #8b5cf6, #667eea);
    color: #fefefe;
}

.service-badge.automation {
    background: linear-gradient(135deg, #72b4f7, #667eea);
    color: #fefefe;
}

.service-badge.data {
    background: linear-gradient(135deg, #7c3aed, #667eea);
    color: #fefefe;
}

.service-badge.ai {
    background: linear-gradient(135deg, #a855f7, #667eea);
    color: #fefefe;
}

.service-badge.onsite {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fefefe;
}

/* Pricing Options */
.pricing-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.price-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 80px;
}

.price-option.premium {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid #667eea;
}

.price-option.emergency {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.2));
    border: 1px solid #8b5cf6;
}

.price-label {
    font-size: 0.75rem;
    color: #98a2b3;
    margin-bottom: 2px;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c2c2c;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Service Features and Tags */
.service-specialties, .service-features, .capability-tools, .data-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}

.specialty-tag, .capability-tag, .tool-tag {
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    font-size: 0.7rem;
    color: #667eea;
    white-space: nowrap;
}

.specialty-tag.cobol {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3), rgba(160, 82, 45, 0.3));
    border-color: #8b4513;
}

.specialty-tag.as400 {
    background: linear-gradient(135deg, rgba(25, 25, 112, 0.3), rgba(70, 130, 180, 0.3));
    border-color: #4682b4;
}

/* Certification Badges */
.certification-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.cert-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.cert-badge.aws {
    background: linear-gradient(135deg, #ff9900, #ec7700);
}

.cert-badge.azure {
    background: linear-gradient(135deg, #0078d4, #106ebe);
}

.cert-badge.gcp {
    background: linear-gradient(135deg, #4285f4, #34a853);
}

/* AI Technologies */
.ai-technologies, .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}

.tech-tag, .ai-tag {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid;
}

.tech-tag.openai, .ai-tag.openai {
    background: rgba(16, 163, 127, 0.2);
    border-color: #10a37f;
    color: #10a37f;
}

.tech-tag.anthropic, .ai-tag.claude {
    background: rgba(191, 90, 242, 0.2);
    border-color: #bf5af2;
    color: #bf5af2;
}

.tech-tag.langchain {
    background: rgba(55, 65, 81, 0.2);
    border-color: #374151;
    color: #d1d5db;
}

/* Agentic Services */
.agentic-services {
    display: grid;
    gap: 16px;
    margin: 16px 0;
}

.agentic-service {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.agentic-service .service-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.agentic-service .service-icon {
    font-size: 1.2rem;
}

.agentic-service h4 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
}

.agentic-service p {
    margin: 8px 0;
    color: #98a2b3;
    font-size: 0.85rem;
}

/* Statistics and Highlights */
.service-highlights, .devops-stats {
    display: flex;
    gap: 16px;
    margin: 12px 0;
}

.highlight-stat, .stat-item {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    flex: 1;
}

.stat-number, .stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: #98a2b3;
    margin-top: 2px;
}

/* Legacy Visual Enhancements */
.featured-placeholder.legacy-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legacy-icons {
    position: absolute;
    display: flex;
    gap: 8px;
    opacity: 0.3;
    font-size: 0.8rem;
}

/* Pricing Cards Enhanced */
.pricing-card.featured {
    transform: scale(1.02);
    z-index: 2;
}

.pricing-card.specialist {
    border: 2px solid #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.1));
}

.pricing-card.premium {
    border: 2px solid #a855f7;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.1));
}

.pricing-rates {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 8px 0;
}

.rate-option {
    text-align: center;
}

.certification-mini {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 8px 0;
}

.cert-mini {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
}

.cert-mini.aws { background: #ff9900; }
.cert-mini.azure { background: #0078d4; }
.cert-mini.gcp { background: #4285f4; }

/* Experience and Guarantee Badges */
.experience-badge, .guarantee-badge {
    text-align: center;
    margin: 8px 0;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-text, .guarantee-text {
    font-size: 0.75rem;
    color: #9c88ff;
    font-weight: 600;
}

/* Daily Rates Section */
.daily-rates-section {
    padding: 32px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    margin: 32px 0;
}

.daily-rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.daily-rate-card {
    background: linear-gradient(135deg, rgba(248, 248, 248, 0.95), rgba(240, 240, 240, 0.95));
    border: 2px solid rgba(44, 44, 44, 0.15);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.daily-rate-card.premium {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.daily-rate-card h4 {
    color: #2c2c2c;
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rate-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.rate-item .service {
    color: #2c2c2c;
    font-weight: 600;
    font-size: 0.95rem;
}

.rate-item .hourly, .rate-item .daily {
    color: #666666;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 500;
}

.rate-item .daily {
    color: #1a1a1a;
    font-weight: 700;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(44, 44, 44, 0.1);
}

/* Rate Benefits */
.rate-benefits {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefit-icon {
    font-size: 1.2rem;
}

.benefit-text {
    color: #98a2b3;
    font-size: 0.9rem;
}

/* Enhanced Capabilities Grid */
.capability-item.cloud {
    border-left: 4px solid #4285f4;
}

.capability-item.legacy {
    border-left: 4px solid #8b4513;
}

.capability-item.devops {
    border-left: 4px solid #06ffa5;
}

.capability-item.data {
    border-left: 4px solid #4cc9f0;
}

.capability-item.security {
    border-left: 4px solid #f72585;
}

.capability-item.ai-engineering {
    border-left: 4px solid #ff006e;
}

.capability-item.strategy {
    border-left: 4px solid #f4a261;
}

.capability-item.support {
    border-left: 4px solid #3d5a80;
}

.capability-certifications, .capability-tools, .capability-compliance {
    margin-top: 12px;
}

.compliance-tag {
    padding: 4px 8px;
    background: rgba(247, 37, 133, 0.2);
    border: 1px solid #f72585;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #f72585;
    margin-right: 6px;
}

.capability-stats, .capability-experience {
    margin-top: 8px;
}

.stat-item, .experience-tag {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(244, 162, 97, 0.2);
    border: 1px solid #f4a261;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #f4a261;
    margin-right: 6px;
}

.capability-sla {
    margin-top: 8px;
}

.sla-tag {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(6, 255, 165, 0.2);
    border: 1px solid #06ffa5;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #06ffa5;
    margin-right: 6px;
}

/* Coverage Items */
.service-coverage {
    margin: 12px 0;
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
}

.coverage-icon {
    font-size: 1rem;
    color: #667eea;
}

.coverage-text {
    color: #98a2b3;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-options {
        justify-content: center;
    }
    
    .daily-rates-grid {
        grid-template-columns: 1fr;
    }
    
    .rate-benefits {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .agentic-services {
        grid-template-columns: 1fr;
    }
    
    .pricing-rates {
        flex-direction: column;
        gap: 8px;
    }
}

/* Animation Enhancements */
.bento-card:hover {
    transform: translateY(-4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-6px) scale(1.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-badge {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Header Branding Enhancements */
.brand-location {
    display: block;
    font-size: 0.7rem;
    color: #98a2b3;
    font-weight: 400;
    margin-top: 2px;
}

.brand-badge {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
}

/* Loading Screen CPI Branding */
.loading-text {
    display: flex;
    gap: 4px;
    margin-top: 16px;
}

.loading-letter {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ee6c4d;
    opacity: 0;
    animation: loading-letter-fade 2s ease-in-out infinite;
}

.loading-letter:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-letter:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading-letter-fade {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Footer Services Grid Enhancement */
.footer-column a {
    display: block;
    padding: 4px 0;
    color: rgba(248, 248, 248, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #f8f8f8;
    padding-left: 8px;
    transform: translateY(-1px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Contact Information Styling */
.footer-contact p {
    margin: 12px 0;
    color: #f8f8f8;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact a {
    color: #f8f8f8;
    text-decoration: none;
    font-weight: 600;
    background: rgba(248, 248, 248, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(248, 248, 248, 0.2);
}

.footer-contact a:hover {
    background: rgba(248, 248, 248, 0.2);
    border-color: rgba(248, 248, 248, 0.4);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsiveness for New Elements */
@media (max-width: 768px) {
    .brand-location {
        font-size: 0.6rem;
    }
    
    .footer-column {
        margin-bottom: 24px;
    }
    
    .footer-column a {
        font-size: 0.8rem;
    }
}