/* =============================================
   SkillBeings – Enrollment + Scholarship  v2.1.0
   IMPORTANT RULE: NO !important on color/bg/font
   so Elementor inline styles can always override.
   Only border-radius uses !important (layout-critical).
   ============================================= */

/* ── SECTION ── */
.sbe-section {
    position: relative;
    background-color: #5b4fcf;
    overflow: hidden;
}
.sbe-section::before {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 70% at 0% 0%,    rgba(255,255,255,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 100% 100%, rgba(0,0,0,0.15)      0%, transparent 55%);
}
.sbe-inner {
    position: relative; z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 48px 40px;
    box-sizing: border-box;
}

/* ── LIMITED SEATS BADGE ── */
.sbe-badge {
    position: absolute; top: 0; right: 0; z-index: 10;
    background-color: #f5c518;
    color: #1a1409;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;
    padding: 14px 18px 32px;
    width: 90px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
    letter-spacing: .01em;
    word-break: break-word;
}

/* ── TOP HEADER ── */
.sbe-top-header {
    margin-bottom: 26px;
    padding-right: 100px;
}
.sbe-eyebrow {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin: 0 0 10px;
}
.sbe-main-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0;
}

/* ══════════════════════════════
   PRICING CARD
══════════════════════════════ */
.sbe-pricing-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background-color: rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 14px;
}

/* LEFT */
.sbe-pc-left {
    flex: 1;
    min-width: 0;
    padding: 36px 38px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
}
.sbe-course-title {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}
.sbe-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.sbe-price-strike {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    text-decoration: line-through;
}
.sbe-price-main {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    font-weight: 700;
    color: #f5785a;
    letter-spacing: -.01em;
}

/* BUTTONS */
.sbe-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.sbe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 100px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    line-height: 1;
    white-space: nowrap;
    transition: transform .22s cubic-bezier(.22,.68,0,1.3), box-shadow .2s, background-color .2s;
}
.sbe-btn:hover { transform: translateY(-2px); }

.sbe-btn-primary {
    background-color: #f5785a;
    color: #fff;
    box-shadow: 0 5px 18px rgba(245,120,90,0.38);
}
.sbe-btn-primary:hover {
    background-color: #e8622a;
    box-shadow: 0 9px 26px rgba(245,120,90,0.52);
}
.sbe-btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.50);
}
.sbe-btn-outline:hover {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.8);
}
.sbe-btn-gold {
    background-color: #d4a843;
    color: #1a1000;
    font-weight: 700;
    box-shadow: 0 5px 18px rgba(212,168,67,0.35);
}
.sbe-btn-gold:hover {
    background-color: #c49632;
    box-shadow: 0 9px 26px rgba(212,168,67,0.55);
}
.sbe-btn-gold-outline {
    background-color: transparent;
    color: #fdd96a;
    border: 1.5px solid rgba(245,197,24,0.40);
    font-size: 14px;
}
.sbe-btn-gold-outline:hover {
    background-color: rgba(245,197,24,0.08);
    border-color: rgba(245,197,24,0.65);
}

.sbe-emi {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    font-style: italic;
    color: rgba(255,255,255,0.40);
    line-height: 1.65;
    margin: 0;
}

/* DIVIDER */
.sbe-pc-divider {
    width: 1px;
    flex-shrink: 0;
    background-color: rgba(255,255,255,0.13);
    margin: 24px 0;
}

/* RIGHT – STATS */
.sbe-pc-right {
    width: 280px;
    flex-shrink: 0;
    padding: 36px 36px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    box-sizing: border-box;
}
.sbe-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-left: 14px;
    position: relative;
}
.sbe-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 3px; bottom: 3px;
    width: 3px;
    border-radius: 2px;
    background-color: rgba(255,255,255,0.20);
    transition: background-color .2s;
}
.sbe-stat:hover::before { background-color: #f5c518; }
.sbe-stat-label {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.50);
    margin: 0;
}
.sbe-stat-value {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
    margin: 0;
}

/* ══════════════════════════════
   SCHOLARSHIP STRIP
══════════════════════════════ */
.sbe-schol-strip {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    background-color: rgba(245,197,24,0.08);
    border: 1px solid rgba(245,197,24,0.30);
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 14px;
    overflow: hidden;
    position: relative;
}
.sbe-schol-strip::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 55% 100% at 0% 50%, rgba(245,197,24,0.06) 0%, transparent 60%);
}

.sbe-schol-icon-wrap { flex-shrink: 0; }
.sbe-schol-icon {
    font-size: 40px;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(245,197,24,0.45));
    animation: sbe-float 3s ease-in-out infinite;
}
@keyframes sbe-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

.sbe-schol-main {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}
.sbe-schol-eyebrow {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(245,197,24,0.65);
    margin: 0 0 7px;
}
.sbe-schol-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -.01em;
    margin: 0 0 7px;
}
.sbe-schol-desc {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.50);
    line-height: 1.65;
    margin: 0;
}

/* TIERS */
.sbe-schol-tiers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 205px;
    position: relative;
    z-index: 1;
}
.sbe-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background-color: rgba(245,197,24,0.07);
    border: 1px solid rgba(245,197,24,0.18);
    border-radius: 9px;
    padding: 9px 13px;
    transition: background-color .2s, border-color .2s, transform .2s;
}
.sbe-tier:hover {
    background-color: rgba(245,197,24,0.14);
    border-color: rgba(245,197,24,0.38);
    transform: translateX(3px);
}
.sbe-tier-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sbe-tier-medal { font-size: 16px; line-height: 1; }
.sbe-tier-name {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
}
.sbe-tier-amount {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    color: #fdd96a;
    white-space: nowrap;
}

/* SCHOLARSHIP CTA */
.sbe-schol-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
}
.sbe-schol-note {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 12px;
    font-style: italic;
    color: rgba(255,255,255,0.38);
    text-align: center;
    margin: 0;
}

/* ── URGENCY BAR ── */
.sbe-urgency {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(245,197,24,0.07);
    border: 1px solid rgba(245,197,24,0.22);
    border-radius: 10px;
    padding: 13px 20px;
    position: relative;
    z-index: 1;
}
.sbe-urgency-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f5c518;
    flex-shrink: 0;
    animation: sbe-pulse 1.8s ease infinite;
}
@keyframes sbe-pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .35; transform: scale(1.7); }
}
.sbe-urgency-text {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #f5c518;
}

/* ══════════════════════════════
   TABLET  ≤ 960px
══════════════════════════════ */
@media (max-width: 960px) {
    .sbe-schol-strip  { flex-wrap: wrap; gap: 18px; }
    .sbe-schol-tiers  { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 9px; }
    .sbe-tier         { flex: 1; min-width: 150px; }
    .sbe-schol-cta    { flex-direction: row; flex-wrap: wrap; align-items: center; width: 100%; }
    .sbe-schol-note   { width: 100%; text-align: left; }
}

/* ══════════════════════════════
   TABLET ≤ 780px – stack pricing card
══════════════════════════════ */
@media (max-width: 780px) {
    .sbe-inner        { padding: 36px 32px 30px; }
    .sbe-pricing-card { flex-direction: column; }
    .sbe-pc-divider   { width: calc(100% - 52px); height: 1px; margin: 0 26px; }
    .sbe-pc-right {
        width: 100%;
        padding: 0 34px 30px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 28px;
    }
}

/* ══════════════════════════════
   MOBILE ≤ 560px
══════════════════════════════ */
@media (max-width: 560px) {
    .sbe-inner          { padding: 30px 20px 26px; }
    .sbe-top-header     { padding-right: 80px; }
    .sbe-main-heading   { font-size: 1.7rem; }
    .sbe-pc-left        { padding: 26px 22px; gap: 16px; }
    .sbe-pc-right       { padding: 0 22px 24px; grid-template-columns: 1fr 1fr; }
    .sbe-btn-row        { flex-direction: column; align-items: stretch; }
    .sbe-btn            { width: 100%; justify-content: center; }
    .sbe-badge          { width: 74px; font-size: 11.5px; padding: 11px 13px 28px; }
    .sbe-schol-strip    { padding: 20px; gap: 16px; }
    .sbe-schol-icon     { font-size: 32px; }
    .sbe-schol-tiers    { flex-direction: column; }
    .sbe-tier           { min-width: unset; }
    .sbe-schol-cta      { flex-direction: column; }
    .sbe-schol-cta .sbe-btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════
   MOBILE ≤ 400px – very small screens
══════════════════════════════ */
@media (max-width: 400px) {
    .sbe-inner        { padding: 26px 16px 22px; }
    .sbe-pc-right     { grid-template-columns: 1fr; }
    .sbe-pc-divider   { width: calc(100% - 32px); margin: 0 16px; }
    .sbe-main-heading { font-size: 1.5rem; }
}
