/* Shared Content Page Styles */
.about-container,
.process-container,
.drive-container,
.compatibility-container,
.faq-container {
    max-width: var(--container-max);
    margin: 0 auto 3rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    padding-top: calc(var(--navbar-height) + clamp(1.5rem, 4vw, 2.5rem));
    background: var(--background-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.hero-section,
.process-header,
.drive-header,
.compatibility-header,
.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.hero-section h1,
.process-header h1,
.drive-header h1,
.compatibility-header h1,
.faq-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    letter-spacing: -0.03em;
}

.hero-section h1 span,
.process-header h1 span,
.drive-header h1 span {
    color: var(--primary-color);
}

.hero-section p,
.process-header p,
.drive-header p,
.compatibility-header p,
.faq-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--background-white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: left;
    transition:
        transform 0.5s var(--ease-out),
        box-shadow 0.5s var(--ease-out),
        border-color 0.5s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.feature-icon {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: white;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.925rem;
}

.step-card,
.info-card {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
    transition: all var(--transition-fast);
}

.step-card:hover,
.info-card:hover {
    background: var(--background-white);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.faq-item {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(var(--primary-rgb), 0.25);
}

.faq-question {
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--primary-light);
}

.faq-question i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.compatibility-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

.compatibility-table th {
    background: var(--primary-color);
    color: white;
    padding: 0.85rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
}

.compatibility-table td {
    padding: 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    transition: background var(--transition-fast);
}

.compatible {
    background: rgba(24, 128, 56, 0.1) !important;
    color: var(--success-color);
    font-weight: 600;
}

.incompatible {
    background: var(--primary-light) !important;
    color: var(--primary-color);
}

.portal-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: var(--page-padding);
    padding-top: calc(var(--navbar-height) + var(--page-padding));
}

.portal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: clamp(2rem, 5vw, 3rem) 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-primary);
}

.portal-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 0.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.search-filters {
    background: var(--background-white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.drive-card {
    background: var(--background-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition);
}

.drive-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.drive-card-header {
    padding: 1.1rem 1.25rem;
    background: var(--background-light);
    border-bottom: 1px solid var(--border-color);
}

.drive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .about-container,
    .process-container,
    .drive-container,
    .compatibility-container,
    .faq-container {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
