/* ==========================================================================
   TrustInLabs - FPGA Verification Page Styles
   ========================================================================== */

::-moz-selection { background-color: #38B2AC; color: #ffffff; }
::selection { background-color: #38B2AC; color: #ffffff; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0D1B2A; }
::-webkit-scrollbar-thumb { background: #4FD1C5; border-radius: 4px; border: 2px solid #0D1B2A; }
::-webkit-scrollbar-thumb:hover { background: #38B2AC; }

section { scroll-margin-top: 80px; }

.dropdown-menu { will-change: transform, opacity; backface-visibility: hidden; }

input:focus, textarea:focus { outline: none; }

#mobile-menu { transition: opacity 0.3s ease, transform 0.3s ease; }

/* Hero Section Accent */
.page-hero {
    background: linear-gradient(135deg, #0D1B2A 0%, #0F1E30 60%, #0D2338 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(56, 178, 172, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ffffff12 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.3;
    pointer-events: none;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0, 180, 216, 0.18);
}

.section-heading-line {
    width: 48px;
    height: 4px;
    background: #00b4d8;
    border-radius: 2px;
    margin: 16px auto 0;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(0, 180, 216, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.2);
    color: #0090b0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: background 0.2s ease;
}

.tech-badge:hover { background: rgba(0, 180, 216, 0.15); }

.cta-btn {
    transition: all 0.25s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(0, 82, 204, 0.45);
}

/* Verification-specific: checklist items */
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-item::before {
    content: '✓';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #00b4d8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    margin-top: 2px;
}

/* Challenges accordion */
.challenge-item {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.challenge-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #475569;
    padding: 1rem 0;
    transition: color 0.2s ease;
}

.challenge-summary::-webkit-details-marker { display: none; }

.challenge-item[open] .challenge-summary,
.challenge-summary:hover { color: #0D1B2A; }

.challenge-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #94A3B8;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.challenge-item[open] .challenge-icon {
    transform: rotate(180deg);
    color: #38B2AC;
}

.challenge-body {
    padding: 0 0 1rem 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75rem;
    max-width: 52rem;
}

.challenge-item:first-child { border-top: 1px solid #e2e8f0; }

/* Verification expertise cards */
.verification-expertise {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.verification-card {
    box-shadow: 0 10px 24px -20px rgba(15, 23, 42, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.verification-card:hover {
    transform: translateY(-3px);
    border-color: #94A3B8;
    box-shadow: 0 14px 30px -20px rgba(15, 23, 42, 0.55);
}

@media print {
    .site-header, #menu-btn, #mobile-menu { display: none !important; }
    body { color: #000; background: #fff; }
}
