* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #1a3a5c 0%, #0f2440 100%);
    color: #ffffff;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* Main Container */
.container {
    width: 100%;
    margin: 0;
    background: linear-gradient(180deg, #1e3d5f 0%, #132d4a 100%);
    min-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Header */
.header {
    padding: 15px 20px;
    background: linear-gradient(180deg, #1e3d5f 0%, #1a3656 100%);
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
}

.header-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
}

.logo {
    position: relative;
    width: 45px;
    height: 45px;
}

.logo-star {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #5B8DEF 0%, #4A7BD4 100%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    position: relative;
}

.logo-star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #ff6600;
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 22px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.protect-text {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 0 20px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 20px 0;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #6B9FFF;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 12px;
}

.verified-badge {
    font-size: 12px;
    color: #b0b0b0;
    margin-bottom: 25px;
}

.verified-text {
    color: #4caf50;
    font-weight: 500;
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #6B9FFF;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 10px;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Download Button */
.download-btn {
    width: 100%;
    background: linear-gradient(135deg, #5B8DEF 0%, #4A7BD4 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px 0 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(91, 141, 239, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 141, 239, 0.5);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn i {
    font-size: 18px;
}

.version-info {
    font-size: 12px;
    color: #808080;
    text-align: center;
}

/* Security Features */
.security-features {
    margin-top: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s, transform 0.2s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 2px solid;
}

.red-icon {
    border-color: #ff4444;
    color: #ff4444;
}

.green-icon {
    border-color: #4caf50;
    color: #4caf50;
}

.yellow-icon {
    border-color: #ffbb33;
    color: #ffbb33;
}

.blue-icon {
    border-color: #5B8DEF;
    color: #5B8DEF;
}

.green-check-icon {
    border-color: #4caf50;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffffff;
}

.feature-description {
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.5;
}

/* Security Badges */
.security-badges {
    display: flex;
    gap: 8px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.badge {
    flex: 1;
    min-width: 90px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #ffffff;
}

.badge i {
    color: #4caf50;
    font-size: 12px;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 13px;
    margin-bottom: 6px;
    color: #ffffff;
}

.copyright-full {
    font-size: 11px;
    color: #808080;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-link {
    color: #6B9FFF;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #8BB8FF;
    text-decoration: underline;
}

/* Download Modal */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-modal.show {
    display: flex;
    opacity: 1;
}

.download-content {
    text-align: center;
    padding: 30px 20px;
    max-width: 100%;
    width: 100%;
}

.download-completed {
    text-align: center;
    padding: 30px 20px;
    max-width: 100%;
    width: 100%;
    display: none;
}

.download-completed.show {
    display: block;
}

.download-content.hide {
    display: none;
}

.shield-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-progress {
    position: absolute;
    width: 150px;
    height: 150px;
    transform: rotate(-90deg);
    top: 0;
    left: 0;
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4;
}

.progress-circle {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(91, 141, 239, 0.6));
}

.shield-container svg defs {
    position: absolute;
}

.shield-icon-wrapper {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.4) 0%, rgba(91, 141, 239, 0.2) 40%, transparent 70%);
    animation: pulse-glow 2s ease-in-out infinite;
    z-index: 1;
}

.shield-icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #6B9FFF;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(91, 141, 239, 0.4),
                    0 0 40px rgba(91, 141, 239, 0.2),
                    0 0 60px rgba(91, 141, 239, 0.1);
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        box-shadow: 0 0 30px rgba(91, 141, 239, 0.7),
                    0 0 50px rgba(91, 141, 239, 0.4),
                    0 0 70px rgba(91, 141, 239, 0.2);
    }
}

.download-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6B9FFF 0%, #5B8DEF 50%, #4A7BD4 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(91, 141, 239, 0.6);
}

.progress-percentage {
    font-size: 16px;
    font-weight: 600;
    color: #6B9FFF;
}

/* Completed Screen */
.completed-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
}

.completed-icon i {
    font-size: 60px;
    color: #ffffff;
}

.completed-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
}

.installation-steps-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.steps-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: left;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #5B8DEF 0%, #4A7BD4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(91, 141, 239, 0.3);
}

.step-text {
    flex: 1;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    padding-top: 6px;
}

/* Responsive */
@media (max-width: 480px) {
    .header-logo {
        width: min(280px, 90vw);
        max-height: 55px;
    }

    .hero-title {
        font-size: 24px;
    }

    .shield-container {
        width: 120px;
        height: 120px;
    }

    .circular-progress {
        width: 120px;
        height: 120px;
    }

    .shield-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .shield-icon {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }

    .download-text {
        font-size: 16px;
    }

    .completed-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }

    .completed-icon i {
        font-size: 50px;
    }

    .completed-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .installation-steps-card {
        padding: 20px;
    }

    .step-text {
        font-size: 13px;
    }
}
