/* Hero Section */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #0b0f19 80%);
    color: #ffffff;
    padding: 80px 24px 100px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
    top: -150px;
    left: -100px;
    filter: blur(60px);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    filter: blur(60px);
    pointer-events: none;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 20px 0;
}

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-img-card {
    width: 100%;
    max-width: 540px;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img-card:hover {
    transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
}

.hero-img-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Badges on Hero */
.float-badge {
    position: absolute;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.float-badge-1 {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.float-badge-2 {
    bottom: -20px;
    right: -15px;
    animation-delay: 2s;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* Stats Bar */
.stats-section {
    background: #0d1322;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 24px;
}

.stats-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.88rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Interactive Courses Section */
.catalog-section {
    padding: 70px 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4f46e5;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.section-desc {
    color: #64748b;
    font-size: 1.05rem;
    margin: 0;
}

/* Interactive Filter Bar */
.filter-hub {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

.search-box-wrapper {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.search-box-wrapper input {
    width: 100%;
    padding: 11px 16px 11px 42px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.pill-btn.active {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Course Cards */
.course-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08), 0 0 20px rgba(99, 102, 241, 0.12);
    border-color: #cbd5e1;
}

.course-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.course-duration {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.course-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-badge-preview {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-badge-preview span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

/* Interactive Workflow / Steps */
.workflow-section {
    background: #f1f5f9;
    padding: 80px 24px;
}

.steps-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: transform 0.25s ease;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.step-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Badges Showcase */
.badges-section {
    padding: 80px 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.badge-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.badge-card:hover {
    transform: translateY(-6px);
    border-color: #6366f1;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}

.badge-icon-wrap {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

/* Interactive FAQ */
.faq-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    padding: 0 24px 20px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(45deg);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #0c4a6e 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    margin: 40px auto 80px;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(30, 27, 75, 0.35);
}

@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-cta-group { justify-content: center; }
    .float-badge { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.5rem; }
}
