@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');
:root{color-scheme:light;--bg:#ffffff;--surface:#fff;--soft:#f1f5fb;--tint:#f0f7ff;--text:#182335;--muted:#66758b;--border:#e2e8f1;--primary:#2764e7;--primary-dark:#194fc7;--mint:#19b99a;--shadow:0 14px 40px rgba(32,57,91,.07);--content:1180px;--geo-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='320' viewBox='0 0 360 320' fill='none'%3E%3Cpolygon points='68,24 96,40 68,56 40,40' fill='%232563eb' fill-opacity='0.022'/%3E%3Cpath d='M68 24L96 40V72L68 88L40 72V40Z M40 40L68 56L96 40 M68 56V88' stroke='%232563eb' stroke-opacity='0.062' stroke-width='1.7' stroke-linejoin='round'/%3E%3Ccircle cx='256' cy='118' r='28' stroke='%236366f1' stroke-opacity='0.058' stroke-width='1.7'/%3E%3Ccircle cx='256' cy='118' r='14' stroke='%236366f1' stroke-opacity='0.042' stroke-width='1.4' stroke-dasharray='4 4'/%3E%3Ccircle cx='256' cy='118' r='3' fill='%236366f1' fill-opacity='0.075'/%3E%3Crect x='113' y='191' width='46' height='46' rx='10' transform='rotate(32 136 214)' fill='%230284c7' fill-opacity='0.018' stroke='%230284c7' stroke-opacity='0.058' stroke-width='1.7'/%3E%3Ccircle cx='136' cy='214' r='6' stroke='%230284c7' stroke-opacity='0.045' stroke-width='1.3'/%3E%3Cpolygon points='298,228 326,276 270,276' transform='rotate(-14 298 258)' fill='%237c3aed' fill-opacity='0.018' stroke='%237c3aed' stroke-opacity='0.058' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M184 39v18M175 48h18' transform='rotate(15 184 48)' stroke='%230ea5e9' stroke-opacity='0.062' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='42' cy='268' r='11' stroke='%232563eb' stroke-opacity='0.055' stroke-width='1.5'/%3E%3Cpath d='M318 37v14M311 44h14' transform='rotate(-18 318 44)' stroke='%237c3aed' stroke-opacity='0.058' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='194' cy='152' r='2.5' fill='%230ea5e9' fill-opacity='0.065'/%3E%3Ccircle cx='92' cy='134' r='2' fill='%236366f1' fill-opacity='0.06'/%3E%3Ccircle cx='218' cy='286' r='2.2' fill='%232563eb' fill-opacity='0.06'/%3E%3C/svg%3E")}
:root[data-theme=dark]{color-scheme:dark;--bg:#101722;--surface:#182231;--soft:#202c3c;--tint:#182b40;--text:#edf3fb;--muted:#a4b2c6;--border:#2b3a4d;--primary:#79a4ff;--primary-dark:#a9c4ff;--shadow:0 14px 40px #0003;--geo-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='320' viewBox='0 0 360 320' fill='none'%3E%3Cpolygon points='68,24 96,40 68,56 40,40' fill='%2360a5fa' fill-opacity='0.026'/%3E%3Cpath d='M68 24L96 40V72L68 88L40 72V40Z M40 40L68 56L96 40 M68 56V88' stroke='%2360a5fa' stroke-opacity='0.065' stroke-width='1.7' stroke-linejoin='round'/%3E%3Ccircle cx='256' cy='118' r='28' stroke='%23818cf8' stroke-opacity='0.062' stroke-width='1.7'/%3E%3Ccircle cx='256' cy='118' r='14' stroke='%23818cf8' stroke-opacity='0.045' stroke-width='1.4' stroke-dasharray='4 4'/%3E%3Ccircle cx='256' cy='118' r='3' fill='%23818cf8' fill-opacity='0.078'/%3E%3Crect x='113' y='191' width='46' height='46' rx='10' transform='rotate(32 136 214)' fill='%2338bdf8' fill-opacity='0.02' stroke='%2338bdf8' stroke-opacity='0.062' stroke-width='1.7'/%3E%3Ccircle cx='136' cy='214' r='6' stroke='%2338bdf8' stroke-opacity='0.048' stroke-width='1.3'/%3E%3Cpolygon points='298,228 326,276 270,276' transform='rotate(-14 298 258)' fill='%23a78bfa' fill-opacity='0.02' stroke='%23a78bfa' stroke-opacity='0.062' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M184 39v18M175 48h18' transform='rotate(15 184 48)' stroke='%2338bdf8' stroke-opacity='0.065' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='42' cy='268' r='11' stroke='%2360a5fa' stroke-opacity='0.058' stroke-width='1.5'/%3E%3Cpath d='M318 37v14M311 44h14' transform='rotate(-18 318 44)' stroke='%23a78bfa' stroke-opacity='0.06' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='194' cy='152' r='2.5' fill='%2338bdf8' fill-opacity='0.068'/%3E%3Ccircle cx='92' cy='134' r='2' fill='%23818cf8' fill-opacity='0.062'/%3E%3Ccircle cx='218' cy='286' r='2.2' fill='%2360a5fa' fill-opacity='0.062'/%3E%3C/svg%3E")}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px;background:var(--bg)}body{margin:0;background:transparent;color:var(--text);font:16px/1.65 'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background-color:var(--bg);background-image:var(--geo-pattern);background-size:360px 320px;background-repeat:repeat;transform:translateZ(0)}#main-content,.site-main,.site-footer{position:relative;z-index:1}body.menu-open{overflow:hidden}a{color:var(--primary);text-decoration:none}a:hover{color:var(--primary-dark)}button,input{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #2764e777;outline-offset:3px}h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif;line-height:1.22;letter-spacing:-.035em;margin:0 0 .7em}h1{font-size:clamp(2.2rem,5vw,3.7rem);font-weight:800}h2{font-size:clamp(1.45rem,2.5vw,2rem);font-weight:750}p{margin:0 0 1em}.container{width:min(var(--content),calc(100% - 44px));margin:auto}.container-wide{width:min(1280px,calc(100% - 44px));margin:auto}.skip-link{position:absolute;top:-60px;left:16px;z-index:1000;padding:10px 16px;background:var(--surface);border-radius:8px}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.site-header{position:sticky;top:0;z-index:100;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--border)}.header-inner{width:min(1280px,calc(100% - 44px));min-height:78px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand{display:inline-flex;align-items:center;gap:11px;color:var(--text);flex-shrink:0}.brand:hover{color:var(--text)}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#3478f6,#18b99b);box-shadow:0 8px 18px #2764e733;color:white;font:800 29px/1 Manrope}.brand-name{font:800 22px/1.08 Manrope;letter-spacing:-.06em}.brand-name>span{color:var(--primary)}.brand-name small{display:block;margin-top:5px;font:500 9px 'DM Sans',sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}.primary-navigation{display:flex;align-items:center;gap:6px}.primary-navigation>a{position:relative;padding:9px 14px;border-radius:10px;color:var(--muted);font-size:14px;font-weight:700;transition:color .18s ease,background-color .18s ease}.primary-navigation>a:hover{background:var(--soft);color:var(--text)}.primary-navigation>a[aria-current=page]{background:var(--soft);color:var(--primary);font-weight:800}.theme-toggle{display:grid;place-items:center;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;width:42px;height:42px;cursor:pointer;font-size:20px;margin-left:4px;transition:border-color .2s ease,background-color .2s ease}.theme-toggle:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border))}.header-mobile-actions{display:none;align-items:center;gap:8px}.hamburger-btn{display:none;align-items:center;justify-content:center;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;width:42px;height:42px;cursor:pointer;padding:0;transition:border-color .2s,background-color .2s}.hamburger-btn:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border))}.icon-ham{display:block}.icon-close{display:none}.hamburger-btn.open .icon-ham{display:none}.hamburger-btn.open .icon-close{display:block}.mobile-drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);z-index:998;opacity:0;pointer-events:none;transition:opacity .3s ease}.mobile-drawer-backdrop.show{opacity:1;pointer-events:auto}.mobile-app-drawer{position:fixed;top:0;left:0;width:295px;max-width:84vw;height:100vh;background:var(--surface);box-shadow:4px 0 25px rgba(0,0,0,.25);z-index:999;display:flex;flex-direction:column;transform:translateX(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);overflow:hidden}.mobile-app-drawer.show{transform:translateX(0)}.drawer-profile-header{background:linear-gradient(135deg,#194fc7 0%,#2764e7 100%);padding:24px 18px 20px;color:#fff;display:flex;align-items:center;gap:14px;box-shadow:0 4px 14px rgba(25,79,199,.25)}:root[data-theme=dark] .drawer-profile-header{background:linear-gradient(135deg,#101722 0%,#1e293b 100%)}.drawer-avatar{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#3478f6,#18b99b);display:grid;place-items:center;font:800 24px/1 Manrope;color:#fff;box-shadow:0 4px 10px rgba(0,0,0,.2);flex-shrink:0}.drawer-user-details{flex:1;min-width:0}.drawer-user-title{font:800 1.15rem/1.2 Manrope;color:#fff;margin:0;letter-spacing:-.02em}.drawer-user-subtitle{font-size:.78rem;color:rgba(255,255,255,.85);margin:3px 0 0}.drawer-content-scroll{flex:1;overflow-y:auto;padding:14px 0}.drawer-section-label{padding:8px 20px 6px;font-size:.72rem;font-weight:800;letter-spacing:1px;color:var(--muted);text-transform:uppercase}.drawer-item{display:flex;align-items:center;gap:14px;padding:12px 20px;text-decoration:none;color:var(--text);font-size:.95rem;font-weight:600;transition:background .18s,color .18s;cursor:pointer}.drawer-item:hover,.drawer-item.active{background:var(--soft);color:var(--primary)}.drawer-icon{font-size:1.25rem;width:26px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.drawer-label{flex:1}.drawer-divider{height:1px;background:var(--border);margin:10px 0}.drawer-item-action{justify-content:space-between}.drawer-switch-track{width:44px;height:24px;background:#cbd5e1;border-radius:20px;position:relative;transition:background .3s}:root[data-theme=dark] .drawer-switch-track{background:var(--primary)}.drawer-switch-knob{width:18px;height:18px;background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;transition:transform .3s;box-shadow:0 1px 3px rgba(0,0,0,.3)}:root[data-theme=dark] .drawer-switch-knob{transform:translateX(20px)}.drawer-footer{padding:14px 20px;border-top:1px solid var(--border);font-size:.75rem;color:var(--muted);text-align:center;background:var(--soft)}.site-main{min-height:58vh;padding:28px 0 78px}.home-page main{padding-top:0}.breadcrumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 28px;font-size:12px;color:var(--muted)}.breadcrumbs a{color:var(--muted)}.breadcrumbs [aria-current=page]{color:var(--text);font-weight:700}.hero{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:30px;min-height:520px;padding:58px 4.5% 62px;border-radius:0 0 30px 30px;background:radial-gradient(circle at 85% 18%,#428dff1f,transparent 32%),linear-gradient(135deg,var(--surface),var(--tint));overflow:hidden}.hero-copy{max-width:630px;position:relative;z-index:1}.eyebrow{margin:0 0 12px;color:var(--primary);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.hero h1{max-width:610px;margin-bottom:20px}.hero h1 span{display:block;color:var(--primary)}.hero-description{max-width:550px;color:var(--muted);font-size:17px;line-height:1.8;margin-bottom:26px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:25px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 19px;border:1px solid transparent;border-radius:12px;font-size:14px;font-weight:800}.button-primary{background:var(--primary);color:#fff;box-shadow:0 9px 18px #2764e72e}.button-primary:hover{background:var(--primary-dark);color:#fff}.button-secondary{background:var(--surface);border-color:var(--border);color:var(--text)}.search-box{display:flex;align-items:center;gap:10px;width:min(100%,540px);min-height:58px;padding:7px 8px 7px 16px;background:var(--surface);border:1px solid var(--border);border-radius:15px;box-shadow:0 8px 24px #1f395e0d}.search-symbol{font-size:27px;color:var(--muted);line-height:1}.search-box input{flex:1;min-width:0;border:0;outline:0!important;background:transparent;color:var(--text);font-size:13px}.search-box button{align-self:stretch;border:0;border-radius:10px;padding:0 18px;background:var(--primary);color:white;font-size:13px;font-weight:800;cursor:pointer}.hero-art{min-height:360px;position:relative;display:grid;place-items:center}.art-orbit{position:absolute;border:1px solid #4180e633;border-radius:50%;transform:rotate(-25deg)}.orbit-one{width:370px;height:250px}.orbit-two{width:310px;height:370px;transform:rotate(34deg)}.art-card{position:relative;z-index:1;width:245px;min-height:275px;padding:19px;border:1px solid #ffffffd9;border-radius:24px;background:linear-gradient(150deg,#fff,#eef5ff);box-shadow:0 25px 60px #29549733;transform:rotate(-5deg)}.art-card-top{display:flex;gap:5px;padding-bottom:24px}.art-card-top i{width:7px;height:7px;border-radius:50%;background:#b8c9e4}.art-card-top i:first-child{background:#ff9c8f}.art-card-top i:nth-child(2){background:#ffd27c}.art-card-top i:nth-child(3){background:#72d9ba}.art-book{width:110px;height:108px;margin:0 auto 22px;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:17px;border-radius:12px;background:linear-gradient(135deg,#377bf4,#5aa9ff);box-shadow:0 12px 24px #2764e73d;transform:rotate(5deg)}.art-book span{height:5px;border-radius:5px;background:#ffffffd4}.art-book span:nth-child(2){width:80%}.art-book span:nth-child(3){width:90%}.art-book span:nth-child(4){width:55%}.art-lines{display:grid;gap:8px}.art-lines i{height:6px;border-radius:5px;background:#dbe5f5}.art-lines i:nth-child(2){width:85%}.art-lines i:nth-child(3){width:60%}.art-chip{display:inline-block;margin-top:16px;padding:5px 8px;border-radius:7px;background:#dcf9f0;color:#087d69;font-size:9px;font-weight:800;letter-spacing:.06em}.floating-note{position:absolute;z-index:2;padding:11px 15px;border:1px solid #ffffffcc;border-radius:13px;background:var(--surface);box-shadow:var(--shadow);font-size:12px;font-weight:800}.note-top{top:42px;right:0;transform:rotate(5deg);color:var(--primary)}.note-bottom{bottom:35px;left:0;transform:rotate(-4deg);color:#0b997e}
.section-block{padding:66px 0}.section-tint{padding-inline:clamp(18px,4vw,48px);background:var(--soft);border-radius:26px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-heading h2{margin:0}.text-link{font-size:13px;font-weight:800;white-space:nowrap}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.university-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:155px;padding:22px;border:1px solid var(--border);border-radius:17px;background:var(--surface);color:var(--text);transition:transform .2s,border-color .2s,box-shadow .2s}.university-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--primary) 35%,var(--border));box-shadow:var(--shadow);color:var(--text)}.card-icon{display:grid;place-items:center;min-width:48px;height:42px;padding:0 8px;margin-bottom:15px;border-radius:12px;background:var(--tint);color:var(--primary);font-size:12px;font-weight:900}.card-title{font-size:17px;font-weight:800;line-height:1.3}.card-description{margin-top:6px;padding-right:22px;color:var(--muted);font-size:12px;line-height:1.5}.card-arrow{position:absolute;right:18px;top:18px;color:var(--muted);font-size:18px}.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.resource-card{display:flex;align-items:center;gap:14px;min-width:0;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text)}.resource-card:hover{border-color:var(--primary);color:var(--text)}.resource-icon{display:grid;place-items:center;flex-shrink:0;width:47px;height:47px;border-radius:14px;font-size:18px;font-weight:900}.icon-blue{background:#e8f0ff;color:#2a65dc}.icon-orange{background:#fff1df;color:#b96a14}.icon-green{background:#dff9ef;color:#118568}.icon-pink{background:#ffe8f2;color:#bf4380}:root[data-theme=dark] .icon-blue{background:#203657;color:#9dbaff}:root[data-theme=dark] .icon-orange{background:#493523;color:#ffc17c}:root[data-theme=dark] .icon-green{background:#193f39;color:#79e2c6}:root[data-theme=dark] .icon-pink{background:#472b3a;color:#ff9bc9}.resource-card>span:nth-child(2){display:grid;gap:4px;min-width:0}.resource-card strong{font-size:13px;line-height:1.35}.resource-card small{color:var(--muted);font-size:11px;line-height:1.45}.resource-arrow{margin-left:auto;color:var(--muted);font-size:17px}.callout-panel{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:35px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(110deg,var(--surface),var(--tint))}.callout-panel h2{max-width:650px;margin-bottom:10px}.callout-panel p:not(.eyebrow){max-width:650px;color:var(--muted);margin:0}.page-header{max-width:850px;margin:8px 0 35px}.page-header h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:12px}.page-description{max-width:760px;color:var(--muted);font-size:16px;line-height:1.75}.intro-copy{max-width:850px;color:var(--muted);margin:-10px 0 30px}.content-layout{display:grid;grid-template-columns:205px minmax(0,1fr) 215px;align-items:start;gap:25px}.content-article{min-width:0;padding:27px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.content-article h2{margin-top:1.5em;font-size:1.45rem}.content-article h2:first-child{margin-top:0}.content-article h3{margin-top:1.4em}.content-article p,.content-article li{color:var(--muted)}.content-article ul,.content-article ol{padding-left:24px}.content-article li{padding-left:4px;margin:7px 0}.sidebar{position:sticky;top:100px;display:grid;gap:17px}.sidebar-heading{padding:12px 13px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:12px;font-weight:900}.sidebar-nav,.sidebar-section{display:grid;gap:3px;padding:13px;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.sidebar-nav a,.sidebar-section>a,.toc-nav a{display:block;padding:8px 9px;border-radius:8px;color:var(--muted);font-size:12px;font-weight:600;line-height:1.4}.sidebar-nav a:hover,.sidebar-nav a[aria-current=page],.sidebar-section>a:hover,.toc-nav a:hover{background:var(--soft);color:var(--primary)}.sidebar-section h2{font-size:12px;letter-spacing:0;margin:2px 8px 7px}.sidebar-muted{font-size:12px;color:var(--muted);margin:0 8px 6px}.sidebar-promo{padding:17px;border:1px solid var(--border);border-radius:14px;background:var(--tint)}.sidebar-promo h2{font-size:15px;margin:6px 0}.sidebar-promo p{font-size:12px;color:var(--muted);margin-bottom:12px}.sidebar-promo>a{font-size:12px;font-weight:800}.university-hero{display:flex;align-items:center;gap:22px;margin:8px 0 35px;padding:28px;border:1px solid var(--border);border-radius:20px;background:linear-gradient(115deg,var(--surface),var(--tint))}.university-hero h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:8px}.university-hero .page-description{margin:0}.university-monogram{display:grid;place-items:center;flex-shrink:0;width:88px;height:88px;border-radius:22px;background:linear-gradient(135deg,#3478f6,#19b99a);color:white;font-size:17px;font-weight:900}.semester-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.semester-card{display:grid;gap:7px;padding:20px;border:1px solid var(--border);border-radius:15px;background:var(--surface);color:var(--text)}.semester-card:hover{border-color:var(--primary);color:var(--text)}.semester-number{font:900 28px Manrope;color:var(--primary)}.semester-card strong{font-size:15px}.semester-card>span:last-child{font-size:12px;color:var(--muted)}.topic-list{display:grid;gap:9px;margin:18px 0 28px}.topic-row{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text)}.topic-row:hover{border-color:var(--primary);color:var(--text)}.topic-row-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:10px;background:var(--tint);color:var(--primary);font-size:12px;font-weight:900}.topic-row>span:nth-child(2){display:grid;gap:3px}.topic-row strong{font-size:13px}.topic-row small{font-size:11px;color:var(--muted)}.topic-row-arrow{margin-left:auto;color:var(--muted)}.notice-box{margin:20px 0;padding:14px 16px;border-left:3px solid #f5a44c;border-radius:0 10px 10px 0;background:var(--soft);color:var(--muted);font-size:13px}.prose{max-width:820px;padding:27px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.prose p{color:var(--muted)}.exam-layout{max-width:900px;margin:auto}.ad-slot{display:grid;place-items:center;min-height:90px;border:1px dashed var(--border);border-radius:12px;color:var(--muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.search-page-form{width:100%;margin-bottom:24px}.search-results{display:grid;gap:10px}.search-result-card{display:grid;gap:4px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text)}.search-result-card:hover{border-color:var(--primary);color:var(--text)}.search-result-card span:not(.result-arrow){font-size:12px;color:var(--muted)}.result-arrow{justify-self:end;margin-top:-24px;color:var(--primary)}.empty-state{padding:50px 20px;text-align:center;border:1px solid var(--border);border-radius:20px;background:var(--surface)}.empty-state-icon{display:block;color:var(--primary);font-size:60px;font-weight:900;font-family:Manrope}.empty-state h2{margin:8px 0}.empty-state p{color:var(--muted);margin-bottom:22px}.site-footer{border-top:1px solid var(--border);background:var(--surface)}.footer-main{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:40px;width:min(1180px,calc(100% - 44px));margin:auto;padding:48px 0 38px}.footer-brand-column>p{max-width:240px;margin-top:16px;color:var(--muted);font-size:12px;line-height:1.8}.footer-column{display:grid;align-content:start;gap:10px}.footer-column h2{margin:3px 0 7px;font-size:13px;letter-spacing:0}.footer-column a{color:var(--muted);font-size:12px}.footer-column a:hover{color:var(--primary)}.footer-bottom{display:flex;justify-content:space-between;gap:20px;width:min(1180px,calc(100% - 44px));margin:auto;padding:17px 0;border-top:1px solid var(--border);color:var(--muted);font-size:11px}
@media(max-width:1050px){.content-layout{grid-template-columns:190px minmax(0,1fr)}.sidebar-right{display:none}.hero{padding-inline:4%}.hero-art{transform:scale(.9)}}
@media(max-width:760px){.container,.container-wide{width:calc(100% - 32px)}.header-inner{width:calc(100% - 32px);min-height:70px}.primary-navigation{display:none!important}.header-mobile-actions{display:flex}.hamburger-btn{display:flex}.mobile-theme-btn{display:grid}.hero{grid-template-columns:1fr;gap:8px;min-height:0;padding:45px 22px 25px;border-radius:0 0 24px 24px}.hero h1{font-size:clamp(2.15rem,9vw,3.2rem)}.hero-description{font-size:15px}.hero-art{min-height:290px;transform:scale(.85);margin:-5px 0 -25px}.section-block{padding:45px 0}.section-tint{padding-inline:17px}.section-heading{align-items:flex-start;flex-direction:column;gap:10px}.card-grid,.resource-grid{grid-template-columns:1fr}.university-card{min-height:130px}.resource-card{padding:15px}.callout-panel{align-items:flex-start;flex-direction:column;padding:24px}.content-layout{grid-template-columns:1fr;gap:16px}.sidebar{position:static}.sidebar-left{order:2}.content-article{order:1;padding:21px}.sidebar-right{display:grid;order:3}.page-header{margin-top:3px}.page-header h1{font-size:2.15rem}.university-hero{align-items:flex-start;flex-direction:column;padding:22px}.university-monogram{width:65px;height:65px;border-radius:18px}.semester-grid{grid-template-columns:1fr}.footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;width:calc(100% - 32px);padding:38px 0 28px}.footer-brand-column{grid-column:1/-1}.footer-bottom{width:calc(100% - 32px);font-size:10px}.search-box{min-height:54px}.search-box button{padding:0 12px}.breadcrumbs{margin-bottom:22px}}
@media(max-width:390px){.brand-name{font-size:20px}.brand-mark{width:38px;height:38px}.hero-actions .button{width:100%}.hero-art{transform:scale(.75);margin-inline:-20px}.footer-bottom{flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* App-Style 3D Geometric Cards & Widgets */
.app-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0 32px}
@media(max-width:760px){.app-card-grid{grid-template-columns:1fr;gap:16px}}
.app-card{position:relative;overflow:hidden;border-radius:22px;padding:24px 22px 20px;display:flex;flex-direction:column;justify-content:space-between;min-height:195px;text-decoration:none;border:1px solid var(--border);box-shadow:0 8px 24px rgba(0,0,0,0.04);transition:transform .28s cubic-bezier(0.34,1.56,0.64,1),box-shadow .28s ease,border-color .2s ease;z-index:1}
.app-card:hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(0,0,0,0.09)}
.app-card:active{transform:scale(0.98)}
.app-card-content{position:relative;z-index:2;display:flex;flex-direction:column;gap:8px;max-width:calc(100% - 65px)}
.app-card-badge{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;padding:4px 10px;border-radius:8px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.app-card-title{font-size:17px;font-weight:800;line-height:1.3;margin:2px 0 0;color:var(--text)}
.app-card-desc{font-size:12px;line-height:1.5;color:var(--muted);margin:0}
.app-card-footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding-top:14px;border-top:1px solid rgba(0,0,0,0.06)}
:root[data-theme=dark] .app-card-footer{border-top-color:rgba(255,255,255,0.08)}
.app-card-action{font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:6px}
.app-card-arrow{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:14px;transition:transform .2s ease}
.app-card:hover .app-card-arrow{transform:translateX(4px)}
.app-card-3d{position:absolute;top:14px;right:14px;width:82px;height:82px;z-index:1;pointer-events:none;opacity:.92;transition:transform .4s cubic-bezier(0.34,1.56,0.64,1);filter:drop-shadow(0 10px 18px rgba(0,0,0,0.12))}
.app-card:hover .app-card-3d{transform:scale(1.1) rotate(6deg) translateY(-2px)}

/* Card Theme: Purple / Indigo */
.app-card-purple{background:linear-gradient(135deg,#f5f3ff 0%,#ede9fe 100%);border-color:#ddd6fe}
.app-card-purple .app-card-badge{background:#7c3aed;color:#fff}
.app-card-purple .app-card-title{color:#3b0764}
.app-card-purple .app-card-action{color:#6d28d9}
.app-card-purple .app-card-arrow{background:#7c3aed;color:#fff}
:root[data-theme=dark] .app-card-purple{background:linear-gradient(135deg,#1e1b4b 0%,#2e1065 100%);border-color:#4338ca}
:root[data-theme=dark] .app-card-purple .app-card-title{color:#f5f3ff}
:root[data-theme=dark] .app-card-purple .app-card-desc{color:#c4b5fd}
:root[data-theme=dark] .app-card-purple .app-card-action{color:#a78bfa}

/* Card Theme: Emerald / Mint */
.app-card-emerald{background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);border-color:#a7f3d0}
.app-card-emerald .app-card-badge{background:#059669;color:#fff}
.app-card-emerald .app-card-title{color:#064e3b}
.app-card-emerald .app-card-action{color:#047857}
.app-card-emerald .app-card-arrow{background:#059669;color:#fff}
:root[data-theme=dark] .app-card-emerald{background:linear-gradient(135deg,#064e3b 0%,#022c22 100%);border-color:#059669}
:root[data-theme=dark] .app-card-emerald .app-card-title{color:#ecfdf5}
:root[data-theme=dark] .app-card-emerald .app-card-desc{color:#6ee7b7}
:root[data-theme=dark] .app-card-emerald .app-card-action{color:#34d399}

/* Card Theme: Amber / Sunset */
.app-card-amber{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border-color:#fde68a}
.app-card-amber .app-card-badge{background:#d97706;color:#fff}
.app-card-amber .app-card-title{color:#78350f}
.app-card-amber .app-card-action{color:#b45309}
.app-card-amber .app-card-arrow{background:#d97706;color:#fff}
:root[data-theme=dark] .app-card-amber{background:linear-gradient(135deg,#451a03 0%,#78350f 100%);border-color:#b45309}
:root[data-theme=dark] .app-card-amber .app-card-title{color:#fffbeb}
:root[data-theme=dark] .app-card-amber .app-card-desc{color:#fcd34d}
:root[data-theme=dark] .app-card-amber .app-card-action{color:#fbbf24}

/* Card Theme: Cyan / Ocean */
.app-card-cyan{background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);border-color:#bae6fd}
.app-card-cyan .app-card-badge{background:#0284c7;color:#fff}
.app-card-cyan .app-card-title{color:#082f49}
.app-card-cyan .app-card-action{color:#0369a1}
.app-card-cyan .app-card-arrow{background:#0284c7;color:#fff}
:root[data-theme=dark] .app-card-cyan{background:linear-gradient(135deg,#082f49 0%,#0c4a6e 100%);border-color:#0284c7}
:root[data-theme=dark] .app-card-cyan .app-card-title{color:#f0f9ff}
:root[data-theme=dark] .app-card-cyan .app-card-desc{color:#7dd3fc}
:root[data-theme=dark] .app-card-cyan .app-card-action{color:#38bdf8}

/* Card Theme: Pink / Rose */
.app-card-pink{background:linear-gradient(135deg,#fff1f2 0%,#ffe4e6 100%);border-color:#fecdd3}
.app-card-pink .app-card-badge{background:#e11d48;color:#fff}
.app-card-pink .app-card-title{color:#4c0519}
.app-card-pink .app-card-action{color:#be123c}
.app-card-pink .app-card-arrow{background:#e11d48;color:#fff}
:root[data-theme=dark] .app-card-pink{background:linear-gradient(135deg,#4c0519 0%,#831843 100%);border-color:#e11d48}
:root[data-theme=dark] .app-card-pink .app-card-title{color:#fff1f2}
:root[data-theme=dark] .app-card-pink .app-card-desc{color:#fda4af}
:root[data-theme=dark] .app-card-pink .app-card-action{color:#fb7185}


/* Exam Paper & Solved PYQ UI System */
.exam-meta-card{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--surface);margin:0 0 28px;box-shadow:0 6px 20px rgba(0,0,0,0.03)}
.exam-meta-item{display:flex;flex-direction:column;gap:3px}
.exam-meta-label{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.exam-meta-val{font-size:15px;font-weight:800;color:var(--text)}
.exam-header-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
.strip-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--border);font-size:12px;font-weight:700;color:var(--text);box-shadow:0 2px 8px rgba(0,0,0,0.02)}
.exam-jump-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 24px;padding:8px 12px;background:var(--surface);border:1px solid var(--border);border-radius:12px}
.exam-jump-label{font-size:11.5px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-right:4px}
.jump-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;transition:transform .15s,filter .15s}
.jump-pill:hover{transform:translateY(-1px);filter:brightness(.95)}
.jump-pill-emerald{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
:root[data-theme=dark] .jump-pill-emerald{background:#064e3b;color:#a7f3d0;border-color:#047857}
.jump-pill-cyan{background:#f0f9ff;color:#075985;border:1px solid #bae6fd}
:root[data-theme=dark] .jump-pill-cyan{background:#0c4a6e;color:#bae6fd;border-color:#0284c7}
.jump-pill-purple{background:#f5f3ff;color:#5b21b6;border:1px solid #ddd6fe}
:root[data-theme=dark] .jump-pill-purple{background:#2e1065;color:#ddd6fe;border-color:#7c3aed}
@media print{
  .exam-jump-nav{display:none!important}
}
.exam-actions-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.print-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:10px;background:var(--primary);color:#fff;font-size:13px;font-weight:700;cursor:pointer;border:0;transition:transform .2s,background .2s}
.print-btn:hover{background:var(--primary-dark);transform:translateY(-2px);color:#fff}
.exam-section-card{border-radius:18px;border:1px solid var(--border);background:var(--surface);margin-bottom:28px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,0.03)}
.exam-section-header{position:relative;padding:26px 20px 22px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.exam-section-header-purple{background:linear-gradient(135deg,#f5f3ff 0%,#ede9fe 100%)}
:root[data-theme=dark] .exam-section-header-purple{background:linear-gradient(135deg,#1e1b4b 0%,#2e1065 100%)}
.exam-section-header-cyan{background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%)}
:root[data-theme=dark] .exam-section-header-cyan{background:linear-gradient(135deg,#082f49 0%,#0c4a6e 100%)}
.exam-section-header-emerald{background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%)}
:root[data-theme=dark] .exam-section-header-emerald{background:linear-gradient(135deg,#064e3b 0%,#022c22 100%)}
.exam-section-header-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:720px;margin:0 auto}
.exam-section-title{font-size:1.75rem;font-weight:900;margin:6px 0 4px;line-height:1.28;letter-spacing:-.015em;color:var(--text)}
.exam-section-rule{font-size:13.5px;font-weight:700;color:var(--muted);margin:0}
.exam-section-badge{display:inline-block;padding:6px 18px;border-radius:30px;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#fff;box-shadow:0 3px 10px rgba(0,0,0,0.12);margin-bottom:4px}
.badge-purple{background:linear-gradient(135deg,#7c3aed,#6d28d9)}
.badge-cyan{background:linear-gradient(135deg,#0284c7,#0369a1)}
.badge-emerald{background:linear-gradient(135deg,#059669,#047857)}
.exam-section-body{padding:22px}
.exam-q-item{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--border)}
.exam-q-item:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.exam-q-header{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
@media (min-width: 768px) {
  .exam-q-header{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:16px}
}
.exam-q-title{font-size:15.5px;font-weight:700;color:var(--text);margin:0;line-height:1.5;flex:1}
.q-num{color:var(--primary);margin-right:4px}
.exam-tag-group{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;flex-shrink:0}
.exam-tag-repeat{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;background:#fef3c7;color:#92400e;border:1px solid #fde68a;font-size:11px;font-weight:700;line-height:1.35}
:root[data-theme=dark] .exam-tag-repeat{background:#451a03;color:#fde68a;border-color:#78350f}
.exam-tag-marks{display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;font-size:11px;font-weight:700;line-height:1.35}
:root[data-theme=dark] .exam-tag-marks{background:#1e293b;color:#cbd5e1;border-color:#334155}
.exam-subpart{margin:10px 0;padding:12px 14px;border-radius:10px;background:var(--soft);border:1px solid var(--border);overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.exam-subpart-title{font-size:12.5px;font-weight:800;color:var(--primary);margin-bottom:6px;display:block}
.exam-q-desc{font-size:14.5px;line-height:1.65;color:var(--text);margin:6px 0 10px}
.katex-display{overflow-x:auto;overflow-y:hidden;padding:6px 0;margin:10px 0!important;max-width:100%;-webkit-overflow-scrolling:touch}
.exam-ans-card{padding:14px 18px;border-radius:12px;background:var(--soft);border-left:4px solid var(--primary);border-top:1px solid var(--border);border-right:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:14px;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.exam-ans-title{font-size:12.5px;font-weight:800;color:var(--primary);text-transform:uppercase;letter-spacing:.04em;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.exam-ans-step{font-size:13.5px;font-weight:700;color:var(--text);margin:10px 0 4px}
.exam-ans-card p{margin:0 0 8px;font-size:14px;line-height:1.65;color:var(--text)}
.exam-ans-card p:last-child{margin-bottom:0}
.exam-ans-card ul,.exam-ans-card ol{margin:4px 0 10px 20px;padding:0;font-size:14px;line-height:1.6;color:var(--text)}
.exam-ans-card li{margin-bottom:4px}
.exam-tip-box{margin-top:12px;padding:10px 14px;border-radius:10px;background:rgba(245,164,76,.12);border:1px dashed #f5a44c;font-size:12px;color:var(--text);line-height:1.5}
.exam-tip-box strong{color:#b96a14}
:root[data-theme=dark] .exam-tip-box strong{color:#ffc17c}
@media (max-width: 640px) {
  .exam-section-body{padding:16px 12px}
  .exam-section-header{padding:22px 14px 18px}
  .exam-section-title{font-size:1.38rem;line-height:1.3}
  .exam-section-badge{font-size:11px;padding:5px 14px}
  .exam-section-rule{font-size:12.5px}
  .exam-q-title{font-size:14.5px;line-height:1.45}
}
@media print{
  .site-header,.site-footer,.sidebar,.exam-actions-bar,.print-btn,body::before{display:none!important}
  body{background:#fff!important;color:#000!important}
  .exam-section-card{border:1px solid #ccc!important;box-shadow:none!important;break-inside:avoid}
  .exam-ans-card{background:#f9f9f9!important;border-left:4px solid #333!important}
  .exam-layout{max-width:100%!important;padding:0!important}
}


/* Theme Toggle SVG Icon Display */
.theme-toggle .theme-icon-sun{display:none}
.theme-toggle .theme-icon-moon{display:block}
:root[data-theme=dark] .theme-toggle .theme-icon-sun{display:block}
:root[data-theme=dark] .theme-toggle .theme-icon-moon{display:none}
.drawer-icon .theme-icon-sun{display:none}
.drawer-icon .theme-icon-moon{display:block}
:root[data-theme=dark] .drawer-icon .theme-icon-sun{display:block}
:root[data-theme=dark] .drawer-icon .theme-icon-moon{display:none}

/* Header Action / Search Icon Button */
.header-icon-btn{display:grid;place-items:center;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;width:42px;height:42px;cursor:pointer;transition:border-color .2s,background-color .2s,color .2s;text-decoration:none}
.header-icon-btn:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border));color:var(--primary)}

/* ==========================================================================
   IncStudy Official Footer - Precision Match to Reference Image
   Soft pastel sky-blue canvas with wave curves, vertical dividers, 
   squircle brand badge, and pill controls. Desktop & Mobile Pixel-Perfect.
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f7fe 0%, #e5f1fd 55%, #d8ebfd 100%);
  border-top: 1px solid #bfdbfe;
  padding: 48px 0 28px;
  color: #334155;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

:root[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #0a1426 0%, #0d1e3a 55%, #081222 100%);
  border-top: 1px solid #1c365d;
  color: #94a3b8;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

/* 5-Column Grid with Sleek Vertical Separators (matching screenshot) */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr 1.05fr 0.9fr 1.05fr;
  gap: 0;
  align-items: start;
}

/* Column 1: Brand & Bio */
.footer-brand-col {
  padding-right: 32px;
  display: flex;
  flex-direction: column;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand-squircle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00b4d8 0%, #2563eb 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-brand-header:hover .footer-brand-squircle {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.38);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

:root[data-theme="dark"] .footer-logo-title {
  color: #f8fafc;
}

.footer-logo-title span {
  color: #2563eb;
}

:root[data-theme="dark"] .footer-logo-title span {
  color: #38bdf8;
}

.footer-logo-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-top: 3px;
}

:root[data-theme="dark"] .footer-logo-subtitle {
  color: #94a3b8;
}

.footer-description {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 18px 0;
  max-width: 320px;
}

:root[data-theme="dark"] .footer-description {
  color: #94a3b8;
}

/* 100% Free Academic Portal Badge */
.footer-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 9px;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  align-self: flex-start;
  box-shadow: 0 2px 6px rgba(22, 101, 52, 0.06);
}

:root[data-theme="dark"] .footer-portal-badge {
  background: #064e3b;
  color: #6ee7b7;
  border-color: #059669;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-portal-badge svg {
  color: #16a34a;
}

:root[data-theme="dark"] .footer-portal-badge svg {
  color: #34d399;
}

/* Nav Columns (Columns 2, 3, 4, 5) with Vertical Dividers */
.footer-nav-col {
  padding: 0 24px;
  border-left: 1px solid rgba(191, 219, 254, 0.75);
  display: flex;
  flex-direction: column;
}

:root[data-theme="dark"] .footer-nav-col {
  border-left: 1px solid rgba(30, 58, 99, 0.75);
}

.footer-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #0f172a;
}

:root[data-theme="dark"] .footer-col-header {
  color: #f8fafc;
}

.footer-header-icon {
  color: #2563eb;
  flex-shrink: 0;
}

:root[data-theme="dark"] .footer-header-icon {
  color: #38bdf8;
}

.footer-col-header h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Clean Column Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.18s ease, transform 0.18s ease;
}

:root[data-theme="dark"] .footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #2563eb;
  transform: translateX(3px);
}

:root[data-theme="dark"] .footer-links a:hover {
  color: #38bdf8;
}

/* Stay Connected - Social Icons Row (matching image rounded squares) */
.footer-social-col {
  padding-right: 0;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  display: grid;
  place-items: center;
  color: #334155;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

:root[data-theme="dark"] .social-icon-btn {
  background: #0f1f3d;
  border-color: #1e3a63;
  color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.18);
  border-color: #60a5fa;
}

:root[data-theme="dark"] .social-icon-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  border-color: #38bdf8;
}

/* Social Icon Hover Accents */
.social-yt:hover { border-color: #f87171; background: #fff1f2; }
.social-ig:hover { border-color: #f472b6; background: #fdf2f8; }
.social-tg:hover { border-color: #38bdf8; background: #f0f9ff; }
.social-gh:hover { border-color: #475569; background: #f8fafc; }

:root[data-theme="dark"] .social-yt:hover { background: #3b1117; border-color: #ef4444; }
:root[data-theme="dark"] .social-ig:hover { background: #3b1129; border-color: #ec4899; }
:root[data-theme="dark"] .social-tg:hover { background: #0c2d48; border-color: #0284c7; }
:root[data-theme="dark"] .social-gh:hover { background: #1e293b; border-color: #64748b; }

/* Layered Wave Graphics (flowing at bottom of footer) */
.footer-wave-wrap {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  margin-top: 28px;
  pointer-events: none;
  z-index: 1;
}

.footer-wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-layer-1 {
  fill: rgba(186, 220, 252, 0.45);
}

.wave-layer-2 {
  fill: rgba(214, 235, 254, 0.75);
}

:root[data-theme="dark"] .wave-layer-1 {
  fill: rgba(19, 39, 73, 0.45);
}

:root[data-theme="dark"] .wave-layer-2 {
  fill: rgba(13, 27, 52, 0.75);
}

/* Bottom Bar: Status dot, copyright, and Back to top button */
.footer-bottom-container {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 14px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  flex-shrink: 0;
}

.footer-copyright {
  font-size: 12.5px;
  color: #475569;
}

:root[data-theme="dark"] .footer-copyright {
  color: #94a3b8;
}

.footer-copyright strong {
  color: #0f172a;
}

:root[data-theme="dark"] .footer-copyright strong {
  color: #f1f5f9;
}

/* Back to Top Pill Button (exact match to screenshot) */
.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #93c5fd;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

:root[data-theme="dark"] .back-to-top-btn {
  background: #0f1f3d;
  border-color: #2b4b7a;
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.back-to-top-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

:root[data-theme="dark"] .back-to-top-btn:hover {
  background: #38bdf8;
  color: #06101e;
  border-color: #38bdf8;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35);
}

.back-to-top-btn svg {
  transition: transform 0.2s ease;
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

/* Responsive Breakpoints: Tablet & Mobile */
@media (max-width: 1080px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
    column-gap: 24px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-nav-col {
    padding: 0;
    border-left: none;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 38px 0 24px;
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-nav-col {
    padding: 0;
    border-left: none;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .footer-bottom-left {
    justify-content: center;
  }
  .back-to-top-btn {
    align-self: center;
    min-height: 40px;
    padding: 9px 22px;
  }
}

/* ==========================================================================
   IncStudy Phase 1 Homepage & Header CTA (Image 1 Pixel-Perfect System)
   Modular Pastel Design Tokens reused across Phase 1 -> Phase 2 expansion
   ========================================================================== */

/* Header Active Underline + Desktop Utility Group + Blue Pill CTA */
.header-inner {
  gap: 20px;
}
.primary-navigation {
  gap: 2px;
}
.primary-navigation > a[aria-current="page"] {
  background: transparent;
  color: var(--primary);
}
.primary-navigation > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary);
}
.header-desktop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.header-cta-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.36);
}
@media (max-width: 1020px) {
  .header-inner {
    width: min(1280px, calc(100% - 32px));
    min-height: 68px;
    gap: 12px;
  }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
  }
  .brand-name {
    min-width: 0;
  }
  .primary-navigation,
  .header-desktop-actions {
    display: none !important;
  }
  .header-mobile-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .hamburger-btn {
    display: flex !important;
    flex-shrink: 0;
  }
  .mobile-theme-btn {
    display: grid !important;
    margin-left: 0;
    flex-shrink: 0;
  }
}

/* Shared Icon Theme Tokens (Chips, Cards, Floating Badges) */
.icon-theme-blue { background: #dbeafe; color: #2563eb; }
.icon-theme-indigo { background: #e0e7ff; color: #4f46e5; }
.icon-theme-green { background: #dcfce7; color: #16a34a; }
.icon-theme-pink { background: #ffe4e6; color: #e11d48; }
.icon-theme-purple { background: #f3e8ff; color: #9333ea; }
.icon-theme-amber { background: #fef3c7; color: #d97706; }

:root[data-theme="dark"] .icon-theme-blue { background: #1e3a8a; color: #93c5fd; }
:root[data-theme="dark"] .icon-theme-indigo { background: #312e81; color: #a5b4fc; }
:root[data-theme="dark"] .icon-theme-green { background: #064e3b; color: #6ee7b7; }
:root[data-theme="dark"] .icon-theme-pink { background: #4c0519; color: #fda4af; }
:root[data-theme="dark"] .icon-theme-purple { background: #3b0764; color: #d8b4fe; }
:root[data-theme="dark"] .icon-theme-amber { background: #451a03; color: #fcd34d; }

/* Common Homepage Container */
.home-container {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
}
.home-section {
  padding: 54px 0;
}
.home-section-tight {
  padding: 28px 0 54px;
}
.home-section-bottom {
  padding: 20px 0 64px;
}

/* ==========================================================================
   Hero v2 (Atmospheric Sky-Blue Banner + Student Visual + Floating Cards)
   ========================================================================== */
.hero-v2 {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid #e2e8f0;
  padding: 46px 0 54px;
}
:root[data-theme="dark"] .hero-v2 {
  background: linear-gradient(135deg, rgba(11, 21, 40, 0.44) 0%, rgba(16, 32, 61, 0.48) 52%, rgba(9, 19, 38, 0.54) 100%);
  border-bottom: 1px solid #1e3358;
}
.hero-v2-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
:root[data-theme="dark"] .hero-v2-bg {
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.12), transparent 38%),
    radial-gradient(circle at 82% 25%, rgba(124, 58, 237, 0.08), transparent 42%);
}
.hero-v2-inner {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 36px;
}
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}
:root[data-theme="dark"] .hero-pill-badge {
  background: rgba(15, 31, 61, 0.85);
  border-color: #284b82;
  color: #60a5fa;
}
.hero-v2-title {
  font-size: clamp(2.05rem, 4.1vw, 3.25rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 16px;
}
:root[data-theme="dark"] .hero-v2-title {
  color: #f8fafc;
}
.hero-gradient-text {
  display: block;
  background: linear-gradient(90deg, #2563eb 0%, #6366f1 55%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme="dark"] .hero-gradient-text {
  background: linear-gradient(90deg, #60a5fa 0%, #818cf8 55%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-v2-desc {
  font-size: 15.5px;
  line-height: 1.68;
  color: #475569;
  max-width: 540px;
  margin: 0 0 22px;
}
:root[data-theme="dark"] .hero-v2-desc {
  color: #cbd5e1;
}

/* Hero Feature Chips */
.hero-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px 8px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-chip:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}
:root[data-theme="dark"] .hero-chip {
  background: rgba(20, 34, 60, 0.88);
  border-color: #263d66;
  color: #e2e8f0;
}
:root[data-theme="dark"] .hero-chip:hover {
  border-color: #38bdf8;
  color: #60a5fa;
}
.hero-chip-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.hero-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.38);
}

/* Right Hero Visual Showcase & Floating Glass Cards */
.hero-v2-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-portrait-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 390px;
  display: grid;
  place-items: center;
}
.hero-portrait-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 72%);
  pointer-events: none;
}
.hero-portrait-frame {
  position: relative;
  z-index: 1;
  width: 340px;
  height: 375px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.16);
  background: #e6f2fe;
}
:root[data-theme="dark"] .hero-portrait-frame {
  border-color: #244070;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 122px;
  padding: 13px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff;
  box-shadow: 0 12px 30px rgba(27, 58, 104, 0.12);
  color: #1e293b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.24s ease;
}
.hero-float-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.2);
  color: #2563eb;
}
:root[data-theme="dark"] .hero-float-card {
  background: rgba(15, 29, 54, 0.92);
  border-color: #264270;
  color: #f1f5f9;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.float-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.float-top-left { top: 8px; left: 4px; }
.float-top-right { top: 20px; right: 0; }
.float-mid-left { bottom: 68px; left: -6px; }
.float-mid-right { bottom: 102px; right: -4px; }

.hero-partner-tag {
  position: absolute;
  bottom: 18px;
  right: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed #93c5fd;
  color: #1e293b;
  font-size: 11.5px;
  line-height: 1.25;
  transform: rotate(-4deg);
}
:root[data-theme="dark"] .hero-partner-tag {
  background: rgba(15, 31, 61, 0.9);
  border-color: #38bdf8;
  color: #e2e8f0;
}

/* ==========================================================================
   Section Headers & Reusable Pastel Tile Grid (Semester 1-6 / Phase 2 Courses)
   ========================================================================== */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.section-heading-lg {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.025em;
}
:root[data-theme="dark"] .section-heading-lg {
  color: #f8fafc;
}
.section-subcopy {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}
:root[data-theme="dark"] .section-subcopy {
  color: #94a3b8;
}
.section-header-stack {
  margin-bottom: 24px;
}
.outline-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 11px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.hero-primary-btn svg,
.outline-pill-btn svg,
.promo-solid-btn svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.hero-primary-btn:hover svg,
.outline-pill-btn:hover svg,
.promo-solid-btn:hover svg {
  transform: translateX(3px);
}
.outline-pill-btn:hover {
  transform: translateY(-2px);
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.14);
}
:root[data-theme="dark"] .outline-pill-btn {
  background: #13223e;
  border-color: #2a4678;
  color: #60a5fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}
:root[data-theme="dark"] .outline-pill-btn:hover {
  border-color: #60a5fa;
  background: #1b3158;
}

/* Pastel Tile Grid (Responsive Auto-Fit Token System) */
.pastel-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.pastel-tile {
  --tile-bg-start: #f8fafc;
  --tile-bg-end: #eef2ff;
  --tile-border: #cbd5e1;
  --tile-shadow: rgba(15, 23, 42, 0.1);
  --tile-icon-bg: #e2e8f0;
  --tile-accent: #2563eb;
  --tile-title: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 14px 18px;
  border-radius: 20px;
  background: linear-gradient(155deg, var(--tile-bg-start) 0%, var(--tile-bg-end) 100%);
  border: 1.5px solid var(--tile-border);
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.045),
    0 12px 26px -6px var(--tile-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}
.pastel-tile:hover {
  transform: translateY(-5px);
  border-color: var(--tile-accent);
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.06),
    0 18px 34px -8px var(--tile-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.pastel-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tile-icon-bg);
  color: var(--tile-accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.pastel-tile-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--tile-title);
  margin-bottom: 3px;
}
.pastel-tile-sub {
  font-size: 12px;
  color: #475569;
  margin-bottom: 14px;
}
:root[data-theme="dark"] .pastel-tile-sub {
  color: #cbd5e1;
}
.pastel-tile-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--tile-accent);
  border: 1.5px solid var(--tile-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -2px var(--tile-shadow);
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.pastel-tile-arrow svg {
  display: block;
}
.pastel-tile:hover .pastel-tile-arrow {
  transform: translateX(3px);
  background: var(--tile-accent);
  border-color: var(--tile-accent);
  color: #ffffff;
}
:root[data-theme="dark"] .pastel-tile {
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.26),
    0 14px 28px -6px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .pastel-tile-arrow {
  background: rgba(255, 255, 255, 0.1);
}

/* Homepage Crisp White Canvas + Fixed Viewport Geometry */
body.home-page::before {
  background-color: #ffffff;
  background-image: var(--geo-pattern);
  background-size: 360px 320px;
}
:root[data-theme="dark"] body.home-page::before {
  background-color: #0b1220;
  background-image:
    var(--geo-pattern),
    linear-gradient(180deg, #0b1220 0%, #0d1729 55%, #09101e 100%);
  background-size: 360px 320px, 100% 100%;
}

/* Pastel Tile Theme Tokens (6 Distinct Color Identities) */
.pastel-tile-purple {
  --tile-bg-start: #f9f6ff; --tile-bg-end: #ede7fe; --tile-border: #c4b5fd;
  --tile-shadow: rgba(124, 58, 237, 0.16); --tile-icon-bg: #e9d5ff; --tile-accent: #6d28d9; --tile-title: #4c1d95;
}
.pastel-tile-blue {
  --tile-bg-start: #f3faff; --tile-bg-end: #dff1fe; --tile-border: #7dd3fc;
  --tile-shadow: rgba(2, 132, 199, 0.16); --tile-icon-bg: #dbeafe; --tile-accent: #0369a1; --tile-title: #0c4a6e;
}
.pastel-tile-green {
  --tile-bg-start: #f0fef7; --tile-bg-end: #d1fae5; --tile-border: #6ee7b7;
  --tile-shadow: rgba(5, 150, 105, 0.16); --tile-icon-bg: #bbf7d0; --tile-accent: #047857; --tile-title: #064e3b;
}
.pastel-tile-amber {
  --tile-bg-start: #fffdf2; --tile-bg-end: #fef0c7; --tile-border: #fcd34d;
  --tile-shadow: rgba(217, 119, 6, 0.16); --tile-icon-bg: #fde68a; --tile-accent: #b45309; --tile-title: #78350f;
}
.pastel-tile-pink {
  --tile-bg-start: #fff5f7; --tile-bg-end: #ffe1e8; --tile-border: #fda4af;
  --tile-shadow: rgba(225, 29, 72, 0.16); --tile-icon-bg: #fecdd3; --tile-accent: #be123c; --tile-title: #881337;
}
.pastel-tile-indigo {
  --tile-bg-start: #f4f6ff; --tile-bg-end: #e0e7ff; --tile-border: #a5b4fc;
  --tile-shadow: rgba(79, 70, 229, 0.16); --tile-icon-bg: #c7d2fe; --tile-accent: #4338ca; --tile-title: #312e81;
}
.pastel-tile-violet {
  --tile-bg-start: #fbf6ff; --tile-bg-end: #f1e3ff; --tile-border: #d8b4fe;
  --tile-shadow: rgba(147, 51, 234, 0.16); --tile-icon-bg: #e9d5ff; --tile-accent: #7e22ce; --tile-title: #581c87;
}

:root[data-theme="dark"] .pastel-tile-purple {
  --tile-bg-start: #211a3f; --tile-bg-end: #191330; --tile-border: #553ea3;
  --tile-icon-bg: rgba(139, 92, 246, 0.24); --tile-accent: #c4b5fd; --tile-title: #f5f3ff;
}
:root[data-theme="dark"] .pastel-tile-blue {
  --tile-bg-start: #102845; --tile-bg-end: #0b1c33; --tile-border: #255b96;
  --tile-icon-bg: rgba(56, 189, 248, 0.2); --tile-accent: #7dd3fc; --tile-title: #f0f9ff;
}
:root[data-theme="dark"] .pastel-tile-green {
  --tile-bg-start: #0d3228; --tile-bg-end: #09221b; --tile-border: #1e785b;
  --tile-icon-bg: rgba(52, 211, 153, 0.2); --tile-accent: #6ee7b7; --tile-title: #ecfdf5;
}
:root[data-theme="dark"] .pastel-tile-amber {
  --tile-bg-start: #33230f; --tile-bg-end: #24180a; --tile-border: #80541b;
  --tile-icon-bg: rgba(251, 191, 36, 0.2); --tile-accent: #fcd34d; --tile-title: #fffbeb;
}
:root[data-theme="dark"] .pastel-tile-pink {
  --tile-bg-start: #381623; --tile-bg-end: #290e18; --tile-border: #872e50;
  --tile-icon-bg: rgba(251, 113, 133, 0.2); --tile-accent: #fda4af; --tile-title: #fff1f2;
}
:root[data-theme="dark"] .pastel-tile-indigo {
  --tile-bg-start: #1a214a; --tile-bg-end: #131838; --tile-border: #3d4ba3;
  --tile-icon-bg: rgba(129, 140, 248, 0.22); --tile-accent: #a5b4fc; --tile-title: #eef2ff;
}
:root[data-theme="dark"] .pastel-tile-violet {
  --tile-bg-start: #281840; --tile-bg-end: #1d1030; --tile-border: #633899;
  --tile-icon-bg: rgba(192, 132, 252, 0.22); --tile-accent: #d8b4fe; --tile-title: #faf5ff;
}
:root[data-theme="dark"] .pastel-tile:hover .pastel-tile-arrow {
  color: #0f172a;
}

/* ==========================================================================
   What You Get 4-Column Feature Cards (Crisp Border + Top Ribbon + Arrow Pill)
   ========================================================================== */
.feature-four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-box-card {
  --fcard-tint: #f8fafc;
  --fcard-border: #cbd5e1;
  --fcard-accent: #2563eb;
  --fcard-title: #0f172a;
  --fcard-shadow: rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff 28%, var(--fcard-tint) 100%);
  border: 1.5px solid var(--fcard-border);
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 12px 28px -6px var(--fcard-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.feature-box-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--fcard-accent);
}
.feature-box-arrow {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--fcard-accent);
  border: 1.5px solid var(--fcard-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px -2px var(--fcard-shadow);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.feature-box-arrow svg {
  display: block;
}
.feature-box-card:hover {
  transform: translateY(-4px);
  border-color: var(--fcard-accent);
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.05),
    0 18px 34px -8px var(--fcard-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.feature-box-card:hover .feature-box-arrow {
  transform: translateX(3px);
  background: var(--fcard-accent);
  border-color: var(--fcard-accent);
  color: #ffffff;
}
.feature-card-green { --fcard-tint: #ecfdf5; --fcard-border: #86efac; --fcard-accent: #059669; --fcard-title: #064e3b; --fcard-shadow: rgba(5, 150, 105, 0.14); }
.feature-card-blue  { --fcard-tint: #eff6ff; --fcard-border: #93c5fd; --fcard-accent: #2563eb; --fcard-title: #1e3a8a; --fcard-shadow: rgba(37, 99, 235, 0.14); }
.feature-card-pink  { --fcard-tint: #fff1f2; --fcard-border: #fda4af; --fcard-accent: #e11d48; --fcard-title: #881337; --fcard-shadow: rgba(225, 29, 72, 0.14); }
.feature-card-amber { --fcard-tint: #fffbeb; --fcard-border: #fcd34d; --fcard-accent: #d97706; --fcard-title: #78350f; --fcard-shadow: rgba(217, 119, 6, 0.14); }

:root[data-theme="dark"] .feature-box-card {
  background: linear-gradient(160deg, #152338 28%, var(--fcard-tint) 100%);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.26),
    0 14px 28px -6px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
:root[data-theme="dark"] .feature-card-green { --fcard-tint: #0d2b22; --fcard-border: #1e7054; --fcard-accent: #34d399; --fcard-title: #ecfdf5; }
:root[data-theme="dark"] .feature-card-blue  { --fcard-tint: #102546; --fcard-border: #255794; --fcard-accent: #60a5fa; --fcard-title: #eff6ff; }
:root[data-theme="dark"] .feature-card-pink  { --fcard-tint: #311422; --fcard-border: #7f2948; --fcard-accent: #fb7185; --fcard-title: #fff1f2; }
:root[data-theme="dark"] .feature-card-amber { --fcard-tint: #2c1e0c; --fcard-border: #784e18; --fcard-accent: #fbbf24; --fcard-title: #fffbeb; }
:root[data-theme="dark"] .feature-box-arrow {
  background: rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .feature-box-card:hover .feature-box-arrow {
  color: #0f172a;
}
.feature-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature-box-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--fcard-title);
  margin: 0 0 6px;
}
.feature-box-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   2-Column Split Promo Section + Bottom CTA Banner
   ========================================================================== */
.promo-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 28px;
  border-radius: 22px;
  border: 1.5px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.promo-card-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.04),
    0 16px 34px -8px rgba(37, 99, 235, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.promo-card-cream {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.04),
    0 16px 34px -8px rgba(217, 119, 6, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
:root[data-theme="dark"] .promo-card-blue {
  background: linear-gradient(135deg, #10213e 0%, #162e54 100%);
  border-color: #29528f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28), 0 18px 34px -8px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
:root[data-theme="dark"] .promo-card-cream {
  background: linear-gradient(135deg, #271b09 0%, #3a270c 100%);
  border-color: #784f18;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28), 0 18px 34px -8px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.promo-copy {
  flex: 1;
}
.promo-copy h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}
:root[data-theme="dark"] .promo-copy h3 {
  color: #f8fafc;
}
.promo-copy p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 18px;
}
:root[data-theme="dark"] .promo-copy p {
  color: #cbd5e1;
}
.promo-heading-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.promo-heading-with-icon h3 {
  margin: 0;
}
.promo-bulb-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fde68a;
  color: #b45309;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.promo-solid-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.promo-solid-btn:hover {
  transform: translateY(-2px);
  background: #1d4ed8;
}
.promo-graphic {
  flex-shrink: 0;
}

/* Bottom CTA Banner */
.bottom-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f3f0ff 0%, #e7f0ff 100%);
  border: 1.5px solid #c4b5fd;
  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.04),
    0 18px 36px -8px rgba(79, 70, 229, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
:root[data-theme="dark"] .bottom-cta-banner {
  background: linear-gradient(135deg, #171936 0%, #142242 100%);
  border-color: #38448a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28), 0 18px 36px -8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.bottom-cta-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cta-target-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #ffffff;
  color: #e11d48;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.14);
  flex-shrink: 0;
}
:root[data-theme="dark"] .cta-target-badge {
  background: #24193d;
  color: #fb7185;
}
.bottom-cta-left h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
:root[data-theme="dark"] .bottom-cta-left h2 {
  color: #f8fafc;
}
.bottom-cta-left p {
  margin: 0;
  font-size: 14px;
  color: #475569;
}
:root[data-theme="dark"] .bottom-cta-left p {
  color: #cbd5e1;
}
.bottom-cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cta-micro-copy {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}
:root[data-theme="dark"] .cta-micro-copy {
  color: #94a3b8;
}

/* ==========================================================================
   Homepage Responsive Breakpoints (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1120px) {
  .pastel-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .feature-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .hero-v2-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-v2-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-v2-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-chip-grid {
    justify-content: center;
  }
  .hero-v2-visual {
    min-width: 0;
  }
  .promo-split-grid {
    grid-template-columns: 1fr;
  }
  .promo-card,
  .promo-copy {
    min-width: 0;
  }
  .bottom-cta-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bottom-cta-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bottom-cta-right {
    width: 100%;
    align-items: center;
  }
}
@media (max-width: 640px) {
  .header-inner {
    width: calc(100% - 24px);
    min-height: 64px;
    gap: 8px;
  }
  .brand {
    gap: 9px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    flex-shrink: 0;
  }
  .brand-mark svg {
    width: 19px;
    height: 19px;
  }
  .brand-name {
    font-size: 18px;
    line-height: 1.05;
  }
  .brand-name small {
    font-size: 7.5px;
    letter-spacing: 0.05em;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-mobile-actions {
    gap: 6px;
  }
  .header-mobile-actions .header-icon-btn,
  .header-mobile-actions .theme-toggle,
  .header-mobile-actions .hamburger-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-left: 0;
  }
  .home-container,
  .footer-container,
  .footer-bottom-container {
    width: calc(100% - 28px);
  }
  .home-section {
    padding: 36px 0;
  }
  .home-section-tight {
    padding: 20px 0 36px;
  }
  .home-section-bottom {
    padding: 14px 0 44px;
  }
  .hero-v2 {
    padding: 28px 0 36px;
  }
  .hero-v2-inner {
    width: calc(100% - 28px);
    gap: 24px;
  }
  .hero-pill-badge {
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 14px;
  }
  .hero-v2-title {
    font-size: clamp(1.75rem, 7.2vw, 2.25rem);
    margin-bottom: 12px;
  }
  .hero-v2-desc {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .hero-chip-grid {
    gap: 8px;
    margin-bottom: 20px;
  }
  .hero-chip {
    font-size: 12px;
    padding: 7px 11px 7px 8px;
    border-radius: 10px;
  }
  .hero-v2-actions {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-primary-btn {
    width: 100%;
    max-width: 300px;
    padding: 13px 20px;
  }
  .hero-portrait-stage {
    max-width: 332px;
    min-height: 295px;
    margin: 0 auto;
  }
  .hero-portrait-glow {
    width: 245px;
    height: 245px;
  }
  .hero-portrait-frame {
    width: 224px;
    height: 256px;
    border-radius: 22px;
  }
  .hero-float-card {
    width: 96px;
    padding: 9px 7px;
    gap: 6px;
    border-radius: 13px;
    font-size: 10.5px;
  }
  .float-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .float-top-left { top: 4px; left: 0; }
  .float-top-right { top: 6px; right: 0; }
  .float-mid-left { bottom: 32px; left: 0; }
  .float-mid-right { bottom: 52px; right: 0; }
  .hero-partner-tag {
    bottom: 6px;
    right: 6px;
    font-size: 10px;
    padding: 5px 9px;
  }
  .section-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 20px;
  }
  .section-title-group {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .section-header-stack {
    text-align: center;
    margin-bottom: 18px;
  }
  .pastel-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .pastel-tile {
    padding: 18px 12px 16px;
    border-radius: 18px;
    min-width: 0;
  }
  .feature-four-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-box-card {
    align-items: center;
    text-align: center;
    padding: 20px 18px;
    min-width: 0;
  }
  .feature-box-icon {
    margin-bottom: 12px;
  }
  .feature-box-arrow {
    top: 18px;
    right: 16px;
  }
  .promo-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 18px;
    gap: 16px;
    border-radius: 20px;
  }
  .promo-graphic {
    order: -1;
    align-self: center;
  }
  .promo-heading-with-icon {
    justify-content: center;
  }
  .promo-solid-btn,
  .promo-card .outline-pill-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
  .bottom-cta-banner {
    padding: 24px 18px;
    gap: 18px;
    border-radius: 20px;
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    padding-right: 0;
  }
  .footer-portal-badge {
    align-self: center;
  }
  .footer-nav-col {
    min-width: 0;
  }
  .footer-about-col,
  .footer-social-col {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
  }
  .footer-about-col .footer-col-header,
  .footer-social-col .footer-col-header {
    justify-content: center;
    margin-bottom: 12px;
  }
  .footer-about-col .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }
  .footer-social-icons {
    justify-content: center;
    gap: 12px;
  }
  .footer-social-icons .social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .footer-bottom-inner {
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .footer-bottom-left {
    justify-content: center;
  }
  .back-to-top-btn {
    align-self: center;
    width: 100%;
    max-width: 220px;
    justify-content: center;
    min-height: 42px;
  }
  .exam-q-title {
    min-width: 0;
  }
}
@media (max-width: 350px) {
  .brand-name small {
    display: none;
  }
}

/* ==========================================================================
   Complete Content Sections: Curriculum Roadmap, Exam Blueprint & FAQ Accordion
   AdSense-Ready Structured Content (Desktop & Mobile + Light/Dark Support)
   ========================================================================== */
.home-section-tinted {
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
:root[data-theme="dark"] .home-section-tinted {
  background: linear-gradient(180deg, rgba(13, 26, 51, 0.38) 0%, rgba(17, 34, 66, 0.46) 52%, rgba(12, 23, 44, 0.38) 100%);
  border-top-color: #1f355c;
  border-bottom-color: #1f355c;
}
.editorial-overview-card {
  position: relative;
  overflow: hidden;
  padding: 20px 24px 20px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid #bfdbfe;
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 12px 28px -6px rgba(37, 99, 235, 0.12),
    inset 4px 0 0 #2563eb;
  margin-bottom: 24px;
}
:root[data-theme="dark"] .editorial-overview-card {
  background: rgba(20, 32, 54, 0.94);
  border-color: #28487d;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 12px 28px -6px rgba(0, 0, 0, 0.4), inset 4px 0 0 #60a5fa;
}
.editorial-overview-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

/* Active BCA Semester Hubs Grid (Balanced 2-Column Responsive Layout) */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 34px;
}
.roadmap-card {
  --rc-accent: #2563eb;
  --rc-accent-deep: #1d4ed8;
  --rc-border: #bfdbfe;
  --rc-tint: #eff6ff;
  --rc-tint-soft: #e0f2fe;
  --rc-shadow: rgba(37, 99, 235, 0.14);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff 18%, var(--rc-tint) 100%);
  border: 1.5px solid var(--rc-border);
  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.045),
    0 14px 30px -6px var(--rc-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  min-width: 0;
}
.roadmap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rc-accent);
}
.roadmap-card:hover {
  transform: translateY(-4px);
  border-color: var(--rc-accent);
  box-shadow:
    0 5px 12px rgba(15, 23, 42, 0.06),
    0 20px 38px -8px var(--rc-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}
.roadmap-card-purple {
  --rc-accent: #7c3aed; --rc-accent-deep: #6d28d9; --rc-border: #c4b5fd;
  --rc-tint: #f5f0ff; --rc-tint-soft: #ede9fe; --rc-shadow: rgba(124, 58, 237, 0.16);
}
.roadmap-card-blue {
  --rc-accent: #0284c7; --rc-accent-deep: #0369a1; --rc-border: #7dd3fc;
  --rc-tint: #eef8ff; --rc-tint-soft: #e0f2fe; --rc-shadow: rgba(2, 132, 199, 0.16);
}
.roadmap-card-green {
  --rc-accent: #059669; --rc-accent-deep: #047857; --rc-border: #6ee7b7;
  --rc-tint: #edfcf5; --rc-tint-soft: #d1fae5; --rc-shadow: rgba(5, 150, 105, 0.16);
}
.roadmap-card-amber {
  --rc-accent: #d97706; --rc-accent-deep: #b45309; --rc-border: #fcd34d;
  --rc-tint: #fff9e8; --rc-tint-soft: #fef3c7; --rc-shadow: rgba(217, 119, 6, 0.16);
}
.roadmap-card-pink {
  --rc-accent: #e11d48; --rc-accent-deep: #be123c; --rc-border: #fda4af;
  --rc-tint: #fff0f4; --rc-tint-soft: #ffe4e6; --rc-shadow: rgba(225, 29, 72, 0.16);
}
.roadmap-card-indigo {
  --rc-accent: #4f46e5; --rc-accent-deep: #4338ca; --rc-border: #a5b4fc;
  --rc-tint: #eef2ff; --rc-tint-soft: #e0e7ff; --rc-shadow: rgba(79, 70, 229, 0.16);
}
.roadmap-card-violet {
  --rc-accent: #9333ea; --rc-accent-deep: #7e22ce; --rc-border: #d8b4fe;
  --rc-tint: #faf2ff; --rc-tint-soft: #f3e8ff; --rc-shadow: rgba(147, 51, 234, 0.16);
}

:root[data-theme="dark"] .roadmap-card {
  background: linear-gradient(160deg, #162238 18%, var(--rc-tint) 100%);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.28),
    0 16px 32px -6px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
:root[data-theme="dark"] .roadmap-card-purple {
  --rc-accent: #a78bfa; --rc-accent-deep: #c4b5fd; --rc-border: #553ea3;
  --rc-tint: #231942; --rc-tint-soft: rgba(139, 92, 246, 0.22);
}
:root[data-theme="dark"] .roadmap-card-blue {
  --rc-accent: #38bdf8; --rc-accent-deep: #7dd3fc; --rc-border: #255b96;
  --rc-tint: #112947; --rc-tint-soft: rgba(56, 189, 248, 0.18);
}
:root[data-theme="dark"] .roadmap-card-green {
  --rc-accent: #34d399; --rc-accent-deep: #6ee7b7; --rc-border: #1e785b;
  --rc-tint: #0e3026; --rc-tint-soft: rgba(52, 211, 153, 0.18);
}
:root[data-theme="dark"] .roadmap-card-amber {
  --rc-accent: #fbbf24; --rc-accent-deep: #fcd34d; --rc-border: #80541b;
  --rc-tint: #2f200d; --rc-tint-soft: rgba(251, 191, 36, 0.18);
}
:root[data-theme="dark"] .roadmap-card-pink {
  --rc-accent: #fb7185; --rc-accent-deep: #fda4af; --rc-border: #872e50;
  --rc-tint: #361623; --rc-tint-soft: rgba(251, 113, 133, 0.18);
}
:root[data-theme="dark"] .roadmap-card-indigo {
  --rc-accent: #818cf8; --rc-accent-deep: #a5b4fc; --rc-border: #3d4ba3;
  --rc-tint: #192045; --rc-tint-soft: rgba(129, 140, 248, 0.2);
}
:root[data-theme="dark"] .roadmap-card-violet {
  --rc-accent: #c084fc; --rc-accent-deep: #d8b4fe; --rc-border: #633899;
  --rc-tint: #26183d; --rc-tint-soft: rgba(192, 132, 252, 0.2);
}

.roadmap-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.roadmap-sem-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--rc-tint-soft);
  color: var(--rc-accent-deep);
  border: 1px solid var(--rc-border);
}
.roadmap-year-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.roadmap-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--rc-accent-deep);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--rc-border);
  line-height: 1.38;
}
.roadmap-subject-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.roadmap-subject-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 13.5px;
  line-height: 1.45;
}
:root[data-theme="dark"] .roadmap-subject-list li {
  background: rgba(11, 18, 34, 0.48);
  border-color: rgba(255, 255, 255, 0.08);
}
.roadmap-sub-code {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--rc-accent-deep);
  background: var(--rc-tint-soft);
  border: 1px solid var(--rc-border);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.015em;
}
.roadmap-sub-name {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  color: #1e293b;
}
:root[data-theme="dark"] .roadmap-sub-name {
  color: #e2e8f0;
}
.roadmap-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rc-accent-deep);
  text-decoration: none;
}
:root[data-theme="dark"] .roadmap-link {
  border-top-color: rgba(255, 255, 255, 0.09);
}
.roadmap-link-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--rc-accent-deep);
  border: 1.5px solid var(--rc-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px -2px var(--rc-shadow);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.roadmap-link-arrow svg {
  display: block;
}
:root[data-theme="dark"] .roadmap-link-arrow {
  background: rgba(255, 255, 255, 0.08);
}
.roadmap-link:hover {
  color: var(--rc-accent);
}
.roadmap-card:hover .roadmap-link-arrow,
.roadmap-link:hover .roadmap-link-arrow {
  transform: translateX(3px);
  background: var(--rc-accent);
  border-color: var(--rc-accent);
  color: #ffffff;
}
:root[data-theme="dark"] .roadmap-card:hover .roadmap-link-arrow,
:root[data-theme="dark"] .roadmap-link:hover .roadmap-link-arrow {
  color: #0f172a;
}

/* Direct Live Topic Cards */
.featured-topics-wrap {
  margin-top: 8px;
}
.featured-topics-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
}
.featured-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.featured-topic-card {
  --ft-accent: #2563eb;
  --ft-accent-deep: #1d4ed8;
  --ft-border: #bfdbfe;
  --ft-tint: #eff6ff;
  --ft-shadow: rgba(37, 99, 235, 0.13);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 28%, var(--ft-tint) 100%);
  border: 1.5px solid var(--ft-border);
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 10px 24px -5px var(--ft-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  text-decoration: none;
  min-width: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.featured-topic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--ft-accent);
}
.featured-topic-purple { --ft-accent: #7c3aed; --ft-accent-deep: #6d28d9; --ft-border: #c4b5fd; --ft-tint: #f5f0ff; --ft-shadow: rgba(124, 58, 237, 0.14); }
.featured-topic-blue   { --ft-accent: #0284c7; --ft-accent-deep: #0369a1; --ft-border: #7dd3fc; --ft-tint: #eef8ff; --ft-shadow: rgba(2, 132, 199, 0.14); }
.featured-topic-amber  { --ft-accent: #d97706; --ft-accent-deep: #b45309; --ft-border: #fcd34d; --ft-tint: #fff9e8; --ft-shadow: rgba(217, 119, 6, 0.14); }
.featured-topic-pink   { --ft-accent: #e11d48; --ft-accent-deep: #be123c; --ft-border: #fda4af; --ft-tint: #fff0f4; --ft-shadow: rgba(225, 29, 72, 0.14); }
.featured-topic-green  { --ft-accent: #059669; --ft-accent-deep: #047857; --ft-border: #6ee7b7; --ft-tint: #edfcf5; --ft-shadow: rgba(5, 150, 105, 0.14); }
.featured-topic-indigo { --ft-accent: #4f46e5; --ft-accent-deep: #4338ca; --ft-border: #a5b4fc; --ft-tint: #eef2ff; --ft-shadow: rgba(79, 70, 229, 0.14); }
.featured-topic-violet { --ft-accent: #9333ea; --ft-accent-deep: #7e22ce; --ft-border: #d8b4fe; --ft-tint: #faf2ff; --ft-shadow: rgba(147, 51, 234, 0.14); }

:root[data-theme="dark"] .featured-topic-card {
  background: linear-gradient(160deg, #162238 28%, var(--ft-tint) 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), 0 12px 24px -6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
:root[data-theme="dark"] .featured-topic-purple { --ft-accent: #a78bfa; --ft-accent-deep: #c4b5fd; --ft-border: #553ea3; --ft-tint: #231942; }
:root[data-theme="dark"] .featured-topic-blue   { --ft-accent: #38bdf8; --ft-accent-deep: #7dd3fc; --ft-border: #255b96; --ft-tint: #112947; }
:root[data-theme="dark"] .featured-topic-amber  { --ft-accent: #fbbf24; --ft-accent-deep: #fcd34d; --ft-border: #80541b; --ft-tint: #2f200d; }
:root[data-theme="dark"] .featured-topic-pink   { --ft-accent: #fb7185; --ft-accent-deep: #fda4af; --ft-border: #872e50; --ft-tint: #361623; }
:root[data-theme="dark"] .featured-topic-green  { --ft-accent: #34d399; --ft-accent-deep: #6ee7b7; --ft-border: #1e785b; --ft-tint: #0e3026; }
:root[data-theme="dark"] .featured-topic-indigo { --ft-accent: #818cf8; --ft-accent-deep: #a5b4fc; --ft-border: #3d4ba3; --ft-tint: #192045; }
:root[data-theme="dark"] .featured-topic-violet { --ft-accent: #c084fc; --ft-accent-deep: #d8b4fe; --ft-border: #633899; --ft-tint: #26183d; }

.featured-topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--ft-accent);
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.05),
    0 16px 30px -6px var(--ft-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.featured-topic-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.featured-topic-code {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--ft-border);
}
.featured-topic-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ft-accent-deep);
  border: 1.5px solid var(--ft-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px -2px var(--ft-shadow);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.featured-topic-arrow svg {
  display: block;
}
.featured-topic-card:hover .featured-topic-arrow {
  transform: translateX(3px);
  background: var(--ft-accent);
  border-color: var(--ft-accent);
  color: #ffffff;
}
:root[data-theme="dark"] .featured-topic-arrow {
  background: rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .featured-topic-card:hover .featured-topic-arrow {
  color: #0f172a;
}
.featured-topic-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ft-accent-deep);
  margin-bottom: 6px;
}
.featured-topic-summary {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Exam Marking Blueprint & 4-Step Strategy */
#exam-strategy {
  background: rgba(255, 255, 255, 0.36);
}
:root[data-theme="dark"] #exam-strategy {
  background:
    radial-gradient(circle at 8% 20%, rgba(56, 189, 248, 0.08), transparent 36%),
    radial-gradient(circle at 92% 80%, rgba(167, 139, 250, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(11, 19, 34, 0.34) 0%, rgba(15, 27, 50, 0.42) 100%);
}
.guide-split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 20px;
}
.guide-panel {
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid #cbdcf6;
  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.04),
    0 14px 32px -8px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  min-width: 0;
}
:root[data-theme="dark"] .guide-panel {
  background: rgba(20, 32, 54, 0.95);
  border-color: #28426f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28), 0 16px 32px -8px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.guide-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.guide-panel-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 3px;
}
.guide-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  background: var(--tint);
  padding: 3px 10px;
  border-radius: 999px;
}
.guide-panel-intro {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 16px;
}
.blueprint-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blueprint-item {
  --bp-accent: #2563eb;
  position: relative;
  overflow: hidden;
  padding: 14px 16px 14px 18px;
  border-radius: 14px;
  background: var(--soft);
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03), inset 4px 0 0 var(--bp-accent);
}
.blueprint-item-blue   { background: #eff6ff; border-color: #93c5fd; --bp-accent: #2563eb; }
.blueprint-item-green  { background: #ecfdf5; border-color: #86efac; --bp-accent: #059669; }
.blueprint-item-purple { background: #f5f3ff; border-color: #c4b5fd; --bp-accent: #7c3aed; }
:root[data-theme="dark"] .blueprint-item-blue   { background: #122645; border-color: #255391; --bp-accent: #60a5fa; }
:root[data-theme="dark"] .blueprint-item-green  { background: #0e2e25; border-color: #1c694e; --bp-accent: #34d399; }
:root[data-theme="dark"] .blueprint-item-purple { background: #21183d; border-color: #4b358f; --bp-accent: #a78bfa; }
.blueprint-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.blueprint-item-head strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
}
.blueprint-marks {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
}
.blueprint-item p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.strategy-steps {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.strategy-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.strategy-step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 900;
  flex-shrink: 0;
}
.strategy-step-item h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px;
}
.strategy-step-item p {
  font-size: 13px;
  line-height: 1.58;
  color: var(--muted);
  margin: 0;
}
.editorial-trust-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(90deg, #ecfdf5 0%, #eff6ff 100%);
  border: 1.5px solid #86efac;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03), 0 10px 24px -6px rgba(16, 185, 129, 0.12);
}
:root[data-theme="dark"] .editorial-trust-bar {
  background: linear-gradient(90deg, #0d2b22 0%, #102442 100%);
  border-color: #1f6b51;
}
.editorial-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.editorial-trust-bar p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* FAQ Interactive Accordion */
#faq {
  background: rgba(255, 255, 255, 0.44);
  border-top: 1px solid #e2e8f0;
}
:root[data-theme="dark"] #faq {
  background: linear-gradient(180deg, rgba(13, 22, 41, 0.36) 0%, rgba(16, 28, 52, 0.44) 55%, rgba(11, 18, 32, 0.36) 100%);
  border-top-color: #1d2e4d;
}
.faq-header-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 26px;
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid #d5e2f5;
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.035),
    0 10px 22px -6px rgba(37, 99, 235, 0.09);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
:root[data-theme="dark"] .faq-item {
  background: #142034;
  border-color: #263d63;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.24), 0 10px 22px -6px rgba(0, 0, 0, 0.36);
}
.faq-item[open] {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  border-color: #60a5fa;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04), 0 14px 30px -6px rgba(37, 99, 235, 0.14);
}
:root[data-theme="dark"] .faq-item[open] {
  background: linear-gradient(180deg, #172742 0%, #122036 100%);
  border-color: #3b6cc2;
}
.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.45;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-chevron {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.22s ease, background 0.22s ease;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: var(--tint);
}
.faq-answer {
  padding: 0 22px 18px;
}
.faq-answer p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 960px) {
  .roadmap-grid,
  .featured-topics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-split-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .roadmap-grid,
  .featured-topics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .editorial-overview-card,
  .roadmap-card,
  .guide-panel {
    padding: 18px 16px;
  }
  .editorial-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .faq-question {
    padding: 16px;
    font-size: 14px;
  }
  .faq-answer {
    padding: 0 16px 16px;
  }
  .featured-topics-heading {
    text-align: center;
  }
}

/* Global Mobile Overflow Guard (keeps position:sticky working while blocking horizontal pan) */
html, body {
  max-width: 100%;
  overflow-x: clip;
}
.site-header,
.site-main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
.hero-v2-inner > *,
.home-container > *,
.footer-main-grid > *,
.guide-split-layout > * {
  min-width: 0;
}

/* ==========================================================================
   Disable Default Browser Blue Tap Highlight, Click Focus Box & Sticky Touch Hover
   ========================================================================== */
*,
*::before,
*::after,
a,
button,
summary,
input,
[role="button"] {
  -webkit-tap-highlight-color: transparent !important;
}

a:focus,
button:focus,
summary:focus,
[role="button"]:focus,
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
  outline: none !important;
}

input:focus-visible {
  outline: 2px solid rgba(39, 100, 231, 0.35);
  outline-offset: 2px;
}

@media (hover: none), (pointer: coarse) {
  a:hover {
    color: inherit;
  }
  .primary-navigation > a:hover,
  .drawer-item:hover {
    background: transparent;
    color: var(--text);
  }
  .drawer-item.active:hover {
    background: var(--soft);
    color: var(--primary);
  }
  .header-icon-btn:hover,
  .theme-toggle:hover,
  .hamburger-btn:hover {
    border-color: var(--border);
    color: var(--text);
    background: var(--surface);
  }
  .back-to-top-btn:hover {
    background: #ffffff;
    color: #2563eb;
    border-color: #93c5fd;
    transform: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  }
  :root[data-theme="dark"] .back-to-top-btn:hover {
    background: #0f1f3d;
    color: #38bdf8;
    border-color: #2b4b7a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  .outline-pill-btn:hover {
    transform: none;
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1d4ed8;
  }
  :root[data-theme="dark"] .outline-pill-btn:hover {
    background: #13223e;
    border-color: #2a4678;
    color: #60a5fa;
  }
  .pastel-tile:hover,
  .hero-chip:hover,
  .hero-float-card:hover,
  .feature-box-card:hover,
  .featured-topic-card:hover,
  .roadmap-card:hover,
  .social-icon-btn:hover,
  .hero-primary-btn:hover,
  .promo-solid-btn:hover,
  .header-cta-pill:hover,
  .app-card:hover,
  .pastel-tile:hover .pastel-tile-arrow,
  .feature-box-card:hover .feature-box-arrow,
  .roadmap-card:hover .roadmap-link-arrow,
  .roadmap-link:hover .roadmap-link-arrow,
  .featured-topic-card:hover .featured-topic-arrow,
  .hero-primary-btn:hover svg,
  .outline-pill-btn:hover svg,
  .promo-solid-btn:hover svg {
    transform: none;
  }
  .pastel-tile:hover .pastel-tile-arrow {
    background: #ffffff;
    border-color: var(--tile-border);
    color: var(--tile-accent);
  }
  .feature-box-card:hover .feature-box-arrow {
    background: #ffffff;
    border-color: var(--fcard-border);
    color: var(--fcard-accent);
  }
  .roadmap-card:hover .roadmap-link-arrow,
  .roadmap-link:hover .roadmap-link-arrow {
    background: #ffffff;
    border-color: var(--rc-border);
    color: var(--rc-accent-deep);
  }
  .featured-topic-card:hover .featured-topic-arrow {
    background: #ffffff;
    border-color: var(--ft-border);
    color: var(--ft-accent-deep);
  }
  :root[data-theme="dark"] .pastel-tile:hover .pastel-tile-arrow {
    background: rgba(255, 255, 255, 0.1);
    color: var(--tile-accent);
  }
  :root[data-theme="dark"] .feature-box-card:hover .feature-box-arrow {
    background: rgba(255, 255, 255, 0.08);
    color: var(--fcard-accent);
  }
  :root[data-theme="dark"] .roadmap-card:hover .roadmap-link-arrow,
  :root[data-theme="dark"] .roadmap-link:hover .roadmap-link-arrow {
    background: rgba(255, 255, 255, 0.08);
    color: var(--rc-accent-deep);
  }
  :root[data-theme="dark"] .featured-topic-card:hover .featured-topic-arrow {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ft-accent-deep);
  }
  .hero-chip:hover {
    border-color: #e2e8f0;
  }
  :root[data-theme="dark"] .hero-chip:hover {
    border-color: #263d66;
  }
  .social-yt:hover,
  .social-ig:hover,
  .social-tg:hover,
  .social-gh:hover {
    background: #ffffff;
    border-color: #bfdbfe;
  }
  :root[data-theme="dark"] .social-yt:hover,
  :root[data-theme="dark"] .social-ig:hover,
  :root[data-theme="dark"] .social-tg:hover,
  :root[data-theme="dark"] .social-gh:hover {
    background: #0f1f3d;
    border-color: #1e3a63;
  }
  .hero-primary-btn:active,
  .promo-solid-btn:active,
  .outline-pill-btn:active,
  .back-to-top-btn:active,
  .social-icon-btn:active,
  .pastel-tile:active {
    transform: scale(0.97);
  }
}

/* ==========================================================================
   Clean Typography System & Vertical Rhythm (Plus Jakarta Sans + Inter)
   Fixes dense text, heavy 800-weight clutter & tight negative tracking
   ========================================================================== */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: 0;
}

h1, h2, h3, h4,
.brand-name,
.footer-logo-title,
.pastel-tile-title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.015em;
}

.hero-v2-title {
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}

.hero-v2-desc {
  font-size: 16px;
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: 0;
  max-width: 550px;
}

.section-heading-lg {
  font-size: clamp(1.38rem, 2.2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.section-subcopy {
  font-size: 15px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: 0;
}

/* Uniform Card Titles (weight 700 instead of cramped 800) */
.feature-box-title,
.roadmap-card-title,
.featured-topic-title,
.guide-panel-header h3,
.footer-col-header h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.promo-copy h3 {
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.015em;
}

.bottom-cta-left h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

/* Crisp Readable Card Copy & Descriptions */
.feature-box-desc,
.featured-topic-summary,
.editorial-overview-card p,
.guide-panel-intro,
.blueprint-item p,
.strategy-step-item p,
.editorial-trust-bar p,
.promo-copy p,
.bottom-cta-left p,
.faq-answer p {
  font-size: 14.5px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: 0;
}

.editorial-overview-card p {
  font-size: 15px;
  line-height: 1.74;
}

.pastel-tile-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
}
.pastel-tile-sub {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

/* Clean Buttons, Nav Links, Badges & Chips (No Faux Bold) */
.primary-navigation > a,
.header-cta-pill,
.hero-chip,
.outline-pill-btn,
.hero-primary-btn,
.promo-solid-btn,
.hero-pill-badge,
.roadmap-sem-badge,
.featured-topic-code,
.blueprint-marks,
.guide-badge,
.roadmap-link {
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.35;
}

.hero-chip {
  font-size: 13px;
}

/* Clean Subject Row Typography inside Roadmap Cards (inherits card theme tokens) */
.roadmap-sub-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.015em;
}
.roadmap-sub-name {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.48;
}

/* Blueprint & Strategy Headings */
.blueprint-item-head strong,
.strategy-step-item h4 {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.005em;
}
.strategy-step-num {
  font-weight: 700;
}

/* FAQ Crisp Typography */
.faq-question {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
.faq-answer p {
  line-height: 1.74;
}

/* Mobile Typography Tuning */
@media (max-width: 640px) {
  .hero-v2-title {
    font-size: clamp(1.75rem, 6.8vw, 2.15rem);
    line-height: 1.22;
  }
  .hero-v2-desc {
    font-size: 15px;
    line-height: 1.68;
  }
  .section-heading-lg {
    font-size: 1.32rem;
    line-height: 1.32;
  }
  .section-subcopy {
    font-size: 14px;
    line-height: 1.62;
  }
  .feature-box-desc,
  .featured-topic-summary,
  .editorial-overview-card p,
  .guide-panel-intro,
  .blueprint-item p,
  .strategy-step-item p,
  .promo-copy p,
  .bottom-cta-left p,
  .faq-answer p {
    font-size: 14px;
    line-height: 1.68;
  }
  .faq-question {
    font-size: 14.5px;
    line-height: 1.48;
  }
}

/* ==========================================================================
   Exam / Solved Notebook Modern Multiline Heading & Badge Styling
   ========================================================================== */
.exam-page-header {
  margin: 10px 0 32px;
}
.exam-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.exam-title-styled {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
}
.exam-title-line-1 {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.exam-title-subject {
  font-size: clamp(2.1rem, 5.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.12;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 50%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
:root[data-theme=dark] .exam-title-subject {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.exam-title-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--primary) 32%, transparent);
  color: var(--primary);
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.exam-title-line-2 {
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.02em;
}
@media (max-width: 760px) {
  .exam-title-styled {
    gap: 6px;
  }
  .exam-title-line-1 {
    gap: 8px;
  }
}

/* In-page anchor scroll offset for sticky header */
html {
  scroll-behavior: smooth;
}
h1[id], h2[id], h3[id], h4[id], section[id], div[id] {
  scroll-margin-top: 85px;
}
