/* ═══════════════════════════════
   FEATURES PAGE
═══════════════════════════════ */
.features-page {
    background: #F5F2EB;
    min-height: 100vh;
}

/* Back button */
.feat-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-mid);
    padding: 8px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: transparent;
    transition: all 0.15s;
}
.feat-back-btn:hover {
    border-color: var(--border-gold);
    color: var(--primary-light);
}

/* ── Main ── */
.feat-main {
    padding: 96px 24px 100px;
}
.feat-inner {
    max-width: 1060px;
    margin: 0 auto;
}

/* ── Header ── */
.feat-header {
    text-align: center;
    margin-bottom: 64px;
}
.feat-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}
.feat-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}
.feat-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.feat-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ══════════════════════════════
   COMPARISON TABLE
══════════════════════════════ */
.feat-compare-wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}

.feat-compare {
    border-radius: 24px;
    overflow: visible;
}

/* Plan header cards */
.feat-plans-row {
    display: grid;
    grid-template-columns: 260px repeat(5, 1fr);
    gap: 0;
    margin-bottom: 0;
    padding: 0 0 0 0;
    align-items: end;
}

.feat-plan-card {
    text-align: center;
    padding: 28px 16px 24px;
    position: relative;
    border-radius: 20px 20px 0 0;
    background: #FFFFFF;
    border: 1.5px solid rgba(0,0,0,0.08);
    border-bottom: none;
    margin: 0 4px;
    transition: box-shadow 0.2s;
}
.feat-plan-card:hover {
    box-shadow: 0 -4px 20px rgba(184,146,46,0.08);
}
.feat-plan-card.is-featured {
    background: linear-gradient(160deg, #5C3D00, #8B6914);
    border-color: var(--border-gold);
    padding-top: 36px;
    margin-top: -16px;
    box-shadow: 0 -8px 32px rgba(184,146,46,0.22);
    z-index: 2;
}
.feat-plan-card.is-active:not(.is-featured) {
    background: #FAF7F0;
    border-color: var(--border-gold);
}

.feat-plan-badge {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 10px;
}
.feat-plan-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 6px;
}
.is-featured .feat-plan-title { color: #fff; }

.feat-plan-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}
.tier-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #aaa;
}
.tier-pips {
    display: flex;
    gap: 5px;
    align-items: center;
}
.pip {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transition: transform 0.2s;
}
.pip-off { background: rgba(0,0,0,0.1); }

/* Starter */
.tier-starter .tier-label { color: #bbb; }
.tier-starter .pip-on  { background: #bbb; }

/* Bronze */
.tier-bronze .tier-label { color: #b06820; }
.tier-bronze .pip-on  { background: linear-gradient(135deg, #cd7f32, #f0a040); }
.tier-bronze .pip-off { background: rgba(200,120,50,0.15); }

/* Silver */
.tier-silver .tier-label { color: #7a7a90; }
.tier-silver .pip-on  { background: linear-gradient(135deg, #a0a0b8, #d8d8e8); }
.tier-silver .pip-off { background: rgba(160,160,180,0.15); }

/* Gold */
.tier-gold .tier-label { color: #b89000; }
.tier-gold .pip-on  { background: linear-gradient(135deg, #c49800, #ffd700); }
.tier-gold .pip-off { background: rgba(196,152,0,0.15); }

/* Platinum */
.tier-platinum .tier-label { color: #7070b0; }
.tier-platinum .pip-on  { background: linear-gradient(135deg, #8080c0, #c0c0e8); }
.tier-platinum .pip-off { background: rgba(120,120,180,0.15); }

/* Featured override */
.is-featured .tier-label { color: rgba(255,255,255,0.5); }
.is-featured .pip-off { background: rgba(255,255,255,0.12); }
.is-featured .tier-gold .pip-on { background: linear-gradient(135deg, #ffd000, #ffe566); box-shadow: 0 0 5px rgba(255,210,0,0.5); }

/* Empty header cell */
.feat-label-header {
    padding-bottom: 12px;
    padding-left: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94A3B8;
    display: flex;
    align-items: flex-end;
}

/* ── Feature rows ── */
.feat-rows-wrap {
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
    position: relative;
    z-index: 1;
}

.feat-row {
    display: grid;
    grid-template-columns: 260px repeat(5, 1fr);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background 0.1s;
}
.feat-row:last-child { border-bottom: none; }
.feat-row:hover { background: #FAF7F0; }

.feat-row-label {
    padding: 18px 20px 18px 24px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(0,0,0,0.06);
}

.feat-row-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 8px;
}
.feat-row-cell.col-featured {
    background: rgba(184,146,46,0.04);
}
.feat-row-cell.col-active:not(.col-featured) {
    background: rgba(184,146,46,0.03);
}

/* Check */
.feat-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #22C55E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(34,197,94,0.25);
    flex-shrink: 0;
}
.feat-check svg { display: block; }

/* Dash */
.feat-dash {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: rgba(0,0,0,0.15);
    display: inline-block;
}

/* ── Price + CTA section ── */
.feat-bottom-row {
    display: grid;
    grid-template-columns: 260px repeat(5, 1fr);
    margin-top: 2px;
    gap: 0;
    align-items: stretch;
}
.feat-bottom-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 20px 28px 24px;
    border-right: 1px solid rgba(0,0,0,0.06);
    background: #FAF7F0;
}
.feat-bottom-label-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.feat-bottom-label-sub {
    font-size: 0.82rem;
    color: var(--text-light);
}

.feat-bottom-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    gap: 14px;
    border-left: 1px solid rgba(0,0,0,0.06);
    background: #FAF7F0;
}
.feat-bottom-cell.col-featured {
    background: rgba(184,146,46,0.06);
}
.feat-bottom-cell.col-active:not(.col-featured) {
    background: rgba(184,146,46,0.04);
}

.feat-price-coming {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: 0.2px;
}

.feat-price-big {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}
.feat-bottom-cell.col-featured .feat-price-big { color: var(--primary); }

.feat-price-mo {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 4px;
}

.feat-start-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.15s;
    background: #FAF7F0;
    color: var(--primary);
    border: 1px solid var(--border-gold);
}
.feat-start-btn:hover {
    background: rgba(184,146,46,0.1);
    transform: translateY(-1px);
}
.feat-start-btn.is-featured-btn {
    background: var(--grad-gold);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(184,146,46,0.3);
}
.feat-start-btn.is-featured-btn:hover {
    opacity: 0.88;
    box-shadow: 0 6px 20px rgba(184,146,46,0.4);
    transform: translateY(-1px);
}

/* ── Responsive ── */
.feat-breadcrumb {
    display: none;
}

.feat-breadcrumb-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.15s;
}

.feat-breadcrumb-btn:hover { color: var(--primary); }

/* ══════════════════════════
   RESPONSIVE — navbar
══════════════════════════ */
@media (max-width: 600px) {
    .navbar { padding: 12px 16px; }
    .nav-logo-text { font-size: 13px; }
    .feat-back-btn { display: none; }
    .feat-breadcrumb {
        display: block;
        padding: 12px 0px 0;
        margin-bottom: 20px;
    }
}

/* ══════════════════════════
   RESPONSIVE — 650px (table scroll)
══════════════════════════ */
@media (max-width: 650px) {
    .feat-rows-wrap {
        min-width: 620px;
    }
    .feat-plan-card.is-featured {
        margin-top: 0;
        padding-top: 28px;
    }
    .feat-plan-badge {
        display: none;
    }
    .feat-compare-wrap {
        padding: 0 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .feat-compare {
        min-width: 620px;
    }
    .feat-plans-row,
    .feat-row,
    .feat-bottom-row {
        min-width: 620px;
        grid-template-columns: 130px repeat(5, 1fr);
    }
    .feat-label-header,
    .feat-bottom-label { display: flex; }
    .feat-row-label { display: flex; font-size: 0.78rem; padding: 12px 8px 12px 10px; }
}

/* ══════════════════════════
   RESPONSIVE — 900px
══════════════════════════ */
@media (max-width: 900px) {
    .feat-plans-row,
    .feat-row,
    .feat-bottom-row {
        grid-template-columns: 160px repeat(5, 1fr);
    }
    .feat-plan-card { padding: 20px 8px 16px; margin: 0 2px; }
    .feat-plan-title { font-size: 0.85rem; }
    .feat-plan-tier { font-size: 0.68rem; }
    .feat-row-label { padding: 14px 10px 14px 16px; font-size: 0.82rem; }
    .feat-row-cell { padding: 14px 4px; }
    .feat-check { width: 24px; height: 24px; }
    .feat-price-big { font-size: 1.1rem; }
    .feat-bottom-cell { padding: 18px 8px; gap: 10px; }
    .feat-start-btn { font-size: 0.78rem; padding: 8px 12px; }
}

/* ══════════════════════════
   RESPONSIVE — 768px (tablet)
══════════════════════════ */
@media (max-width: 768px) {
    .feat-main { padding: 78px 16px 60px; }
    .feat-header { margin-bottom: 40px; }
    .feat-title { font-size: 1.8rem; }
    .feat-subtitle { font-size: 0.95rem; }

    /* Horizontal scroll wrapper for table */
    .feat-compare {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .feat-inner {
        overflow-x: visible;
    }
    .feat-plans-row,
    .feat-row,
    .feat-bottom-row {
        min-width: 600px;
        grid-template-columns: 140px repeat(5, 1fr);
    }
    .feat-plan-card { padding: 16px 6px 14px; margin: 0 2px; }
    .feat-plan-title { font-size: 0.82rem; }
    .feat-plan-tier { font-size: 0.62rem; }
    .feat-row-label { padding: 12px 8px 12px 12px; font-size: 0.78rem; }
    .feat-row-cell { padding: 12px 4px; }
    .feat-check { width: 22px; height: 22px; }
    .feat-bottom-cell { padding: 16px 6px; gap: 8px; }
    .feat-start-btn { font-size: 0.74rem; padding: 7px 10px; }
}

/* ══════════════════════════
   RESPONSIVE — 480px (mobile)
══════════════════════════ */
@media (max-width: 480px) {
    .feat-main { padding: 80px 12px 48px; }
    .feat-title { font-size: 1.5rem; }
    .feat-subtitle { font-size: 0.88rem; }
    .feat-plan-card { padding: 12px 4px 10px; margin: 0 1px; }
    .feat-plan-title { font-size: 0.75rem; }
    .feat-plan-tier { font-size: 0.55rem; padding: 2px 5px; }
    .feat-row-cell { padding: 10px 2px; }
    .feat-check { width: 20px; height: 20px; }
    .feat-bottom-cell { gap: 6px; padding: 12px 4px; }
    .feat-start-btn { font-size: 0.68rem; padding: 6px 8px; border-radius: 8px; }
    .feat-price-coming { font-size: 0.9rem; }
}
