/* ===============================
   HERO
   =============================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    gap: 40px;
    min-height: calc(100vh - 60px);
    background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
}

.hero__content {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero__tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: #185FA5;
    background: #eef4ff;
    padding: 6px 14px;
    border-radius: 20px;
    width: fit-content;
}

.hero__content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.15;
    margin: 0;
}

.hero__content h1 span {
    color: #185FA5;
}

.hero__content p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn--lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn--outline {
    background: transparent;
    border: 2px solid #185FA5;
    color: #185FA5;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn--outline:hover {
    background: #185FA5;
    color: #ffffff;
}

/* Hero Visual */
.hero__visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.hero__card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333333;
    min-width: 260px;
}

.hero__card--offset {
    margin-left: 30px;
}

.hero__card--offset2 {
    margin-left: 60px;
}

.live-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: #ff4444;
    animation: pulse 2s infinite;
}

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

/* ===============================
   FEATURES
   =============================== */
.features {
    padding: 80px 10%;
    text-align: center;
    background: #ffffff;
}

.features h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 40px;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #f8faff;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: left;
    border: 1px solid #eef4ff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(24,95,165,0.1);
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111111;
    margin: 0 0 8px 0;
}

.feature-card p {
    font-size: 0.88rem;
    color: #777777;
    line-height: 1.6;
    margin: 0;
}

/* ===============================
   CTA BANNER
   =============================== */
.cta-banner {
    padding: 80px 10%;
    background: #185FA5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.cta-banner p {
    color: #c8dff5;
    font-size: 1rem;
    margin: 0;
}

.cta-banner .btn--primary {
    background: #ffffff;
    color: #185FA5;
    margin-top: 8px;
}

.cta-banner .btn--primary:hover {
    background: #eef4ff;
}

/* ===============================
   DASHBOARD (logged in)
   =============================== */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.dashboard__header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 4px 0;
}

.dashboard__header h1 span {
    color: #185FA5;
}

.dashboard__header p {
    color: #777777;
    font-size: 0.9rem;
    margin: 0;
}

/* ===============================
   SECTIONS
   =============================== */
.section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section__title h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111111;
    margin: 0;
}

.see-all {
    font-size: 0.85rem;
    color: #185FA5;
    text-decoration: none;
    font-weight: 500;
}

.see-all:hover {
    text-decoration: underline;
}

/* ===============================
   SESSION CARDS
   =============================== */
.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.session-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid #eeeeee;
    border-left: 4px solid #ff4444;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge.live {
    background: #fff0f0;
    color: #ff4444;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.host {
    font-size: 0.8rem;
    color: #999999;
}

.session-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111111;
    margin: 0;
}

.session-card p {
    font-size: 0.85rem;
    color: #777777;
    margin: 0;
}

.btn-join {
    padding: 8px 16px;
    background: #185FA5;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
    margin-top: auto;
}

.btn-join:hover {
    background: #1a6fc0;
}

/* ===============================
   COURSE CARDS
   =============================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.course-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid #eeeeee;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.course-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.course-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-card__body h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
    margin: 0;
}

.course-card__body p {
    font-size: 0.83rem;
    color: #777777;
    margin: 0;
    line-height: 1.5;
}

.course-card__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.course-card__meta span {
    font-size: 0.78rem;
    color: #aaaaaa;
}

/* ===============================
   EMPTY STATE
   =============================== */
.empty {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.empty a {
    color: #185FA5;
    text-decoration: none;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 60px 6%;
        text-align: center;
    }

    .hero__content {
        align-items: center;
    }

    .hero__visual {
        align-items: center;
    }

    .hero__card--offset,
    .hero__card--offset2 {
        margin-left: 0;
    }

    .hero__content h1 {
        font-size: 2.2rem;
    }

    .features,
    .cta-banner {
        padding: 60px 6%;
    }
}

@media (max-width: 600px) {
    .sessions-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
}