/* =============================================================
   Security Review Page — Page-specific styles
   ============================================================= */

/* ── Color utility classes (replaces inline styles) ── */
.icon-danger  { color: #ef4444; }
.icon-warning { color: #f59e0b; }
.icon-success { color: #22c55e; }
.icon-blue    { color: #3b82f6; }
.icon-purple  { color: #a855f7; }
.icon-pink    { color: #ec4899; }

.bg-danger-light  { background: rgba(239, 68, 68,  0.1); }
.bg-warning-light { background: rgba(245, 158, 11, 0.1); }
.bg-success-light { background: rgba(34,  197, 94, 0.1); }
.bg-blue-light    { background: rgba(59,  130, 246, 0.1); }
.bg-purple-light  { background: rgba(168, 85,  247, 0.1); }
.bg-pink-light    { background: rgba(236, 72,  153, 0.1); }
.bg-sky           { background: #e0f2fe; color: #0369a1; }
.bg-amber         { background: #fef3c7; color: #92400e; }

/* ── Shared utility classes (fills gaps from clean-design.css) ── */
.icon-xl {
    font-size: 1.75rem;
}

.btn-full-width {
    width: 100%;
    justify-content: center;
}

.icon-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── CTA section classes ── */
.cta-content-clean {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.cta-title-clean {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description-clean {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-actions-clean {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* ── Hero stats strip (mobile) ── */
.hero-stats-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.stat-item-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}

.stat-item-mobile strong {
    font-size: 0.875rem;
    color: #3b82f6;
    font-weight: 600;
}

.stat-item-mobile span {
    font-size: 0.75rem;
    color: #64748b;
}

/* Hide code window on mobile; show stats strip instead */
@media (max-width: 768px) {
    .hero-visual-mobile-hide { display: none; }
}

@media (min-width: 769px) {
    .hero-stats-mobile { display: none; }
}

/* ── Stats section ── */
.stats-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card-responsive {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card-responsive:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon-wrapper {
    flex-shrink: 0;
    padding: 1rem;
    border-radius: 12px;
}

.stat-content { flex: 1; }

.stat-value-responsive {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-label-responsive {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.stat-description-responsive {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 640px) {
    .stats-grid-responsive { grid-template-columns: 1fr; }
    .stat-value-responsive  { font-size: 1.75rem; }
}

/* ── Pricing cards ── */
.pricing-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 640px) {
    .pricing-grid-responsive {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.pricing-card-responsive {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card-responsive:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
    transform: translateY(-5px);
}

.pricing-featured-responsive {
    border-color: #3b82f6;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
}

.pricing-badge-wrapper {
    text-align: right;
    margin-bottom: 1rem;
    min-height: 28px;
}

.pricing-badge-responsive {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-badge-featured {
    background: #3b82f6;
    color: white;
}

.pricing-header-responsive h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: #1e293b;
}

.pricing-price-responsive { margin-bottom: 1rem; }

.price-amount-responsive {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
}

.price-period-responsive {
    color: #64748b;
    margin-left: 0.5rem;
    font-size: 1rem;
}

.pricing-scope-responsive {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #475569;
}

.pricing-scope-responsive strong { color: #1e293b; }

.pricing-features-responsive {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.pricing-features-responsive li {
    display: flex;
    align-items: start;
    padding: 0.625rem 0;
    color: #475569;
    line-height: 1.5;
    gap: 0.75rem;
}

.feature-icon-check {
    color: #22c55e;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.125rem;
}

.pricing-footer-responsive {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.pricing-target-responsive {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .price-amount-responsive { font-size: 2.5rem; }
}

/* ── What's included features grid ── */
.features-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card-clean {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-clean:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon-wrapper-clean {
    display: inline-flex;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.feature-content-clean h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.feature-content-clean p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .features-grid-responsive { grid-template-columns: 1fr; }
}

/* ── Tech badges ── */
.tech-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.tech-badge-responsive {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    color: #1e293b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-badge-responsive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tech-emoji { font-size: 1.5rem; }
.tech-name  { font-size: 0.95rem; }

@media (max-width: 640px) {
    .tech-grid-responsive { grid-template-columns: 1fr; }
}

/* ── Process accordion ── */
.process-accordion {
    max-width: 900px;
    margin: 3rem auto 0;
}

.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background: rgba(59, 130, 246, 0.02);
}

.accordion-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
}

.accordion-title { flex: 1; }

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #3b82f6;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

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

.accordion-content.active {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #64748b;
}

.accordion-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: 700;
}

@media (max-width: 640px) {
    .accordion-header {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .accordion-number {
        width: 35px;
        height: 35px;
        font-size: 1.125rem;
    }

    .accordion-content         { padding: 0 1.25rem; }
    .accordion-content.active  { padding: 0 1.25rem 1.25rem; }
}

/* ── CTA footer links ── */
.cta-contact-info {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-email-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cta-email-link:hover { color: #fff; }

/* ── Mobile overrides ── */
@media (max-width: 640px) {
    .hero-title-clean        { font-size: 2rem; }
    .hero-description-clean  { font-size: 1rem; }
    .section-title-clean     { font-size: 1.75rem; }
    .section-description-clean { font-size: 1rem; }
    .btn-large-clean         { padding: 0.875rem 1.5rem; font-size: 0.95rem; }

    .hero-stats-mobile {
        grid-template-columns: 1fr;
    }
}
