/* ============================================
   CUSTOM COMPLIANCE SOLUTIONS PAGE STYLES
   ============================================ */

/* ============================================
   SERVICE HERO
   ============================================ */
.service-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        var(--bg-primary);
}

.service-hero.custom-hero {
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
        var(--bg-primary);
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.service-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.service-badge svg {
    width: 18px;
    height: 18px;
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.service-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.service-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header h2 svg {
    color: var(--primary);
    width: 32px;
    height: 32px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ============================================
   ADDITIONAL FRAMEWORKS
   ============================================ */
.additional-frameworks {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.frameworks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.framework-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.framework-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 130, 246, 0.1);
}

.framework-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 14px;
    margin-bottom: 20px;
}

.framework-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.framework-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.framework-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.framework-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.framework-card li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.framework-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.framework-card .btn {
    margin-top: auto;
}

/* ============================================
   CUSTOM SERVICES
   ============================================ */
.custom-services {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.custom-service-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.custom-service-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(8px);
}

.custom-service-card .service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 14px;
    flex-shrink: 0;
}

.custom-service-card .service-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-price {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   INDUSTRY FOCUS
   ============================================ */
.industry-focus {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.industry-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.industry-card svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.industry-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* ============================================
   ENGAGEMENT MODELS
   ============================================ */
.engagement-models {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.model-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.model-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.model-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin: 0 auto 20px;
}

.model-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.model-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.model-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.model-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.model-card li {
    position: relative;
    padding: 10px 0 10px 24px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--border-primary);
}

.model-card li:last-child {
    border-bottom: none;
}

.model-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
}

/* ============================================
   CUSTOM PROCESS
   ============================================ */
.custom-process {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.process-step:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.step-num {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}

.process-step h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   SERVICE CTA
   ============================================ */
.service-cta {
    padding: var(--section-padding) 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        var(--bg-primary);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .frameworks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .service-hero h1 {
        font-size: 2.75rem;
    }

    .models-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 120px 0 80px;
    }

    .service-hero h1 {
        font-size: 2.25rem;
    }

    .service-hero p {
        font-size: 1.1rem;
    }

    .service-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .frameworks-grid {
        grid-template-columns: 1fr;
    }

    .custom-service-card {
        flex-direction: column;
        text-align: center;
    }

    .custom-service-card:hover {
        transform: translateY(-4px);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 1.875rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .framework-card {
        padding: 24px;
    }

    .custom-service-card {
        padding: 24px;
    }

    .custom-service-card .service-icon {
        margin: 0 auto;
    }
}
