:root {
    --primary: #4f46e5;
    --primary-light: #eef2ff;
    --bg: #f1f5f9;
    --bg2: #ffffff;
    --border: #e2e8f0;
    --text: #1e293b;
    --text2: #64748b;
    --green: #16a34a;
    --red: #dc2626;
    --orange: #ea580c;
    --t-grad: linear-gradient(135deg, #1d4ed8, #3b82f6);
    --p-grad: linear-gradient(135deg, #15803d, #22c55e);
    --s-grad: linear-gradient(135deg, #6d28d9, #8b5cf6)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden
}

/* HEADER */
.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 64px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08)
}

.demo-logo {
    display: flex;
    align-items: center;
    gap: 12px
}

.dlogo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4f46e5, #818cf8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px
}

.dlogo-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    display: block
}

.dlogo-sub {
    font-size: 10px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase
}

.demo-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border)
}

.dtab {
    background: none;
    border: none;
    border-radius: 7px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', sans-serif
}

.dtab:hover {
    background: var(--bg2);
    color: var(--text)
}

.dtab.active.teacher {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff;
    box-shadow: 0 2px 8px rgba(29, 78, 216, .3)
}

.dtab.active.parent {
    background: linear-gradient(135deg, #15803d, #22c55e);
    color: #fff;
    box-shadow: 0 2px 8px rgba(21, 128, 61, .3)
}

.dtab.active.student {
    background: linear-gradient(135deg, #6d28d9, #8b5cf6);
    color: #fff;
    box-shadow: 0 2px 8px rgba(109, 40, 217, .3)
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    border: 1px solid rgba(79, 70, 229, .2)
}

.back-btn:hover {
    background: var(--primary);
    color: #fff
}

/* BANNER */
.app-banner {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border)
}

.app-banner.teacher-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #1e40af 100%)
}

.app-banner.parent-bg {
    background: linear-gradient(135deg, #14532d, #15803d, #166534)
}

.app-banner.student-bg {
    background: linear-gradient(135deg, #4c1d95, #6d28d9, #5b21b6)
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto
}

.banner-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, .2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
    backdrop-filter: blur(8px)
}

.banner-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px
}

.banner-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    flex: 1
}

.banner-stats {
    display: flex;
    gap: 24px;
    flex-shrink: 0
}

.bstat {
    text-align: center
}

.bstat span {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    display: block
}

.bstat small {
    font-size: 11px;
    color: rgba(255, 255, 255, .7);
    font-weight: 500
}

/* SCREEN NAV */
.screen-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap
}

.snav-btn {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    cursor: pointer;
    transition: all .2s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px
}

.snav-btn:hover {
    border-color: var(--primary);
    color: var(--primary)
}

.snav-btn.active {
    color: #fff;
    border-color: transparent
}

.snav-btn.teacher-active {
    background: var(--t-grad)
}

.snav-btn.parent-active {
    background: var(--p-grad)
}

.snav-btn.student-active {
    background: var(--s-grad)
}

/* SHOWCASE */
.showcase-area {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px;
    position: relative;
    min-height: 600px;
    background: var(--bg)
}

.nav-arrow {
    width: 44px;
    height: 44px;
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--text2);
    transition: all .2s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08)
}

.nav-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, .35)
}

.phones-showcase {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    overflow: hidden
}

.phone-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all .3s
}

.phone-slot.center-phone {
    transform: scale(1.06)
}

.phone-slot.side-phone {
    transform: scale(0.92);
    opacity: 0.75
}

.phone-label-outer {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px
}

.phone-frame {
    width: 240px;
    height: 500px;
    border-radius: 40px;
    border: 8px solid #1e293b;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .2), inset 0 0 0 2px rgba(255, 255, 255, .1);
    overflow: hidden;
    position: relative;
    background: #fff
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

/* notch */
.phonebar {
    background: var(--screenheader-bg, #1d4ed8);
    padding: 10px 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0
}

.phonebar-left {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px
}

.phonebar-right {
    display: flex;
    gap: 6px;
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    align-items: center
}

.phonebar-right i {
    font-size: 12px
}

/* screen body */
.screen-body {
    flex: 1;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column
}

.screen-body::-webkit-scrollbar {
    display: none
}

/* bottom nav */
.phone-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 8px 12px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0
}

.pnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    flex: 1;
    padding: 4px 2px;
    border-radius: 10px;
    transition: transform .15s, background .15s;
    position: relative
}

.pnav-item:active {
    transform: scale(0.88)
}

.pnav-item i {
    font-size: 18px;
    color: #94a3b8;
    transition: color .2s
}

.pnav-item span {
    font-size: 9px;
    color: #94a3b8;
    font-weight: 500;
    transition: color .2s
}

.pnav-item.active i {
    color: var(--pnav-active, #1d4ed8)
}

.pnav-item.active span {
    color: var(--pnav-active, #1d4ed8);
    font-weight: 700
}

.pnav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--pnav-active, #1d4ed8)
}

/* Phone screen label below the frame */
.phone-screen-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
    transition: opacity .2s
}


/* Screen Sections */
.s-section {
    padding: 10px 12px
}

.s-greeting {
    padding: 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, .1), rgba(129, 140, 248, .05));
    border-radius: 12px;
    margin: 10px 10px 0
}

.s-greeting h3 {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b
}

.s-greeting p {
    font-size: 10px;
    color: #64748b;
    margin-top: 2px
}

.s-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    color: #4f46e5;
    margin-top: 6px;
    border: 1px solid rgba(79, 70, 229, .2)
}

.row-label {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 8px 12px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.row-label a {
    font-size: 10px;
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none
}

/* Stat Strip */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 10px
}

.stat-tile {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

.stat-tile .icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-bottom: 6px
}

.stat-tile .val {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b
}

.stat-tile .lbl {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    margin-top: 1px
}

/* Menu Cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 10px
}

.menu-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04)
}

.menu-card:active {
    transform: scale(0.97)
}

.menu-card i {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0
}

.menu-card .mc-text strong {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    display: block
}

.menu-card .mc-text span {
    font-size: 10px;
    color: #64748b
}

/* List items */
.list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9
}

.list-item:last-child {
    border: none
}

.li-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0
}

.li-info strong {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    display: block
}

.li-info span {
    font-size: 10px;
    color: #64748b
}

.li-right {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px
}

.li-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700
}

.li-badge.present {
    background: #dcfce7;
    color: #16a34a
}

.li-badge.absent {
    background: #fee2e2;
    color: #dc2626
}

.li-badge.paid {
    background: #dcfce7;
    color: #16a34a
}

.li-badge.pending {
    background: #fee2e2;
    color: #dc2626
}

.li-badge.late {
    background: #ffedd5;
    color: #ea580c
}

.li-badge.new {
    background: #dbeafe;
    color: #2563eb
}

.li-badge.due {
    background: #fef3c7;
    color: #d97706
}

/* Att Toggle Buttons */
.att-row {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9
}

.att-row:last-child {
    border: none
}

.att-num {
    width: 22px;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8
}

.att-name {
    flex: 1;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b
}

.att-btns {
    display: flex;
    gap: 3px
}

.att-btn-m {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer
}

.att-btn-m.p {
    background: #dcfce7;
    color: #16a34a
}

.att-btn-m.a {
    background: #f1f5f9;
    color: #94a3b8
}

.att-btn-m.l {
    background: #f1f5f9;
    color: #94a3b8
}

/* Chart bar mini */
.mini-chart {
    padding: 10px 12px;
    background: #fff;
    margin: 0 10px;
    border-radius: 12px;
    border: 1px solid #e9ecef
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 55px;
    margin-bottom: 6px
}

.chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    transition: height .5s
}

.chart-days {
    display: flex;
    gap: 6px;
    justify-content: space-around
}

.chart-days span {
    font-size: 9px;
    color: #94a3b8;
    flex: 1;
    text-align: center;
    font-weight: 500
}

/* Profile card */
.profile-card {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    margin: 10px;
    border-radius: 14px;
    padding: 14px;
    color: #fff
}

.profile-card.parent-prof {
    background: linear-gradient(135deg, #15803d, #22c55e)
}

.profile-card.student-prof {
    background: linear-gradient(135deg, #6d28d9, #8b5cf6)
}

.prof-row {
    display: flex;
    align-items: center;
    gap: 10px
}

.prof-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700
}

.prof-info h4 {
    font-size: 13px;
    font-weight: 700
}

.prof-info p {
    font-size: 10px;
    opacity: .85;
    margin-top: 2px
}

.prof-stats {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .2)
}

.pstat {
    text-align: center;
    flex: 1
}

.pstat span {
    font-size: 14px;
    font-weight: 700;
    display: block
}

.pstat small {
    font-size: 9px;
    opacity: .8
}

/* Notice card */
.notice-card {
    background: #fff;
    margin: 0 10px 8px;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #e9ecef;
    border-left: 3px solid var(--notice-color, #4f46e5)
}

.notice-card h4 {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px
}

.notice-card p {
    font-size: 10px;
    color: #64748b;
    line-height: 1.5
}

.notice-card .nc-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 6px
}

.notice-card small {
    font-size: 9px;
    color: #94a3b8
}

.nc-tag {
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700
}

/* Result card */
.result-card {
    background: #fff;
    margin: 0 10px 8px;
    border-radius: 12px;
    padding: 11px;
    border: 1px solid #e9ecef
}

.result-card .rc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px
}

.result-card h4 {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b
}

.result-card .score-bar {
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden
}

.result-card .score-fill {
    height: 100%;
    border-radius: 3px
}

.result-card .score-row {
    display: flex;
    justify-content: space-between;
    margin-top: 4px
}

.result-card .score-row span {
    font-size: 10px;
    font-weight: 700
}

.result-card .score-row small {
    font-size: 9px;
    color: #94a3b8
}

/* Timetable mini */
.tt-mini {
    padding: 0 10px
}

.tt-day {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 6px
}

.tt-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px
}

.tt-time {
    font-size: 9px;
    color: #94a3b8;
    width: 36px;
    font-weight: 500
}

.tt-subj {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 7px 10px;
    border: 1px solid #e9ecef
}

.tt-subj strong {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    display: block
}

.tt-subj span {
    font-size: 9px;
    color: #64748b
}

/* Fee card */
.fee-card {
    background: #fff;
    margin: 0 10px 8px;
    border-radius: 12px;
    padding: 11px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px
}

.fee-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0
}

.fee-info {
    flex: 1
}

.fee-info strong {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    display: block
}

.fee-info span {
    font-size: 10px;
    color: #64748b
}

.fee-info small {
    font-size: 9px;
    color: #94a3b8;
    display: block;
    margin-top: 1px
}

/* Pay button */
.pay-btn {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif
}

/* Chat bubble mini */
.chat-bubble {
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 10px;
    max-width: 80%;
    margin-bottom: 6px;
    line-height: 1.5
}

.chat-bubble.recv {
    background: #fff;
    border: 1px solid #e9ecef;
    align-self: flex-start;
    color: #1e293b
}

.chat-bubble.sent {
    background: #4f46e5;
    color: #fff;
    align-self: flex-end
}

.chat-area {
    display: flex;
    flex-direction: column;
    padding: 10px
}

.chat-input-m {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    align-items: center
}

.chat-input-m input {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    outline: none;
    font-family: 'Inter', sans-serif
}

.chat-input-m button {
    background: #4f46e5;
    border: none;
    border-radius: 7px;
    width: 28px;
    height: 28px;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

/* Homework card */
.hw-card-m {
    background: #fff;
    margin: 0 10px 8px;
    border-radius: 12px;
    padding: 11px;
    border: 1px solid #e9ecef
}

.hw-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px
}

.hw-subj {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700
}

.hw-card-m h4 {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px
}

.hw-card-m p {
    font-size: 10px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 6px
}

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

.hw-due {
    font-size: 9px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 3px
}

.hw-sub-btn {
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer
}

.hw-prog {
    margin-top: 6px
}

.prog-bar-m {
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
    overflow: hidden
}

.prog-fill-m {
    height: 100%;
    border-radius: 2px
}

.prog-label {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #94a3b8;
    margin-top: 3px
}

/* Exam card */
.exam-card-m {
    background: #fff;
    margin: 0 10px 8px;
    border-radius: 12px;
    padding: 11px;
    border: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    align-items: center
}

.exam-date-m {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef2ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.exam-date-m span {
    font-size: 15px;
    font-weight: 700;
    color: #4f46e5;
    line-height: 1
}

.exam-date-m em {
    font-size: 8px;
    font-style: normal;
    color: #4f46e5;
    font-weight: 600
}

.exam-info {
    flex: 1
}

.exam-info strong {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    display: block
}

.exam-info span {
    font-size: 10px;
    color: #64748b
}

/* Notification item */
.notif-item {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #f8f9fa;
    background: #fff
}

.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0
}

.notif-text strong {
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    display: block
}

.notif-text span {
    font-size: 10px;
    color: #64748b
}

.notif-time {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 2px;
    display: block
}

/* Bus tracker */
.bus-map-m {
    margin: 0 10px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    height: 120px;
    background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(79, 70, 229, .05) 20px), repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(79, 70, 229, .05) 20px);
    background-color: #f8f9ff;
    position: relative
}

.bus-dot {
    position: absolute;
    width: 28px;
    height: 28px;
    background: #ea580c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    top: 40%;
    left: 35%;
    box-shadow: 0 0 0 6px rgba(234, 88, 12, .15);
    animation: moveBus 3s infinite alternate
}

@keyframes moveBus {
    to {
        left: 55%;
        top: 50%
    }
}

.bus-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 0 10px;
    margin-top: 8px
}

.bus-info-box {
    background: #fff;
    border-radius: 9px;
    padding: 8px;
    text-align: center;
    border: 1px solid #e9ecef
}

.bus-info-box span {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    display: block
}

.bus-info-box small {
    font-size: 9px;
    color: #64748b
}

/* Upload area */
.upload-area-m {
    margin: 0 10px;
    border: 2px dashed #c7d2fe;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    background: #eef2ff
}

.upload-area-m i {
    font-size: 24px;
    color: #4f46e5;
    margin-bottom: 6px;
    display: block
}

.upload-area-m p {
    font-size: 11px;
    color: #4f46e5;
    font-weight: 600
}

.upload-area-m small {
    font-size: 10px;
    color: #64748b
}

/* Library */
.lib-card {
    background: #fff;
    margin: 0 10px 8px;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    align-items: center
}

.lib-thumb {
    width: 36px;
    height: 46px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0
}

.lib-info strong {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    display: block
}

.lib-info span {
    font-size: 10px;
    color: #64748b
}

.lib-dl {
    background: #eef2ff;
    border: none;
    border-radius: 7px;
    width: 28px;
    height: 28px;
    color: #4f46e5;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

/* Online quiz */
.quiz-card {
    background: #fff;
    margin: 0 10px 8px;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #e9ecef
}

.quiz-q {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.5
}

.quiz-opts {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.quiz-opt {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    border: 1.5px solid #e9ecef;
    background: #f8f9fa;
    color: #1e293b;
    transition: all .2s
}

.quiz-opt.selected {
    background: #eef2ff;
    border-color: #4f46e5;
    color: #4f46e5;
    font-weight: 700
}

.quiz-opt.correct {
    background: #dcfce7;
    border-color: #16a34a;
    color: #16a34a
}

/* Progress ring */
.prog-ring-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px
}

.prog-ring-wrap p {
    font-size: 10px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 500
}

/* Certificate card */
.cert-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    margin: 0 10px 8px;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #fcd34d;
    text-align: center
}

.cert-card i {
    font-size: 28px;
    color: #d97706;
    margin-bottom: 6px;
    display: block
}

.cert-card h4 {
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 3px
}

.cert-card p {
    font-size: 10px;
    color: #78350f;
    margin-bottom: 8px
}

.cert-dl-btn {
    background: #d97706;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer
}

/* Feature strip */
.feature-strip {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 24px 32px
}

.fs-title {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text2);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto
}

.feat-item {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    transition: all .2s
}

.feat-item:hover {
    border-color: rgba(79, 70, 229, .3);
    background: var(--primary-light);
    transform: translateY(-2px)
}

.feat-item i {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 8px;
    display: block
}

.feat-item strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    display: block
}

.feat-item span {
    font-size: 10px;
    color: var(--text2)
}

@media(max-width:900px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .phones-showcase {
        flex-direction: column
    }
}