/* ============================================
   PENETRATION TESTING SERVICE PAGE STYLES
   ============================================ */

/* ============================================
   SERVICE HERO
   ============================================ */
.service-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, 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 WE TEST
   ============================================ */
.service-overview {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

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

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

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

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

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

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

.test-type-card ul {
    list-style: none;
    padding: 0;
}

.test-type-card li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

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

/* ============================================
   METHODOLOGY SECTION
   ============================================ */
.pentest-methodology {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

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

.methodology-step:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: var(--bg-tertiary);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.methodology-step:hover .step-number {
    opacity: 1;
}

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

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

/* ============================================
   SAMPLE FINDINGS
   ============================================ */
.sample-findings {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.finding-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.finding-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.finding-card.critical::before {
    background: linear-gradient(90deg, #FF4438, #FF6B5E);
}

.finding-card.high::before {
    background: linear-gradient(90deg, #FF8C42, #FFB347);
}

.finding-card.medium::before {
    background: linear-gradient(90deg, #FFD700, #FFED4A);
}

.finding-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.finding-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.severity {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.severity.critical {
    background: rgba(59, 130, 246, 0.2);
    color: #FF4438;
}

.severity.high {
    background: rgba(6, 182, 212, 0.2);
    color: #FF8C42;
}

.severity.medium {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.finding-type {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    padding: 4px 10px;
    background: var(--bg-elevated);
    border-radius: 6px;
}

.finding-card h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

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

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

.finding-impact strong {
    color: var(--text-secondary);
}

/* ============================================
   DELIVERABLES
   ============================================ */
.pentest-deliverables {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

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

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

.deliverable-card svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

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

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

/* ============================================
   TEAM SECTION
   ============================================ */
.pentest-team {
    padding: var(--section-padding) 0;
    background: 
        linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        var(--bg-secondary);
}

.team-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.team-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.team-text .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.team-creds {
    list-style: none;
    padding: 0;
}

.team-creds li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.team-creds li:last-child {
    border-bottom: none;
}

.team-creds svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.team-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.team-stat {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.team-stat .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

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

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

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

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

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

    .team-stats {
        flex-direction: row;
    }

    .team-stat {
        flex: 1;
    }
}

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

    .test-types-grid,
    .methodology-steps,
    .deliverables-grid {
        grid-template-columns: 1fr;
    }

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

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

    .team-stats {
        flex-direction: column;
    }

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

    .step-number {
        font-size: 2.5rem;
    }

    .team-text h2 {
        font-size: 2rem;
    }
}
