/* ==========================================================================
   features.php — page-specific styles
   Theme: indigo/violet, Inter font, Bootstrap Icons, dark + light
   ========================================================================== */

/* ---- Hero ---- */
.feat-hero {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, rgba(255, 255, 255, 0) 60%);
}
.dark .feat-hero {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, rgba(2, 6, 23, 0) 60%);
}
.feat-hero-glow {
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 420px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.20) 0%, rgba(139, 92, 246, 0.08) 45%, transparent 75%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

/* ---- Inline code chips (Template Variable Mapper copy) ---- */
.feat-code {
    font-family: 'Courier New', monospace;
    background: rgba(16, 185, 129, 0.10);
    color: #059669;
    padding: 0.1rem 0.4rem;
    border-radius: 0.375rem;
    font-size: 0.85em;
    font-weight: 600;
}
.dark .feat-code {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
}

/* ---- Template Variable Mapper demo cards ---- */
.feat-mapper-row {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feat-mapper-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.25);
}
.feat-mapper-var {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    color: #059669;
    background: rgba(16, 185, 129, 0.10);
    padding: 0.15rem 0.5rem;
    border-radius: 0.375rem;
}
.dark .feat-mapper-var {
    color: #34d399;
    background: rgba(16, 185, 129, 0.16);
}

/* ---- Vertical cards ---- */
.feat-vertical-card {
    position: relative;
}

/* ---- Pricing / comparison table ---- */
.feat-table {
    border-collapse: separate;
    border-spacing: 0;
}
.feat-table thead th {
    background: rgba(99, 102, 241, 0.06);
    color: #4338ca;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.9rem 1.1rem;
}
.dark .feat-table thead th {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
}
.feat-table tbody td {
    padding: 0.9rem 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}
.feat-table tbody tr:hover td {
    background: rgba(99, 102, 241, 0.04);
}
.dark .feat-table tbody tr:hover td {
    background: rgba(99, 102, 241, 0.07);
}

/* ---- Scroll reveal (matches site-wide .reveal pattern) ---- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
