/* ============================================================
           CSS — Premium Dark Fintech Aesthetic
           Reuses the exact design system from the homepage
           ============================================================ */

        /* ===== ROOT VARIABLES ===== */
        :root {
            --tp-primary-dark: #061525;
            --tp-primary-mid: #081D2E;
            --tp-surface: #0E2A44;
            --tp-surface-light: #163B5B;
            --tp-gold: #F4B400;
            --tp-green: #16B87A;
            --tp-white: #FFFFFF;
            --tp-muted: #94A3B8;
            --tp-border: rgba(255,255,255,0.08);
            --tp-border-light: rgba(255,255,255,0.12);
            --tp-font: 'Inter', sans-serif;
            --tp-mono: 'IBM Plex Mono', monospace;
            --tp-shadow: 0 20px 40px rgba(0,0,0,0.6);
            --tp-radius: 24px;
            --tp-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ===== RESET & BASE ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--tp-primary-dark);
            color: var(--tp-white);
            font-family: var(--tp-font);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--tp-transition);
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* ===== BUTTONS ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 40px;
            font-weight: 700;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            transition: all var(--tp-transition);
            text-align: center;
            justify-content: center;
        }

        .btn--primary {
            background: var(--tp-gold);
            color: #0B1A2A;
            box-shadow: 0 4px 20px rgba(244, 180, 0, 0.3);
        }
        .btn--primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(244, 180, 0, 0.45);
            background: #e0a500;
        }

        .btn--secondary {
            background: transparent;
            color: var(--tp-white);
            border: 1.5px solid rgba(255,255,255,0.2);
        }
        .btn--secondary:hover {
            border-color: var(--tp-gold);
            color: var(--tp-gold);
            background: rgba(244, 180, 0, 0.05);
            transform: translateY(-2px);
        }

        .btn--sm {
            padding: 6px 16px;
            font-size: 0.75rem;
        }
        .btn--lg {
            padding: 16px 40px;
            font-size: 1.05rem;
        }

        .btn--outline {
            background: transparent;
            color: var(--tp-white);
            border: 1.5px solid rgba(255,255,255,0.15);
        }
        .btn--outline:hover {
            border-color: var(--tp-gold);
            color: var(--tp-gold);
            background: rgba(244, 180, 0, 0.05);
        }
        .btn--outline-light {
            background: transparent;
            color: var(--tp-white);
            border: 1.5px solid rgba(255,255,255,0.25);
        }
        .btn--outline-light:hover {
            border-color: var(--tp-white);
            color: var(--tp-white);
            background: rgba(255,255,255,0.05);
        }
        .btn--disabled {
            opacity: 0.4;
            pointer-events: none;
            cursor: not-allowed;
        }

        /* ===== BADGE / EYEBROW ===== */
        .eyebrow {
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--tp-gold);
            background: rgba(244, 180, 0, 0.1);
            padding: 4px 16px;
            border-radius: 40px;
            border: 1px solid rgba(244, 180, 0, 0.15);
            margin-bottom: 16px;
        }

        /* ===== NAVIGATION (reused from homepage) ===== */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(6, 21, 37, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--tp-border);
            transition: background var(--tp-transition);
        }

        .navbar[data-scrolled="true"] {
            background: rgba(6, 21, 37, 0.96);
            box-shadow: 0 4px 30px rgba(0,0,0,0.4);
        }

        .navbar__inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

        .navbar__logo {
            font-size: 1.5rem;
            font-weight: 900;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .navbar__logo .logo-mark {
            color: var(--tp-gold);
        }
        .navbar__logo img {
            height: 36px;
            width: auto;
            display: block;
        }
        .navbar__logo .logo-text {
            display: inline-flex;
            align-items: center;
            gap: 2px;
        }
        .navbar__logo .logo-text .gold {
            color: var(--tp-gold);
        }

        .navbar__links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .navbar__link {
            font-weight: 500;
            font-size: 0.9rem;
            color: var(--tp-muted);
            transition: color var(--tp-transition);
            position: relative;
        }
        .navbar__link:hover {
            color: var(--tp-white);
        }
        .navbar__link--active {
            color: var(--tp-white);
        }
        .navbar__link--active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--tp-gold);
            border-radius: 2px;
        }

        .navbar__actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .navbar__toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
        }
        .navbar__toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--tp-white);
            border-radius: 2px;
            transition: all var(--tp-transition);
        }
        .navbar__toggle[aria-expanded="true"] span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .navbar__toggle[aria-expanded="true"] span:nth-child(2) {
            opacity: 0;
        }
        .navbar__toggle[aria-expanded="true"] span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* Mobile Menu */
        .mobile-menu {
            display: none;
            background: rgba(6, 21, 37, 0.98);
            backdrop-filter: blur(16px);
            padding: 20px 24px 32px;
            border-bottom: 1px solid var(--tp-border);
        }
        .mobile-menu[data-open="true"] {
            display: block;
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .mobile-menu__links {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .mobile-menu__link {
            padding: 12px 16px;
            border-radius: 12px;
            font-weight: 500;
            color: var(--tp-muted);
            transition: all var(--tp-transition);
        }
        .mobile-menu__link:hover,
        .mobile-menu__link--active {
            background: rgba(255,255,255,0.04);
            color: var(--tp-white);
        }
        .mobile-menu__link--active {
            color: var(--tp-gold);
        }

        /* ===== HERO ===== */
        .tp-inner-hero {
            padding: 60px 0 50px;
            position: relative;
            overflow: hidden;
            background: radial-gradient(ellipse at 30% 20%, #0E2A44 0%, transparent 70%);
        }

        .tp-hero-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            pointer-events: none;
        }
        .tp-hero-blob.b1 {
            width: 400px;
            height: 400px;
            background: rgba(244, 180, 0, 0.04);
            top: -150px;
            right: -100px;
        }
        .tp-hero-blob.b2 {
            width: 300px;
            height: 300px;
            background: rgba(22, 184, 122, 0.03);
            bottom: -100px;
            left: -100px;
        }

        .tp-breadcrumb {
            font-size: 0.8rem;
            color: var(--tp-muted);
            margin-bottom: 20px;
        }
        .tp-breadcrumb a {
            color: var(--tp-gold);
        }
        .tp-breadcrumb a:hover {
            text-decoration: underline;
        }
        .tp-breadcrumb .sep {
            margin: 0 8px;
        }
        .tp-breadcrumb .current {
            color: var(--tp-white);
        }

        .tp-inner-hero h1 {
            font-size: 3.2rem;
            font-weight: 900;
            letter-spacing: -0.02em;
            line-height: 1.1;
            margin-bottom: 16px;
        }
        .tp-inner-hero p {
            font-size: 1.15rem;
            color: var(--tp-muted);
            max-width: 620px;
        }

        /* ===== SECTION HEADERS ===== */
        .tp-section-head {
            max-width: 680px;
            margin-bottom: 40px;
        }
        .tp-section-head-split {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            flex-wrap: wrap;
            gap: 20px;
        }
        .tp-h2 {
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .tp-section-white {
            padding: 70px 0;
            background: var(--tp-primary-dark);
        }
        .tp-section-light {
            padding: 70px 0;
            background: var(--tp-primary-mid);
        }

        /* ===== CATEGORY GRID ===== */
        .tp-category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 24px;
        }

        .tp-category-card {
            background: var(--tp-surface);
            padding: 28px 24px;
            border-radius: var(--tp-radius);
            border: 1px solid var(--tp-border);
            transition: all var(--tp-transition);
            text-align: center;
        }
        .tp-category-card:hover {
            transform: translateY(-4px);
            border-color: rgba(244, 180, 0, 0.2);
            box-shadow: 0 12px 40px rgba(0,0,0,0.4);
        }
        .tp-category-card.is-active {
            border-color: var(--tp-gold);
            background: rgba(244, 180, 0, 0.05);
        }
        .tp-category-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: rgba(244, 180, 0, 0.08);
            margin-bottom: 12px;
            color: var(--tp-gold);
            font-size: 1.4rem;
        }
        .tp-category-card h3 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 4px;
        }
        .tp-category-card p {
            color: var(--tp-muted);
            font-size: 0.8rem;
            margin-bottom: 8px;
        }
        .tp-category-count {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--tp-gold);
            background: rgba(244, 180, 0, 0.08);
            padding: 2px 14px;
            border-radius: 20px;
        }

        /* ===== FILTER PILLS ===== */
        .tp-filter-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 28px;
        }
        .tp-filter-pill {
            padding: 6px 18px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 500;
            background: var(--tp-surface);
            border: 1px solid var(--tp-border);
            color: var(--tp-muted);
            transition: all var(--tp-transition);
        }
        .tp-filter-pill:hover {
            border-color: rgba(244, 180, 0, 0.3);
            color: var(--tp-white);
        }
        .tp-filter-pill.is-active {
            background: var(--tp-gold);
            color: #0B1A2A;
            border-color: var(--tp-gold);
        }

        /* ===== COURSE GRID ===== */
        .tp-home-courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .tp-course-card {
            background: var(--tp-surface);
            border-radius: var(--tp-radius);
            border: 1px solid var(--tp-border);
            overflow: hidden;
            transition: all var(--tp-transition);
        }
        .tp-course-card:hover {
            transform: translateY(-6px);
            border-color: rgba(244, 180, 0, 0.12);
            box-shadow: 0 12px 40px rgba(0,0,0,0.4);
        }

        .tp-course-image {
            height: 180px;
            position: relative;
            overflow: hidden;
            background: var(--tp-surface-light);
        }
        .tp-course-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .tp-course-image-fallback {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--tp-muted);
            background: var(--tp-surface-light);
        }
        .tp-course-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            font-size: 0.6rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            padding: 4px 14px;
            border-radius: 20px;
            background: rgba(244, 180, 0, 0.15);
            color: var(--tp-gold);
            border: 1px solid rgba(244, 180, 0, 0.1);
        }
        .tp-course-featured-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 0.6rem;
            font-weight: 700;
            padding: 4px 14px;
            border-radius: 20px;
            background: var(--tp-gold);
            color: #0B1A2A;
        }

        .tp-course-body {
            padding: 20px 24px 24px;
        }
        .tp-course-body h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin: 4px 0 8px;
        }
        .tp-course-body p {
            color: var(--tp-muted);
            font-size: 0.85rem;
            line-height: 1.6;
            margin-bottom: 12px;
        }
        .tp-course-instructor {
            font-size: 0.8rem;
            color: var(--tp-muted);
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 10px;
        }
        .tp-course-meta {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            font-size: 0.75rem;
            color: var(--tp-muted);
            margin-bottom: 14px;
        }
        .tp-course-meta span {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .tp-course-foot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 14px;
            border-top: 1px solid var(--tp-border);
        }
        .tp-course-price {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--tp-gold);
        }
        .tp-course-old-price {
            font-size: 0.8rem;
            color: var(--tp-muted);
            text-decoration: line-through;
            margin-right: 6px;
        }

        /* ===== WHY GRID ===== */
        .tp-home-why-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 30px;
        }

        .tp-home-why-card {
            background: var(--tp-surface);
            padding: 32px 24px;
            border-radius: var(--tp-radius);
            border: 1px solid var(--tp-border);
            transition: all var(--tp-transition);
        }
        .tp-home-why-card:hover {
            transform: translateY(-4px);
            border-color: rgba(244, 180, 0, 0.1);
        }
        .tp-home-why-card .icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: rgba(244, 180, 0, 0.08);
            margin-bottom: 16px;
            font-size: 1.4rem;
            color: var(--tp-gold);
        }
        .tp-home-why-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 6px;
        }
        .tp-home-why-card p {
            color: var(--tp-muted);
            font-size: 0.9rem;
            line-height: 1.7;
        }

        /* ===== CTA BANNER ===== */
        .tp-cta-banner {
            background: var(--tp-surface);
            border-radius: var(--tp-radius);
            padding: 56px 40px;
            text-align: center;
            border: 1px solid var(--tp-border);
        }
        .tp-cta-banner h2 {
            font-size: 2.4rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 12px;
        }
        .tp-cta-banner p {
            color: var(--tp-muted);
            font-size: 1.05rem;
            max-width: 540px;
            margin: 0 auto 32px;
        }
        .tp-cta-actions {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ===== REVEAL ===== */
        [data-reveal="fade-up"] {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.7s cubic-bezier(0.65, 0, 0.35, 1);
        }
        [data-reveal="fade-up"].is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== FOOTER (reused) ===== */
        .footer {
            background: #06111f;
            border-top: 1px solid var(--tp-border);
            padding-top: 60px;
        }
        .footer__grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
        }
        .footer__brand .navbar__logo { font-size: 1.3rem; }
        .footer__desc {
            color: var(--tp-muted);
            font-size: 0.9rem;
            max-width: 300px;
            margin: 12px 0 16px;
            line-height: 1.7;
        }
        .footer__social {
            display: flex;
            gap: 12px;
        }
        .footer__social-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--tp-border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--tp-muted);
            transition: all var(--tp-transition);
        }
        .footer__social-icon:hover {
            border-color: var(--tp-gold);
            color: var(--tp-gold);
            transform: translateY(-2px);
        }
        .footer__heading {
            font-size: 0.85rem;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .footer__col a {
            display: block;
            color: var(--tp-muted);
            font-size: 0.85rem;
            padding: 4px 0;
            transition: color var(--tp-transition);
        }
        .footer__col a:hover {
            color: var(--tp-white);
        }
        .footer__text {
            display: block;
            color: var(--tp-muted);
            font-size: 0.85rem;
            padding: 4px 0;
        }
        .footer__bottom {
            border-top: 1px solid var(--tp-border);
            padding: 20px 0;
        }
        .footer__bottom-inner {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.8rem;
            color: var(--tp-muted);
        }
        .footer__bottom-links {
            display: flex;
            gap: 20px;
        }
        .footer__bottom-links a {
            color: var(--tp-muted);
        }
        .footer__bottom-links a:hover {
            color: var(--tp-white);
        }
        .footer__disclaimer {
            font-size: 0.7rem;
            color: rgba(148, 163, 184, 0.4);
            text-align: center;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid rgba(255,255,255,0.03);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .footer__grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .navbar__links { display: none; }
            .navbar__toggle { display: flex; }
            .mobile-menu { display: none; }
            .mobile-menu[data-open="true"] { display: block; }

            .tp-inner-hero h1 { font-size: 2.2rem; }
            .tp-h2 { font-size: 1.8rem; }
            .tp-cta-banner h2 { font-size: 1.8rem; }
            .tp-cta-banner { padding: 36px 24px; }
            .tp-home-courses-grid { grid-template-columns: 1fr; }
            .tp-category-grid { grid-template-columns: 1fr 1fr; }
            .footer__grid { grid-template-columns: 1fr; gap: 32px; }
            .footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; }
            .tp-section-head-split { flex-direction: column; align-items: flex-start; }
        }

        @media (max-width: 480px) {
            .tp-inner-hero h1 { font-size: 1.8rem; }
            .tp-category-grid { grid-template-columns: 1fr; }
            .tp-cta-actions { flex-direction: column; align-items: stretch; }
            .tp-cta-actions .btn { justify-content: center; }
            .container { padding: 0 16px; }
            .tp-course-foot { flex-direction: column; gap: 12px; align-items: stretch; }
            .tp-course-foot .btn { justify-content: center; }
            .navbar__logo { font-size: 1.2rem; }
            .navbar__logo img { height: 28px; }
        }