/* ========================================
   CertSync Layout System
   Consistent spacing and card styling
   ======================================== */

/* =========================
   SECTION SPACING SYSTEM
   ========================= */

/* Standard section container */
.section {
    padding: 64px 5%;
    position: relative;
}

/* Wrapper for max-width constraint */
.section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Reduced padding for sections that need to sit closer together */
.section-compact {
    padding: 32px 5%;
}

/* Background variations */
.section-white {
    background: #ffffff;
}

.section-grey {
    background: #F8F9FA;
}

/* Mobile responsive spacing */
@media (max-width: 768px) {
    .section {
        padding: 40px 5%;
    }

    .section-compact {
        padding: 24px 5%;
    }
}

/* =========================
   CARD SYSTEM
   ========================= */

/* Reset existing card styles for consistency */
.card,
.feature-card,
.pricing-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                0 4px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Card hover state - subtle elevation */
.card:hover,
.feature-card:hover,
.pricing-card:hover,
.interactive-card.is-hovered {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06),
                0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Card headings */
.card h2,
.feature-card h3 {
    color: #1A1A1A;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Card content */
.card p,
.feature-card p {
    color: #4A5568;
    line-height: 1.7;
    margin: 0;
}

/* Card lists */
.card ul {
    margin: 1rem 0 0 0;
    padding-left: 0;
}

.card ul li {
    color: #4A5568;
    line-height: 1.8;
}

/* Mobile card padding */
@media (max-width: 768px) {
    .card,
    .feature-card,
    .pricing-card {
        padding: 32px 24px;
    }
}

/* =========================
   SPECIFIC SECTIONS
   ========================= */

/* Final CTA Section */
.final-cta-section {
    padding: 48px 5% 64px 5%;
    background: #1a237e;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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");
    pointer-events: none;
}

.final-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-section h2 {
    color: #ffffff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.final-cta-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* Mobile CTA spacing */
@media (max-width: 768px) {
    .final-cta-section {
        padding: 40px 5% 48px 5%;
    }

    .final-cta-section h2 {
        margin-bottom: 1.5rem;
    }
}
