@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-light: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --primary-color: #00a859;
    --blue-highlight: #3b82f6;
    --purple-highlight: #6366f1;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Top Announcement Bar --- */
.top-promo-bar {
    width: 100%;
    background: linear-gradient(90deg, #e6fdf4, #e0f2fe);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 16px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-promo-bar i {
    color: var(--primary-color);
}

.pulse-icon {
    animation: heartbeat 1.5s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* --- Premium Background Effects --- */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% 50%, #f8fafc 0%, #e2e8f0 100%);
    pointer-events: none;
}

.bg-glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.orb-green {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 65%);
    top: -50px;
    right: -100px;
    width: 450px;
    height: 450px;
}

.orb-blue {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 65%);
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
}

.dot-pattern-grid {
    position: fixed;
    top: 15%;
    left: 6%;
    width: 60px;
    height: 100px;
    background-image: radial-gradient(rgba(59, 130, 246, 0.25) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
    opacity: 0.8;
    z-index: -1;
    pointer-events: none;
}

/* --- Mobile Page Container --- */
.app-container {
    width: 100%;
    max-width: 440px;
    padding: 30px 20px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* --- Brand Header Section --- */
.brand-header {
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow-ring {
    position: absolute;
    inset: -6px;
    background: radial-gradient(circle, rgba(0, 168, 89, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(4px);
    animation: rotateGlow 8s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-main {
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 18px;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0, 168, 89, 0.1));
}

.logo-fallback {
    display: none;
    width: 86px;
    height: 86px;
    z-index: 2;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Capsule LITE MODE Badge */
.lite-badge-capsule {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

/* --- Headline Title --- */
.headline-title {
    font-size: 1.68rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    text-align: center;
    margin-bottom: 28px;
}

.highlight-text-blue {
    color: var(--blue-highlight);
    font-weight: 700;
}

/* --- Three Feature Cards --- */
.features-row {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
}

.feature-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.015);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.03);
}

.feat-icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.leaf-bg {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.shield-bg {
    background-color: rgba(99, 102, 241, 0.08);
    color: #6366f1;
}

.chart-bg {
    background-color: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
}

.feat-text-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.feat-text-desc {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Download Action Panel --- */
.download-panel-box {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.main-download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 16px;
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Shimmer reflection */
.main-download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transition: 0.5s;
}

.main-download-button:hover::before {
    left: 100%;
    transition: 0.6s ease;
}

.main-download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.35);
}

.main-download-button:active {
    transform: translateY(1px);
}

.download-arrow {
    font-size: 1.35rem;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* Metadata specifications row */
.metadata-specs-row {
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin-top: 14px;
    padding-top: 14px;
    justify-content: space-between;
}

.spec-column {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    position: relative;
}

.spec-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

.android-color-icon {
    color: #10b981;
    font-size: 1.1rem;
}

.file-color-icon {
    color: #3b82f6;
    font-size: 1.1rem;
}

.safe-color-icon {
    color: #10b981;
    font-size: 1.1rem;
}

.spec-text-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.spec-main-val {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.spec-sub-val {
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

/* --- Bottom Promo Info Bar --- */
.bottom-promo-info-bar {
    width: 100%;
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.lightning-box-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.promo-bar-text {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    flex-content: 1;
    text-align: left;
}

.highlight-purple-text {
    color: var(--purple-highlight);
    font-weight: 700;
}

.sparkles-box-icon {
    color: var(--blue-highlight);
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* --- Trusted Pill Badge --- */
.trusted-by-badge {
    background: rgba(99, 102, 241, 0.05);
    color: var(--purple-highlight);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: center;
    margin-bottom: 28px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.02);
}

.trusted-by-badge i {
    font-size: 0.85rem;
}

/* --- Footer Area --- */
.footer-copy {
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
}

/* --- Download Alert Toast --- */
.toast {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--purple-highlight);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    color: var(--text-primary);
    border-radius: 16px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 200;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    width: max-content;
    max-width: 90vw;
}

.toast.show {
    bottom: 30px;
}

.toast-icon {
    color: var(--purple-highlight);
    font-size: 1.2rem;
}

.toast-text {
    font-size: 0.85rem;
    font-weight: 600;
}
