
    /* ==========================================================
   University Links - Apply subdomain
   Theme shared with the main site (navy / violet / warm accents)
   ========================================================== */

:root {
    --navy: #0f0a4a;
    --navy-soft: #1c1670;
    --violet: #4535d6;
    --violet-soft: #eeecfd;
    --maroon: #7f0d0d;
    --orange: #e0480a;
    --teal: #12806a;

    --cream: #fdfcf8;
    --lavender: #f4f3ff;
    --white: #ffffff;
    --text: #1d1b3a;
    --muted: #5b5a73;
    --border: #e6e4f3;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow: 0 10px 30px rgba(15, 10, 74, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 10, 74, 0.16);

    --font: "Poppins", "Segoe UI", Arial, sans-serif;
    --header-height: 88px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 10px);
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 3px;
}

/* ==========================================================
   HEADER  (same look as the main site nav)
   ========================================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
    line-height: 1.15;
}

.logo span {
    color: var(--navy);
}

.logo small {
    margin-top: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--violet);
}

.nav-links .nav-button {
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    transition: background 0.2s ease;
}

.nav-links .nav-button:hover {
    background: var(--violet);
    color: var(--white);
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    font-size: 1.15rem;
    cursor: pointer;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.primary-button,
.secondary-button,
.card-button,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--navy);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    background: var(--navy);
    color: var(--white);
}

.primary-button:hover {
    background: var(--violet);
    border-color: var(--violet);
}

.secondary-button {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy-soft);
}

.secondary-button:hover {
    background: var(--navy);
    color: var(--white);
}

/* ==========================================================
   HERO
   ========================================================== */

.hero-section {
    padding: 80px 0 90px;
    background:
        radial-gradient(circle at 85% 20%, rgba(69, 53, 214, 0.1), transparent 45%),
        linear-gradient(135deg, var(--lavender) 0%, var(--white) 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--violet-soft);
    color: var(--violet);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-content h1 {
    margin-bottom: 22px;
    font-size: clamp(2.3rem, 4.6vw, 3.7rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.hero-content h1 .accent {
    color: var(--violet);
}

.hero-content > p {
    max-width: 520px;
    margin-bottom: 32px;
    font-size: 1.05rem;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
}

.hero-benefits i {
    margin-right: 6px;
    color: var(--teal);
}

/* Hero progress card */

.hero-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.card-header span {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
}

.card-header strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
}

.progress-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 1.2rem;
}

.application-step {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--cream);
}

.application-step > div:nth-child(2) {
    flex: 1;
}

.application-step h3 {
    margin: 0 0 2px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--navy);
}

.application-step p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--muted);
}

.step-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--violet-soft);
    color: var(--violet);
}

.step-number {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
}

.status-icon {
    font-size: 1.3rem;
    color: var(--teal);
}

.application-step.completed {
    border-color: rgba(18, 128, 106, 0.35);
    background: #eef8f5;
}

.application-step.completed .step-icon {
    background: var(--teal);
    color: var(--white);
}

.card-button {
    width: 100%;
    margin-top: 10px;
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.card-button:hover {
    background: var(--navy);
    border-color: var(--navy);
}

/* ==========================================================
   HOW IT WORKS
   ========================================================== */

.how-section {
    padding: 90px 0;
    background: var(--white);
}

.section-heading {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-heading span,
.section-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--violet);
}

.section-heading h2,
.features-content h2 {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.section-heading p,
.features-content > p {
    color: var(--muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-card {
    position: relative;
    padding: 32px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--cream);
}

.process-card:nth-child(1) { border-top: 5px solid var(--navy); }
.process-card:nth-child(2) { border-top: 5px solid var(--violet); }
.process-card:nth-child(3) { border-top: 5px solid var(--orange); }
.process-card:nth-child(4) { border-top: 5px solid var(--teal); }

.process-number {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--border);
}

.process-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: var(--navy);
    color: var(--white);
    font-size: 1.2rem;
}

.process-card:nth-child(2) .process-icon { background: var(--violet); }
.process-card:nth-child(3) .process-icon { background: var(--orange); }
.process-card:nth-child(4) .process-icon { background: var(--teal); }

.process-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.process-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

/* ==========================================================
   FEATURES
   ========================================================== */

.features-section {
    padding: 90px 0;
    background: var(--lavender);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-list {
    display: grid;
    gap: 22px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--violet);
    font-size: 1.1rem;
}

.feature-item h3 {
    margin-bottom: 4px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy);
}

.feature-item p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

/* Dashboard preview */

.dashboard-preview {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.preview-top span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.preview-top h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.student-avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    font-size: 0.9rem;
    font-weight: 700;
}

.preview-status {
    margin-bottom: 22px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.preview-status > div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.preview-status span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.preview-status strong {
    font-size: 1.4rem;
    font-weight: 800;
}

.progress-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.progress-bar {
    width: 25%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--violet), #8f84ff);
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.preview-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.preview-card i {
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: #b9b2ff;
}

.preview-card span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.preview-card strong {
    font-size: 0.95rem;
    font-weight: 700;
}

/* ==========================================================
   CTA
   ========================================================== */

.cta-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 52px 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, var(--violet) 100%);
    color: var(--white);
}

.cta-box span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #cfcaff;
}

.cta-box h2 {
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-box p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.cta-button {
    flex-shrink: 0;
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.cta-button:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* ==========================================================
   FOOTER
   ========================================================== */

.main-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
}

.footer-content p {
    max-width: 380px;
    margin: 0;
    font-size: 0.92rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.92rem;
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid,
    .features-grid { gap: 40px; }
}

@media (max-width: 900px) {
    .hero-grid,
    .features-grid { grid-template-columns: 1fr; }

    .hero-section { padding: 56px 0 64px; }
    .how-section,
    .features-section { padding: 64px 0; }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 28px;
    }

    .menu-button { display: inline-grid; place-items: center; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 24px;
        background: var(--cream);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-links.active { display: flex; }

    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links .nav-button {
        margin-top: 16px;
        padding: 14px 22px;
        border-bottom: 0;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .container { padding: 0 18px; }
    .steps-grid,
    .preview-cards { grid-template-columns: 1fr; }
    .hero-card,
    .dashboard-preview { padding: 20px; }
    .footer-content { flex-direction: column; }
    .primary-button,
    .secondary-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
    
  