/* ─── BrightlyEd Design System ─────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --primary:   #1B4B8A;
    --primary-dark: #123468;
    --primary-light: #2563B0;
    --gold:      #C8973A;
    --gold-light:#E5B85A;
    --dark:      #1A2035;
    --mid:       #4A5568;
    --muted:     #718096;
    --light-bg:  #F7F9FC;
    --white:     #FFFFFF;
    --border:    #E2E8F0;
    --success:   #2D8A4E;
    --radius:    8px;
    --shadow:    0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

/* ─── Nav ──────────────────────────────────────────────────────────────── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary);
    font-weight: 700;
}

.nav-logo-text span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--mid);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(27, 75, 138, 0.07);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: rgba(200, 151, 58, 0.15);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(200, 151, 58, 0.2);
    border: 1px solid rgba(200, 151, 58, 0.5);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--gold-light); }

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.hero-card:first-child {
    grid-column: span 2;
}

.hero-card .hc-icon { font-size: 36px; margin-bottom: 10px; }
.hero-card .hc-num { font-size: 32px; font-weight: 700; color: var(--gold-light); }
.hero-card .hc-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200,151,58,0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-blue {
    background: var(--primary);
    color: white;
}

.btn-blue:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* ─── Section Wrappers ──────────────────────────────────────────────────── */
.section {
    padding: 80px 24px;
}

.section-light { background: var(--light-bg); }
.section-dark {
    background: var(--primary-dark);
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.eyebrow-gold { color: var(--gold); }

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-dark .section-header h2,
.section-dark h2 { color: white; }

.section-header p {
    font-size: 17px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ─── Cards ─────────────────────────────────────────────────────────────── */
.card-grid {
    display: grid;
    gap: 24px;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.card-icon-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 16px;
}

.card-link:hover { color: var(--primary-dark); }

/* ─── Page Hero (inner pages) ───────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 70px 24px;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

/* ─── Breadcrumb ────────────────────────────────────────────────────────── */
.breadcrumb {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* ─── Tables ────────────────────────────────────────────────────────────── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    background: var(--primary);
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.data-table th:first-child { border-radius: 8px 0 0 0; }
.data-table th:last-child  { border-radius: 0 8px 0 0; }

.data-table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--mid);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--light-bg); }
.data-table tr:hover td { background: rgba(27,75,138,0.04); }

.table-wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* ─── Info Boxes ────────────────────────────────────────────────────────── */
.info-box {
    background: rgba(27,75,138,0.06);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.info-box.gold-box {
    background: rgba(200,151,58,0.08);
    border-left-color: var(--gold);
}

.info-box.success-box {
    background: rgba(45,138,78,0.07);
    border-left-color: var(--success);
}

.info-box h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--primary); }
.info-box.gold-box h4 { color: #a07020; }
.info-box.success-box h4 { color: var(--success); }
.info-box p { font-size: 14px; color: var(--mid); }

/* ─── Steps / Process ───────────────────────────────────────────────────── */
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--muted); }

/* ─── Accordions / FAQ ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-q {
    padding: 18px 22px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    color: var(--dark);
}

.faq-q:hover { background: var(--light-bg); }

.faq-a {
    padding: 0 22px 18px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}

/* ─── Badges / Tags ─────────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-blue  { background: rgba(27,75,138,0.1); color: var(--primary); }
.badge-gold  { background: rgba(200,151,58,0.15); color: #8a5f10; }
.badge-green { background: rgba(45,138,78,0.1); color: var(--success); }
.badge-red   { background: rgba(220,38,38,0.1); color: #dc2626; }

/* ─── Callout Banner ────────────────────────────────────────────────────── */
.callout {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    color: var(--dark);
}

.callout h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin-bottom: 14px;
}

.callout p {
    font-size: 17px;
    margin-bottom: 28px;
    opacity: 0.85;
}

/* ─── Stats Row ─────────────────────────────────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

.section-dark .stat-item .stat-num { color: var(--gold-light); }
.section-dark .stat-item .stat-label { color: rgba(255,255,255,0.65); }

/* ─── Two-col layout ─────────────────────────────────────────────────────── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.two-col-wide { grid-template-columns: 3fr 2fr; }

/* ─── Deadlines / Notice ────────────────────────────────────────────────── */
.deadline-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.deadline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.deadline-item .dl-event { font-weight: 600; font-size: 14px; }
.deadline-item .dl-date { font-size: 13px; color: var(--primary); font-weight: 600; }
.deadline-item .dl-note { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 24px 32px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo-text { color: white; }

.footer-brand p {
    font-size: 14px;
    margin-top: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
}

.footer-col h4 {
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
    max-width: 1200px;
    margin: 28px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 36px; }
    .card-grid-3 { grid-template-columns: 1fr 1fr; }
    .card-grid-4 { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .card-grid-2,
    .card-grid-3,
    .card-grid-4 { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hero { padding: 60px 20px; }
    .section { padding: 56px 20px; }
    .section-header h2 { font-size: 28px; }
}
