/* =====================================================
   iStudyBytes — Professional Homepage
===================================================== */
.home-page {
    --hp-blue:#2563eb;
    --hp-blue-dark:#1d4ed8;
    --hp-ink:#0f172a;
    --hp-muted:#64748b;
    --hp-border:#e2e8f0;
    --hp-bg:#f8fafc;
    --hp-soft:#eff6ff;
    --hp-white:#fff;
    background:var(--hp-bg);
    color:var(--hp-ink);
    font-family:'Poppins',sans-serif;
}
.home-page *, .home-page *::before, .home-page *::after { box-sizing:border-box; }
.home-page a { color:inherit; }
.home-header { position:sticky !important; top:0 !important; z-index:1000; height:74px; background:rgba(255,255,255,.94) !important; border-bottom:1px solid var(--hp-border); box-shadow:0 4px 24px rgba(15,23,42,.06) !important; backdrop-filter:blur(14px); }
.home-nav { width:min(1180px,calc(100% - 40px)) !important; height:74px !important; margin:auto !important; display:flex; align-items:center; justify-content:space-between; }
.home-logo { display:inline-flex; align-items:center; gap:8px; text-decoration:none; white-space:nowrap; }
.home-logo img { width:48px !important; height:48px !important; object-fit:contain; }
.home-logo span { display:flex; font-size:25px; line-height:1; letter-spacing:-.8px; font-weight:800; }
.home-logo b { color:#15326e; }
.home-logo strong { color:#2f6bff; }
.home-menu { display:flex; align-items:center; gap:27px; }
.home-menu a { position:relative; text-decoration:none; color:#334155; font-size:13px; font-weight:600; }
.home-menu a:not(.home-login):not(.home-nav-cta)::after { content:""; position:absolute; left:0; right:0; bottom:-7px; height:2px; border-radius:10px; background:var(--hp-blue); transform:scaleX(0); transition:.2s; }
.home-menu a:not(.home-login):not(.home-nav-cta):hover::after { transform:scaleX(1); }
.home-login:hover { color:var(--hp-blue); }
.home-nav-cta { padding:10px 16px; color:#fff !important; background:var(--hp-blue); border-radius:9px; box-shadow:0 7px 18px rgba(37,99,235,.2); transition:.2s; }
.home-nav-cta:hover { background:var(--hp-blue-dark); transform:translateY(-1px); }
.home-hero { width:min(1180px,calc(100% - 40px)); min-height:690px; margin:auto; padding:86px 0 70px; display:grid; grid-template-columns:1fr .9fr; align-items:center; gap:65px; }
.home-hero-copy { max-width:600px; }
.home-eyebrow { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid #bfdbfe; border-radius:999px; background:var(--hp-soft); color:var(--hp-blue); font-size:11px; font-weight:700; letter-spacing:.5px; }
.home-hero h1 { margin:20px 0 20px; font-size:clamp(48px,5.3vw,68px); line-height:1.03; letter-spacing:-2.5px; color:var(--hp-ink); }
.home-hero h1 span { color:var(--hp-blue); }
.home-hero-copy > p { max-width:570px; margin:0 0 28px; color:var(--hp-muted); font-size:16px; line-height:1.8; }
.home-hero-actions { display:flex; gap:11px; flex-wrap:wrap; }
.home-btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:12px 19px; border-radius:10px; text-decoration:none; font-size:13px; font-weight:700; transition:.2s; }
.home-btn-primary { color:#fff; background:var(--hp-blue); box-shadow:0 9px 22px rgba(37,99,235,.2); }
.home-btn-primary:hover { background:var(--hp-blue-dark); transform:translateY(-2px); }
.home-btn-secondary { color:var(--hp-blue); background:#fff; border:1px solid #bfdbfe; }
.home-btn-secondary:hover { background:var(--hp-soft); }
.home-trust-row { display:flex; gap:18px; flex-wrap:wrap; margin-top:22px; color:#64748b; font-size:11px; font-weight:600; }
.home-trust-row i { margin-right:5px; color:#16a34a; }
.home-hero-visual { position:relative; min-height:500px; display:flex; align-items:center; justify-content:center; }
.home-hero-visual img { position:relative; z-index:2; width:100%; max-width:510px; filter:drop-shadow(0 25px 35px rgba(15,23,42,.09)); animation:hpFloat 5s ease-in-out infinite; }
.home-visual-glow { position:absolute; z-index:0; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle,#dbeafe 0%,rgba(219,234,254,.42) 48%,rgba(219,234,254,0) 72%); }
.home-floating-card { position:absolute; z-index:3; display:flex; align-items:center; gap:10px; padding:11px 14px; border:1px solid rgba(226,232,240,.95); border-radius:12px; background:rgba(255,255,255,.95); box-shadow:0 15px 35px rgba(15,23,42,.1); }
.home-floating-card i { width:34px; height:34px; display:grid; place-items:center; border-radius:9px; background:var(--hp-soft); color:var(--hp-blue); }
.home-floating-card span { display:flex; flex-direction:column; }
.home-floating-card b { font-size:11px; }
.home-floating-card small { color:var(--hp-muted); font-size:9px; }
.home-floating-card-top { top:17%; left:2%; }
.home-floating-card-bottom { right:0; bottom:14%; }
@keyframes hpFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.home-proof-strip { width:min(1180px,calc(100% - 40px)); margin:0 auto 20px; display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--hp-border); border-radius:15px; overflow:hidden; background:#fff; }
.home-proof-strip div { min-height:110px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; border-right:1px solid var(--hp-border); }
.home-proof-strip div:last-child { border-right:0; }
.home-proof-strip strong { color:var(--hp-blue); font-size:22px; letter-spacing:-.5px; }
.home-proof-strip span { color:var(--hp-muted); font-size:10px; font-weight:600; }
.home-section { padding:92px 0; }
.home-features { background:#f8fafc; }
.home-resources { background:#fff; }
.home-pricing { background:#f8fafc; }
.home-process { background:#fff; }
.home-faq { background:#f8fafc; }
.home-section-heading { width:min(760px,calc(100% - 40px)); margin:0 auto 48px; text-align:center; }
.home-section-heading > span { color:var(--hp-blue); font-size:10px; font-weight:700; letter-spacing:2px; }
.home-section-heading h2 { margin:10px 0 13px; font-size:clamp(30px,3.5vw,42px); line-height:1.18; letter-spacing:-1.2px; }
.home-section-heading p { margin:0; color:var(--hp-muted); font-size:14px; line-height:1.75; }
.home-feature-grid { width:min(1180px,calc(100% - 40px)); margin:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.home-feature-card { padding:27px 24px; border:1px solid var(--hp-border); border-radius:14px; background:#fff; box-shadow:0 7px 25px rgba(15,23,42,.025); transition:.2s; }
.home-feature-card:hover { transform:translateY(-4px); border-color:#bfdbfe; box-shadow:0 16px 32px rgba(15,23,42,.07); }
.home-icon { width:52px; height:52px; display:grid; place-items:center; margin-bottom:18px; border-radius:13px; background:var(--hp-soft); color:var(--hp-blue); font-size:21px; }
.home-feature-card h3 { margin:0 0 8px; font-size:17px; }
.home-feature-card p { margin:0; color:var(--hp-muted); font-size:12px; line-height:1.65; }
.home-resource-grid { width:min(1180px,calc(100% - 40px)); margin:auto; display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.home-resource-card { min-height:145px; display:flex; align-items:center; gap:18px; padding:24px; border:1px solid var(--hp-border); border-radius:15px; background:#f8fafc; text-decoration:none; transition:.2s; }
.home-resource-card:hover { transform:translateY(-4px); border-color:#bfdbfe; box-shadow:0 15px 30px rgba(15,23,42,.07); }
.home-resource-icon { width:60px; min-width:60px; height:60px; display:grid; place-items:center; border-radius:14px; font-size:24px; }
.home-resource-icon.science { background:#dcfce7; color:#16a34a; }
.home-resource-icon.maths { background:#dbeafe; color:#2563eb; }
.home-resource-card > div:nth-child(2) { flex:1; }
.home-resource-card small { color:#64748b; font-size:9px; font-weight:700; letter-spacing:1.3px; }
.home-resource-card h3 { margin:4px 0 4px; font-size:20px; }
.home-resource-card p { margin:0; color:#64748b; font-size:11px; line-height:1.5; }
.home-resource-card > i { color:var(--hp-blue); }
.home-coming-soon { opacity:.65; cursor:default; }
.home-coming-soon:hover { transform:none; box-shadow:none; border-color:var(--hp-border); }
.home-coming-soon > i { color:#94a3b8; }
.home-course-card { width:min(980px,calc(100% - 40px)); margin:auto; display:grid; grid-template-columns:1.05fr .95fr; border:1px solid var(--hp-border); border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 12px 35px rgba(15,23,42,.05); }
.home-course-main { padding:38px; }
.home-course-badge { display:inline-flex; padding:6px 9px; border-radius:6px; background:var(--hp-soft); color:var(--hp-blue); font-size:9px; font-weight:800; letter-spacing:1px; }
.home-course-main h3 { margin:16px 0 9px; font-size:27px; letter-spacing:-.6px; }
.home-course-main p { margin:0 0 19px; color:var(--hp-muted); font-size:13px; line-height:1.7; }
.home-course-price { display:flex; align-items:baseline; gap:9px; margin-bottom:20px; }
.home-course-price strong { font-size:34px; letter-spacing:-1px; }
.home-course-price span { color:#94a3b8; font-size:10px; font-weight:600; }
.home-course-includes { padding:38px; background:#f8fafc; border-left:1px solid var(--hp-border); }
.home-course-includes h4 { margin:0 0 18px; font-size:14px; }
.home-course-includes ul { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.home-course-includes li { display:flex; gap:9px; color:#475569; font-size:12px; line-height:1.45; }
.home-course-includes li i { color:#16a34a; margin-top:2px; }
.home-coming-pricing { width:min(980px,calc(100% - 40px)); margin:16px auto 0; padding:17px 20px; display:flex; justify-content:space-between; align-items:center; gap:20px; border:1px dashed #cbd5e1; border-radius:12px; background:#fff; }
.home-coming-pricing div { display:flex; flex-direction:column; gap:2px; }
.home-coming-pricing span { font-size:12px; font-weight:700; }
.home-coming-pricing small { color:#64748b; font-size:10px; }
.home-coming-pricing b { color:#64748b; font-size:10px; white-space:nowrap; }
.home-steps { width:min(1050px,calc(100% - 40px)); margin:auto; display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.home-steps > div { padding:0 25px; border-left:1px solid var(--hp-border); }
.home-steps > div:first-child { border-left:0; }
.home-steps span { color:#93c5fd; font-size:30px; font-weight:800; letter-spacing:-1px; }
.home-steps h3 { margin:6px 0 7px; font-size:16px; }
.home-steps p { margin:0; color:var(--hp-muted); font-size:11px; line-height:1.65; }
.home-faq-list { width:min(820px,calc(100% - 40px)); margin:auto; display:grid; gap:9px; }
.home-faq-item { border:1px solid var(--hp-border); border-radius:11px; background:#fff; overflow:hidden; }
.home-faq-item .faq-question { width:100%; display:flex; align-items:center; justify-content:space-between; gap:15px; padding:18px 20px; border:0; background:#fff; color:var(--hp-ink); text-align:left; cursor:pointer; font-family:inherit; font-size:12px; font-weight:700; }
.home-faq-item .faq-question i { color:#64748b; font-size:11px; transition:.2s; }
.home-faq-item.active .faq-question i { transform:rotate(45deg); color:var(--hp-blue); }
.home-faq-item .faq-answer { max-height:0; overflow:hidden; transition:max-height .25s ease; }
.home-faq-item.active .faq-answer { max-height:180px; }
.home-faq-item .faq-answer p { margin:0; padding:0 20px 18px; color:#64748b; font-size:11px; line-height:1.7; }
.home-footer { padding:55px 0 0; background:#0f172a; color:#fff; }
.home-footer-grid { width:min(1180px,calc(100% - 40px)); margin:auto; display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr; gap:40px; padding-bottom:45px; }
.home-footer .home-logo span { font-size:23px; }
.home-footer-brand p { margin:13px 0 0; max-width:310px; color:#94a3b8; font-size:11px; line-height:1.6; }
.home-footer-grid h4 { margin:0 0 14px; font-size:12px; }
.home-footer-grid > div:not(.home-footer-brand) { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.home-footer-grid > div:not(.home-footer-brand) a { color:#94a3b8; text-decoration:none; font-size:11px; }
.home-footer-grid > div:not(.home-footer-brand) a:hover { color:#fff; }
.home-footer-bottom { width:min(1180px,calc(100% - 40px)); margin:auto; padding:18px 0; border-top:1px solid rgba(148,163,184,.15); display:flex; justify-content:space-between; gap:20px; color:#64748b; font-size:10px; }
.home-page a:focus-visible, .home-page button:focus-visible { outline:3px solid rgba(37,99,235,.25); outline-offset:3px; }
@media (max-width:900px) {
    .home-menu { gap:16px; }
    .home-hero { grid-template-columns:1fr; text-align:center; padding-top:60px; }
    .home-hero-copy { margin:auto; }
    .home-hero-copy > p { margin-left:auto; margin-right:auto; }
    .home-hero-actions, .home-trust-row { justify-content:center; }
    .home-hero-visual { min-height:400px; }
    .home-feature-grid { grid-template-columns:repeat(2,1fr); }
    .home-steps { grid-template-columns:repeat(2,1fr); gap:30px 0; }
    .home-steps > div:nth-child(3) { border-left:0; }
    .home-course-card { grid-template-columns:1fr; }
    .home-course-includes { border-left:0; border-top:1px solid var(--hp-border); }
    .home-footer-grid { grid-template-columns:1.5fr 1fr 1fr; }
}
@media (max-width:700px) {
    .home-header { height:auto !important; position:sticky !important; }
    .home-nav { min-height:70px !important; height:auto !important; padding:9px 0; flex-wrap:wrap; }
    .home-menu { width:100%; justify-content:center; flex-wrap:wrap; gap:11px 16px; padding:3px 0 4px; }
    .home-menu a { font-size:11px; }
    .home-nav-cta { padding:8px 12px; }
    .home-hero { width:min(100% - 30px,600px); padding-top:48px; }
    .home-hero h1 { font-size:43px; letter-spacing:-1.5px; }
    .home-hero-copy > p { font-size:14px; }
    .home-floating-card { display:none; }
    .home-proof-strip { width:min(100% - 30px,600px); grid-template-columns:repeat(2,1fr); }
    .home-proof-strip div:nth-child(2) { border-right:0; }
    .home-proof-strip div:nth-child(-n+2) { border-bottom:1px solid var(--hp-border); }
    .home-section { padding:70px 0; }
    .home-feature-grid, .home-resource-grid { width:min(100% - 30px,600px); }
    .home-feature-grid { grid-template-columns:1fr; }
    .home-resource-grid { grid-template-columns:1fr; }
    .home-course-card, .home-coming-pricing { width:min(100% - 30px,600px); }
    .home-course-main, .home-course-includes { padding:27px; }
    .home-steps { width:min(100% - 30px,600px); grid-template-columns:1fr; }
    .home-steps > div, .home-steps > div:nth-child(3) { padding:0 0 25px; border-left:0; border-bottom:1px solid var(--hp-border); }
    .home-steps > div:last-child { border-bottom:0; padding-bottom:0; }
    .home-footer-grid { width:min(100% - 30px,600px); grid-template-columns:repeat(2,1fr); gap:32px 20px; }
    .home-footer-brand { grid-column:1/-1; }
    .home-footer-bottom { width:min(100% - 30px,600px); flex-direction:column; }
}
@media (max-width:430px) {
    .home-hero h1 { font-size:37px; }
    .home-hero-actions { flex-direction:column; }
    .home-btn { width:100%; }
    .home-course-main h3 { font-size:23px; }
    .home-coming-pricing { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) {
    .home-hero-visual img { animation:none; }
    .home-page * { scroll-behavior:auto !important; transition-duration:.01ms !important; }
}
