/* =====================================================================
   PAGE MODULE — eluvia-pages
   Extracted verbatim from inline <style> of: en/eluvia-pages.html, eluvia-pages.html
   Design unchanged; loaded via `pageCss` front-matter.
   ===================================================================== */

/* Mobile-First Base Styles */
section {
    padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
    section {
        padding: 6rem 2rem;
    }
}

/* Hero specific padding - extra top space on mobile */
.hero-mobile-padding {
    padding: 7rem 1.5rem 4rem 1.5rem;
}

@media (min-width: 768px) {
    .hero-mobile-padding {
        padding: 8rem 2rem;
    }
}

/* Fix button text centering on mobile */
.btn-primary-light,
.btn-tertiary-dark,
.btn-primary,
.btn-secondary,
.btn-tertiary,
a[class*="btn-"] {
    text-align: center !important;
    justify-content: center !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
}

@media (max-width: 639px) {
    .btn-primary-light,
    .btn-tertiary-dark,
    .btn-primary,
    .btn-secondary,
    .btn-tertiary,
    a[class*="btn-"] {
        min-width: 200px !important;
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(23, 167, 175, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--primary-navy);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: linear-gradient(135deg, #FAF9F6 0%, #F5F3F0 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-magenta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-60 {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    background: white;
}

/* Demo Preview */
.demo-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Perfect For Icons */
.perfect-for-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.25rem;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-magenta));
}

.perfect-for-card {
    padding: 2rem;
    background: linear-gradient(135deg, #FAF9F6 0%, #F5F3F0 100%);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin-top: 3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-magenta));
    color: white;
}

th, td {
    padding: 1.25rem;
    text-align: left;
    font-size: 1rem;
}

/* Mobile table optimization */
@media (max-width: 767px) {
    th, td {
        padding: 0.6rem 0.4rem;
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    th:first-child, td:first-child {
        font-size: 0.7rem;
        padding-right: 0.2rem;
        max-width: 70px;
    }
    
    thead th {
        font-size: 0.75rem;
        padding: 0.7rem 0.3rem;
    }
    
    .checkmark, .xmark {
        font-size: 1.1rem;
    }
}

tbody tr {
    border-bottom: 1px solid rgba(38, 49, 89, 0.1);
}

tbody tr:hover {
    background: rgba(23, 167, 175, 0.05);
}

.checkmark {
    color: var(--secondary-teal);
    font-size: 1.5rem;
    font-weight: 700;
}

.xmark {
    color: #999;
    font-size: 1.5rem;
}
