/* ============================================================
   PYQ Hub India Redesigned CSS
   Font: Syne (headings) + DM Sans (body)
   Theme: Deep Navy + Electric Orange + White
   ============================================================ */

:root {
    --navy:    #120F2D;
    --navy2:   #1A173A;
    --orange:  #2878EB;
    --orange2: #1154b6;
    --cream:   #ECF4FF;
    --white:   #FFFFFF;
    --muted:   #7B8097;
    --border:  rgba(255,255,255,0.08);
    --card-bg: #181C2E;
    --light-bg:#F4F6FF;
    --text:    #1A1D2E;
    --radius:  16px;
    --radius-lg: 28px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }
select { font-family: inherit; }
img { display: block; max-width: 100%; }

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40,120,235,0.08) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: opacity 0.3s;
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    gap: 1.5rem;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
    width: 52px; height: 52px;
    border: 3px solid rgba(40,120,235,0.2);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
.loader-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.logo {
    font-family: 'Syne', sans-serif;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}
.logo-icon {
    width: 2.15rem;
    height: 2.15rem;
    object-fit: contain;
    flex-shrink: 0;
}
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0;
}
.logo-title strong {
    color: var(--orange);
}
.logo-icon + span {
    display: block;
}
.logo-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--navy);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}
.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: 8px;
    transition: var(--transition);
}
.nav-link:hover { color: var(--navy); background: rgba(0,0,0,0.04); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.btn-ghost {
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: 10px;
    transition: var(--transition);
}
.btn-ghost:hover { color: var(--navy); background: rgba(0,0,0,0.04); }
.btn-nav-cta {
    padding: 0.6rem 1.4rem;
    background: var(--orange);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--orange2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(40,120,235,0.35); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: transparent;
}
.hamburger span {
    width: 22px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem 4rem;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(40,120,235,0.2) 0%, transparent 70%);
    top: -200px; right: -200px;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
    bottom: -100px; left: -100px;
}
.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,201,167,0.1) 0%, transparent 70%);
    top: 40%; left: 30%;
}
.hero-grid-overlay {
    position: absolute;
    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: 60px 60px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(40,120,235,0.12);
    border: 1px solid rgba(40,120,235,0.3);
    color: var(--orange2);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeDown 0.7s ease both;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(40,120,235,0.5)} 50%{box-shadow:0 0 0 8px rgba(40,120,235,0)} }

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeDown 0.7s 0.1s ease both;
}
.hero-title em {
    font-style: normal;
    color: var(--orange);
    position: relative;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.55);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeDown 0.7s 0.2s ease both;
}

/* Search Card */
.search-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    animation: fadeDown 0.7s 0.3s ease both;
}
.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}
.search-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}
.search-field label i { margin-right: 0.4rem; }
.search-field select {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.4)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 2.5rem;
    transition: var(--transition);
    cursor: pointer;
}
.search-field select option { background: var(--navy2); color: var(--white); }
.search-field select:focus {
    outline: none;
    border-color: var(--orange);
    background-color: rgba(40,120,235,0.08);
}
.search-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: var(--orange);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.search-btn:hover {
    background: var(--orange2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(40,120,235,0.4);
}
.btn-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: shine 2.5s ease infinite;
}
@keyframes shine { to { left: 200%; } }

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeDown 0.7s 0.4s ease both;
}
.hero-stat {
    text-align: center;
    color: white;
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}
.stat-num { color: var(--orange); }
.stat-label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    margin-top: 0.4rem;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    animation: fadeDown 1s 0.8s ease both;
}
.scroll-wheel {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    position: relative;
}
.scroll-wheel::after {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: var(--orange);
    border-radius: 4px;
    animation: scrollWheel 1.5s ease infinite;
}
@keyframes scrollWheel { 0%,100%{top:6px;opacity:1} 50%{top:16px;opacity:0.3} }

/* Exam Strip */
.exam-strip {
    background: var(--orange);
    overflow: hidden;
    padding: 0.9rem 0;
    white-space: nowrap;
}
.strip-track {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    animation: marquee 25s linear infinite;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.strip-track .dot { color: rgba(255,255,255,0.4); font-size: 0.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* â”€â”€ Section Commons â”€â”€ */
.section { padding: 6rem 0; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 1rem;
}
.section-title em { font-style: normal; color: var(--orange); }
.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 3.5rem;
    max-width: 520px;
}

/* â”€â”€ Exams Grid â”€â”€ */
.exams-section { background: var(--cream); }
.exams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.exam-card {
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.exam-card:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.exam-card:hover .card-glow { opacity: 1; }
.exam-emoji {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 14px;
}
.exam-info { flex: 1 }
.exam-info h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.exam-info p { font-size: 0.82rem; color: var(--muted); line-height: 1.4; margin-bottom: 0.75rem; }
.exam-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.exam-chips span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    background: var(--light-bg);
    color: var(--navy);
    border-radius: 100px;
}
.exam-arrow {
    color: var(--muted);
    font-size: 0.9rem;
    transition: var(--transition);
}
.exam-card:hover .exam-arrow { color: var(--orange); transform: translateX(4px); }

/* PYQ Section */
.pyq-section { background: var(--light-bg); }
.pyq-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Sidebar */
.filter-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.filter-header {
    background: var(--navy);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius) var(--radius) 0 0;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
}
.filter-header i { margin-right: 0.5rem; color: var(--orange); }
.filter-body {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid rgba(0,0,0,0.06);
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.filter-block label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.filter-block select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--light-bg);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: var(--transition);
}
.filter-block select:focus { outline: none; border-color: var(--orange); }
.clear-btn {
    padding: 0.75rem;
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted);
    background: transparent;
    transition: var(--transition);
}
.clear-btn:hover { background: #E6F0FF; border-color: var(--orange); color: var(--orange); }
.clear-btn i { margin-right: 0.4rem; }

/* Folder Guide */
.folder-guide {
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.folder-guide-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy);
    margin-bottom: 1rem;
}
.folder-guide-title i { color: var(--orange); margin-right: 0.4rem; }
.folder-tree { font-size: 0.78rem; color: var(--text); line-height: 1; }
.ftree-item { padding: 0.25rem 0; }
.ftree-item.root { font-weight: 700; }
.ftree-item.l1 { padding-left: 1rem; color: #4F46E5; }
.ftree-item.l2 { padding-left: 2rem; color: #059669; }
.ftree-item.l3 { padding-left: 3rem; color: #D97706; }
.ftree-item.l4 { padding-left: 4rem; color: var(--muted); }
.folder-tip {
    margin-top: 1rem;
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.5;
}
.folder-tip code {
    background: var(--light-bg);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.72rem;
    color: var(--orange);
}

/* PYQ Main */
.pyq-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.results-count {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
}
.sort-row select {
    padding: 0.55rem 1rem;
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
}

.pyq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}
.pyq-card {
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.4s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.pyq-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), #3A87F8);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.pyq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: rgba(40,120,235,0.15);
}
.pyq-card:hover::before { transform: scaleX(1); }

.pyq-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.pyq-year-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    background: rgba(40,120,235,0.08);
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    white-space: nowrap;
}
.pyq-card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.pyq-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.pyq-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    background: var(--light-bg);
    color: var(--muted);
    border-radius: 6px;
}
.pyq-actions {
    display: flex;
    gap: 0.75rem;
}
.pyq-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}
.pyq-btn-view {
    background: var(--navy);
    color: white;
}
.pyq-btn-view:hover { background: var(--orange); }
.pyq-btn-pdf {
    background: var(--light-bg);
    color: var(--text);
    border: 1.5px solid rgba(0,0,0,0.06);
}
.pyq-btn-pdf:hover { border-color: var(--orange); color: var(--orange); background: rgba(40,120,235,0.05); }

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
}
.no-results.hidden { display: none; }
.no-results-icon { font-size: 3rem; margin-bottom: 1rem; }
.no-results h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.5rem; }
.no-results button {
    color: var(--orange);
    background: none;
    font-weight: 600;
    text-decoration: underline;
}

/* â”€â”€ Features â”€â”€ */
.features-section { background: var(--white); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}
.feature-card {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.fc-wide { grid-column: span 2; display: flex; align-items: flex-start; gap: 1.5rem; }
.feature-icon-big { font-size: 2.5rem; margin-bottom: 1rem; }
.fc-wide .feature-icon-big { margin-bottom: 0; font-size: 3rem; }
.feature-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.6rem;
}
.feature-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }
.feature-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    background: var(--orange);
    color: white;
    border-radius: 100px;
}

/* â”€â”€ CTA â”€â”€ */
.cta-section {
    background: var(--navy);
    padding: 7rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-orb {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(40,120,235,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid rgba(40,120,235,0.35);
    background: rgba(40,120,235,0.08);
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.cta-inner h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.cta-inner h2 em { font-style: normal; color: var(--orange); }
.cta-inner p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2.5rem;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    background: var(--orange);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: var(--transition);
}
.cta-btn-primary:hover { background: var(--orange2); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(40,120,235,0.4); }
.cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border: 1.5px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
}
.cta-btn-ghost:hover { border-color: white; color: white; }

/* â”€â”€ Footer â”€â”€ */
.footer {
    background: #080A12;
    padding: 5rem 0 2.5rem;
    color: rgba(255,255,255,0.5);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.socials {
    display: flex;
    gap: 0.75rem;
}
.socials a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: white; transform: translateY(-2px); }
.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li {
    margin-bottom: 0.65rem;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-col li i { width: 14px; color: var(--orange); font-size: 0.75rem; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a:hover { color: white; }

/* Animations */
@keyframes fadeDown { from { opacity:0; transform:translateY(-15px); } to { opacity:1; transform:translateY(0); } }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 10px; }

/* Responsive */
@media (max-width: 1100px) {
    .exams-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .fc-wide { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .pyq-wrapper { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 68px; left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }
    .nav-menu.open { display: flex; }
    .hamburger { display: flex; }
    .btn-ghost { display: none; }

    .search-row { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
    .stat-divider { display: none; }

    .exams-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .fc-wide { grid-column: span 1; flex-direction: column; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 1rem; }
    .container { padding: 0 1rem; }
    .hero { padding: 4rem 1rem 3rem; }
    .search-card { padding: 1.25rem; }
    .btn-nav-cta { display: none; }
    .logo-tagline { font-size: 0.5rem; }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.15;
    }

    .hero-sub br {
        display: none;
    }

    .exam-card {
        grid-template-columns: auto 1fr;
    }

    .exam-arrow {
        display: none;
    }

    .pyq-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}/* -- Exam Modal -- */
.exam-modal-overlay {
    position: fixed; inset: 0; background: rgba(18, 15, 45, 0.6); backdrop-filter: blur(8px);
    z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition);
}
.exam-modal-overlay.active { opacity: 1; visibility: visible; }
.exam-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -45%) scale(0.95);
    width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto;
    background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
    z-index: 2001; opacity: 0; visibility: hidden; transition: var(--transition);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.06);
}
.exam-modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.exam-modal-close {
    position: absolute; top: 1.5rem; right: 1.5rem; background: var(--light-bg);
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 1.1rem; transition: var(--transition); pointer-events: auto;
}
.exam-modal-close:hover { background: var(--orange); color: var(--white); }
.exam-modal-header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
.exam-modal-emoji { font-size: 2.5rem; width: 64px; height: 64px; background: var(--light-bg); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
#modalTitle { font-family: 'Syne', sans-serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 0.2rem; line-height: 1.2; }
#modalSubtitle { font-size: 0.85rem; color: var(--muted); }
.modal-section-title { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); margin-bottom: 1rem; }
.modal-format-content { font-size: 0.95rem; line-height: 1.6; color: var(--text); margin-bottom: 2rem; }
.modal-format-content ul { padding-left: 1.2rem; margin-top: 0.5rem; margin-bottom: 1rem; }
.modal-format-content li { margin-bottom: 0.4rem; padding-left: 0.2rem; }
.modal-format-content strong { color: var(--navy); font-weight: 700; }
.exam-modal-footer { display: flex; gap: 1rem; flex-wrap: wrap; }
.exam-modal-footer a { flex: 1; text-align: center; padding: 0.8rem; border-radius: 12px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); min-width: 200px; }
.modal-btn-primary { background: var(--orange); color: white; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.modal-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(40,120,235,0.3); color: white; }
.modal-btn-secondary { background: var(--light-bg); color: var(--navy); display: flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid rgba(0,0,0,0.06); }
.modal-btn-secondary:hover { background: #E6F0FF; color: var(--orange); border-color: var(--orange); }
.exam-modal::-webkit-scrollbar { width: 6px; }
.exam-modal::-webkit-scrollbar-track { background: transparent; }
.exam-modal::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }