/* =========================================================
   DIPLOMASOLVER / TECHNICAL SOLVER
   Ultra-Premium EdTech & SaaS UI (Drop-in Upgrade)
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --ink: #0f172a;
    --ink-dark: #060b19;

    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --indigo: #4f46e5;
    --violet: #7c3aed;
    --blue-light: #eff6ff;
    --blue-soft: #dbeafe;

    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #4f46e5 55%, #7c3aed 100%);
    --gradient-dark: linear-gradient(135deg, #090d16 0%, #0f172a 55%, #1e1b4b 100%);
    --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);

    --white: #ffffff;
    --light: #f8fafc;
    --light-blue: #f0f7ff;

    --muted: #475569;
    --muted-light: #94a3b8;

    --border: #e2e8f0;
    --border-dark: #cbd5e1;

    --success: #10b981;

    --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05), 0 4px 16px -4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(37, 99, 235, 0.05);
    --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.14), 0 0 1px 1px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 10px 30px -5px rgba(37, 99, 235, 0.35);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;

    --max-width: 1160px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}


/* =========================================================
   RESET & GLOBAL POLISH
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(37, 99, 235, 0.15);
    color: var(--blue-dark);
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   KEYFRAME ANIMATIONS
========================================================= */

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

@keyframes pulseSuccess {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes floatGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-18px, 14px) scale(1.06);
    }
}


/* =========================================================
   COMMON
========================================================= */

.wrap {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   HEADER (FROSTED GLASS)
========================================================= */

.top {
    height: 76px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s var(--ease-out);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink-dark);
    font-weight: 800;
    white-space: nowrap;
    transition: transform 0.25s var(--ease-out);
}

.brand:hover {
    transform: translateY(-1px);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.brand:hover .brand-mark {
    transform: rotate(-4deg) scale(1.05);
    box-shadow: 0 12px 24px -4px rgba(79, 70, 229, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.brand-name {
    margin-left: 11px;
    font-size: 21px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.brand-name span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(241, 245, 249, 0.7);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.desktop-nav a {
    position: relative;
    padding: 8px 15px;
    color: #334155;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s var(--ease-out);
}

.desktop-nav a:hover {
    color: var(--blue);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Article header nav */
.article-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    color: #1e293b;
    background: var(--white);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s var(--ease-out);
}

.article-nav a:hover {
    color: var(--blue);
    border-color: #bfdbfe;
    background: var(--blue-light);
    transform: translateY(-1px);
}


/* =========================================================
   HERO (ARCHITECTURAL GRID + AURORA MESH)
========================================================= */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 96px 0 110px;
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 85% 15%, rgba(37, 99, 235, 0.12) 0px, transparent 45%),
        radial-gradient(at 15% 85%, rgba(124, 58, 237, 0.08) 0px, transparent 45%),
        radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 28px 28px;
    background-position: 0 0, 0 0, -1px -1px;
    border-bottom: 1px solid var(--border);
}

/* Soft fade at bottom of hero grid */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 60%, #f8fafc 100%);
    pointer-events: none;
    z-index: -1;
}

/* Decorative glow */
.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
    animation: floatGlow 10s ease-in-out infinite;
}

.glow-one {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(79, 70, 229, 0.05));
}

.glow-two {
    width: 340px;
    height: 340px;
    left: -120px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.14), rgba(59, 130, 246, 0.04));
    animation-delay: -5s;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
    gap: 64px;
    align-items: center;
}

/* Hero content */
.hero-content {
    min-width: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(191, 219, 254, 0.9);
    color: var(--blue-dark);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px -3px rgba(37, 99, 235, 0.12), inset 0 1px 0 #ffffff;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    animation: pulseRing 2s infinite;
}

.hero h1 {
    margin: 22px 0 20px;
    max-width: 720px;
    font-size: clamp(40px, 5.2vw, 60px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.045em;
    color: var(--ink-dark);
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 17.5px;
    line-height: 1.75;
    font-weight: 450;
}

.hero p strong {
    color: var(--ink);
    font-weight: 700;
}

/* Hero points */
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 30px;
}

.hero-points div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 999px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    backdrop-filter: blur(6px);
}

.hero-points span {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}


/* =========================================================
   HERO CARD (3D ELEVATED GLASS WIDGET)
========================================================= */

.hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 26px;
    padding: 28px;
    box-shadow: var(--shadow-lg), inset 0 1px 0 #ffffff;
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.12);
}

/* Top Gradient Accent Bar */
.hero-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.09), transparent 70%);
    pointer-events: none;
}

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.hero-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    font-size: 24px;
    box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.15);
}

.mini {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-card h3 {
    margin: 4px 0 0;
    font-size: 21px;
    font-weight: 800;
    color: var(--ink-dark);
    letter-spacing: -0.03em;
}

.line {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    margin: 0 -12px;
    border-radius: 12px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    transition: background 0.2s var(--ease-out), padding-left 0.2s var(--ease-out);
}

.line:first-of-type {
    border-top: 1px solid var(--border);
}

.line:hover {
    background: #f8fafc;
    padding-left: 16px;
}

.line span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
}

.line b {
    padding: 3px 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.line > strong {
    color: #94a3b8;
    font-size: 16px;
    transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.line:hover > strong {
    color: var(--blue);
    transform: translateX(4px);
}

.hero-card-bottom {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulseSuccess 2s infinite;
}


/* =========================================================
   SECTION
========================================================= */

.section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 36px;
}

.eyebrow {
    display: inline-block;
    padding: 5px 11px;
    background: var(--blue-light);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: var(--blue);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section h2 {
    margin: 6px 0 8px;
    color: var(--ink-dark);
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.section-number {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: 0.08em;
}


/* =========================================================
   SCHOLARSHIP / FEATURE CARDS
========================================================= */

.cards.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.feature {
    position: relative;
    min-width: 0;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--ink);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.feature::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -95px;
    bottom: -115px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
    transition: transform 0.4s var(--ease-out);
    pointer-events: none;
}

.feature:hover {
    transform: translateY(-6px);
    border-color: #93c5fd;
    box-shadow: var(--shadow-lg);
}

.feature:hover::after {
    transform: scale(1.35);
}

.scholarship {
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 55%, #e0efff 100%);
}

.girls {
    background: linear-gradient(145deg, #ffffff 0%, #fdf2f8 55%, #fce7f3 100%);
}

.girls:hover {
    border-color: #f9a8d4;
}

.feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    font-size: 26px;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.07);
    transition: transform 0.3s var(--ease-out);
}

.feature:hover .feature-icon {
    transform: scale(1.08) rotate(-3deg);
}

.feature-arrow {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #475569;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s var(--ease-out);
}

.feature:hover .feature-arrow {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translate(3px, -3px);
}

.feature-label {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.girls .feature-label {
    color: #db2777;
}

.feature h3 {
    margin: 0 0 12px;
    color: var(--ink-dark);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.feature p {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.feature-tags span {
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(203, 213, 225, 0.75);
    border-radius: 8px;
    color: #334155;
    font-size: 10.5px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}


/* =========================================================
   POPULAR SECTION
========================================================= */

.popular-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/* =========================================================
   SOLUTION GRID (INTERACTIVE CARDS)
========================================================= */

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 0;
}

.solution {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 265px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

/* Top Gradient Line on Hover */
.solution::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}

.solution:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow-md);
}

.solution:hover::before {
    transform: scaleX(1);
}

.solution-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    max-width: 85%;
    padding: 5px 10px;
    background: var(--blue-light);
    border: 1px solid #dbeafe;
    border-radius: 8px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.solution-number {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    transition: color 0.25s ease;
}

.solution:hover .solution-number {
    color: #93c5fd;
}

.solution h3 {
    margin: 18px 0 10px;
    color: var(--ink-dark);
    font-size: 18.5px;
    font-weight: 750;
    line-height: 1.42;
    letter-spacing: -0.025em;
    transition: color 0.2s ease;
}

.solution:hover h3 {
    color: var(--blue-dark);
}

.solution p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.72;
}

.solution-bottom {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px dashed rgba(226, 232, 240, 0.8);
    margin-top: 20px;
}

.solution a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.solution a:hover {
    color: var(--indigo);
}

.solution a span {
    display: inline-block;
    transition: transform 0.25s var(--ease-out);
}

.solution a:hover span {
    transform: translateX(5px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty {
    padding: 56px 28px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px dashed var(--border-dark);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.empty-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.empty h3 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 800;
    color: var(--ink-dark);
}

.empty p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
}


/* =========================================================
   ARTICLE PAGE (DOCUMENTATION / READER UI)
========================================================= */

.article-page {
    background:
        radial-gradient(at 50% 0%, rgba(37, 99, 235, 0.06) 0px, transparent 50%),
        linear-gradient(180deg, #f8fafc 0, #ffffff 450px);
    min-height: calc(100vh - 76px);
    padding: 60px 0 95px;
}

.article {
    max-width: 860px;
}

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.breadcrumb a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span:nth-child(2) {
    color: #cbd5e1;
}

/* Article header */
.article-header {
    margin-bottom: 36px;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: var(--blue-light);
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: var(--blue-dark);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.category-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    animation: pulseRing 2s infinite;
}

.article h1 {
    margin: 18px 0 16px;
    color: var(--ink-dark);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.045em;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.meta-separator {
    color: #cbd5e1;
}

/* Article body */
.article-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 42px;
    box-shadow: var(--shadow-md);
}

.content {
    color: #1e293b;
    font-size: 16.5px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

/* Rich Content Typography inside Articles */
.content h2,
.content h3 {
    color: var(--ink-dark);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
}

.content p {
    margin-bottom: 1.25em;
}

.content ul,
.content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.4em;
}

.content li {
    margin-bottom: 0.5em;
}

.content blockquote {
    margin: 1.5em 0;
    padding: 16px 22px;
    background: var(--blue-light);
    border-left: 4px solid var(--blue);
    border-radius: 0 12px 12px 0;
    color: var(--ink);
    font-weight: 500;
}

.content pre,
.content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9em;
}

.content pre {
    background: #0f172a;
    color: #f8fafc;
    padding: 18px 22px;
    border-radius: 14px;
    overflow-x: auto;
}

/* Official source */
.official-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 38px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 18px;
}

.official-label {
    color: var(--blue);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.official-box p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.official {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 12px 18px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    transition: all 0.25s var(--ease-out);
}

.official:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -5px rgba(37, 99, 235, 0.5);
    filter: brightness(1.05);
}

.official span {
    font-size: 14px;
}

/* Article back */
.article-back {
    margin-top: 28px;
}

.article-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s var(--ease-out);
}

.article-back a:hover {
    color: var(--blue);
    border-color: #bfdbfe;
    background: var(--blue-light);
}

.article-back span {
    transition: transform 0.2s var(--ease-out);
}

.article-back a:hover span {
    transform: translateX(-4px);
}


/* =========================================================
   FOOTER (DEEP OBSIDIAN)
========================================================= */

footer {
    background: var(--gradient-dark);
    color: #e2e8f0;
    padding: 64px 0 52px;
    border-top: 1px solid #1e293b;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.footer-brand {
    max-width: 440px;
}

.footer-logo {
    color: var(--white);
}

.footer-logo .brand-name {
    color: var(--white);
}

.footer-brand > p {
    margin: 18px 0 0;
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.75;
}

.footer-brand .copyright {
    margin-top: 22px;
    color: #64748b;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 170px;
}

.footer-title {
    margin-bottom: 6px;
    color: #60a5fa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(3px);
}


/* =========================================================
   SEARCH SUPPORT
========================================================= */

.search {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 690px;
    margin-top: 30px;
    padding: 7px;
    background: var(--white);
    border: 1.5px solid #cbd5e1;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), var(--shadow-md);
}

.search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 13px 16px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 500;
}

.search button {
    flex-shrink: 0;
    border: 0;
    padding: 0 26px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.25s var(--ease-out);
}

.search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
}

.quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.quick a {
    padding: 7px 13px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #475569;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quick a:hover {
    color: var(--blue);
    border-color: #93c5fd;
    background: var(--blue-light);
    transform: translateY(-1px);
}


/* =========================================================
   BRANCH GRID SUPPORT
========================================================= */

.branch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.branch-grid a {
    position: relative;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    color: var(--ink-dark);
    text-decoration: none;
    font-weight: 750;
    box-shadow: var(--shadow-sm);
    transition: all 0.28s var(--ease-out);
}

.branch-grid a:hover {
    transform: translateY(-5px);
    border-color: #93c5fd;
    box-shadow: var(--shadow-md);
}

.branch-grid span {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    border: 1px solid #dbeafe;
    border-radius: 13px;
    margin-bottom: 14px;
    font-size: 22px;
    transition: transform 0.25s var(--ease-out);
}

.branch-grid a:hover span {
    transform: scale(1.08);
    background: var(--gradient-primary);
    color: var(--white);
}

.branch-grid small {
    display: block;
    margin-top: 10px;
    color: var(--blue);
    font-size: 11.5px;
    font-weight: 700;
}


/* =========================================================
   FOCUS STATES
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}


/* =========================================================
   TABLET (<= 900px)
========================================================= */

@media (max-width: 900px) {

    .hero {
        padding: 76px 0 84px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-content {
        max-width: 750px;
    }

    .hero-card {
        max-width: 650px;
    }

    .solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .branch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE (<= 680px)
========================================================= */

@media (max-width: 680px) {

    .wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Header */
    .top {
        height: 66px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 12px;
    }

    .brand-name {
        margin-left: 9px;
        font-size: 18.5px;
    }

    .desktop-nav {
        display: none;
    }

    .article-nav a {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Hero */
    .hero {
        padding: 56px 0 66px;
    }

    .hero h1 {
        margin-top: 18px;
        font-size: clamp(34px, 9.5vw, 44px);
        letter-spacing: -0.045em;
    }

    .hero p {
        font-size: 15.5px;
        line-height: 1.7;
    }

    .hero-points {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-card {
        padding: 22px;
        border-radius: 20px;
    }

    .hero-card h3 {
        font-size: 19px;
    }

    /* Sections */
    .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .section-head {
        align-items: flex-start;
        margin-bottom: 26px;
    }

    .section-number {
        display: none;
    }

    .section h2 {
        font-size: 28px;
    }

    .section-head p {
        max-width: 340px;
        font-size: 13.5px;
    }

    /* Scholarship */
    .cards.two {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature {
        padding: 24px;
        border-radius: 20px;
    }

    .feature h3 {
        font-size: 21px;
    }

    .feature p {
        font-size: 13.5px;
    }

    /* Popular */
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .solution {
        min-height: auto;
        padding: 22px;
    }

    /* Article */
    .article-page {
        padding: 42px 0 64px;
    }

    .breadcrumb {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .article h1 {
        font-size: 31px;
        line-height: 1.18;
    }

    .article-content {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .content {
        font-size: 15.5px;
        line-height: 1.85;
    }

    .official-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .official {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    footer {
        padding: 44px 0;
    }

    .foot {
        flex-direction: column;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        width: 100%;
    }

    /* Search */
    .search {
        flex-direction: column;
        padding: 8px;
    }

    .search input {
        width: 100%;
    }

    .search button {
        min-height: 46px;
    }

    /* Branch */
    .branch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .branch-grid a {
        padding: 16px;
    }

}


/* =========================================================
   SMALL MOBILE (<= 390px)
========================================================= */

@media (max-width: 390px) {

    .wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-mark {
        width: 33px;
        height: 33px;
    }

    .hero {
        padding-top: 48px;
    }

    .badge {
        font-size: 9.5px;
        padding: 7px 11px;
    }

    .hero h1 {
        font-size: 33px;
    }

    .hero-card {
        padding: 18px;
    }

    .line span {
        font-size: 12.5px;
    }

    .feature {
        padding: 20px;
    }

    .feature h3 {
        font-size: 19px;
    }

    .feature-tags span {
        font-size: 9.5px;
    }

    .article h1 {
        font-size: 28px;
    }

    .article-content {
        padding: 20px 15px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}