/* ============================================================
   index.css — landing page styles
   ============================================================ */

/* ── HERO ── */
.hero {
    padding: 84px 0 96px;
    text-align: center;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
    border-bottom: 1px solid var(--border);
}
.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 900;
    color: var(--text);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin: 20px 0 18px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
    font-size: 19px;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.65;
    font-weight: 400;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hero-note i { color: var(--accent); font-size: 11px; }

/* ── STATS ── */
.stats { border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-cell { padding: 32px 16px; border-inline-end: 1px solid var(--border); }
.stat-cell:last-child { border: none; }
.stat-n { font-size: 36px; font-weight: 900; color: var(--accent); letter-spacing: -1px; line-height: 1; }
.stat-l { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 500; }

/* ── FEATURES ── */
.features { padding: 90px 0; background: var(--bg); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 30px;
    transition: .2s;
}
.feat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: transparent;
}
.feat-icon, .fi {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 16px;
}
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.feat-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── HOW ── */
.how { padding: 90px 0; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    text-align: center;
}
.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 14px rgba(79,70,229,.3);
}
.how-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.how-card p { font-size: 14px; color: var(--muted); }

/* ── PRICING ── */
.pricing { padding: 90px 0; background: var(--bg); }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: .2s;
}
.plan:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.plan.pop {
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(79,70,229,.07);
}
.pop-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 13px;
    border-radius: 100px;
    white-space: nowrap;
}
.plan-name { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.plan-price { font-size: 40px; font-weight: 900; color: var(--text); letter-spacing: -1.5px; line-height: 1; }
.plan-mo { font-size: 13px; color: var(--muted); margin-bottom: 20px; margin-top: 2px; }
.plan-feats { list-style: none; flex: 1; margin-bottom: 22px; }
.plan-feats li {
    font-size: 13px;
    color: var(--text2);
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 9px;
}
.plan-feats li:last-child { border: none; }
.plan-feats li i { color: var(--accent); font-size: 10px; flex-shrink: 0; }
.plan-btn { display: block; text-align: center; padding: 12px; border-radius: 10px; font-size: 14px; font-weight: 700; transition: .2s; }
.plan-btn.solid { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(79,70,229,.3); }
.plan-btn.solid:hover { background: var(--accent-h); }
.plan-btn.ghost { border: 1.5px solid var(--border); color: var(--text2); }
.plan-btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ── FAQ ── */
.faq { padding: 90px 0; }
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.faq-q {
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
}
.faq-q i { color: var(--light); transition: .25s; font-size: 13px; flex-shrink: 0; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: .3s ease; }
.faq-item.open .faq-a { max-height: 160px; }
.faq-a p { padding: 0 22px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── CTA BANNER ── */
.cta { padding: 80px 0; background: var(--bg); }
.cta-box {
    background: var(--accent);
    border-radius: 24px;
    padding: 64px 48px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    top: -150px;
    inset-inline-start: -100px;
    pointer-events: none;
}
.cta-box h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; color: #fff; margin-bottom: 10px; position: relative; }
.cta-box p { color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 30px; position: relative; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .how-steps { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
    .feat-grid, .plans-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-cell { border-bottom: 1px solid var(--border); }
    .hero-btns { flex-direction: column; align-items: center; }
    .cta-box { padding: 40px 24px; }
}
