/* ============================================================
   EXPLORE PAGE – "DOCUMENT
   ============================================================ */

:root {
    /* -- ink / neutrals -- */
    --ink: #191b20;
    --ink-soft: #4a4f5a;
    --muted: #828691;
    --line: #e3e0d5;
    --line-strong: #cdc9ba;

    /* -- paper surfaces -- */
    --paper: #f6f4ee;
    --paper-alt: #eeebe0;
    --surface: #ffffff;

    /* -- ribbon navy (primary) + highlighter marker (signature accent) -- */
    --navy: #1f3a5f;
    --navy-dark: #142943;
    --marker: #ffcf40;
    --marker-soft: #fff3c9;

    /* -- office app brand colors (used sparingly, tied to real apps) -- */
    --word-blue: #2b579a;
    --excel-green: #1c6b43;
    --ppt-orange: #c8460f;
    --windows-blue: #0f6cbd;
    --illustrator-orange: #d9660a;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-card: 0 1px 2px rgba(20,22,26,.04), 0 10px 28px -14px rgba(20,22,26,.18);
}

/* ---------- বেসিক রিসেট ও বডি ---------- */
body {
    background: var(--paper);
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: var(--ink);
}

/* Main wrapper */
.explore-page-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ============================================================
   1. HERO / PROMO SECTION — styled like an app window
   ============================================================ */
.explore-promo-section {
    width: 100%;
    background: var(--surface);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
}

.explore-hero {
    width: 100%;
    background: var(--surface);
    color: var(--ink);
    padding: 64px 30px 55px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.explore-hero-rating {
    order: -1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    padding: 7px 18px 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}

.explore-hero-rating i {
    color: var(--marker);
}

.explore-hero-title {
    font-size: 2.7rem;
    font-weight: 800;
    margin: 0 0 18px;
    color: var(--ink);
    line-height: 1.22;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

/* highlighter-marker swipe under the headline — the page's signature mark */
.explore-hero-title::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: 2px;
    height: 0.4em;
    background: var(--marker);
    opacity: 0.55;
    z-index: -1;
    transform: rotate(-0.6deg);
    border-radius: 2px;
}

.explore-hero-desc {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

.explore-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    font-family: inherit;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.98rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.explore-btn-enroll {
    background: var(--navy);
    color: #ffffff;
    box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 16px -6px rgba(31,58,95,.55);
}

.explore-btn-enroll:hover:not(:disabled) {
    background: var(--navy-dark);
    transform: translateY(-1px);
}

.explore-btn-guide {
    background: transparent;
    border: 1.5px solid var(--line-strong);
    color: var(--ink);
}

.explore-btn-guide:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: var(--paper-alt);
}

.explore-btn:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* ============================================================
   1.1 INSTRUCTOR SECTION — styled like a document byline
   ============================================================ */
.explore-instructor-section {
    padding: 28px max(30px, calc((100% - 1100px) / 2));
    background: var(--paper-alt);
    border-top: 1px solid var(--line);
    box-sizing: border-box;
}

.explore-instructor-profile {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.explore-instructor-photo img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 1px var(--line), var(--shadow-card);
}

.explore-instructor-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
}

.explore-instructor-bio {
    color: var(--ink-soft);
    line-height: 1.5;
    font-size: 0.95rem;
}

.explore-instructor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.explore-badge {
    background: var(--surface);
    color: var(--navy);
    border: 1px solid var(--line);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
}

.explore-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px dashed var(--line-strong);
}

.explore-highlight-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.92rem;
}

.explore-highlight-item i {
    color: var(--navy);
    font-size: 1rem;
}

/* ============================================================
   2. COURSE OVERVIEW + QUICK PANEL — panel styled like a sheet
   ============================================================ */
.overview-grid-wrapper {
    display: flex;
    align-items: stretch;
    gap: 25px;
    width: 100%;
    background: var(--paper);
    padding: 65px max(30px, calc((100% - 1200px) / 2));
    box-sizing: border-box;
}

.explore-overview-section {
    flex: 0 0 40%;
    min-width: 220px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

.explore-quick-panel {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    box-sizing: border-box;
}

.explore-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: var(--marker);
    padding: 7px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
}

.explore-overview-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.32;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

/* highlighter-marker chip instead of gradient text-clip */
.explore-overview-title .highlight {
    background: var(--marker);
    color: var(--ink);
    padding: 0 8px;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.explore-overview-desc {
    font-size: 1.12rem;
    color: var(--ink-soft);
    line-height: 1.8;
    max-width: 760px;
}

.explore-overview-desc strong {
    color: var(--ink);
}

/* panel header styled like a sheet's formula bar */
.explore-panel-header {
    padding: 16px 22px;
    background: var(--paper-alt);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
}

.explore-panel-header i {
    color: var(--navy);
    font-size: 1.2rem;
}

.explore-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
}

.explore-panel-title small {
    display: block;
    font-size: 0.74rem;
    font-weight: 400;
    color: var(--muted);
}

.explore-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.explore-info-item {
    display: grid;
    grid-template-columns: 40px 160px 1fr;
    align-items: center;
    padding: 13px 22px;
    border-bottom: 1px solid var(--line);
    transition: background 0.15s ease;
}

.explore-info-item:nth-child(even) {
    background: var(--paper);
}

.explore-info-item:last-child {
    border-bottom: none;
}

.explore-info-item:hover {
    background: var(--marker-soft);
}

.explore-info-icon {
    color: var(--navy);
    font-size: 1.02rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explore-info-label {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.88rem;
}

.explore-info-label-sub {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 0.7rem;
}

.explore-info-value {
    font-size: 0.88rem;
    color: var(--ink-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
}

.explore-tag {
    background: var(--paper-alt);
    color: var(--ink-soft);
    border: 1px solid var(--line);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 600;
}

.explore-tag-highlight {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.explore-tag-schedule {
    background: var(--marker-soft);
    color: #7a5a00;
    border-color: #f0dc99;
}

.explore-link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.explore-link:hover {
    text-decoration: underline;
}

/* ============================================================
   3. APPLICATIONS – CLEAN PROFESSIONAL MARQUEE
   ============================================================ */
.explore-apps-section {
    width: 100%;
    background: var(--surface);
    padding: 68px max(30px, calc((100% - 1200px) / 2));
    box-sizing: border-box;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.explore-apps-header {
    margin-bottom: 34px;
}

.explore-apps-title {
    font-size: 2.05rem;
    font-weight: 800;
    color: var(--ink);
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.explore-apps-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 46px;
    height: 4px;
    background: var(--marker);
    border-radius: 2px;
}

.explore-apps-desc {
    color: var(--muted);
    font-size: 0.98rem;
    margin-top: 16px;
}

.explore-apps-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.explore-apps-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
    will-change: transform;
}

.explore-app-card {
    background: var(--paper);
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
    border: 1px solid var(--line);
    gap: 12px;
    flex: 0 0 auto;
    width: 220px;
    margin-right: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.explore-app-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.explore-app-details .explore-app-name {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.3;
}

.explore-app-details .explore-app-desc {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.explore-app-icon {
    font-size: 1.7rem;
    color: var(--navy);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================================
   4. CURRICULUM — modules styled like ribbon tabs,
      each accented with its real application's brand color
   ============================================================ */
.explore-curriculum-section {
    width: 100%;
    background: var(--paper);
    border-radius: 0;
    padding: 65px max(30px, calc((100% - 1100px) / 2));
    box-shadow: none;
    box-sizing: border-box;
}

.explore-curriculum-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    gap: 16px;
}

.explore-curriculum-title {
    font-size: 2.05rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.explore-curriculum-title .highlight-text {
    background: var(--marker);
    color: var(--ink);
    padding: 0 8px;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.explore-curriculum-sub {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 580px;
}

.explore-curriculum-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: var(--marker);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
}

.explore-modules-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.explore-module {
    border: 1px solid var(--line);
    border-left: 3px solid var(--line-strong);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.25s ease;
    background: var(--surface);
}

.explore-module:hover {
    border-left-color: var(--navy);
}

/* tie each module's accent to the real app it teaches */
.explore-module:nth-of-type(1) { border-left-color: var(--windows-blue); }
.explore-module:nth-of-type(2) { border-left-color: var(--word-blue); }
.explore-module:nth-of-type(3) { border-left-color: var(--ppt-orange); }
.explore-module:nth-of-type(4) { border-left-color: var(--excel-green); }
.explore-module:nth-of-type(5) { border-left-color: var(--illustrator-orange); }

.explore-module-toggle {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.explore-module-toggle:hover {
    background: var(--paper-alt);
}

.explore-module-toggle.is-expanded {
    background: var(--paper-alt);
}

.explore-module-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.explore-module-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.explore-module-toggle.is-expanded .explore-module-icon {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.explore-module-name {
    font-weight: 700;
    color: var(--ink);
}

.explore-module-meta {
    display: flex;
    gap: 12px;
    font-size: 0.74rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    margin-top: 3px;
}

.explore-module-meta i {
    color: var(--navy);
}

.explore-module-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.25s ease;
}

.explore-module-toggle.is-expanded .explore-module-arrow {
    transform: rotate(180deg);
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
}

.explore-module-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: var(--paper);
}

.explore-module-content {
    padding: 20px;
    border-top: 1px dashed var(--line-strong);
}

.explore-topics-heading {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    font-family: 'JetBrains Mono', monospace;
}

.explore-topics-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.explore-topic-item {
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.explore-topic-item::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--line-strong);
    margin-right: 10px;
}

.explore-topic-item:hover {
    border-color: var(--navy);
    color: var(--ink);
    background: var(--paper-alt);
}

/* ============================================================
   5. ENROLLMENT / PRICING — styled like a printed receipt
   ============================================================ */
.explore-pricing-section {
    width: 100%;
    background: var(--paper-alt);
    border-radius: 0;
    padding: 75px max(30px, calc((100% - 900px) / 2)) 65px;
    color: var(--ink);
    text-align: center;
    box-shadow: none;
    border: none;
    box-sizing: border-box;
}

.explore-pricing-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.explore-pricing-sub {
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin-bottom: 35px;
}

.explore-pricing-card {
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--line);
    max-width: 600px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-card);
    position: relative;
}

/* receipt-style perforation between header and amount */
.explore-pricing-card::after {
    content: "";
    display: block;
    height: 1px;
    margin: 26px -32px 0;
    background-image: repeating-linear-gradient(to right, var(--line-strong) 0 8px, transparent 8px 16px);
}

.explore-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -18px rgba(20,22,26,.25);
}

.explore-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.explore-plan-name {
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--ink);
}

.explore-plan-badge {
    background: var(--navy);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.explore-plan-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin: 22px 0 4px;
}

.explore-plan-amount {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
}

.explore-plan-currency {
    font-size: 1.15rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.explore-plan-note {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 26px;
}

.explore-plan-features {
    list-style: none;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    margin: 20px 0 28px;
    padding: 0;
}

.explore-plan-features .explore-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--ink);
    background: var(--paper);
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.explore-plan-features .explore-feature-item i {
    color: var(--navy);
    font-size: 0.86rem;
}

.explore-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--navy);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.02rem;
    border: none;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

.explore-cta-btn:hover:not(:disabled) {
    background: var(--navy-dark);
    transform: translateY(-1px);
    color: #ffffff;
}

.explore-cta-btn:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

.explore-cta-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.explore-cta-icon {
    color: #ffffff;
    font-size: 1.15rem;
}

.explore-guarantees {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.explore-guarantee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--paper);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--ink-soft);
    border: 1px solid var(--line);
}

.explore-guarantee-item i {
    color: #b8860b;
}

.explore-guarantee-item strong {
    color: var(--ink);
}

/* ============================================================
   6. RATING SECTION
   ============================================================ */
.rating-section {
    width: 100%;
    padding: 30px 20px 40px;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 0;
    background: var(--paper);
}

.rating-container {
    max-width: 520px;
    margin: 0 auto;
}

.rating-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: 0 0 4px;
}

.rating-subtitle {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.premium-rating-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.7rem;
    color: var(--line-strong);
    cursor: pointer;
}

.rating-star {
    transition: transform 0.2s ease, color 0.2s ease;
}

.rating-star:hover {
    transform: scale(1.1);
}

.rating-star.active {
    color: #d99b00;
}

.rating-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.rating-fields input {
    flex: 1 1 180px;
    max-width: 220px;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', 'Hind Siliguri', monospace;
    font-size: 0.82rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rating-fields input::placeholder {
    color: var(--muted);
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
}

.rating-fields input:focus {
    border-color: var(--navy);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(31,58,95,0.1);
}

.cf-turnstile {
    display: flex;
    justify-content: center;
    margin-bottom: -6px;
}

.rating-submit-btn {
    align-self: center;
    width: 100%;
    max-width: 300px;
    background: var(--navy);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rating-submit-btn:hover {
    background: var(--navy-dark);
    transform: translateY(-1px);
}

.rating-submit-btn:active {
    transform: translateY(0);
}

.rating-submit-btn:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

.rating-message {
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 1.2em;
}

.rating-message.success {
    color: #1c6b43;
}

.rating-message.error {
    color: #c8460f;
}

/* ============================================================
   RESPONSIVE – FULL MOBILE / TABLET OPTIMIZATION
   ============================================================ */

/* ---------- Reduced motion: marquee বন্ধ ---------- */
@media (prefers-reduced-motion: reduce) {
    .explore-apps-track {
        animation: none;
    }
    .explore-app-card,
    .explore-pricing-card,
    .explore-btn,
    .explore-cta-btn,
    .rating-submit-btn {
        transition: none;
    }
}

/* ---------- Tablet / Small Desktop (max-width: 992px) ---------- */
@media (max-width: 992px) {
    .overview-grid-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 45px 30px;
    }

    .explore-overview-section {
        flex: 1 1 auto;
        min-width: 0;
    }

    .explore-quick-panel {
        flex: 1 1 auto;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* ---------- Mobile (বড়) – max-width: 768px ---------- */
@media (max-width: 768px) {
    .explore-hero {
        padding: 46px 20px 40px;
    }

    .explore-hero-title {
        font-size: 1.85rem;
    }

    .explore-instructor-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .explore-overview-section,
    .explore-curriculum-section,
    .explore-apps-section,
    .explore-pricing-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .explore-overview-title,
    .explore-curriculum-title,
    .explore-apps-title,
    .explore-pricing-title {
        font-size: 1.7rem;
    }

    .explore-info-item {
        grid-template-columns: 34px 1fr;
        gap: 4px 10px;
    }

    .explore-info-icon {
        grid-row: 1 / 3;
        align-self: center;
    }

    .explore-info-label {
        grid-column: 2;
        grid-row: 1;
    }

    .explore-info-value {
        grid-column: 2;
        grid-row: 2;
    }

    .explore-topics-grid,
    .explore-plan-features {
        grid-template-columns: 1fr;
    }

    .explore-app-card {
        width: 200px;
        padding: 14px 16px;
    }

    .explore-app-icon {
        font-size: 1.55rem;
    }

    /* Rating section adjustments */
    .rating-section {
        padding: 25px 20px 35px;
    }

    .rating-title {
        font-size: 1.35rem;
    }

    .rating-stars {
        font-size: 1.55rem;
        gap: 8px;
    }
}

/* ---------- Mobile (মাঝারি) – max-width: 540px ---------- */
@media (max-width: 540px) {
    .explore-hero {
        padding: 36px 16px;
    }

    .explore-hero-title {
        font-size: 1.5rem;
    }

    .explore-overview-section,
    .explore-curriculum-section,
    .explore-apps-section,
    .explore-pricing-section {
        padding-top: 45px;
        padding-bottom: 45px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .explore-pricing-card {
        padding: 28px 16px;
        border-radius: 16px;
    }

    .explore-pricing-card::after {
        margin: 22px -16px 0;
    }

    .explore-plan-amount {
        font-size: 3rem;
    }

    .explore-app-card {
        flex-direction: column;
        text-align: center;
        padding: 16px 10px;
    }

    .explore-app-icon {
        font-size: 1.9rem;
    }

    .explore-module-toggle {
        padding: 14px 12px;
    }

    .explore-module-left {
        gap: 10px;
        flex-wrap: wrap;
    }

    .explore-instructor-profile {
        flex-direction: column;
        text-align: center;
    }

    .explore-instructor-badges {
        justify-content: center;
    }

    .explore-highlights {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .explore-highlight-item {
        justify-content: flex-start;
        text-align: left;
    }

    /* Rating form adjustments (previously 480px) */
    .rating-fields input {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .rating-submit-btn {
        width: 100%;
        max-width: 100%;
    }
}

/* ---------- Mobile (ছোট) – max-width: 380px ---------- */
@media (max-width: 380px) {
    .explore-app-card {
        width: 180px;
        padding: 12px 8px;
    }

    .explore-app-icon {
        font-size: 1.45rem;
    }

    .explore-overview-title,
    .explore-curriculum-title,
    .explore-apps-title,
    .explore-pricing-title {
        font-size: 1.4rem;
    }
}