:root {
    --st-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --st-ink: #0f172a;
    --st-ink-soft: #334155;
    --st-muted: #64748b;
    --st-subtle: #94a3b8;
    --st-bg: #f8fafc;
    --st-surface: #ffffff;
    --st-surface-alt: #f8fafc;
    --st-border: #e2e8f0;
    --st-border-hover: #cbd5e1;
    --st-blue: #2563eb;
    --st-radius-card: 24px;
    --st-shadow-card: 0 1px 3px rgba(15, 23, 42, 0.03), 0 8px 24px -4px rgba(15, 23, 42, 0.04);
    --st-shadow-card-hover: 0 20px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.st-products-section {
    font-family: var(--st-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    padding: 96px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: var(--st-ink);
    overflow: hidden;
}

.st-products-section * {
    box-sizing: border-box;
}

.st-pr-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================================
   SECTION HEADER
   ========================================================================= */
.st-pr-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.st-pr-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #eff6ff;
    color: var(--st-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 9999px;
    border: 1px solid #dbeafe;
    margin-bottom: 20px;
}

.st-pr-title {
    font-size: 40px;
    line-height: 1.18;
    font-weight: 800;
    color: var(--st-ink);
    margin: 0 0 18px;
    letter-spacing: -0.03em;
}

.st-pr-subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: var(--st-muted);
    margin: 0;
}

/* =========================================================================
   BENTO GRID LAYOUT
   ========================================================================= */
.st-pr-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

/* Base Card */
.st-pr-card {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-card);
    padding: 32px 30px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--st-shadow-card);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease;
    text-align: left;
}

.st-pr-card:hover {
    transform: translateY(-5px);
    border-color: var(--st-border-hover);
    box-shadow: var(--st-shadow-card-hover);
}

/* Column Spans */
.st-pr-card-large  { grid-column: span 3; }
.st-pr-card-medium { grid-column: span 3; }
.st-pr-card-small  { grid-column: span 2; }

/* Top Row: Icon + Badge */
.st-pr-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.st-pr-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.st-pr-card:hover .st-pr-card-icon {
    transform: scale(1.06);
}

.st-pr-card-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Typography */
.st-pr-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--st-ink);
    margin: 0 0 10px;
    letter-spacing: -0.015em;
}

.st-pr-card-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--st-muted);
    margin: 0 0 16px;
}

/* =========================================================================
   SCANNABLE FEATURE CHECKLISTS IN CARDS
   ========================================================================= */
.st-pr-feature-list {
    list-style: none;
    padding: 14px 0 0;
    margin: 0 0 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex-grow: 1;
}

.st-pr-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--st-ink-soft);
}

.st-pr-feature-list li strong {
    color: var(--st-ink);
    font-weight: 600;
}

.st-pr-check {
    width: 16px;
    height: 16px;
    color: var(--st-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Action / Link */
.st-pr-learn-more,
button.st-pr-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--st-blue);
    margin-bottom: 22px;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    width: fit-content;
    transition: gap 0.2s ease, color 0.2s ease;
}

button.st-pr-learn-more:focus-visible {
    outline: 2px solid var(--st-blue);
    outline-offset: 4px;
    border-radius: 6px;
}

.st-pr-learn-more svg {
    transition: transform 0.2s ease;
}

.st-pr-card:hover .st-pr-learn-more svg {
    transform: translateX(4px);
}

/* =========================================================================
   VISUAL PREVIEW CONTAINER
   ========================================================================= */
.st-pr-visual {
    background: var(--st-surface-alt);
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 22px;
    height: 154px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: auto;
    overflow: hidden;
}

/* 1. Online Courses Visual */
.st-vis-course {
    width: 100%;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.st-vis-video {
    width: 100%;
    height: 84px;
    background: #0f172a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}
.st-vis-video-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 2px 7px;
    border-radius: 4px;
}
.st-vis-pill-right {
    left: auto;
    right: 8px;
    background: rgba(37, 99, 235, 0.85);
}
.st-vis-play {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}
.st-pr-card:hover .st-vis-play {
    transform: scale(1.1);
}
.st-vis-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.st-vis-progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}
.st-vis-progress-fill {
    width: 68%;
    height: 100%;
    background: #2563eb;
    border-radius: 9999px;
}
.st-vis-progress-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-muted);
    white-space: nowrap;
}

/* 2. Test Series Visual */
.st-vis-test {
    width: 100%;
    max-width: 240px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.03);
}
.st-vis-test-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.st-vis-q-line {
    width: 65%;
    height: 7px;
    background: #94a3b8;
    border-radius: 4px;
}
.st-vis-q-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--st-ink-soft);
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
}
.st-vis-q-timer {
    font-size: 10px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 6px;
    border-radius: 4px;
}
.st-vis-option {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}
.st-vis-option:last-child {
    margin-bottom: 0;
}
.st-vis-radio {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
}
.st-vis-radio.active {
    border-color: #059669;
    background: #059669;
}
.st-vis-opt-line {
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
}

/* 3. Coaching Visual */
.st-vis-coach {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 8px;
}
.st-vis-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}
.st-vis-avatar.blue {
    background: #3b82f6;
    margin-right: -14px;
    z-index: 2;
}
.st-vis-avatar.purple {
    background: #8b5cf6;
    z-index: 1;
}
.st-vis-badge {
    position: absolute;
    bottom: -6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--st-ink);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.06);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.st-vis-live-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: stPulse 1.8s infinite;
}
@keyframes stPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* 4. Digital Downloads Visual */
.st-vis-dl {
    width: 90px;
    height: 104px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px 24px 10px 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.04);
}
.st-vis-dl::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    border-left: 2px solid #e2e8f0;
    border-radius: 0 0 0 8px;
}
.st-vis-dl-arrow {
    width: 32px;
    height: 32px;
    background: #fffbeb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
}
.st-vis-dl-tag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #d97706;
}

/* 5. Memberships Visual */
.st-vis-mem {
    position: relative;
    width: 156px;
    height: 100px;
}
.st-vis-mem-card {
    position: absolute;
    width: 100%;
    height: 58px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.03);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
}
.st-vis-mem-card:nth-child(1) { top: 2px; z-index: 1; transform: scale(0.88) translateY(-12px); opacity: 0.55; }
.st-vis-mem-card:nth-child(2) { top: 12px; z-index: 2; transform: scale(0.94) translateY(-4px); opacity: 0.8; }
.st-vis-mem-card:nth-child(3) { top: 26px; z-index: 3; border-color: #fbcfe8; }
.st-vis-star {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fdf2f8;
    color: #db2777;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.st-vis-mem-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.st-vis-mem-line { height: 5px; background: #e2e8f0; border-radius: 3px; }

/* =========================================================================
   TIER 2: INTERACTIVE 4-PILLAR FEATURE DEEP-DIVE
   ========================================================================= */
.st-pr-deepdive {
    margin-top: 40px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-card);
    padding: 36px 36px 34px;
    box-shadow: var(--st-shadow-card);
}

.st-pr-deepdive-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--st-border);
    margin-bottom: 28px;
}

.st-pr-dd-eyebrow {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--st-blue);
    margin-bottom: 6px;
}

.st-pr-dd-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--st-ink);
    margin: 0;
    letter-spacing: -0.02em;
}

.st-pr-dd-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    background: var(--st-surface-alt);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid var(--st-border);
}

.st-pr-dd-tab {
    appearance: none;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-muted);
    padding: 9px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.st-pr-dd-tab:hover {
    color: var(--st-ink);
}

.st-pr-dd-tab.is-active {
    background: var(--st-surface);
    color: var(--st-ink);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.st-pr-dd-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.st-pr-dd-intro-text h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--st-ink);
    margin: 0 0 6px;
}

.st-pr-dd-intro-text p {
    font-size: 14.5px;
    color: var(--st-muted);
    margin: 0;
    max-width: 720px;
    line-height: 1.6;
}

.st-pr-dd-pill {
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    white-space: nowrap;
}

.st-pr-dd-subgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.st-pr-dd-item {
    background: var(--st-surface-alt);
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.st-pr-dd-item:hover {
    border-color: var(--st-border-hover);
    background: #ffffff;
}

.st-pr-dd-item h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-ink);
    margin: 0 0 8px;
    line-height: 1.35;
}

.st-pr-dd-item p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--st-muted);
    margin: 0;
}

/* =========================================================================
   TIER 3: SPECIFICATION MODAL / DIALOG
   ========================================================================= */
.st-pr-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.st-pr-modal-backdrop[hidden] {
    display: none !important;
}

.st-pr-modal {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-card);
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
    animation: stModalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stModalFadeIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.st-pr-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.st-pr-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--st-border);
    background: var(--st-surface-alt);
    color: var(--st-ink-soft);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.st-pr-modal-close:hover {
    background: #e2e8f0;
    color: var(--st-ink);
}

.st-pr-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--st-ink);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.st-pr-modal-subtitle {
    font-size: 15px;
    color: var(--st-muted);
    margin: 0 0 24px;
    line-height: 1.55;
}

.st-pr-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.st-pr-modal-box {
    background: var(--st-surface-alt);
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 18px;
}

.st-pr-modal-box h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--st-ink);
    margin: 0 0 6px;
}

.st-pr-modal-box p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--st-muted);
    margin: 0;
}

/* =========================================================================
   INDIVIDUAL CARD STYLING HOOKS
   ========================================================================= */
.st-card-courses {}
.st-card-tests {}
.st-card-coaching {}
.st-card-downloads {}
.st-card-memberships {}

/* =========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 1024px) {
    .st-pr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .st-pr-card-large,
    .st-pr-card-medium,
    .st-pr-card-small {
        grid-column: span 1;
    }
    .st-pr-card:nth-child(5) {
        grid-column: span 2;
    }
    .st-pr-dd-subgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .st-products-section {
        padding: 64px 0;
    }
    .st-pr-title {
        font-size: 30px;
    }
    .st-pr-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .st-pr-card-large,
    .st-pr-card-medium,
    .st-pr-card-small,
    .st-pr-card:nth-child(5) {
        grid-column: span 1;
    }
    .st-pr-card {
        padding: 24px 20px;
    }
    .st-pr-deepdive {
        padding: 24px 20px;
    }
    .st-pr-dd-subgrid,
    .st-pr-modal-grid {
        grid-template-columns: 1fr;
    }
    .st-pr-modal {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-pr-card,
    .st-pr-learn-more svg,
    .st-vis-play,
    .st-pr-card-icon {
        transition: none !important;
        transform: none !important;
    }
}