/* ============================================================
   AARSH INSTITUTE
   CLASS 8 NOTES
============================================================ */

.notes8-page{
    --yellow:#fdbe00;
    --maroon:#7a0c0f;
    --white:#ffffff;
    --black:#050505;
    --card:#101010;
    --card-2:#151515;
    --border:rgba(255,255,255,.09);
    --muted:rgba(255,255,255,.65);

    background:var(--black);
    color:var(--white);
    overflow:hidden;
    position:relative;
}

.notes8-page *,
.notes8-page *::before,
.notes8-page *::after{
    box-sizing:border-box;
}

.notes8-page button,
.notes8-page input,
.notes8-page select{
    font:inherit;
}

.notes8-page button{
    cursor:pointer;
}

.notes8-container{
    width:min(1280px,92%);
    margin:auto;
    position:relative;
    z-index:5;
}

.notes8-small-container{
    width:min(900px,92%);
    margin:auto;
    position:relative;
    z-index:5;
}


/* ============================================================
   HERO
============================================================ */

.notes8-hero{
    min-height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.notes8-hero-bg{
    position:absolute;
    inset:0;
}

.notes8-hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.19;
}

.notes8-hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(5,5,5,.98) 0%,
            rgba(5,5,5,.88) 48%,
            rgba(5,5,5,.45) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0,0,0,.2),
            rgba(0,0,0,.96)
        );
}

.notes8-grid-pattern{
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );
    background-size:60px 60px;
}

.notes8-orb{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
    pointer-events:none;
}

.notes8-orb-one{
    width:500px;
    height:500px;
    background:rgba(253,190,0,.16);
    top:-220px;
    left:-180px;
}

.notes8-orb-two{
    width:550px;
    height:550px;
    background:rgba(122,12,15,.24);
    right:-200px;
    bottom:-220px;
}

.notes8-hero-content{
    max-width:900px;
    padding:160px 0 120px;
}

.notes8-eyebrow{
    display:flex;
    align-items:center;
    gap:15px;
    color:var(--yellow);
    font-size:13px;
    font-weight:800;
    letter-spacing:3px;
    margin-bottom:25px;
}

.notes8-eyebrow-line{
    display:block;
    width:50px;
    height:2px;
    background:var(--yellow);
}

.notes8-hero-title{
    margin:0;
    font-size:clamp(70px,9vw,125px);
    line-height:.9;
    letter-spacing:-5px;
    font-weight:900;
}

.notes8-hero-title span{
    display:block;
    color:var(--yellow);
}

.notes8-hero-description{
    max-width:760px;
    margin:30px 0 0;
    color:rgba(255,255,255,.72);
    font-size:20px;
    line-height:1.8;
}

.notes8-free-strip{
    width:fit-content;
    max-width:100%;
    margin-top:30px;
    padding:15px 20px;
    border:1px solid rgba(253,190,0,.22);
    background:rgba(253,190,0,.06);
    border-radius:18px;
    display:flex;
    align-items:center;
    gap:14px;
}

.notes8-free-icon{
    width:46px;
    height:46px;
    border-radius:14px;
    background:var(--yellow);
    color:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.notes8-free-icon svg{
    width:21px;
    height:21px;
}

.notes8-free-strip strong{
    display:block;
    color:#fff;
    font-size:15px;
}

.notes8-free-strip span{
    display:block;
    color:var(--muted);
    font-size:13px;
    margin-top:3px;
}

.notes8-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top:35px;
}

.notes8-btn{
    min-height:56px;
    padding:0 28px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-decoration:none;
    font-weight:800;
    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.notes8-btn svg{
    width:18px;
    height:18px;
}

.notes8-btn-primary{
    background:var(--yellow);
    color:#050505;
}

.notes8-btn-primary:hover{
    transform:translateY(-3px);
}

.notes8-btn-secondary{
    border:1px solid rgba(255,255,255,.15);
    color:#fff;
    background:rgba(255,255,255,.04);
}

.notes8-btn-secondary:hover{
    border-color:var(--yellow);
    color:var(--yellow);
    transform:translateY(-3px);
}

.notes8-scroll-indicator{
    position:absolute;
    right:5%;
    bottom:45px;
    z-index:5;
    color:rgba(255,255,255,.5);
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    font-size:10px;
    letter-spacing:3px;
}

.notes8-scroll-indicator svg{
    width:17px;
    animation:notes8ScrollArrow 1.8s infinite;
}

@keyframes notes8ScrollArrow{
    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(8px);
    }
}


/* ============================================================
   STATS
============================================================ */

.notes8-stats{
    position:relative;
    z-index:10;
    margin-top:-50px;
}

.notes8-stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.notes8-stat{
    min-height:180px;
    padding:28px;
    border-radius:25px;
    border:1px solid var(--border);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.015)
        ),
        #0d0d0d;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.notes8-stat-icon{
    width:40px;
    height:40px;
    border-radius:12px;
    margin-bottom:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--yellow);
    background:rgba(253,190,0,.08);
}

.notes8-stat-icon svg{
    width:20px;
}

.notes8-stat strong{
    font-size:35px;
    color:var(--yellow);
    line-height:1;
}

.notes8-stat p{
    margin:10px 0 0;
    color:var(--muted);
    font-size:13px;
}


/* ============================================================
   GENERAL SECTIONS
============================================================ */

.notes8-section,
.notes8-benefits,
.notes8-faq{
    padding:130px 0;
}

.notes8-section-heading{
    max-width:800px;
    margin:0 auto 65px;
    text-align:center;
}

.notes8-mini-heading{
    color:var(--yellow);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    font-size:12px;
    font-weight:800;
    letter-spacing:3px;
    margin-bottom:18px;
}

.notes8-mini-heading span{
    width:35px;
    height:1px;
    background:var(--yellow);
}

.notes8-section-heading h2,
.notes8-library-top h2{
    margin:0;
    font-size:clamp(42px,5vw,68px);
    line-height:1.08;
    letter-spacing:-2px;
}

.notes8-section-heading h2 em,
.notes8-library-top h2 em{
    color:var(--yellow);
    font-style:normal;
}

.notes8-section-heading > p{
    max-width:650px;
    margin:20px auto 0;
    color:var(--muted);
    font-size:16px;
    line-height:1.8;
}


/* ============================================================
   SUBJECT TABS
============================================================ */

.notes8-subject-tabs{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.notes8-subject-btn{
    border:1px solid var(--border);
    background:#101010;
    color:#fff;
    min-height:105px;
    padding:20px;
    border-radius:22px;
    text-align:left;
    display:flex;
    align-items:center;
    gap:15px;
    transition:.3s ease;
}

.notes8-subject-btn:hover,
.notes8-subject-btn.active{
    border-color:rgba(253,190,0,.65);
    transform:translateY(-5px);
    background:rgba(253,190,0,.055);
}

.notes8-subject-icon{
    width:50px;
    height:50px;
    border-radius:15px;
    flex-shrink:0;
    background:rgba(253,190,0,.09);
    color:var(--yellow);
    display:flex;
    align-items:center;
    justify-content:center;
}

.notes8-subject-icon svg{
    width:22px;
}

.notes8-subject-btn strong{
    display:block;
    font-size:15px;
}

.notes8-subject-btn small{
    display:block;
    color:var(--muted);
    margin-top:4px;
}


/* ============================================================
   NOTES LIBRARY
============================================================ */

.notes8-library{
    padding:130px 0;
    background:#090909;
    border-top:1px solid rgba(255,255,255,.04);
    border-bottom:1px solid rgba(255,255,255,.04);
}

.notes8-library-top{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:55px;
}

.notes8-library-label{
    display:block;
    color:var(--yellow);
    font-size:12px;
    font-weight:800;
    letter-spacing:3px;
    margin-bottom:15px;
}

.notes8-resource-count{
    min-width:120px;
    text-align:right;
}

.notes8-resource-count strong{
    display:block;
    font-size:38px;
    color:var(--yellow);
}

.notes8-resource-count span{
    color:var(--muted);
    font-size:13px;
}

.notes8-notes-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.notes8-note-card{
    border:1px solid var(--border);
    border-radius:26px;
    background:#101010;
    padding:18px;
    display:flex;
    flex-direction:column;
    position:relative;
    transition:
        transform .35s ease,
        border-color .35s ease;
}

.notes8-note-card:hover{
    transform:translateY(-7px);
    border-color:rgba(253,190,0,.5);
}

.notes8-note-card[hidden]{
    display:none !important;
}

.notes8-note-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:14px;
}

.notes8-note-subject,
.notes8-free-tag{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:0 11px;
    border-radius:999px;
    font-size:10px;
    font-weight:900;
    letter-spacing:1px;
}

.notes8-note-subject{
    color:var(--yellow);
    border:1px solid rgba(253,190,0,.22);
    background:rgba(253,190,0,.06);
}

.notes8-free-tag{
    background:var(--yellow);
    color:#000;
}


/* ============================================================
   BOOK / NOTE COVER
============================================================ */

.notes8-cover-wrap{
    width:100%;
    aspect-ratio:16 / 10;
    border-radius:19px;
    overflow:hidden;
    background:#181818;
    margin-bottom:20px;
    position:relative;
}

.notes8-cover-image{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .5s ease;
}

.notes8-note-card:hover .notes8-cover-image{
    transform:scale(1.035);
}

.notes8-cover-fallback{
    width:100%;
    height:100%;
    padding:25px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:flex-start;
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(253,190,0,.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #151515,
            #090909
        );
}

.notes8-cover-fallback::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );
    background-size:30px 30px;
}

.notes8-cover-fallback-icon{
    position:absolute;
    top:20px;
    right:20px;
    width:50px;
    height:50px;
    border-radius:15px;
    background:var(--yellow);
    color:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2;
}

.notes8-cover-fallback-icon svg{
    width:23px;
}

.notes8-cover-fallback span,
.notes8-cover-fallback strong,
.notes8-cover-fallback small{
    position:relative;
    z-index:2;
}

.notes8-cover-fallback span{
    color:var(--yellow);
    font-size:11px;
    font-weight:900;
    letter-spacing:3px;
}

.notes8-cover-fallback strong{
    margin-top:7px;
    font-size:25px;
}

.notes8-cover-fallback small{
    margin-top:5px;
    color:rgba(255,255,255,.45);
    font-size:10px;
    letter-spacing:1.5px;
}

.notes8-chapter-label{
    color:var(--yellow);
    font-size:11px;
    font-weight:800;
    letter-spacing:1px;
    margin-bottom:9px;
}

.notes8-note-card h3{
    margin:0;
    color:#fff;
    font-size:22px;
    line-height:1.35;
}

.notes8-note-card > p{
    margin:13px 0 18px;
    color:var(--muted);
    font-size:14px;
    line-height:1.7;
}

.notes8-note-meta{
    margin-top:auto;
    padding:15px 0;
    border-top:1px solid rgba(255,255,255,.07);
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.notes8-note-meta span{
    display:flex;
    align-items:center;
    gap:6px;
    color:rgba(255,255,255,.5);
    font-size:11px;
}

.notes8-note-meta svg{
    width:14px;
    color:var(--yellow);
}

.notes8-download-btn{
    width:100%;
    min-height:52px;
    padding:0 18px;
    margin-top:3px;
    border:0;
    border-radius:15px;
    background:var(--yellow);
    color:#000;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:space-between;
    transition:.3s ease;
}

.notes8-download-btn span{
    display:flex;
    align-items:center;
    gap:8px;
}

.notes8-download-btn svg{
    width:17px;
}

.notes8-download-btn:hover{
    transform:translateY(-2px);
}


/* ============================================================
   EMPTY STATE
============================================================ */

.notes8-empty{
    display:none;
    max-width:550px;
    margin:50px auto 0;
    text-align:center;
    padding:55px 25px;
    border:1px dashed rgba(255,255,255,.12);
    border-radius:25px;
}

.notes8-empty.is-visible{
    display:block;
}

.notes8-empty svg{
    width:45px;
    height:45px;
    color:var(--yellow);
    margin-bottom:15px;
}

.notes8-empty h3{
    margin:0 0 8px;
}

.notes8-empty p{
    margin:0;
    color:var(--muted);
}


/* ============================================================
   BENEFITS
============================================================ */

.notes8-benefits{
    background:#050505;
}

.notes8-benefit-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.notes8-benefit-card{
    min-height:300px;
    padding:30px;
    border-radius:25px;
    background:#101010;
    border:1px solid var(--border);
    position:relative;
    transition:.35s ease;
}

.notes8-benefit-card:hover{
    transform:translateY(-7px);
    border-color:rgba(253,190,0,.4);
}

.notes8-benefit-number{
    position:absolute;
    right:25px;
    top:20px;
    color:rgba(255,255,255,.06);
    font-size:50px;
    font-weight:900;
}

.notes8-benefit-icon{
    width:58px;
    height:58px;
    border-radius:17px;
    background:rgba(253,190,0,.09);
    color:var(--yellow);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:40px;
}

.notes8-benefit-icon svg{
    width:25px;
}

.notes8-benefit-card h3{
    margin:0 0 13px;
    font-size:20px;
}

.notes8-benefit-card p{
    margin:0;
    color:var(--muted);
    line-height:1.75;
    font-size:14px;
}


/* ============================================================
   FAQ
============================================================ */

.notes8-faq{
    background:#0a0a0a;
}

.notes8-faq-list{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.notes8-faq-item{
    border:1px solid var(--border);
    border-radius:20px;
    background:#101010;
    overflow:hidden;
}

.notes8-faq-question{
    width:100%;
    min-height:80px;
    padding:20px 25px;
    border:0;
    background:transparent;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    text-align:left;
    font-weight:800;
}

.notes8-faq-question svg{
    width:20px;
    flex-shrink:0;
    color:var(--yellow);
    transition:transform .3s ease;
}

.notes8-faq-answer{
    display:none;
    padding:0 25px 25px;
}

.notes8-faq-answer p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
}

.notes8-faq-item.active .notes8-faq-answer{
    display:block;
}

.notes8-faq-item.active .notes8-faq-question svg{
    transform:rotate(45deg);
}


/* ============================================================
   FINAL CTA
============================================================ */

.notes8-final-cta{
    position:relative;
    overflow:hidden;
    text-align:center;
    padding:145px 0;
    background:#050505;
}

.notes8-cta-glow{
    position:absolute;
    width:600px;
    height:300px;
    border-radius:50%;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    background:rgba(253,190,0,.08);
    filter:blur(100px);
}

.notes8-cta-label{
    display:block;
    color:var(--yellow);
    font-size:11px;
    font-weight:900;
    letter-spacing:3px;
    margin-bottom:20px;
}

.notes8-final-cta h2{
    margin:0;
    font-size:clamp(45px,6vw,80px);
    line-height:1.05;
    letter-spacing:-3px;
}

.notes8-final-cta h2 span{
    display:block;
    color:var(--yellow);
}

.notes8-final-cta p{
    max-width:650px;
    margin:25px auto 30px;
    color:var(--muted);
    line-height:1.8;
}


/* ============================================================
   DOWNLOAD MODAL
============================================================ */

.notes8-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:25px;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.notes8-modal.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.notes8-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.84);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

.notes8-modal-dialog{
    width:min(1050px,100%);
    max-height:calc(100vh - 50px);
    position:relative;
    z-index:2;
    border-radius:30px;
    border:1px solid rgba(255,255,255,.12);
    background:#0d0d0d;
    overflow:auto;
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    box-shadow:0 30px 100px rgba(0,0,0,.7);
}

.notes8-modal-close{
    position:absolute;
    z-index:20;
    right:18px;
    top:18px;
    width:42px;
    height:42px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.12);
    background:#191919;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
}

.notes8-modal-close:hover{
    color:var(--yellow);
    border-color:var(--yellow);
}

.notes8-modal-close svg{
    width:18px;
}

.notes8-modal-intro{
    padding:55px 42px;
    background:
        radial-gradient(
            circle at 0 0,
            rgba(253,190,0,.1),
            transparent 40%
        ),
        #090909;
    border-right:1px solid rgba(255,255,255,.07);
}

.notes8-modal-mini{
    color:var(--yellow);
    font-size:11px;
    font-weight:900;
    letter-spacing:3px;
}

.notes8-modal-intro h2{
    margin:18px 0;
    font-size:45px;
    line-height:1.05;
    letter-spacing:-2px;
}

.notes8-modal-intro h2 span{
    display:block;
    color:var(--yellow);
}

.notes8-modal-intro > p{
    color:var(--muted);
    line-height:1.75;
}

.notes8-selected-resource{
    margin-top:30px;
    padding:20px;
    border-radius:18px;
    border:1px solid rgba(253,190,0,.18);
    background:rgba(253,190,0,.05);
}

.notes8-selected-resource span{
    display:block;
    color:rgba(255,255,255,.45);
    font-size:9px;
    font-weight:900;
    letter-spacing:2px;
}

.notes8-selected-resource strong{
    display:block;
    margin-top:8px;
    color:#fff;
    line-height:1.4;
}

.notes8-selected-resource small{
    display:block;
    margin-top:6px;
    color:var(--yellow);
}

.notes8-modal-points{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:30px;
}

.notes8-modal-points div{
    display:flex;
    align-items:center;
    gap:10px;
    color:rgba(255,255,255,.7);
    font-size:13px;
}

.notes8-modal-points svg{
    width:17px;
    color:var(--yellow);
}


/* ============================================================
   MODAL FORM
============================================================ */

.notes8-modal-form-wrap{
    padding:55px 42px 40px;
}

.notes8-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:17px;
}

.notes8-form-group{
    margin-bottom:17px;
}

.notes8-form-group label{
    display:block;
    margin-bottom:8px;
    color:rgba(255,255,255,.72);
    font-size:12px;
    font-weight:700;
}

.notes8-form-group input,
.notes8-form-group select{
    width:100%;
    height:51px;
    padding:0 15px;
    outline:none;
    border:1px solid rgba(255,255,255,.1);
    border-radius:13px;
    background:#151515;
    color:#fff;
    transition:
        border-color .25s ease,
        background .25s ease;
}

.notes8-form-group input::placeholder{
    color:rgba(255,255,255,.28);
}

.notes8-form-group input:focus,
.notes8-form-group select:focus{
    border-color:var(--yellow);
    background:#181818;
}

.notes8-form-group select{
    cursor:pointer;
}

.notes8-form-group select:disabled{
    opacity:.75;
    cursor:not-allowed;
}

.notes8-form-group option{
    background:#151515;
    color:#fff;
}

.notes8-consent{
    display:flex;
    align-items:flex-start;
    gap:11px;
    color:rgba(255,255,255,.55);
    font-size:11px;
    line-height:1.6;
    cursor:pointer;
    margin-top:2px;
}

.notes8-consent input{
    width:16px;
    height:16px;
    margin-top:2px;
    accent-color:var(--yellow);
    flex-shrink:0;
}

.notes8-form-response{
    display:none;
    margin-top:15px;
    padding:12px 14px;
    border-radius:11px;
    font-size:12px;
    line-height:1.5;
}

.notes8-form-response.error{
    display:block;
    color:#ffb3b3;
    border:1px solid rgba(255,70,70,.25);
    background:rgba(255,70,70,.07);
}

.notes8-form-response.success{
    display:block;
    color:#bfffc9;
    border:1px solid rgba(63,200,95,.25);
    background:rgba(63,200,95,.07);
}

.notes8-form-submit{
    width:100%;
    min-height:55px;
    margin-top:18px;
    padding:0 20px;
    border:0;
    border-radius:14px;
    background:var(--yellow);
    color:#050505;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    transition:.3s ease;
}

.notes8-form-submit:hover{
    transform:translateY(-2px);
}

.notes8-form-submit:disabled{
    opacity:.65;
    cursor:not-allowed;
    transform:none;
}

.notes8-form-submit svg{
    width:18px;
}

.notes8-form-privacy{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    margin:13px 0 0;
    text-align:center;
    color:rgba(255,255,255,.35);
    font-size:10px;
}

.notes8-form-privacy svg{
    width:13px;
}


/* ============================================================
   CURSOR LIGHT
============================================================ */

.notes8-cursor-light{
    position:fixed;
    width:280px;
    height:280px;
    border-radius:50%;
    background:rgba(253,190,0,.06);
    filter:blur(75px);
    pointer-events:none;
    z-index:1;
    transform:translate(-50%,-50%);
}


/* ============================================================
   REVEAL
============================================================ */

.notes8-reveal{
    opacity:0;
    transform:translateY(40px);
    transition:
        opacity .75s ease,
        transform .75s ease;
}

.notes8-reveal.active{
    opacity:1;
    transform:translateY(0);
}


/* ============================================================
   MODAL BODY LOCK
============================================================ */

body.notes8-modal-open{
    overflow:hidden !important;
}


/* ============================================================
   TABLET
============================================================ */

@media(max-width:1100px){

    .notes8-subject-tabs{
        grid-template-columns:repeat(2,1fr);
    }

    .notes8-notes-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .notes8-benefit-grid{
        grid-template-columns:repeat(2,1fr);
    }

}


/* ============================================================
   MOBILE / TABLET
============================================================ */

@media(max-width:850px){

    .notes8-hero{
        min-height:auto;
    }

    .notes8-hero-content{
        padding:150px 0 120px;
    }

    .notes8-hero-title{
        letter-spacing:-3px;
    }

    .notes8-hero-description{
        font-size:17px;
    }

    .notes8-scroll-indicator{
        display:none;
    }

    .notes8-stats{
        margin-top:-35px;
    }

    .notes8-stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .notes8-section,
    .notes8-library,
    .notes8-benefits,
    .notes8-faq{
        padding:95px 0;
    }

    .notes8-library-top{
        align-items:flex-start;
    }

    .notes8-modal{
        padding:15px;
    }

    .notes8-modal-dialog{
        grid-template-columns:1fr;
        max-height:calc(100vh - 30px);
    }

    .notes8-modal-intro{
        padding:40px 28px;
        border-right:0;
        border-bottom:1px solid rgba(255,255,255,.07);
    }

    .notes8-modal-form-wrap{
        padding:35px 28px;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media(max-width:600px){

    .notes8-container,
    .notes8-small-container{
        width:min(94%,1280px);
    }

    .notes8-hero-content{
        padding:130px 0 100px;
    }

    .notes8-eyebrow{
        font-size:10px;
        letter-spacing:2px;
    }

    .notes8-eyebrow-line{
        width:30px;
    }

    .notes8-hero-title{
        font-size:clamp(55px,19vw,80px);
        letter-spacing:-3px;
    }

    .notes8-hero-description{
        font-size:15px;
        line-height:1.7;
    }

    .notes8-free-strip{
        width:100%;
    }

    .notes8-hero-actions{
        flex-direction:column;
    }

    .notes8-btn{
        width:100%;
    }

    .notes8-stats-grid{
        gap:10px;
    }

    .notes8-stat{
        min-height:145px;
        padding:18px 10px;
    }

    .notes8-stat strong{
        font-size:28px;
    }

    .notes8-section-heading{
        margin-bottom:45px;
    }

    .notes8-section-heading h2,
    .notes8-library-top h2{
        letter-spacing:-1.5px;
    }

    .notes8-mini-heading{
        font-size:9px;
        letter-spacing:2px;
    }

    .notes8-mini-heading span{
        width:20px;
    }

    .notes8-subject-tabs{
        grid-template-columns:1fr;
        gap:12px;
    }

    .notes8-subject-btn{
        min-height:90px;
    }

    .notes8-library-top{
        flex-direction:column;
        margin-bottom:35px;
    }

    .notes8-resource-count{
        text-align:left;
    }

    .notes8-notes-grid{
        grid-template-columns:1fr;
    }

    .notes8-benefit-grid{
        grid-template-columns:1fr;
    }

    .notes8-benefit-card{
        min-height:auto;
    }

    .notes8-final-cta{
        padding:100px 0;
    }

    .notes8-final-cta h2{
        letter-spacing:-2px;
    }

    .notes8-modal{
        padding:8px;
        align-items:flex-start;
    }

    .notes8-modal-dialog{
        margin-top:8px;
        max-height:calc(100vh - 16px);
        border-radius:20px;
    }

    .notes8-modal-close{
        position:sticky;
        float:right;
        top:10px;
        right:10px;
        margin:10px 10px -52px auto;
    }

    .notes8-modal-intro{
        padding:35px 22px;
    }

    .notes8-modal-intro h2{
        font-size:36px;
    }

    .notes8-modal-form-wrap{
        padding:30px 20px;
    }

    .notes8-form-grid{
        grid-template-columns:1fr;
        gap:0;
    }

}


/* ============================================================
   TOUCH DEVICES
   HIDE CUSTOM CURSOR LIGHT
============================================================ */

@media(hover:none){

    .notes8-cursor-light{
        display:none;
    }

}




/* ============================================================
   CLASS 8 FORM - CURSOR / FOCUS FIX
============================================================ */

/* Normal text fields */
.notes8-page input,
.notes8-page textarea,
.notes8-page select,
.notes8-modal input,
.notes8-modal textarea,
.notes8-modal select {
    caret-color: #febe00 !important;
}

/* Text input par mouse cursor hamesha text cursor */
.notes8-page input[type="text"],
.notes8-page input[type="email"],
.notes8-page input[type="tel"],
.notes8-page textarea,
.notes8-modal input[type="text"],
.notes8-modal input[type="email"],
.notes8-modal input[type="tel"],
.notes8-modal textarea {
    cursor: text !important;
}

/* Select par normal pointer */
.notes8-page select,
.notes8-modal select {
    cursor: pointer !important;
}

/* Focus ko clear aur stable rakho */
.notes8-page input:focus,
.notes8-page textarea:focus,
.notes8-page select:focus,
.notes8-modal input:focus,
.notes8-modal textarea:focus,
.notes8-modal select:focus {
    outline: none !important;
    border-color: #febe00 !important;
    caret-color: #febe00 !important;
}

/* Browser autofill ke baad bhi caret visible */
.notes8-page input:-webkit-autofill,
.notes8-page input:-webkit-autofill:focus,
.notes8-modal input:-webkit-autofill,
.notes8-modal input:-webkit-autofill:focus {
    caret-color: #febe00 !important;
}

/* ============================================================
   IMPORTANT:
   CUSTOM YELLOW CURSOR LIGHT FORM KE UPAR INTERFERE NA KARE
============================================================ */

#cursorLight,
.light-cursor {
    pointer-events: none !important;
}

/* Form/modal ke andar system cursor ko kabhi hide mat karo */
.notes8-modal,
.notes8-modal *,
.notes8-download-modal,
.notes8-download-modal * {
    cursor: auto;
}

.notes8-modal input,
.notes8-modal textarea,
.notes8-download-modal input,
.notes8-download-modal textarea {
    cursor: text !important;
}

.notes8-modal button,
.notes8-modal select,
.notes8-modal label,
.notes8-download-modal button,
.notes8-download-modal select,
.notes8-download-modal label {
    cursor: pointer !important;
}

