/* ==========================================================================
   SmileCare — Features page styles
   Reuses brand tokens from landing-page.css (:root variables).
   ========================================================================== */

/* ---- Features hero ---- */
.feat-hero {
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 55%, var(--teal-800) 100%);
    color: #fff;
    padding: 72px 0 88px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.feat-hero::before {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -160px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), rgba(255,255,255,0) 70%);
    border-radius: 50%;
}
.feat-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255,255,255,0.10), rgba(255,255,255,0) 70%);
    border-radius: 50%;
}
.feat-hero .container { position: relative; z-index: 1; max-width: 780px; }
.feat-hero .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.18);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}
.feat-hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -0.025em;
}
.feat-hero p {
    font-size: 1.18rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.94);
    margin: 0 auto 28px;
    max-width: 620px;
}
.feat-hero .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.feat-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.feat-hero .btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

/* Trust badge row */
.feat-trust {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-100);
    padding: 20px 0;
}
.feat-trust .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; }
.feat-trust .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-700);
}
.feat-trust .badge .ic { font-size: 1.25rem; }

/* ---- Section heading helper ---- */
.feat-section { padding: 72px 0; }
.feat-section.alt { background: var(--slate-50); }
.feat-section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.feat-section-head .kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 10px;
}
.feat-section-head h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: var(--slate-900);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.feat-section-head p {
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--slate-600);
    margin: 0;
}

/* ---- Feature highlight grid (10 cards) ---- */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feat-card {
    background: #fff;
    border: 1px solid var(--slate-100);
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(15,23,42,0.10);
    border-color: var(--teal-100);
}
.feat-card .ic {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 14px;
    display: block;
}
.feat-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 8px;
}
.feat-card p {
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--slate-600);
    margin: 0;
}

/* ---- Module showcase (alternating image/text rows) ---- */
.module-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}
.module-row:last-child { margin-bottom: 0; }
.module-row.reverse .module-shot { order: 2; }
.module-row.reverse .module-text { order: 1; }

.module-shot {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15,23,42,0.16);
    border: 1px solid var(--slate-100);
    background: #fff;
}
.module-shot img {
    display: block;
    width: 100%;
    height: auto;
}
.module-shot .shot-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--teal-600);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}

.module-text .mod-num {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--teal-600);
    background: var(--teal-50);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}
.module-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.module-text .desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--slate-600);
    margin: 0 0 18px;
}
.module-text ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.module-text li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--slate-700);
}
.module-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--teal-50);
    color: var(--teal-600);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Stats band (reuse on features) ---- */
.feat-stats {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-800));
    color: #fff;
    padding: 56px 0;
}
.feat-stats .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.feat-stats .stat .num { font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.feat-stats .stat .label { font-size: 0.86rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.9; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .feat-grid { grid-template-columns: 1fr; }
    .module-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
    .module-row.reverse .module-shot,
    .module-row.reverse .module-text { order: initial; }
    .feat-stats .container { grid-template-columns: repeat(2,1fr); gap: 32px 16px; }
    .feat-hero .hero-cta .btn { width: 100%; max-width: 340px; }
}
