/* =========================================
   DOCUP · COLLEGE NOTES SEO PAGE
   ========================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Screen-reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Saira', sans-serif;
    background:
            radial-gradient(circle at top left,  rgba(255,69,0,0.18), transparent 28%),
            radial-gradient(circle at 85% 20%, rgba(255,115,0,0.12), transparent 24%),
            linear-gradient(180deg, #001219 0%, #031923 35%, #00141c 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- decorative background ---- */
.seo-page-shell { position: relative; min-height: 100vh; width: 100%; }

.bg-grid {
    position: fixed; inset: 0;
    background-image:
            linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 85%);
    pointer-events: none; z-index: 0;
}

.bg-orb {
    position: fixed; border-radius: 50%;
    filter: blur(90px); pointer-events: none; z-index: 0;
}
.orb-1 { width: 320px; height: 320px; background: rgba(255,69,0,0.16); top: 70px; left: -60px; }
.orb-2 { width: 340px; height: 340px; background: rgba(255,153,0,0.14); right: -80px; top: 260px; }

/* everything sits above decorative layers */
.topbar, .hero, .section-block, .faq-block, .cta-band, .footer {
    position: relative; z-index: 1;
}


/* =========================================
   TOPBAR
   ========================================= */
.topbar {
    padding: 18px 5.5% 0;
    display: flex; align-items: center;
    justify-content: space-between; gap: 18px;
}

.brand-wrap { display: flex; align-items: center; gap: 12px; }

.brand-mark {
    width: 44px; height: 44px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ff5a1f, #ff8c1a);
    color: #fff; font-family: 'Archivo Black', sans-serif;
    font-size: 1rem; box-shadow: 0 12px 30px rgba(255,90,31,0.25);
}

.brand-text, .footer-brand {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.8rem; letter-spacing: 0.3px; color: #ffffff;
}

.topbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.topbar-link {
    color: rgba(255,255,255,0.78);
    font-weight: 500; transition: 0.25s ease;
}
.topbar-link:hover { color: #ff7a1a; }

.topbar-btn {
    padding: 12px 20px; border-radius: 12px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ff5a1f, #ff8c1a);
    color: white; box-shadow: 0 12px 30px rgba(255,90,31,0.28);
    transition: 0.25s ease;
}
.topbar-btn:hover { transform: translateY(-2px); }


/* =========================================
   HERO — two-column, search prominent
   ========================================= */
.compact-hero {
    min-height: auto;
    padding: 22px 5.5% 20px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

/* eyebrow / badge chip */
.eyebrow, .section-kicker, .info-kicker, .college-badge, .badge {
    display: inline-flex; align-items: center;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    border-radius: 999px;
    color: #ffb27a; font-size: 0.82rem;
}

.eyebrow { margin-bottom: 12px; }

.hero-copy h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.1rem; line-height: 1.14;
    max-width: 820px; margin-bottom: 12px;
}

.h1-college {
    background: linear-gradient(90deg, #ff8c1a, #ffb27a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    max-width: 720px; font-size: 1rem;
    line-height: 1.72; color: rgba(255,255,255,0.78);
    margin-bottom: 18px;
}
.hero-text strong { color: #fff; font-weight: 600; }


/* ---- Search bar ---- */
.notes-search-shell { margin: 0 0 14px; max-width: 700px; }

.notes-search-bar {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.22);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.notes-search-bar:focus-within {
    border-color: rgba(255,122,26,0.5);
    box-shadow: 0 12px 40px rgba(255,90,31,0.2);
}

.search-icon { font-size: 1rem; flex-shrink: 0; opacity: 0.7; }

.notes-search-bar input {
    flex: 1; border: none; outline: none;
    background: transparent; color: #fff;
    font-family: 'Saira', sans-serif;
    font-size: 1rem; padding: 2px 0;
}
.notes-search-bar input::placeholder { color: rgba(255,255,255,0.45); }

.search-clear {
    cursor: pointer; opacity: 0.6;
    font-size: 0.9rem; padding: 2px 4px;
    border-radius: 4px; transition: opacity 0.2s;
    display: inline-flex; align-items: center; justify-content: center;
}
.search-clear:hover { opacity: 1; }

.search-hint {
    margin-top: 8px;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    min-height: 1.2em;
    padding-left: 6px;
}


/* ---- Stat strip (compact inline) ---- */
.stat-strip {
    display: flex; align-items: center;
    flex-wrap: wrap; gap: 6px 10px;
    margin-bottom: 16px;
    font-size: 0.92rem;
}

.stat-pill {
    display: flex; align-items: baseline; gap: 5px;
}
.stat-pill strong {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.15rem; color: #ffffff;
}
.stat-pill span { color: rgba(255,255,255,0.62); font-size: 0.88rem; }
.stat-sep { color: rgba(255,255,255,0.3); font-size: 1.1rem; }


/* ---- Subject jump links ---- */
.quick-subject-links {
    display: flex; flex-wrap: wrap;
    gap: 8px; align-items: center;
}

.jump-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

.quick-chip {
    padding: 8px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #f4f4f4; transition: 0.22s ease; font-size: 0.85rem;
}
.quick-chip:hover {
    border-color: rgba(255,122,26,0.4);
    color: #ffb27a; transform: translateY(-1px);
}


/* ---- College card (hero right) ---- */
.hero-visual-small { display: flex; justify-content: center; align-items: flex-start; }

.compact-college-card {
    width: 100%; max-width: 360px; padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 44px rgba(0,0,0,0.24);
}

.college-image-shell {
    border-radius: 16px; overflow: hidden;
    margin: 12px 0 14px;
    border: 1px solid rgba(255,255,255,0.08);
    height: 170px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,122,26,0.1));
}
.college-image-shell img { width: 100%; height: 100%; object-fit: cover; }

.college-name {
    font-size: 1rem; margin-bottom: 12px;
    font-family: 'Archivo Black', sans-serif;
    line-height: 1.35;
}

.college-features {
    list-style: none; display: grid; gap: 7px; margin-bottom: 16px;
}
.college-features li {
    font-size: 0.88rem; color: rgba(255,255,255,0.78);
    display: flex; align-items: center; gap: 6px;
}

.college-cta {
    display: block; width: 100%;
    padding: 12px 18px; border-radius: 12px;
    text-align: center; font-weight: 700;
    background: linear-gradient(135deg, #ff5a1f, #ff8c1a);
    color: white; font-size: 0.9rem;
    box-shadow: 0 10px 24px rgba(255,90,31,0.28);
    transition: 0.25s ease;
}
.college-cta:hover { transform: translateY(-2px); opacity: 0.92; }


/* =========================================
   SECTION BLOCKS
   ========================================= */
.section-block, .faq-block {
    padding: 22px 5.5%;
}
.featured-block { padding-top: 8px; }

.compact-section-head { max-width: 880px; margin-bottom: 18px; }

.compact-section-head h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.55rem; line-height: 1.18; margin-bottom: 6px;
}

.section-desc {
    color: rgba(255,255,255,0.72);
    line-height: 1.7; font-size: 0.96rem; max-width: 760px;
}
.section-desc strong { color: #fff; font-weight: 600; }


/* =========================================
   NOTE CARDS
   ========================================= */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.note-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 18px;
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    min-height: 240px; display: flex; flex-direction: column;
}
.note-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,122,26,0.3);
    box-shadow: 0 18px 38px rgba(0,0,0,0.22);
}

.note-badges {
    display: flex; flex-wrap: wrap;
    gap: 7px; margin-bottom: 12px;
}

.badge { color: #f3f3f3; font-size: 0.77rem; }

.badge-reviewed {
    background: linear-gradient(135deg, rgba(255,90,31,0.2), rgba(255,140,26,0.14));
    border-color: rgba(255,122,26,0.3); color: #ffb27a;
}
.badge-hot {
    background: rgba(255,50,50,0.14);
    border-color: rgba(255,80,80,0.25); color: #ff9090;
}

/* note h3 instead of h4 for subject pages — better SEO heading hierarchy */
.note-top h3 {
    margin-bottom: 8px; font-size: 1rem;
    line-height: 1.4; color: #ffffff; font-weight: 600;
}

.note-desc {
    color: rgba(255,255,255,0.68);
    line-height: 1.6; font-size: 0.88rem;
}

.note-meta {
    margin-top: auto; padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: grid; gap: 8px; margin-top: 16px;
}

.meta-row {
    display: flex; align-items: center;
    justify-content: space-between; gap: 12px;
}
.meta-label { color: rgba(255,255,255,0.52); font-size: 0.84rem; }
.meta-value {
    color: #ffffff; text-align: right;
    max-width: 65%; word-break: break-word; font-size: 0.84rem;
}
.likes-count { color: #ffb27a; font-weight: 600; }

.note-actions { padding-top: 14px; }

.open-note-btn, .empty-btn {
    padding: 13px 18px; border-radius: 12px;
    font-weight: 700; transition: 0.25s ease;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
}
.open-note-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff5a1f, #ff8c1a);
    color: white; box-shadow: 0 10px 28px rgba(255,90,31,0.26);
    font-size: 0.92rem;
}
.open-note-btn:hover, .empty-btn:hover { transform: translateY(-2px); }


/* =========================================
   SUBJECT BLOCKS
   ========================================= */
.subject-block { margin-top: 26px; }

.subject-head {
    display: flex; align-items: center;
    justify-content: space-between; gap: 18px; margin-bottom: 14px;
    padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.07);
}

.subject-head h3 {
    font-size: 1.22rem;
    font-family: 'Archivo Black', sans-serif; margin-bottom: 3px;
}
.subject-count {
    color: rgba(255,255,255,0.58); font-size: 0.88rem;
    display: flex; gap: 6px;
}
.subject-pipe { opacity: 0.4; }

.mini-link { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: 0.22s ease; white-space: nowrap; }
.mini-link:hover { color: #ff7a1a; }


/* =========================================
   INFO BAND (3-col)
   ========================================= */
.info-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.info-card, .faq-card, .empty-state {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px; padding: 22px;
    backdrop-filter: blur(16px);
}

.info-kicker { margin-bottom: 10px; }

.info-card h3, .faq-card h3, .empty-state h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.1rem; margin-bottom: 8px; line-height: 1.25;
}

.info-card p, .faq-card p, .empty-state p {
    color: rgba(255,255,255,0.72);
    line-height: 1.72; font-size: 0.92rem;
}

.empty-state { text-align: center; }
.empty-icon { font-size: 2.5rem; margin-bottom: 14px; }

.empty-btn {
    margin-top: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    color: #ffffff; backdrop-filter: blur(14px);
}
.empty-btn:hover { border-color: rgba(255,122,26,0.45); color: #ffb27a; }


/* =========================================
   FAQ
   ========================================= */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* =========================================
   BOTTOM CTA BAND
   ========================================= */
.cta-band {
    margin: 6px 5.5% 0; padding: 36px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,90,31,0.18), rgba(255,153,0,0.1));
    border: 1px solid rgba(255,122,26,0.2);
    backdrop-filter: blur(18px);
    text-align: center;
}
.cta-inner h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.6rem; margin-bottom: 8px;
}
.cta-inner p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 22px; font-size: 1rem;
}
.cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 28px; border-radius: 14px;
    background: linear-gradient(135deg, #ff5a1f, #ff8c1a);
    color: white; font-weight: 700; font-size: 1rem;
    box-shadow: 0 14px 34px rgba(255,90,31,0.32);
    transition: 0.25s ease;
}
.cta-btn:hover { transform: translateY(-2px); opacity: 0.92; }


/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: 30px 5.5% 44px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 24px;
}

.footer-nav {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 8px 24px;
    margin-bottom: 18px;
}
.footer-nav a {
    font-size: 0.88rem; color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.footer-nav a:hover { color: #ff7a1a; }

.footer-brand { margin-bottom: 8px; }

.footer p {
    color: rgba(255,255,255,0.52);
    line-height: 1.65; max-width: 640px;
    margin: 0 auto; font-size: 0.88rem;
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .compact-hero { grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: 1.85rem; }
    .notes-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .info-band { grid-template-columns: repeat(2, 1fr); }
    .compact-college-card { max-width: 420px; }
}

@media (max-width: 900px) {
    .hero-copy h1 { font-size: 1.6rem; }
    .compact-section-head h2 { font-size: 1.3rem; }
    .info-band { grid-template-columns: 1fr; }
    .cta-band { padding: 28px 22px; }
}

@media (max-width: 640px) {
    .topbar { flex-direction: column; align-items: flex-start; gap: 14px; }
    .topbar-actions { flex-wrap: wrap; }
    .notes-grid, .faq-grid { grid-template-columns: 1fr; }
    .subject-head { flex-direction: column; align-items: flex-start; }
    .hero-copy h1 { font-size: 1.42rem; }
    .brand-text, .footer-brand { font-size: 1.55rem; }
    .compact-hero { padding-top: 16px; }
    .section-block, .faq-block { padding-top: 18px; padding-bottom: 18px; }
    .cta-band { margin: 6px 4% 0; padding: 24px 16px; }
    .cta-inner h2 { font-size: 1.28rem; }
    .info-band { grid-template-columns: 1fr; }
    .stat-strip { gap: 8px; }
}