/* =========================================================
   MAARULA CLASSES — CUET PG MCA & NIMCET SCORE CALCULATOR
   Premium UI — 2026
   ========================================================= */

:root {
    --navy:        #0B1F4E;
    --navy-light:  #162B6A;
    --orange:      #FF6B00;
    --orange-dark: #E05C00;
    --white:       #FFFFFF;
    --light-bg:    #F5F7FA;
    --card-bg:     rgba(255,255,255,0.85);
    --text-dark:   #1A202C;
    --text-light:  #4A5568;
    --border:      #E2E8F0;
    --success:     #10B981;
    --danger:      #EF4444;
    --warning:     #F59E0B;
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   32px;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg:   0 20px 60px rgba(0,0,0,0.13);
    --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
    --gradient:    linear-gradient(135deg, #0B1F4E 0%, #162B6A 50%, #1a3a8f 100%);
    --orange-grad: linear-gradient(135deg, #FF6B00, #FF9F43);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(11,31,78,0.10);
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 0.75rem 0;
    backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

.badge {
    background: var(--orange-grad);
    color: var(--white);
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(255,107,0,0.3);
}

.header-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1.5px solid transparent;
}

.header-links a:hover {
    color: var(--navy);
    border-color: var(--border);
    background: var(--light-bg);
}

.header-links .btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    border-color: #25D366;
    border-radius: 9999px;
}

.header-links .btn-whatsapp:hover {
    background-color: #1da851;
    border-color: #1da851;
    color: var(--white);
}

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
    background: var(--gradient);
    padding: 4rem 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section .container { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-section h1 {
    color: var(--white);
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-section h1 .highlight {
    background: var(--orange-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    color: rgba(255,255,255,0.80);
    font-size: 1.1rem;
    max-width: 570px;
    margin: 0 auto 2rem;
}

/* Trust Stats Bar */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.trust-stat {
    text-align: center;
}

.trust-stat .ts-num {
    font-family: 'Sora', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.trust-stat .ts-num span { color: #FF9F43; }

.trust-stat .ts-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */
main {
    padding: 2.5rem 0 4rem;
    animation: pageIn 0.7s ease both;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* How It Works */
.how-it-works {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.step { padding: 0.5rem; }

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11,31,78,0.08), rgba(255,107,0,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
    border: 2px solid rgba(255,107,0,0.2);
}

.step h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.step p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* =========================================================
   TABS
   ========================================================= */
.tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tabs {
    display: inline-flex;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 0.4rem;
    gap: 0.4rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.65rem 1.75rem;
    border-radius: var(--radius-lg);
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    min-height: 46px;
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11,31,78,0.25);
}

.tab-btn:not(.active):hover {
    background: var(--light-bg);
    color: var(--navy);
}

/* =========================================================
   CALCULATOR SECTION
   ========================================================= */
.calculator-section {
    display: none;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    animation: fadeUp 0.4s ease both;
    border: 1px solid rgba(11,31,78,0.06);
}

.calculator-section.active { display: block; }

.calculator-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calculator-section h2::before {
    content: '';
    width: 4px;
    height: 1.3em;
    background: var(--orange-grad);
    border-radius: 9999px;
    flex-shrink: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.input-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* UPLOAD ZONE */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, #f8faff 0%, #fff5ee 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 210px;
    position: relative;
    overflow: hidden;
}

.upload-zone::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,31,78,0.03), rgba(255,107,0,0.04));
    opacity: 0;
    transition: var(--transition);
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--orange);
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,0,0.12);
}

.upload-zone:hover::after, .upload-zone.dragover::after { opacity: 1; }

.upload-zone input[type="file"] { display: none; }

.upload-icon {
    font-size: 3rem;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.upload-label {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.upload-hint {
    font-size: 0.82rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.upload-hint .pill {
    display: inline-block;
    background: var(--navy);
    color: rgba(255,255,255,0.9);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    margin: 0.2rem 0.2rem 0;
    letter-spacing: 0.04em;
}

/* MANUAL ENTRY */
.manual-entry {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border);
}

.manual-entry h3 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--navy);
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--navy);
}

.form-group input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    min-height: 46px;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.form-group input[readonly] {
    background: rgba(11,31,78,0.04);
    color: var(--text-light);
    cursor: default;
}

.btn {
    background: var(--orange-grad);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    min-height: 48px;
    box-shadow: 0 4px 15px rgba(255,107,0,0.3);
    letter-spacing: 0.02em;
}

.btn:hover {
    background: linear-gradient(135deg, var(--orange-dark), #e08000);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,0,0.35);
}

.btn:active { transform: translateY(0); }

/* =========================================================
   RESULTS AREA
   ========================================================= */
.results-area {
    display: none;
    margin-top: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: fadeUp 0.6s ease both;
    border: 1px solid rgba(11,31,78,0.06);
    position: relative;
    overflow: hidden;
}

.results-area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: var(--orange-grad);
}

.result-header {
    margin-bottom: 2rem;
}

.result-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.score-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.score-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Sora', sans-serif;
    line-height: 1;
}

.score-max {
    font-size: 1.75rem;
    color: var(--text-light);
    font-family: 'Sora', sans-serif;
}

.score-accuracy {
    font-size: 1rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--light-bg);
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    font-family: 'Sora', sans-serif;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
}

.correct   { color: var(--success); }
.incorrect { color: var(--danger); }
.unattempted { color: var(--text-light); }

.chart-container {
    max-width: 260px;
    margin: 0 auto 2rem;
}

/* Rank Predictor Box */
#rank-predictor-box {
    display: none;
    margin: 2rem 0;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, rgba(11,31,78,0.04), rgba(255,107,0,0.06));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,107,0,0.18);
}

#rank-predictor-box h3 {
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

#estimated-rank {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    font-family: 'Sora', sans-serif;
    line-height: 1;
    margin: 0.5rem 0;
}

/* Share Button */
.share-result-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.share-result-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* =========================================================
   COLLEGE PREDICTOR
   ========================================================= */
.college-predictor {
    margin-top: 3rem;
    text-align: left;
}

.college-predictor h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.college-note {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.filters select {
    padding: 0.65rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--white);
    flex: 1;
    min-width: 150px;
    min-height: 46px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.filters select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
    min-width: 500px;
}

th, td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

th {
    background: var(--gradient);
    color: var(--white);
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td:first-child { font-weight: 600; color: var(--navy); }

tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: rgba(245,247,250,0.7); }
tr:hover td { background: rgba(255,107,0,0.04); }

@media (max-width: 768px) {
    td:first-child, th:first-child {
        position: sticky;
        left: 0;
        z-index: 10;
    }
    td:first-child { background: var(--white); }
    th:first-child { background: var(--navy); }
}

.chance-high   { color: var(--success); font-weight: 700; }
.chance-medium { color: var(--warning); font-weight: 700; }
.chance-low    { color: var(--danger);  font-weight: 700; }

.chance-high::before   { content: '✅ '; }
.chance-medium::before { content: '⚠️ '; }
.chance-low::before    { content: '❌ '; }

/* =========================================================
   SEO CONTENT BLOCKS
   ========================================================= */
.seo-content {
    margin-top: 3rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11,31,78,0.05);
}

.seo-content article { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.seo-content article:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }

.seo-content h2 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.85rem;
}

.seo-content p, .seo-content ul, .seo-content ol {
    margin-bottom: 0.85rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.75;
}

.seo-content ul, .seo-content ol { padding-left: 1.5rem; }
.seo-content li { margin-bottom: 0.35rem; }
.seo-content strong { color: var(--navy); }

/* FAQ */
.faq { }
.faq-item { margin-bottom: 1.25rem; }
.faq-item summary {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.1rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.faq-item summary:hover { background: rgba(255,107,0,0.05); border-color: var(--orange); }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--orange); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background: var(--white);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
    background: var(--gradient);
    color: var(--white);
    padding: 3rem 0 2rem;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--orange-grad);
}

.footer-cta { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-cta h3 { color: var(--white); font-size: 1.3rem; }
.footer-cta p  { color: rgba(255,255,255,0.75); margin-top: 0.4rem; font-size: 0.95rem; margin-bottom: 1.25rem; }

.footer-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-outline:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }

.btn-whatsapp-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #25D366;
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-whatsapp-footer:hover { background: #1da851; transform: translateY(-2px); }

.footer-bottom { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-bottom p { margin-bottom: 0.3rem; }
.footer-bottom a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* WATERMARK */
.watermark {
    opacity: 0.07;
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    pointer-events: none;
    letter-spacing: 0.1em;
}

/* =========================================================
   MOBILE CTA (fixed bar)
   ========================================================= */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--orange-grad);
    color: var(--white);
    text-align: center;
    padding: 0.9rem 1rem;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(255,107,0,0.25);
    font-size: 0.9rem;
}

/* =========================================================
   LOADING OVERLAY
   ========================================================= */
.loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(4px);
}

.spinner {
    width: 52px;
    height: 52px;
    border: 5px solid var(--border);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay p {
    margin-top: 1rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    .header-links .hide-mobile { display: none; }
    
    .input-modes {
        grid-template-columns: 1fr;
    }

    .hero-section { padding: 2.5rem 0 2rem; }
    .hero-section h1 { font-size: 1.75rem; }
    
    .trust-bar { gap: 1.5rem; }
    .trust-stat .ts-num { font-size: 1.25rem; }

    .tabs { flex-direction: column; }
    .tab-btn { width: 100%; justify-content: center; }
    
    .calculator-section { padding: 1.5rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .steps { grid-template-columns: 1fr; gap: 1rem; }
    
    .seo-content { padding: 2rem 1.25rem; }

    .mobile-cta { display: block; }
    body { padding-bottom: 58px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .score-number { font-size: 3.75rem; }
}

/* =========================================================
   NIMCET SECTION-WISE MANUAL ENTRY
   ========================================================= */
.section-group {
    margin-bottom: 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
}
.section-group:hover {
    border-color: rgba(255,107,0,0.35);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
}
.section-tag {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.28rem 0.85rem;
    border-radius: 9999px;
    color: #fff;
}
.math-tag      { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.reasoning-tag { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.computer-tag  { background: linear-gradient(135deg, #10b981, #059669); }
.english-tag   { background: linear-gradient(135deg, #f59e0b, #d97706); }

.section-meta {
    font-size: 0.73rem;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
}
.section-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    background: var(--light-bg);
    border-top: 1px solid var(--border);
}
.section-row .form-group { margin-bottom: 0; }
.section-row .form-group label { font-size: 0.76rem; margin-bottom: 0.28rem; }
.section-row .form-group input {
    padding: 0.5rem 0.5rem;
    font-size: 0.9rem;
    min-height: 40px;
    text-align: center;
}

/* Live Score Preview */
.nimcet-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(11,31,78,0.05), rgba(255,107,0,0.07));
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,107,0,0.2);
    margin-bottom: 1rem;
}
.summary-item { text-align: center; }
.summary-item span {
    display: block;
    font-size: 0.68rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.summary-item strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
}
.summary-item.preview-score strong { font-size: 1.1rem; color: var(--orange); }

@media (max-width: 640px) {
    .section-row { grid-template-columns: 1fr 1fr; }
    .section-row .form-group:last-child { grid-column: 1 / -1; }
    .nimcet-summary { grid-template-columns: 1fr 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}
@media (max-width: 400px) {
    .section-row { grid-template-columns: 1fr; }
    .section-row .form-group:last-child { grid-column: auto; }
}

