/* -------------------------------------------------------------
   Phone Deal BD / SecurePro Landing Page Stylesheet
   Modern Dark Cyber Glassmorphism Theme
   ------------------------------------------------------------- */

:root {
    --bg-dark: #070b14;
    --bg-surface: #0f172a;
    --bg-surface-elevated: #1e293b;
    --bg-card: rgba(15, 23, 42, 0.75);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --primary: #0284c7;
    --primary-glow: rgba(2, 132, 199, 0.4);
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.35);
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.35);
    --violet: #8b5cf6;
    --violet-glow: rgba(139, 92, 246, 0.35);
    --amber: #f59e0b;
    --rose: #f43f5e;
    --rose-glow: rgba(244, 63, 94, 0.35);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(6, 182, 212, 0.4);

    --font-main: 'Plus Jakarta Sans', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

:not(pre) > code {
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.06);
    color: #7dd3fc;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    font-size: 0.88em;
}

[data-theme="light"] :not(pre) > code {
    background: #f1f5f9;
    color: #0369a1;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Background Ambient Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, #0284c7, #06b6d4);
}

.glow-2 {
    top: 30%;
    right: -150px;
    background: radial-gradient(circle, #8b5cf6, #3b82f6);
}

.glow-3 {
    bottom: 10%;
    left: 20%;
    background: radial-gradient(circle, #10b981, #0284c7);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--cyan);
}

.text-cyan {
    color: var(--cyan) !important;
}

.text-emerald {
    color: var(--emerald) !important;
}

.text-violet {
    color: var(--violet) !important;
}

.text-amber {
    color: var(--amber) !important;
}

.text-rose {
    color: var(--rose) !important;
}

.text-blue {
    color: #3b82f6 !important;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-main);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(2, 132, 199, 0.6);
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.pulse-btn {
    animation: btnGlow 3s infinite;
}

@keyframes btnGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(2, 132, 199, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(6, 182, 212, 0.7);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.brand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mobile-menu-cta {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: var(--cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* 1. Download & QR Hero Hub (Topmost Section) */
.download-hero-section {
    padding: 7.75rem 0 3.5rem 0;
    position: relative;
}

/* 2. Platform Showcase Section */
.platform-section {
    padding: 4.5rem 0 5rem 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.hero-section {
    padding: 5rem 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(2, 132, 199, 0.12);
    border: 1px solid rgba(2, 132, 199, 0.3);
    margin-bottom: 1.5rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.badge-txt {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7dd3fc;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-top-sub {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.85;
}

.btn-main-title {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Hero QR Code Widget */
.hero-qr-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    max-width: 540px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-qr-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.25);
    transform: translateY(-2px);
}

.qr-frame {
    position: relative;
    width: 96px;
    height: 96px;
    min-width: 96px;
    background: #ffffff;
    border-radius: 14px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qr-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06b6d4, #3b82f6, transparent);
    box-shadow: 0 0 8px #06b6d4;
    top: 4px;
    animation: qrScanMove 2.5s ease-in-out infinite alternate;
}

@keyframes qrScanMove {
    0% {
        top: 4px;
    }

    100% {
        top: calc(100% - 6px);
    }
}

.qr-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
}

.qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.qr-badge svg {
    width: 14px;
    height: 14px;
}

.qr-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.qr-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.qr-desc code {
    font-family: var(--font-mono);
    color: #7dd3fc;
    font-size: 0.78rem;
}

.trust-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-icon {
    width: 18px;
    height: 18px;
}

/* Device Mockup */
.phone-card-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.device-mockup {
    width: 320px;
    height: 620px;
    background: #090d16;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-radius: 44px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(2, 132, 199, 0.25);
    padding: 12px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.device-mockup:hover {
    transform: translateY(-6px);
}

.phone-speaker {
    width: 70px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0b111e;
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.screen-icons {
    display: flex;
    gap: 0.4rem;
}

.icon-xs {
    width: 14px;
    height: 14px;
}

.mockup-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    animation: fadeIn 0.3s ease;
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.status-shield,
.lock-shield {
    text-align: center;
    margin-top: 1rem;
}

.shield-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-green {
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid var(--emerald);
    color: var(--emerald);
    box-shadow: 0 0 20px var(--emerald-glow);
}

.pulse-red {
    background: rgba(244, 63, 94, 0.15);
    border: 2px solid var(--rose);
    color: var(--rose);
    box-shadow: 0 0 20px var(--rose-glow);
}

.shield-ic,
.lock-ic {
    width: 32px;
    height: 32px;
}

.shield-title,
.lock-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #f8fafc;
}

.status-tag {
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-weight: 600;
}

.tag-success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.device-info-list {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.25rem 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.row-label {
    color: #94a3b8;
}

.row-val {
    font-weight: 600;
    font-family: var(--font-mono);
    color: #f8fafc;
}

.screen-action-btn {
    width: 100%;
    padding: 0.7rem;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-danger-soft {
    background: rgba(244, 63, 94, 0.2);
    color: #fecdd3;
    border-color: rgba(244, 63, 94, 0.35);
}

.btn-danger-soft:hover {
    background: rgba(244, 63, 94, 0.32);
}

.btn-success-soft {
    background: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
    border-color: rgba(16, 185, 129, 0.35);
}

.btn-success-soft:hover {
    background: rgba(16, 185, 129, 0.32);
}

.lock-msg {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.lock-box {
    background: rgba(244, 63, 94, 0.12);
    border: 1px dashed rgba(244, 63, 94, 0.4);
    border-radius: 12px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.78rem;
    margin: 1rem 0;
    color: #f8fafc;
}

.lock-item {
    display: flex;
    justify-content: space-between;
}

.lock-item span {
    color: #fda4af;
}

.lock-item strong {
    color: #ffffff;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 3;
    font-size: 0.82rem;
}

.floating-badge strong {
    display: block;
    color: var(--text-primary);
}

.floating-badge span {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.badge-top {
    top: 40px;
    left: -40px;
    animation: float 4s ease-in-out infinite;
}

.badge-bottom {
    bottom: 50px;
    right: -40px;
    animation: float 4s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
}

.stat-num {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-title {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.stat-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Common Section */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 3-Mode Provisioning Tabs */
.modes-tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 2rem 0;
    flex-wrap: wrap;
}

.mode-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mode-tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.mode-tab-btn.active {
    background: rgba(2, 132, 199, 0.15);
    border-color: var(--cyan);
    color: #38bdf8;
    box-shadow: 0 0 20px var(--cyan-glow);
}

.modes-tab-content-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3rem;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.mode-panel {
    display: none;
    animation: fadeIn 0.4s ease;
    max-width: 100%;
    min-width: 0;
}

.mode-panel.active {
    display: block;
}

.mode-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    max-width: 100%;
    min-width: 0;
}

.mode-info,
.mode-visual {
    min-width: 0;
    max-width: 100%;
}

.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.mode-info h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.mode-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Code box in Tab */
.code-box {
    background: #060911;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.code-header {
    background: #0d131f;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid var(--border-color);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red {
    background: #ef4444;
}

.code-dot.yellow {
    background: #f59e0b;
}

.code-dot.green {
    background: #10b981;
}

.code-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-left: 0.5rem;
}

.code-box pre {
    padding: 1.25rem;
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
}

.code-box code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #38bdf8;
    line-height: 1.5;
}

/* Tech card & Delegation card */
.tech-card,
.delegation-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
}

.tech-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tech-phone {
    width: 48px;
    height: 48px;
    color: var(--emerald);
}

.cable-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--cyan));
    border-radius: 2px;
    position: relative;
}

.cable-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    top: -2.5px;
    left: 0;
    animation: cablePulse 2s infinite linear;
}

@keyframes cablePulse {
    0% {
        left: 0%;
    }

    100% {
        left: 100%;
    }
}

.delegation-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--violet);
}

.scope-tags {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.scope-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
}

.delegation-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.25rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.f-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.f-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.f-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Interactive Simulator */
.simulator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.sim-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
}

.sim-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.sim-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.slider-group {
    margin-bottom: 1.75rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.slider-val {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 1.1rem;
}

.custom-range {
    width: 100%;
    height: 8px;
    background: #1e293b;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.sim-results {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-box {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.res-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.res-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #38bdf8;
    margin: 0.4rem 0;
    font-family: var(--font-mono);
}

.res-risk {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #a7f3d0;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.res-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.res-row strong {
    color: var(--text-primary);
}

/* Download Section */
/* Download Section */
.download-card-box {
    max-width: 1140px;
}

.download-dual-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 1.75rem;
    align-items: stretch;
}

/* Left Card: APK Details */
.apk-card-left {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.25rem 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(2, 132, 199, 0.12);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    transition: all 0.3s ease;
}

.apk-card-left:hover {
    border-color: var(--border-hover);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(6, 182, 212, 0.22);
}

/* Top Row: Icon + Meta */
.apk-card-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.apk-logo-frame {
    position: relative;
    width: 76px;
    height: 76px;
    min-width: 76px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3);
}

.apk-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apk-logo-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--cyan);
    color: #070b14;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-top-left-radius: 6px;
    letter-spacing: 0.05em;
}

.apk-details {
    flex: 1;
}

.apk-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.apk-main-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.apk-role-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.65rem;
    border-radius: 8px;
}

.apk-ver-pill {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #38bdf8;
    background: rgba(2, 132, 199, 0.18);
    border: 1px solid rgba(2, 132, 199, 0.4);
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
}

.apk-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.15rem;
}

.apk-spec-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.73rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    white-space: nowrap;
}

.spec-pill svg {
    width: 13px;
    height: 13px;
}

/* Card Divider */
.apk-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    margin: 0.15rem 0;
}

/* Actions Row in Left Card */
.apk-left-actions-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.btn-xl {
    padding: 0.9rem 1.75rem;
    border-radius: 14px;
    font-size: 1rem;
}

.download-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 6px 25px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.download-cta:hover {
    box-shadow: 0 8px 35px rgba(6, 182, 212, 0.55);
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transform: translateY(-2px);
}

.download-cta svg {
    width: 24px;
    height: 24px;
}

.btn-double-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-double-text .btn-title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.btn-double-text .btn-sub {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.88;
}

.url-copy-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #060911;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    font-size: 0.78rem;
    flex: 1;
    min-width: 210px;
}

.url-label {
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.75rem;
}

.url-copy-box code {
    font-family: var(--font-mono);
    color: #7dd3fc;
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.copy-url-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.copy-url-btn:hover {
    background: rgba(2, 132, 199, 0.25);
    border-color: var(--cyan);
    color: #38bdf8;
}

.copy-url-btn svg {
    width: 13px;
    height: 13px;
}

.apk-checksum-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #6ee7b7;
}

.apk-checksum-hint svg {
    width: 14px;
    height: 14px;
}

/* Right Card: Big QR Code */
.apk-card-right-qr {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(6, 182, 212, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    gap: 1.35rem;
}

.apk-card-right-qr:hover {
    border-color: var(--cyan);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

.big-qr-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.35);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    letter-spacing: 0.03em;
}

.qr-tag-pill svg {
    width: 15px;
    height: 15px;
}

.big-qr-box {
    position: relative;
    width: 310px;
    height: 310px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 45px rgba(6, 182, 212, 0.32);
    border: 2px solid rgba(6, 182, 212, 0.4);
    margin: 0;
}

.big-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.big-qr-laser {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #06b6d4, #3b82f6, transparent);
    box-shadow: 0 0 12px #06b6d4;
    top: 10px;
    animation: qrScanMove 2.6s ease-in-out infinite alternate;
}

/* Installation Steps */
.install-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    text-align: left;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.75rem;
    transition: all 0.25s ease;
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.035);
}

.step-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.step-no {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--cyan);
    line-height: 1;
}

.step-icon {
    width: 24px;
    height: 24px;
}

.step-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* FAQ Section */
.faq-accordion-list {
    max-width: 820px;
    margin: 3rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item.active {
    border-color: var(--border-hover);
}

.faq-header {
    width: 100%;
    padding: 1.35rem 1.75rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    display: none;
    padding: 0 1.75rem 1.35rem 1.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-body {
    display: block;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: #04070e;
    padding: 5rem 0 2rem 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1.25rem;
    max-width: 420px;
}

.col-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.col-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.col-links a:hover {
    color: var(--cyan);
}

.col-links span {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
    animation: pulseDot 1.5s infinite;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN SYSTEM (TABLET & MOBILE)
   ------------------------------------------------------------- */

/* Tablet & Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 5rem 0;
    }

    .download-hero-section {
        padding: 6.75rem 0 3rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-desc {
        margin: 0 auto 2rem auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .trust-strip {
        justify-content: center;
    }

    .download-dual-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .install-steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .mode-panel-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .modes-tab-content-wrap {
        padding: 2.5rem 2rem;
    }

    .sim-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .badge-top {
        left: -10px;
    }

    .badge-bottom {
        right: -10px;
    }
}

/* Small Tablet & Mobile Landscape (max-width: 860px) */
@media (max-width: 860px) {
    .install-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Standard Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .brand-logo {
        gap: 0.65rem;
    }

    .logo-box {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 10px;
    }

    .brand-name {
        font-size: 1.12rem;
        line-height: 1.2;
    }

    .brand-sub {
        font-size: 0.64rem;
        letter-spacing: 0.04em;
    }

    .nav-actions {
        gap: 0.6rem;
    }

    /* On mobile header, hide the wide download button from the header so the brand never wraps */
    .nav-actions #navDownloadBtn {
        display: none !important;
    }

    .mobile-menu-cta {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(7, 11, 20, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
        z-index: 99;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-item {
        font-size: 1.05rem;
        padding: 0.4rem 0;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        color: var(--text-primary);
        cursor: pointer;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.85rem;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .download-hero-section {
        padding: 5.75rem 0 2.25rem 0;
    }

    .apk-card-left,
    .apk-card-right-qr {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }

    .apk-card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .apk-logo-frame {
        width: 68px;
        height: 68px;
        min-width: 68px;
        border-radius: 18px;
    }

    .apk-title-row {
        justify-content: center;
        gap: 0.5rem;
    }

    .apk-main-title {
        font-size: 1.35rem;
    }

    .apk-spec-row {
        justify-content: center;
        gap: 0.35rem;
    }

    .spec-pill {
        font-size: 0.7rem;
        padding: 0.25rem 0.55rem;
    }

    .apk-left-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .apk-left-actions-row .download-cta {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
    }

    .url-copy-box {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }

    .url-copy-box code {
        max-width: 160px;
    }

    .apk-checksum-hint {
        justify-content: center;
        text-align: center;
        font-size: 0.72rem;
    }

    .big-qr-box {
        width: min(290px, 85vw);
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 14px;
        border-radius: 20px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-strip {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .device-mockup {
        width: 300px;
        max-width: 100%;
    }

    .badge-top,
    .badge-bottom {
        display: none !important;
    }

    .modes-tab-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }

    .mode-tab-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.88rem;
        padding: 0.75rem 1rem;
    }

    .modes-tab-content-wrap {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .mode-panel-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
        min-width: 0;
        max-width: 100%;
    }

    .mode-info,
    .mode-visual {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .code-box {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .code-box pre {
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        padding: 0.85rem 0.65rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .sim-card,
    .sim-result-card {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }

    .sim-result-card .res-amount {
        font-size: 2.1rem;
    }

    .faq-accordion-list {
        margin-top: 2rem;
    }

    .faq-item {
        padding: 1.2rem 1rem;
        border-radius: 14px;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Small Smartphone Screens (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3.25rem 0;
    }

    .download-hero-section {
        padding: 5.25rem 0 1.75rem 0;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .brand-sub {
        font-size: 0.62rem;
    }

    .logo-box {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 10px;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .pulse-btn {
        padding: 0.4rem 0.65rem;
        font-size: 0.75rem;
    }

    .theme-toggle-btn {
        width: 34px;
        height: 34px;
    }

    .mobile-toggle {
        width: 34px;
        height: 34px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .apk-card-left,
    .apk-card-right-qr {
        padding: 1.35rem 1rem;
        border-radius: 18px;
    }

    .big-qr-box {
        width: min(240px, 80vw);
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 12px;
        border-radius: 18px;
    }

    .qr-tag-pill {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }

    .btn-double-text .btn-title {
        font-size: 0.98rem;
    }

    .btn-double-text .btn-sub {
        font-size: 0.65rem;
    }

    .url-copy-box code {
        max-width: 125px;
        font-size: 0.68rem;
    }

    .device-mockup {
        width: 275px;
        padding: 10px;
        border-radius: 36px;
    }

    .phone-screen {
        border-radius: 26px;
        padding: 1.5rem 0.85rem 1rem 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .stat-card {
        padding: 1.25rem 1rem;
    }

    .stat-num {
        font-size: 2rem;
    }

    .modes-tab-content-wrap {
        padding: 1.25rem 0.85rem;
        border-radius: 16px;
    }

    .mode-info h3 {
        font-size: 1.3rem;
    }

    .mode-info p {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .code-box pre {
        padding: 0.75rem 0.5rem;
    }

    .code-box pre code {
        font-size: 0.68rem;
    }

    .sim-result-card .res-amount {
        font-size: 1.85rem;
    }

    .tech-icon-wrap {
        gap: 0.75rem;
    }

    .cable-line {
        width: 45px;
    }

    .tech-phone {
        width: 32px;
        height: 32px;
    }

    .scope-tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
}

/* -------------------------------------------------------------
   THEME TOGGLE BUTTON & SMOOTH TRANSITION
   ------------------------------------------------------------- */
body,
.navbar,
.apk-card-left,
.apk-card-right-qr,
.step-card,
.stat-card,
.feature-card,
.sim-card,
.sim-result-card,
.faq-item,
.footer,
.mode-panel,
.mode-tabs-nav,
.url-copy-box,
.spec-pill,
.big-qr-box {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--cyan);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
}

.theme-toggle-btn .sun-icon {
    display: none;
}

.theme-toggle-btn .moon-icon {
    display: block;
}

/* -------------------------------------------------------------
   LIGHT MODE DESIGN SYSTEM
   ------------------------------------------------------------- */
[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.95);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --primary: #0284c7;
    --primary-glow: rgba(2, 132, 199, 0.25);
    --cyan: #0891b2;
    --cyan-glow: rgba(8, 145, 178, 0.22);
    --emerald: #059669;
    --emerald-glow: rgba(5, 150, 105, 0.22);
    --violet: #7c3aed;
    --violet-glow: rgba(124, 58, 237, 0.22);
    --amber: #d97706;
    --rose: #e11d48;
    --rose-glow: rgba(225, 29, 72, 0.22);

    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(2, 132, 199, 0.4);
}

/* Light Mode Toggle Button */
[data-theme="light"] .theme-toggle-btn {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.1);
    color: #0f172a;
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: #e2e8f0;
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
    display: none;
}

/* Light Mode Navbar */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .logo-box {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .nav-item {
    color: #475569;
}

[data-theme="light"] .nav-item:hover,
[data-theme="light"] .nav-item.active {
    color: #0284c7;
}

/* Light Mode Ambient Glows */
[data-theme="light"] .bg-glow {
    opacity: 0.12;
}

[data-theme="light"] .glow-1 {
    background: radial-gradient(circle, #38bdf8, #818cf8);
}

[data-theme="light"] .glow-2 {
    background: radial-gradient(circle, #34d399, #38bdf8);
}

[data-theme="light"] .glow-3 {
    background: radial-gradient(circle, #c084fc, #38bdf8);
}

/* Light Mode Download & QR Cards */
[data-theme="light"] .apk-card-left,
[data-theme="light"] .apk-card-right-qr {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.02);
}

[data-theme="light"] .apk-card-left:hover,
[data-theme="light"] .apk-card-right-qr:hover {
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: 0 20px 50px rgba(2, 132, 199, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .apk-logo-frame {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .apk-role-badge {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.08);
    color: #64748b;
}

[data-theme="light"] .apk-ver-pill {
    background: #e0f2fe;
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .spec-pill {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
    color: #475569;
}

[data-theme="light"] .spec-pill:hover {
    background: #f1f5f9;
    border-color: rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .apk-card-divider {
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.08), transparent);
}

[data-theme="light"] .url-copy-box {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .url-label {
    color: #64748b;
}

[data-theme="light"] .url-copy-box code {
    color: #0369a1;
}

[data-theme="light"] .copy-url-btn {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .copy-url-btn:hover {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #7dd3fc;
}

[data-theme="light"] .apk-checksum-hint {
    color: #059669;
}

[data-theme="light"] .qr-tag-pill {
    background: #e0f2fe;
    border-color: rgba(2, 132, 199, 0.35);
    color: #0284c7;
}

[data-theme="light"] .big-qr-box {
    background: #ffffff;
    border: 2px solid rgba(2, 132, 199, 0.3);
    box-shadow: 0 16px 45px rgba(2, 132, 199, 0.12), 0 4px 15px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .step-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .step-card:hover {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.08);
}

[data-theme="light"] .step-card code {
    background: #f1f5f9;
    color: #0284c7;
}

/* Light Mode Platform Showcase */
[data-theme="light"] .platform-section {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .badge-pill {
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.25);
    color: #0284c7;
}

[data-theme="light"] .device-mockup {
    background: #090d16;
    border: 3px solid rgba(15, 23, 42, 0.25);
    box-shadow: 0 30px 75px -15px rgba(15, 23, 42, 0.22), 0 0 40px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .floating-badge {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .floating-badge strong {
    color: #0f172a;
}

[data-theme="light"] .floating-badge span {
    color: #64748b;
}

[data-theme="light"] .screen-toggle-cta {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .screen-toggle-cta:hover {
    background: #f1f5f9;
    border-color: rgba(2, 132, 199, 0.4);
    color: #0284c7;
}

[data-theme="light"] .feature-bullet-item {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .feature-bullet-item:hover {
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.08);
}

/* Light Mode Stats Section */
[data-theme="light"] .stats-section {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #f1f5f9;
}

[data-theme="light"] .stat-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .stat-card:hover {
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
}

/* Light Mode Provisioning Tabs */
[data-theme="light"] .mode-tabs-nav {
    background: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .mode-tab-btn {
    color: #64748b;
}

[data-theme="light"] .mode-tab-btn:hover {
    color: #0f172a;
}

[data-theme="light"] .mode-tab-btn.active {
    background: #ffffff;
    color: #0284c7;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
}

/* Light Mode Provisioning Tabs */
[data-theme="light"] .mode-tab-btn {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .mode-tab-btn:hover {
    border-color: rgba(2, 132, 199, 0.4);
    color: #0284c7;
    background: #ffffff;
}

[data-theme="light"] .mode-tab-btn.active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .modes-tab-content-wrap {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .tech-card,
[data-theme="light"] .delegation-card {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .tech-card-body strong,
[data-theme="light"] .delegation-header span {
    color: #0f172a;
}

[data-theme="light"] .scope-tag {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    color: #7c3aed;
}

[data-theme="light"] .code-box {
    background: #0b111e !important;
    border: 1px solid rgba(15, 23, 42, 0.25) !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15), 0 0 30px rgba(6, 182, 212, 0.1) !important;
}

[data-theme="light"] .code-header {
    background: #111827 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="light"] .code-title {
    color: #94a3b8 !important;
}

[data-theme="light"] .code-box pre {
    background: transparent !important;
}

[data-theme="light"] .code-box pre code,
[data-theme="light"] .code-box code {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #38bdf8 !important;
}

/* Light Mode Feature Grid */
[data-theme="light"] .feature-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .feature-card:hover {
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: 0 14px 35px rgba(2, 132, 199, 0.09);
}

[data-theme="light"] .feature-icon-box {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.08);
}

/* Light Mode Simulator */
[data-theme="light"] .sim-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .sim-result-card {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .val-badge {
    background: #e0f2fe;
    color: #0284c7;
}

[data-theme="light"] .sim-slider {
    background: #e2e8f0;
}

[data-theme="light"] .res-divider {
    background: rgba(15, 23, 42, 0.08);
}

/* Light Mode FAQ */
[data-theme="light"] .faq-item {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
}

[data-theme="light"] .faq-item:hover {
    border-color: rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .faq-item.active {
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.06);
}

[data-theme="light"] .faq-question {
    color: #0f172a;
}

[data-theme="light"] .faq-icon {
    background: #f1f5f9;
    color: #0284c7;
}

/* Light Mode Footer */
[data-theme="light"] .footer {
    background: #f1f5f9;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .footer-brand-title {
    color: #0f172a;
}

[data-theme="light"] .footer-col h4 {
    color: #0f172a;
}

[data-theme="light"] .footer-links a {
    color: #64748b;
}

[data-theme="light"] .footer-links a:hover {
    color: #0284c7;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: #64748b;
}

[data-theme="light"] .status-indicator {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
}

/* Light Mode Mobile Menu */
@media (max-width: 768px) {
    [data-theme="light"] .nav-links {
        background: #ffffff;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    [data-theme="light"] .mobile-toggle {
        color: #0f172a;
    }
}