* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent
}

body {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    background: #0b0b1e;
    color: #eee;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(0, 0, 0, .4);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px)
}

.topbar .logo {
    font-weight: 700;
    font-size: 15px;
    color: #fff
}

.topbar .logo span {
    color: #006A4E
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #006A4E;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(0, 106, 78, .1);
    border: 1px solid rgba(0, 106, 78, .25);
    padding: 5px 12px;
    border-radius: 20px
}

.back-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor
}

.page-hero {
    padding: 30px 16px 24px;
    text-align: center;
    background: linear-gradient(170deg, #0b0b1e 0%, #1a1535 50%, #0b0b1e 100%)
}

.page-hero h1 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px
}

.page-hero p {
    font-size: 14px;
    color: #94a3b8;
    max-width: 360px;
    margin: 0 auto
}

.content {
    padding: 0 16px 30px;
    max-width: 480px;
    margin: 0 auto
}

.install-step {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 16px;
    position: relative
}

.step-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background: linear-gradient(135deg, #006A4E, #004D38);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 10px;
    letter-spacing: .5px
}

.install-step h2 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 8px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px
}

.install-step h2 .emoji {
    font-size: 20px
}

.install-step p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 10px;
    line-height: 1.55
}

.install-step ul {
    list-style: none;
    padding: 0
}

.install-step ul li {
    font-size: 13px;
    color: #cbd5e1;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45
}

.install-step ul li:last-child {
    border-bottom: none
}

.li-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 106, 78, .2);
    color: #006A4E;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.warn-box {
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .2);
    border-radius: 12px;
    padding: 14px;
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px
}

.warn-box .warn-icon {
    font-size: 18px;
    flex-shrink: 0
}

.warn-box p {
    font-size: 12px;
    color: #fca5a5;
    line-height: 1.5
}

.tip-box {
    background: rgba(59, 130, 246, .08);
    border: 1px solid rgba(59, 130, 246, .2);
    border-radius: 12px;
    padding: 14px;
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px
}

.tip-box .tip-icon {
    font-size: 18px;
    flex-shrink: 0
}

.tip-box p {
    font-size: 12px;
    color: #93c5fd;
    line-height: 1.5
}

.success-box {
    background: rgba(0, 106, 78, .08);
    border: 1px solid rgba(0, 106, 78, .2);
    border-radius: 12px;
    padding: 14px;
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px
}

.success-box .s-icon {
    font-size: 18px;
    flex-shrink: 0
}

.success-box p {
    font-size: 12px;
    color: #86efac;
    line-height: 1.5
}

.path-display {
    background: rgba(0, 0, 0, .3);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #34D399;
    margin: 8px 0;
    word-break: break-all
}

.device-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0
}

.device-item {
    background: rgba(0, 0, 0, .2);
    border-radius: 10px;
    padding: 10px;
    text-align: center
}

.device-item .d-icon {
    font-size: 24px;
    margin-bottom: 4px
}

.device-item .d-name {
    font-size: 11px;
    font-weight: 600;
    color: #e2e8f0
}

.device-item .d-path {
    font-size: 10px;
    color: #64748b;
    margin-top: 2px
}

.auth-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 12px 0
}

.auth-node {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0
}

.auth-line {
    width: 2px;
    background: rgba(0, 106, 78, .3);
    margin-left: 14px;
    height: 16px;
    flex-shrink: 0
}

.auth-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0
}

.auth-dot.a1 {
    background: rgba(59, 130, 246, .2);
    color: #60a5fa
}

.auth-dot.a2 {
    background: rgba(245, 158, 11, .2);
    color: #fbbf24
}

.auth-dot.a3 {
    background: rgba(168, 85, 247, .2);
    color: #c084fc
}

.auth-dot.a4 {
    background: rgba(0, 106, 78, .2);
    color: #34D399
}

.auth-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px
}

.auth-info p {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4
}

.section-divider {
    text-align: center;
    padding: 10px 0;
    color: #475569;
    font-size: 20px;
    letter-spacing: 6px
}

.step-img-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center
}

.step-img-card .si-badge {
    display: inline-block;
    background: linear-gradient(135deg, #006A4E, #004D38);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 14px;
    border-radius: 10px;
    margin-bottom: 12px
}

.step-img-card img {
    width: 200px;
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(0, 106, 78, .2);
    margin-bottom: 10px
}

.step-img-card .si-label {
    font-size: 13px;
    font-weight: 700;
    color: #34D399
}

.step-img-card .si-desc {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    line-height: 1.4
}

.step-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px
}

.step-img-grid .step-img-card {
    margin-bottom: 0
}

.overview-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 14px
}

.float-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 10px 16px 14px;
    background: linear-gradient(transparent, rgba(11, 11, 30, .95) 20%)
}

.dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #006A4E, #004D38);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 106, 78, .35);
    position: relative;
    overflow: hidden;
    text-decoration: none
}

.dl-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, .1), transparent);
    transform: rotate(45deg);
    animation: btn-shine 3s infinite
}

@keyframes btn-shine {
    0% {
        transform: translateX(-100%) rotate(45deg)
    }

    100% {
        transform: translateX(100%) rotate(45deg)
    }
}

.dl-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor
}

footer {
    padding: 20px 16px 90px;
    text-align: center;
    font-size: 10px;
    color: #475569
}

.lang-sw {
    display: flex;
    gap: 3px;
    background: rgba(255, 255, 255, .05);
    border-radius: 8px;
    padding: 2px
}

.lang-sw button {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
    transition: all .2s
}

.lang-sw button.on {
    background: #006A4E;
    color: #fff
}

.wv-banner {
    display: none;
    background: linear-gradient(135deg, rgba(251, 191, 36, .12), rgba(245, 158, 11, .08));
    border: 1px solid rgba(251, 191, 36, .25);
    border-radius: 12px;
    margin: 12px 16px;
    padding: 12px 14px;
    text-align: center
}

.wv-banner.show {
    display: block
}

.wv-banner p {
    font-size: 12px;
    color: #fbbf24;
    line-height: 1.5;
    margin-bottom: 8px
}

.wv-banner a {
    display: inline-block;
    background: #fbbf24;
    color: #000;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none
}