* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --main-color: #141821;        /* deep charcoal */
            --primary-color: #B01216;      /* signature red */
            --white-color: #ffffff;
            --off-white: #f0f2f8;
            --soft-gray: #e9ecf2;
            --text-dark: #181e2b;
            --text-soft: #4a505e;
            --card-bg: #ffffff;
            --red-soft: rgba(176, 18, 22, 0.04);
            --shadow-card: 0 25px 45px -18px rgba(0,0,0,0.2), 0 10px 20px -10px rgba(176,18,22,0.1);
            --transition-main: 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--off-white);
            color: var(--text-dark);
        }

        h1, h2, h3, h4, h5 {
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        /* ----- FULLY RESTRUCTURED HERO (different layout) ----- */
        .hero-unique {
            background-color: var(--main-color);
            padding: 200px 0 100px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
            margin-bottom: -30px;
        }

        .hero-unique .container {
            position: relative;
            z-index: 3;
        }

        .hero-pill {
            background: rgba(176,18,22,0.18);
            backdrop-filter: blur(4px);
            padding: 6px 18px 6px 12px;
            border-radius: 40px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(255,255,255,0.1);
            color: var(--white-color);
            font-weight: 500;
            font-size: 0.9rem;
            margin-bottom: 25px;
        }

        .hero-pill i {
            background: var(--primary-color);
            border-radius: 50%;
            padding: 5px;
            font-size: 0.7rem;
        }

        .hero-unique h1 {
            color: white;
            font-size: 3.3rem;
            font-weight: 800;
            line-height: 1.1;
            max-width: 700px;
        }

        .hero-unique .hero-desc {
            color: rgba(255,255,255,0.7);
            font-size: 1.2rem;
            max-width: 550px;
            margin-top: 20px;
            border-left: 4px solid var(--primary-color);
            padding-left: 24px;
        }

        .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 40px;
        }
        .stat-item h3 {
            color: white;
            font-size: 2rem;
            margin-bottom: -5px;
        }
        .stat-item span {
            color: rgba(255,255,255,0.6);
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 1px;
        }

        /* ----- ALTERNATIVE TAB DESIGN (segmented capsule) ----- */
        .tab-unique-wrapper {
            position: sticky;
            top: 80px;
            z-index: 1020;
            margin: 20px 0 40px;
            display: flex;
            justify-content: center;
        }

        .segmented-tabs {
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(16px);
            padding: 6px;
            border-radius: 80px;
            box-shadow: 0 20px 35px -10px rgba(0,0,0,0.2);
            border: 1px solid rgba(255,255,255,0.8);
            display: inline-flex;
            flex-wrap: wrap;
            width: auto;
            max-width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .segmented-tabs::-webkit-scrollbar { display: none; }

        .segmented-link {
            padding: 12px 32px;
            border-radius: 60px;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--main-color);
            background: transparent;
            border: none;
            white-space: nowrap;
            transition: 0.2s;
            border: 1px solid transparent;
        }
        .segmented-link:hover {
            background: var(--red-soft);
            color: var(--primary-color);
        }
        .segmented-link.active {
            background: var(--main-color) !important;
            color: white !important;
            border-color: var(--primary-color);
            box-shadow: 0 6px 14px rgba(176,18,22,0.4);
        }

        /* ----- NEW SECTION HEADER (with decorative red line) ----- */
        .section-header-modern {
            text-align: left;
            margin: 0 0 40px 0;
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .section-header-modern h2 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--main-color);
            margin: 0;
        }
        .section-header-modern .header-line {
            height: 5px;
            width: 80px;
            background: var(--primary-color);
            border-radius: 8px;
        }
        .section-header-modern p {
            color: var(--text-soft);
            max-width: 600px;
            margin-left: auto;
            font-size: 1rem;
        }

        /* ----- COMPLETELY REDESIGNED COURSE CARD (vertical split, new info layout) ----- */
        .card-fresh {
            background: var(--card-bg);
            border-radius: 28px;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
            transition: var(--transition-main);
            box-shadow: var(--shadow-card);
            border: 1px solid rgba(0,0,0,0.02);
            position: relative;
        }
        .card-fresh:hover {
            transform: scale(1.01) translateY(-8px);
            box-shadow: 0 35px 55px -20px rgba(176,18,22,0.25);
        }

        .card-media {
            position: relative;
            height: 170px;
            background: #1e2433;
        }
        .card-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.85;
            transition: 0.5s;
        }
        .card-fresh:hover .card-media img {
            opacity: 1;
            transform: scale(1.02);
        }

        .badge-new {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--main-color);
            color: white;
            padding: 5px 14px;
            border-radius: 60px;
            font-size: 0.7rem;
            font-weight: 700;
            border: 1px solid var(--primary-color);
            z-index: 5;
        }

        .card-content {
            padding: 22px 22px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
            background: white;
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: 800;
            line-height: 1.35;
            color: var(--main-color);
            margin-bottom: 12px;
        }

        .card-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            align-items: center;
            margin-bottom: 18px;
        }
        .meta-chip {
            background: var(--red-soft);
            color: var(--primary-color);
            padding: 4px 12px;
            border-radius: 40px;
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .meta-chip i {
            font-size: 0.7rem;
        }

        .live-indicator {
            background: #ffe9e9;
            color: var(--primary-color);
            padding: 4px 12px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 0.7rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border: 1px solid rgba(176,18,22,0.3);
        }
        .live-indicator::before {
            content: '';
            width: 6px;
            height: 6px;
            background: var(--primary-color);
            border-radius: 50%;
            animation: pulse 1.2s infinite;
        }

        @keyframes pulse { 0% { opacity:0.6; transform:scale(1); } 50% { opacity:1; transform:scale(1.4); } }

        .card-desc {
            color: var(--text-soft);
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 22px;
            flex-grow: 1;
        }

        .card-footer-action {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px dashed rgba(0,0,0,0.1);
            padding-top: 16px;
            margin-top: auto;
        }
        .price-tag {
            font-weight: 800;
            color: var(--primary-color);
            font-size: 1.1rem;
        }
        .btn-outline-red {
            border: 2px solid var(--primary-color);
            background: transparent;
            color: var(--primary-color);
            border-radius: 50px;
            padding: 8px 18px;
            font-weight: 700;
            font-size: 0.85rem;
            text-decoration: none;
            transition: 0.25s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-outline-red:hover {
            background: var(--primary-color);
            color: white !important;
        }
        .card-fresh:hover .btn-outline-red {
            background: var(--primary-color);
            color: white;
        }

        /* layout */
        .container-wide {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 24px;
        }

        @media (max-width: 768px) {
            .hero-unique h1 { font-size: 2.3rem; }
            .section-header-modern { flex-wrap: wrap; }
            .segmented-link { padding: 8px 20px; }
            
        .tab-unique-wrapper {
            padding: 0 10px;
            width: 100%;
            overflow-x: visible;
        }
        
        .segmented-tabs {
            display: flex;
            flex-wrap: nowrap !important;
            overflow-x: auto !important;
            -webkit-overflow-scrolling: touch !important;
            scroll-snap-type: x mandatory;
            gap: 8px;
            padding: 10px 15px;
            margin: 0 -5px;
            width: auto;
            max-width: none;
            border-radius: 40px;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-color) rgba(176,18,22,0.1);
        }
        
        .segmented-tabs::-webkit-scrollbar {
            height: 3px;
            display: block !important;
        }
        
        .segmented-tabs::-webkit-scrollbar-track {
            background: rgba(176,18,22,0.1);
            border-radius: 10px;
        }
        
        .segmented-tabs::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
        }
        
        .segmented-link {
            flex: 0 0 auto;
            scroll-snap-align: start;
            white-space: nowrap;
            padding: 10px 20px;
            font-size: 0.85rem;
        }
    }