/* ========================================
   PUBLIC TRAINING PAGES STYLES
   SaaS Premium Theme - Blue Primary
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */
.training-hero {
    position: relative;
    padding: 150px 0 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #1e40af 100%);
}

.training-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.training-hero-bg .hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

.training-hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.training-hero-text {
    flex: 1;
}

.training-hero-illustration {
    flex: 0 0 340px;
}

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: #fff;
}

.breadcrumb-nav i {
    font-size: 0.65rem;
}

.breadcrumb-nav span {
    color: #fff;
    font-weight: 500;
}

.breadcrumb-light {
    padding-top: 10px;
}

/* Hero Title */
.training-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.training-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}

/* Hero Stats */
.training-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px 28px;
    width: fit-content;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Illustration */
.illustration-card {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.illustration-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
}

.illustration-floating {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.floating-1 {
    top: -15px;
    right: -10px;
    animation: floatBounce 4s ease-in-out infinite;
}

.floating-2 {
    bottom: 30px;
    left: -20px;
    animation: floatBounce 5s ease-in-out infinite 0.5s;
}

.floating-3 {
    bottom: -10px;
    right: 20px;
    animation: floatBounce 4.5s ease-in-out infinite 1s;
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

/* Hero Wave */
.training-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.training-hero-wave svg {
    width: 100%;
    height: auto;
}

/* ========================================
   EXPERTISE STRIP (Training Page Override)
   ======================================== */
.training-hero + .expertise-strip-section {
    margin-top: -80px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

/* Detail Hero */
.detail-hero {
    position: relative;
    padding: 130px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #1e40af 100%);
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.detail-hero-bg .hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.detail-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.detail-hero-wave svg {
    width: 100%;
    height: auto;
}

/* ========================================
   HERO SECTION WITH IMAGE BACKGROUND
   ======================================== */
.training-hero-image {
    background: transparent;
    position: relative;
    padding: 150px 0 160px;
    overflow: hidden;
}

.training-hero-image .training-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.training-hero-image .training-hero-content {
    position: relative;
    z-index: 2;
    display: block;
}

.training-hero-image .training-hero-text {
    max-width: 700px;
}

.training-hero-image .training-hero-illustration {
    display: none;
}

/* Responsive untuk Hero Image */
@media (max-width: 768px) {
    .training-hero-image {
        padding: 120px 0 140px;
    }
    
    .training-hero-image .training-hero-text {
        max-width: 100%;
    }
    
    .hero-bg-image {
        object-position: 65% center;
    }
}

@media (max-width: 480px) {
    .training-hero-image {
        padding: 110px 0 120px;
    }
    
    .hero-bg-image {
        object-position: 70% center;
    }
}


/* ========================================
   FILTER SECTION
   ======================================== */
.training-filter-section {
    padding: 32px 0 8px;
    background: #fff;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.filter-search {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.filter-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
}

.filter-search-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #374151;
    transition: all 0.2s;
    background: #f9fafb;
}

.filter-search-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-select {
    padding: 10px 32px 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.85rem;
    font-family: inherit;
    color: #374151;
    background: #f9fafb url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") right 8px center/20px no-repeat;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.filter-select:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}


/* ========================================
   TRAINING CARDS GRID
   ======================================== */
.training-list-section {
    padding: 32px 0 60px;
    background: #fff;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

/* Training Card */
.training-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.training-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.training-card-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
}

.training-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.training-card:hover .training-card-image img {
    transform: scale(1.05);
}

.training-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 100%);
    color: #2563eb;
    font-size: 3rem;
    opacity: 0.5;
}

.training-card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-free {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.badge-paid {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
}

.badge-upcoming {
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb;
    backdrop-filter: blur(4px);
}

.badge-past {
    background: rgba(107, 114, 128, 0.9);
    color: #fff;
}

.badge-live {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    animation: livePulse 2s infinite;
}

.badge-mode {
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.training-card-mode {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Card Body */
.training-card-body {
    padding: 20px 22px 0;
    flex: 1;
}

.training-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.training-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #6b7280;
}

.training-card-meta i {
    color: #2563eb;
    font-size: 0.75rem;
}

.training-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.training-card:hover .training-card-title {
    color: #2563eb;
}

.training-card-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.training-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

.info-item i {
    color: #2563eb;
    width: 16px;
    text-align: center;
    font-size: 0.75rem;
}

/* Card Footer */
.training-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-top: 1px solid #f3f4f6;
    background: #fafbfc;
}

.training-card-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2563eb;
}

.training-card-price .price-original {
    font-size: 0.85rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: line-through;
    display: block;
    line-height: 1;
    margin-bottom: 2px;
    animation: blinkPrice 1.5s ease-in-out infinite;
}

@keyframes blinkPrice {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.training-card-price .price-promo {
    font-size: 1.1rem;
    font-weight: 800;
    color: #dc2626;
    display: block;
    line-height: 1.2;
}

/* Button overrides for cards */
.training-card-footer .btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
    border-radius: 10px;
    font-weight: 600;
}


/* ========================================
   PAGINATION
   ======================================== */
.training-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.training-pagination nav {
    display: flex;
}

.training-pagination .pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.training-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    transition: all 0.2s;
    text-decoration: none;
}

.training-pagination .page-item .page-link:hover {
    background: #eef2ff;
    border-color: #2563eb;
    color: #2563eb;
}

.training-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.training-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ========================================
   EMPTY STATE
   ======================================== */
.training-empty {
    text-align: center;
    padding: 80px 20px;
}

.training-empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: #2563eb;
    opacity: 0.6;
}

.training-empty h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.training-empty p {
    font-size: 1rem;
    color: #6b7280;
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.6;
}


/* ========================================
   CTA SECTION
   ======================================== */
.training-cta-section {
    padding: 0 0 80px;
    background: #fff;
}

.training-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 56px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #1e40af 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.training-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.btn-white:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


/* ========================================
   DETAIL PAGE STYLES
   ======================================== */
.detail-content-section {
    padding: 0 0 80px;
    background: #f9fafb;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

/* Main Content */
.detail-main {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.detail-banner {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
}

.detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.detail-banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #2563eb;
    opacity: 0.4;
}

.detail-banner-placeholder i {
    font-size: 4rem;
}

.detail-banner-placeholder span {
    font-size: 1rem;
    font-weight: 500;
}

.detail-header {
    padding: 28px 32px 0;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.detail-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.detail-author-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.detail-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-avatar-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-label {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
}

/* Detail Sections */
.detail-section {
    padding: 28px 32px;
    border-top: 1px solid #f3f4f6;
}

.detail-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section-title i {
    color: #2563eb;
    font-size: 1rem;
}

.detail-description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.8;
}

.detail-tools {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.8;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Materials */
.detail-materials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s;
}

.material-item:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.material-icon {
    width: 42px;
    height: 42px;
    background: #eef2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.material-info {
    flex: 1;
}

.material-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.material-size {
    font-size: 0.75rem;
    color: #9ca3af;
}

.material-lock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
}

.material-lock i {
    font-size: 0.7rem;
}


/* ========================================
   SIDEBAR
   ======================================== */
.detail-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.sidebar-price {
    padding: 24px 24px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f0f4ff, #eef2ff);
    border-bottom: 1px solid #e5e7eb;
}

.price-label {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -0.02em;
}

.price-free {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-original-sidebar {
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: #9ca3af !important;
    text-decoration: line-through;
    -webkit-text-fill-color: #9ca3af;
    margin-bottom: 0;
    animation: blinkPrice 1.5s ease-in-out infinite;
}

.price-promo-sidebar {
    font-size: 2rem;
    font-weight: 800;
    color: #dc2626 !important;
    -webkit-text-fill-color: #dc2626;
}

/* ========================================
   DETAIL AUTHOR ROW
   ======================================== */
.detail-author-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.author-avatar-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
}

/* ========================================
   RECORDING LINK
   ======================================== */
.detail-recording {
    margin-top: 12px;
}

.recording-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef3f2, #fee2e2);
    border: 1px solid #fecaca;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recording-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.12);
    border-color: #fca5a5;
}

.recording-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recording-icon i {
    font-size: 1.2rem;
    color: #fff;
}

.recording-info {
    flex: 1;
}

.recording-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 2px;
}

.recording-desc {
    display: block;
    font-size: 0.8rem;
    color: #b91c1c;
}

.recording-link > i.fa-external-link-alt {
    color: #dc2626;
    font-size: 0.85rem;
}

.sidebar-details {
    padding: 20px 24px;
}

.sidebar-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.sidebar-detail-item:last-child {
    border-bottom: none;
}

.sidebar-detail-item > i {
    color: #2563eb;
    font-size: 0.95rem;
    margin-top: 2px;
    width: 20px;
    text-align: center;
}

.sidebar-detail-item .detail-label {
    display: block;
    font-size: 0.72rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.sidebar-detail-item .detail-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

/* Quota */
.sidebar-quota {
    padding: 0 24px 20px;
}

.quota-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.quota-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.quota-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
}

/* CTA Button */
.sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 24px 20px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-block {
    width: calc(100% - 48px);
}

.btn-primary.sidebar-cta {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary.sidebar-cta:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: #e5e7eb;
    color: #6b7280;
    border: none;
    cursor: not-allowed;
}

/* Share */
.sidebar-share {
    padding: 16px 24px 24px;
    border-top: 1px solid #f3f4f6;
}

.share-label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
}

.share-btn.facebook:hover {
    background: #4267b2;
    color: #fff;
    border-color: #4267b2;
}

.share-btn.copy-link:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}


/* ========================================
   RELATED SECTION
   ======================================== */
.related-section {
    padding: 60px 0 80px;
    background: #fff;
}


/* ========================================
   COMING SOON PAGE
   ======================================== */
.coming-soon-section {
    padding: 20px 0 80px;
    background: #fff;
}

.coming-soon-content {
    max-width: 680px;
    margin: 0 auto;
}

.coming-soon-card {
    text-align: center;
    padding: 48px 40px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.coming-soon-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 28px;
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    border-radius: 32px;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #2563eb;
    position: relative;
    z-index: 1;
}

.coming-soon-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
    animation: pulseSlow 3s ease-in-out infinite;
}

@keyframes pulseSlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 1; }
}

.coming-soon-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.coming-soon-text {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    text-align: left;
}

.cs-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.cs-feature:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.cs-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cs-feature-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
}

.cs-feature-text p {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0;
}

.coming-soon-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.coming-soon-cta .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
    border-radius: 12px;
}

.coming-soon-cta .btn-outline {
    border: 2px solid #e5e7eb;
    color: #374151;
    background: #fff;
}

.coming-soon-cta .btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eef2ff;
}


/* ========================================
   PROGRAM LINKS GRID
   ======================================== */
.program-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.program-link-card {
    position: relative;
    padding: 28px 24px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s;
    overflow: hidden;
}

.program-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
    border-color: #2563eb;
}

.program-link-card:hover .program-link-icon {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
}

.program-link-card:hover .program-link-arrow {
    color: #2563eb;
    transform: translateX(4px);
}

.program-link-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.program-link-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.program-link-card p {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.program-link-arrow {
    position: absolute;
    top: 28px;
    right: 24px;
    color: #d1d5db;
    transition: all 0.3s;
}

.program-link-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.program-link-soon {
    opacity: 0.75;
}

.program-link-soon:hover {
    opacity: 1;
}


/* ========================================
   FAQ SECTION
   ======================================== */
.training-faq-section {
    padding: 60px 0 20px;
    background: #fff;
}

.training-faq-section .section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.training-faq-section .section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.training-faq-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.training-faq-section .section-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.faq-item.active {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.2s;
}

.faq-question span {
    font-size: 1rem;
    font-weight: 650;
    color: #1f2937;
    line-height: 1.4;
}

.faq-item.active .faq-question span {
    color: #2563eb;
}

.faq-icon {
    font-size: 0.8rem;
    color: #9ca3af;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 10px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.75;
    margin: 0;
    padding-top: 4px;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .training-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .training-hero-subtitle {
        max-width: 100%;
    }

    .training-hero-stats {
        margin: 0 auto;
    }

    .training-hero-illustration {
        flex: none;
    }

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

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

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

    .filter-bar {
        flex-wrap: wrap;
    }

    .filter-search {
        min-width: 100%;
    }

    .filter-group {
        flex-wrap: wrap;
        flex: 1;
    }

    .training-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }
}

@media (max-width: 768px) {
    .training-hero {
        padding: 120px 0 140px;
    }

    .training-hero + .expertise-strip-section {
        margin-top: -60px;
    }

    .training-hero-title {
        font-size: 2rem;
    }

    .training-hero-subtitle {
        font-size: 1rem;
    }

    .training-hero-stats {
        padding: 16px 20px;
        gap: 16px;
    }

    .hero-stat-number {
        font-size: 1.3rem;
    }

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

    .training-grid-3 {
        grid-template-columns: 1fr;
    }

    .detail-banner {
        aspect-ratio: 4 / 5;
    }

    .detail-title {
        font-size: 1.35rem;
    }

    .detail-header,
    .detail-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sidebar-cta {
        margin: 0 16px 16px;
    }

    .btn-block {
        width: calc(100% - 32px);
    }

    .filter-bar {
        padding: 14px 16px;
    }

    .filter-group {
        width: 100%;
    }

    .filter-select {
        flex: 1;
        min-width: 0;
    }

    .program-links-grid {
        grid-template-columns: 1fr;
    }

    .illustration-card {
        width: 200px;
        height: 200px;
    }

    .illustration-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .coming-soon-card {
        padding: 32px 20px;
    }

    .coming-soon-title {
        font-size: 1.5rem;
    }

    .coming-soon-cta {
        flex-direction: column;
    }

    .detail-author-row {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .training-hero {
        padding: 110px 0 120px;
    }

    .training-hero + .expertise-strip-section {
        margin-top: -40px;
    }

    .training-hero-title {
        font-size: 1.6rem;
    }

    .training-hero-stats {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   BOOTCAMP HERO VARIANT
   ======================================== */
.training-hero-bootcamp {
    background: linear-gradient(135deg, #1e293b 0%, #6d28d9 50%, #4c1d95 100%);
}

@keyframes blinkPrice {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
