/* ============================================
   ISO 27001 CERTIFICATION SERVICE 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::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 60px;
}

.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;
}

.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;
}

.service-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-primary);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

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

.service-hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   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);
}

/* ============================================
   SERVICE OVERVIEW - WHAT IS ISO 27001
   ============================================ */
.service-overview {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.overview-content > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.iso-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.highlight svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.highlight span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ISO vs SOC Comparison Sidebar */
.overview-sidebar {
    position: sticky;
    top: 100px;
}

.iso-vs-soc {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
}

.iso-vs-soc h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.comparison-mini {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.comparison-mini th,
.comparison-mini td {
    padding: 12px 8px;
    text-align: left;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-primary);
}

.comparison-mini th {
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.comparison-mini th:not(:first-child) {
    text-align: center;
}

.comparison-mini td:first-child {
    color: var(--text-tertiary);
    font-weight: 500;
}

.comparison-mini td:not(:first-child) {
    text-align: center;
    color: var(--text-secondary);
}

.comparison-mini tr:last-child td {
    border-bottom: none;
}

.sidebar-note {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-primary);
}

/* ============================================
   ISO 27001 STRUCTURE
   ============================================ */
.iso-structure {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

.structure-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.structure-header {
    margin-bottom: 16px;
}

.clause-num {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.structure-header h3 {
    font-size: 1.5rem;
}

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

.structure-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.structure-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.structure-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;
}

.structure-card li strong {
    color: var(--text-secondary);
}

/* ============================================
   WHY ISO 27001 - BENEFITS
   ============================================ */
.why-service {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

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

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

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

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

.benefit-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

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

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.service-process {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.timeline-content {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: rgba(59, 130, 246, 0.3);
}

.timeline-duration {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

.deliverables {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.deliverables li {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ============================================
   ISO DOCUMENTATION
   ============================================ */
.iso-documentation {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.doc-category {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.doc-category:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.doc-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-primary);
}

.doc-category h3 svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.doc-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.doc-category li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.doc-category 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;
}

/* ============================================
   SERVICE FAQ
   ============================================ */
.service-faq {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-secondary);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: var(--bg-tertiary);
}

.accordion-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    padding-right: 16px;
}

.accordion-header svg {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .accordion-header svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   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-secondary);
}

.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) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .overview-sidebar {
        position: static;
    }

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

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

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

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

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

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

    .service-hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .service-hero-stats .stat {
        min-width: 100px;
    }

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

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

    .process-timeline::before {
        left: 24px;
    }

    .timeline-marker {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .timeline-item {
        gap: 20px;
    }

    .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;
    }

    .service-hero-stats .stat-number {
        font-size: 2rem;
    }

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

    .timeline-content {
        padding: 20px;
    }

    .deliverables {
        flex-direction: column;
    }

    .deliverables li {
        width: 100%;
        text-align: center;
    }

    .iso-highlights {
        gap: 8px;
    }

    .highlight {
        padding: 12px 16px;
    }

    .comparison-mini th,
    .comparison-mini td {
        padding: 10px 6px;
        font-size: 0.8rem;
    }
}
