/* neet-pyq-landing.css
   Scoped under .pyq-landing to avoid leaking into other pages,
   and to avoid being overridden by global .hero / h1 rules meant
   for the dashboard's dark-background hero.
*/

.pyq-landing{
    --ink:#151a2e;
    --muted:#5b6478;
    --card:#ffffff;
    --border:#e6e8f0;
    --brand:#4f46e5;
    --brand-dark:#3730a3;
    --physics:#2f6fed;
    --chemistry:#e07a1f;
    --biology:#1a9e6b;
    --radius:14px;
    --shadow:0 1px 2px rgba(20,25,50,.04), 0 8px 24px rgba(20,25,50,.06);

    max-width:1180px;
    margin:0 auto;
    padding:0 24px;
    color:var(--ink);
}

/* --- Defensive overrides: global site CSS likely styles h1/p for the
   dashboard's dark hero banner. !important here guards against that
   bleeding into this page's light background. --- */
.pyq-landing h1{
    color:var(--ink) !important;
    font-size:clamp(28px,4vw,42px);
    line-height:1.15;
    letter-spacing:-0.02em;
    margin:0 0 16px;
    max-width:820px;
}
.pyq-landing p{
    color:inherit;
}

.pyq-landing .hero{
    padding:56px 24px;
    margin:0 -24px 32px;
    background:linear-gradient(135deg,#4338ca 0%,#4f46e5 55%,#5b52f0 100%) !important;
    border-radius:0 0 20px 20px;
}
.pyq-landing .hero h1{
    color:#ffffff !important;
}
.pyq-landing .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(255,255,255,.14); color:#ffffff !important;
    padding:6px 12px; border-radius:999px;
    font-size:13px; font-weight:600; margin-bottom:18px;
    border:1px solid rgba(255,255,255,.2);
}
.pyq-landing .hero p.lede{
    font-size:17px; color:rgba(255,255,255,.85) !important; max-width:680px; margin:0 0 26px;
}
.pyq-landing .hero-ctas{display:flex; gap:12px; flex-wrap:wrap;}
.pyq-landing .btn-primary{
    background:#ffffff; color:var(--brand-dark) !important; padding:13px 22px; border-radius:10px;
    font-weight:700; font-size:15px; box-shadow:var(--shadow); display:inline-block;
}
.pyq-landing .btn-primary:hover{background:#eef0ff;}
.pyq-landing .btn-secondary{
    background:rgba(255,255,255,.1); color:#ffffff !important; padding:13px 22px; border-radius:10px;
    font-weight:600; font-size:15px; border:1px solid rgba(255,255,255,.35); display:inline-block;
}
.pyq-landing .btn-secondary:hover{background:rgba(255,255,255,.18); border-color:rgba(255,255,255,.5);}

.pyq-landing .stat-row{
    display:flex; gap:32px; flex-wrap:wrap; margin-top:36px;
    padding-top:28px; border-top:1px solid rgba(255,255,255,.2);
}
.pyq-landing .stat b{display:block; font-size:24px; letter-spacing:-0.02em; color:#ffffff !important;}
.pyq-landing .stat span{font-size:13px; color:rgba(255,255,255,.75) !important;}

.pyq-landing section.block{padding:40px 0;}
.pyq-landing .section-head{margin-bottom:22px;}
.pyq-landing .section-head h2{font-size:23px; margin:0 0 6px; letter-spacing:-0.01em; color:var(--ink) !important;}
.pyq-landing .section-head p{margin:0; color:var(--muted) !important; font-size:15px; max-width:640px;}

.pyq-landing .subject-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.pyq-landing .subject-card{
    background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
    padding:20px; box-shadow:var(--shadow); display:block;
}
.pyq-landing .subject-card .icon{font-size:22px; margin-bottom:10px; display:block;}
.pyq-landing .subject-card h3{margin:0 0 4px; font-size:16px; color:var(--ink) !important;}
.pyq-landing .subject-card p{margin:0 0 14px; font-size:13.5px; color:var(--muted) !important;}
.pyq-landing .subject-card span:last-child{font-size:13.5px; font-weight:700;}
.pyq-landing .subject-card.physics{border-top:3px solid var(--physics);}
.pyq-landing .subject-card.physics span:last-child{color:var(--physics) !important;}
.pyq-landing .subject-card.chemistry{border-top:3px solid var(--chemistry);}
.pyq-landing .subject-card.chemistry span:last-child{color:var(--chemistry) !important;}
.pyq-landing .subject-card.biology{border-top:3px solid var(--biology);}
.pyq-landing .subject-card.biology span:last-child{color:var(--biology) !important;}

.pyq-landing .year-list{display:flex; flex-direction:column; gap:12px;}
.pyq-landing .year-card{
    background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
    padding:18px 20px; display:flex; align-items:center; justify-content:space-between;
    gap:16px; flex-wrap:wrap; box-shadow:var(--shadow);
}
.pyq-landing .year-card .yc-left{display:flex; align-items:baseline; gap:14px; flex-wrap:wrap;}
.pyq-landing .year-card .yc-left .year{font-size:19px; font-weight:800; letter-spacing:-0.01em; color:var(--ink) !important;}
.pyq-landing .year-card .yc-left .meta{font-size:13px; color:var(--muted) !important;}
.pyq-landing .year-card p{margin:6px 0 0; font-size:14px; color:var(--muted) !important; max-width:560px;}
.pyq-landing .year-card .yc-cta{
    flex:0 0 auto; background:var(--brand); color:#fff !important; padding:9px 16px;
    border-radius:8px; font-weight:700; font-size:13.5px; white-space:nowrap; display:inline-block;
}
.pyq-landing .year-card .yc-cta:hover{background:var(--brand-dark);}

.pyq-landing .faq-item{border-bottom:1px solid var(--border); padding:16px 0;}
.pyq-landing .faq-item summary{
    cursor:pointer; font-weight:700; font-size:15.5px; list-style:none;
    display:flex; justify-content:space-between; align-items:center; gap:12px;
    color:var(--ink) !important;
}
.pyq-landing .faq-item summary::-webkit-details-marker{display:none;}
.pyq-landing .faq-item summary .chev{transition:transform .2s ease; color:var(--muted); font-size:14px;}
.pyq-landing .faq-item[open] summary .chev{transform:rotate(180deg);}
.pyq-landing .faq-item .a{margin:10px 0 0; color:var(--muted) !important; font-size:14.5px; max-width:760px;}

@media (max-width:860px){
    .pyq-landing .subject-grid{grid-template-columns:1fr;}
    .pyq-landing .year-card{flex-direction:column; align-items:flex-start;}
    .pyq-landing .year-card .yc-cta{width:100%; text-align:center;}
}
