/* ============================================================
   NAPAD AI Training Platform — ArkoConsulting 2026
   Complete stylesheet — Tech/AI palette
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --bg: #F8F9FC;
    --bg-section: #EEF1F8;
    --bg-card: #FFFFFF;
    --bg-dark: #1A1D2E;
    --text: #1A1D2E;
    --text-muted: #5C6378;
    --text-light: #8B92A5;
    --accent: #E8890C;
    --accent-light: #F0A040;
    --accent-glow: rgba(232, 137, 12, 0.08);
    --blue: #2563EB;
    --blue-light: #4B83F0;
    --blue-pale: rgba(37, 99, 235, 0.08);
    --green: #059669;
    --green-pale: rgba(5, 150, 105, 0.08);
    --purple: #7C3AED;
    --purple-pale: rgba(124, 58, 237, 0.08);
    --gold: #D97706;
    --gold-pale: rgba(217, 119, 6, 0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --shadow: 0 1px 3px rgba(26, 29, 46, 0.06), 0 1px 2px rgba(26, 29, 46, 0.04);
    --shadow-md: 0 4px 12px rgba(26, 29, 46, 0.08), 0 2px 4px rgba(26, 29, 46, 0.04);
    --shadow-lg: 0 10px 30px rgba(26, 29, 46, 0.1), 0 4px 8px rgba(26, 29, 46, 0.04);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ---- Container ---- */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--purple));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ============================================================
   PASSWORD GATE
   ============================================================ */
.gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 24px;
}

.gate.hidden {
    display: none;
}

.gate-inner {
    text-align: center;
    max-width: 420px;
    width: 100%;
}

.gate-logo {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.gate-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-section);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.gate-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.gate-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gate-input-wrap {
    position: relative;
}

.gate-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.gate-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1.5px solid #D1D5E0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg-card);
    transition: var(--transition);
    outline: none;
}

.gate-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.gate-input::placeholder {
    color: var(--text-light);
}

.gate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.gate-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.gate-error {
    font-size: 13px;
    color: #DC2626;
    min-height: 20px;
}

.gate-shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 249, 252, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(209, 213, 224, 0.5);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.nav.visible {
    transform: translateY(0);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav-logo-text {
    white-space: nowrap;
}

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

.nav-links a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-xs);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: var(--accent-glow);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-section) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(232, 137, 12, 0.15);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    flex: 1;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.stat-number-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
    text-align: center;
}

/* Hero decorative circles */
.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.hero-circle--1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -5%;
    background: radial-gradient(circle, var(--blue-pale) 0%, transparent 70%);
}

.hero-circle--2 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: 15%;
    background: radial-gradient(circle, var(--purple-pale) 0%, transparent 70%);
}

.hero-circle--3 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 30%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--bg-section);
}

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

.section-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(232, 137, 12, 0.15);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   PROGRAMME GRID
   ============================================================ */
.programme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.programme-day {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(209, 213, 224, 0.4);
    margin-bottom: 24px;
}

.programme-day:last-child {
    margin-bottom: 0;
}

.programme-day-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.programme-day-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    color: #fff;
}

.programme-day-badge--blue { background: var(--blue); }
.programme-day-badge--accent { background: var(--accent); }
.programme-day-badge--green { background: var(--green); }

.programme-day-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #E2E5EC;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 12px 0 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.timeline-item:hover {
    background: var(--bg-section);
}

.timeline-item--closing {
    cursor: default;
}

.timeline-item--closing:hover {
    background: transparent;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #E2E5EC;
    background: var(--bg-card);
    z-index: 1;
    transition: var(--transition);
}

.timeline-dot--blue { border-color: var(--blue); background: var(--blue-pale); }
.timeline-dot--accent { border-color: var(--accent); background: var(--accent-glow); }
.timeline-dot--green { border-color: var(--green); background: var(--green-pale); }
.timeline-dot--purple { border-color: var(--purple); background: var(--purple-pale); }

.timeline-item:hover .timeline-dot {
    transform: translateY(-50%) scale(1.3);
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.timeline-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-top: 2px;
    line-height: 1.4;
}

.timeline-arrow {
    color: var(--text-light);
    flex-shrink: 0;
    transition: var(--transition);
}

.timeline-item:hover .timeline-arrow {
    color: var(--accent);
    transform: translateX(3px);
}

/* Tags */
.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 4px;
}

.tag--blue { color: var(--blue); background: var(--blue-pale); }
.tag--accent { color: var(--accent); background: var(--accent-glow); }
.tag--green { color: var(--green); background: var(--green-pale); }
.tag--purple { color: var(--purple); background: var(--purple-pale); }

/* ============================================================
   OBJECTIVES GRID
   ============================================================ */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.objective-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(209, 213, 224, 0.4);
    transition: var(--transition);
}

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

.objective-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--card-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.objective-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.objective-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   ACCORDIONS
   ============================================================ */
.accordion {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(209, 213, 224, 0.4);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-section);
}

.accordion-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accordion-icon--blue { background: var(--blue-pale); color: var(--blue); }
.accordion-icon--accent { background: var(--accent-glow); color: var(--accent); }
.accordion-icon--green { background: var(--green-pale); color: var(--green); }
.accordion-icon--purple { background: var(--purple-pale); color: var(--purple); }

.accordion-header-text {
    flex: 1;
    min-width: 0;
}

.accordion-day {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.accordion-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-top: 2px;
    line-height: 1.3;
}

.accordion-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.accordion-duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
}

.accordion-chevron {
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-chevron {
    transform: rotate(180deg);
}

/* Accordion body */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body.open {
    max-height: 2000px;
}

.accordion-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    padding: 0 24px 28px;
    border-top: 1px solid #E2E5EC;
    padding-top: 24px;
}

.accordion-block {
    margin-bottom: 20px;
}

.accordion-block:last-child {
    margin-bottom: 0;
}

.accordion-block-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.accordion-block p,
.accordion-list li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.accordion-list {
    padding-left: 0;
}

.accordion-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.accordion-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.accordion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

.pill--blue { color: var(--blue); background: var(--blue-pale); }
.pill--accent { color: var(--accent); background: var(--accent-glow); }
.pill--green { color: var(--green); background: var(--green-pale); }
.pill--purple { color: var(--purple); background: var(--purple-pale); }

/* Accordion side */
.accordion-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-exercise,
.accordion-output {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-section);
    border: 1px solid #E2E5EC;
}

.accordion-exercise p,
.accordion-output p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.accordion-materials {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px dashed #D1D5E0;
}

.material-placeholder {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 4px;
}

/* ============================================================
   PLATFORM SECTION
   ============================================================ */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.platform-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(209, 213, 224, 0.4);
    transition: var(--transition);
    text-align: center;
}

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

.platform-phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.platform-phase-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.platform-phase-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.platform-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   TRAINERS SECTION
   ============================================================ */
.trainers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.trainer-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(209, 213, 224, 0.4);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: var(--transition);
}

.trainer-card:hover {
    box-shadow: var(--shadow-md);
}

.trainer-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trainer-avatar--accent { background: var(--accent); }
.trainer-avatar--blue { background: var(--blue); }

.trainer-info {
    flex: 1;
    min-width: 0;
}

.trainer-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.trainer-role-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 100px;
    color: #fff;
    background: var(--accent);
    margin-bottom: 8px;
}

.trainer-role-badge--blue {
    background: var(--blue);
}

.trainer-role {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.trainer-bio {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.trainer-langs {
    display: flex;
    gap: 6px;
    font-size: 20px;
}

.lang-flag {
    display: inline-block;
    line-height: 1;
}

/* ============================================================
   DOWNLOADS SECTION
   ============================================================ */
.download-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}

.download-tab {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    color: var(--text-muted);
    background: var(--bg-section);
    border: 1px solid transparent;
    transition: var(--transition);
}

.download-tab:hover {
    color: var(--text);
    background: var(--bg-card);
    border-color: #D1D5E0;
}

.download-tab.active {
    color: var(--accent);
    background: var(--accent-glow);
    border-color: rgba(232, 137, 12, 0.2);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(209, 213, 224, 0.3);
    transition: var(--transition);
}

.download-card.hidden {
    display: none;
}

.download-card:hover {
    box-shadow: var(--shadow-md);
}

.download-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon--pdf { background: #FEF2F2; color: #DC2626; }
.download-icon--docx { background: var(--blue-pale); color: var(--blue); }
.download-icon--xlsx { background: var(--green-pale); color: var(--green); }

.download-info {
    flex: 1;
    min-width: 0;
}

.download-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.download-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.download-meta {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.download-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.download-badge--soon {
    color: var(--text-light);
    background: var(--bg-section);
    border: 1px solid #E2E5EC;
}

.download-badge--later {
    color: var(--gold);
    background: var(--gold-pale);
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.download-badge--ready {
    color: var(--green);
    background: var(--green-pale);
    border: 1px solid rgba(5, 150, 105, 0.15);
    cursor: pointer;
}

.download-badge--ready:hover {
    background: var(--green);
    color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 32px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-name {
    display: block;
    color: #fff;
    font-size: 15px;
}

.footer-tagline {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-decoration {
        opacity: 0.4;
    }

    .programme-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

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

    .accordion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(248, 249, 252, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(209, 213, 224, 0.5);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        display: block;
        padding: 10px 12px;
        font-size: 15px;
    }

    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 30px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 640px)
   ============================================================ */
@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-header {
        margin-bottom: 36px;
    }

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

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

    .trainer-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .accordion-header {
        padding: 16px;
        gap: 12px;
    }

    .accordion-icon {
        width: 36px;
        height: 36px;
    }

    .accordion-title {
        font-size: 14px;
    }

    .accordion-grid {
        padding: 0 16px 20px;
        padding-top: 20px;
    }

    .download-tabs {
        gap: 6px;
    }

    .download-tab {
        font-size: 12px;
        padding: 6px 14px;
    }

    .download-card {
        padding: 12px 16px;
    }

    .container {
        padding: 0 16px;
    }

    .gate-title {
        font-size: 24px;
    }

    .gate-subtitle {
        font-size: 14px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .programme-day {
        padding: 20px;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .gate,
    .nav,
    .progress-bar,
    .back-to-top,
    .download-tabs,
    .gate-form,
    .hero-decoration,
    .nav-hamburger {
        display: none !important;
    }

    body {
        font-size: 12px;
        color: #000;
        background: #fff;
    }

    .content {
        display: block !important;
    }

    .section,
    .hero {
        padding: 24px 0;
        break-inside: avoid;
    }

    .section--alt {
        background: #f5f5f5;
    }

    .hero {
        padding-top: 24px;
    }

    .accordion-body {
        max-height: none !important;
        overflow: visible !important;
    }

    .objective-card,
    .platform-card,
    .trainer-card,
    .accordion,
    .download-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .footer {
        background: #333;
    }

    a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 10px;
        color: #666;
    }

    .nav-links a::after,
    .footer-links a::after {
        content: none;
    }
}

/* ============================================================
   UTILITY ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Selection color */
::selection {
    background: var(--accent-glow);
    color: var(--text);
}

/* Focus ring for accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #C5C9D6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A0A5B5;
}
