/* ==========================================================================
   SmartFamilyEye - Uninstall & Anti-Tamper Protection Dedicated Stylesheet
   Version: 20261015-v1 (High-End Clean Modern Light Theme)
   ========================================================================== */

/* 1. HERO SECTION - LIGHT MODERN THEME */
.up-hero-section {
    position: relative;
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 60%, #ffffff 100%);
    color: #0f172a;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.up-hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.10) 0%, rgba(16, 185, 129, 0.06) 45%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.up-hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.up-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 1024px) {
    .up-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Hero Content */
.up-hero-content {
    position: relative;
    z-index: 2;
}

.up-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 7px 16px;
    border-radius: 9999px;
    margin-bottom: 22px;
}

.up-hero-title {
    font-size: 2.85rem;
    line-height: 1.18;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .up-hero-title {
        font-size: 2.15rem;
    }
}

.up-hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 28px;
    max-width: 580px;
}

.up-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.up-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
}

.up-hero-pill::before {
    content: '🛡️';
    font-size: 0.85rem;
}

.up-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.up-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.35);
    transition: all 0.25s ease;
}

.up-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(2, 132, 199, 0.45);
    color: #ffffff;
}

.up-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    transition: all 0.25s ease;
}

.up-btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
}

/* ==========================================================================
   2. INTERACTIVE SECURITY MOCKUP CARD (LIGHT THEME)
   ========================================================================== */
.up-mockup-wrap {
    position: relative;
    z-index: 2;
}

.up-mockup-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
    padding: 24px 26px;
    position: relative;
    overflow: hidden;
}

/* Header bar */
.up-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 18px;
    gap: 12px;
}

.up-device-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.up-device-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.up-device-meta {
    display: flex;
    flex-direction: column;
}

.up-app-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
}

.up-device-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.up-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    white-space: nowrap;
}

.up-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: upPulseDot 2s infinite;
}

@keyframes upPulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Guard Items 4-grid */
.up-guard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

@media (max-width: 640px) {
    .up-guard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.up-guard-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.2s ease;
}

.up-guard-card:hover {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
    border-color: #cbd5e1;
}

.up-guard-name {
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}

.up-guard-status {
    font-size: 0.8rem;
    font-weight: 800;
    color: #059669;
}

/* Simulated PIN Modal Barrier */
.up-pin-modal-box {
    background: #fdfefe;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    position: relative;
}

.up-pin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.up-pin-badge {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.up-pin-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.up-pin-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 12px;
}

.up-pin-input-row {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    letter-spacing: 0.6em;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.up-pin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.up-pin-btn-cancel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

.up-pin-btn-verify {
    background: #0284c7;
    border: 1px solid #0369a1;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

/* Tamper Alert Toast */
.up-tamper-toast {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.up-tamper-tag {
    font-size: 0.82rem;
    font-weight: 800;
    color: #e11d48;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.up-tamper-desc {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.45;
    margin: 0;
}

/* Footer Hint */
.up-mockup-footer {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    text-align: center;
    padding-top: 4px;
}

/* ==========================================================================
   3. STATS STRIP SECTION (LIGHT THEME)
   ========================================================================== */
.up-stats-section {
    padding: 50px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.up-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .up-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .up-stats-grid {
        grid-template-columns: 1fr;
    }
}

.up-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.up-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #10b981);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.up-stat-card:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.up-stat-card:hover::before {
    opacity: 1;
}

.up-stat-val {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.up-stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.up-stat-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   4. DEEP-DIVE CAPABILITY SHOWCASE (6 CARDS - LIGHT THEME)
   ========================================================================== */
.up-features-section {
    padding: 85px 0 80px;
    background: #fafbfd;
    border-bottom: 1px solid #e2e8f0;
}

.up-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.up-section-badge {
    display: inline-block;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 14px;
}

.up-section-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .up-section-title {
        font-size: 1.85rem;
    }
}

.up-section-subtitle {
    font-size: 1.08rem;
    line-height: 1.6;
    color: #64748b;
}

.up-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .up-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .up-features-grid {
        grid-template-columns: 1fr;
    }
}

.up-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 26px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.up-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px -8px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.up-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid #bae6fd;
}

.up-feature-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
}

.up-feature-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* ==========================================================================
   5. WORKFLOW STEPS (LIGHT THEME)
   ========================================================================== */
.up-workflow-section {
    padding: 85px 0 80px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.up-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

@media (max-width: 991px) {
    .up-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .up-steps-grid {
        grid-template-columns: 1fr;
    }
}

.up-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 22px;
    position: relative;
    transition: all 0.25s ease;
}

.up-step-card:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.up-step-badge {
    font-size: 1.8rem;
    font-weight: 900;
    color: #bae6fd;
    line-height: 1;
    margin-bottom: 16px;
    display: inline-block;
}

.up-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.up-step-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   6. REAL-LIFE SCENARIOS (LIGHT THEME)
   ========================================================================== */
.up-scenarios-section {
    padding: 85px 0 80px;
    background: #fafbfd;
    border-bottom: 1px solid #e2e8f0;
}

.up-scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

@media (max-width: 768px) {
    .up-scenarios-grid {
        grid-template-columns: 1fr;
    }
}

.up-scenario-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0284c7;
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.up-scenario-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.up-scenario-tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.up-scenario-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.up-scenario-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* ==========================================================================
   7. PEDAGOGY GUIDELINES (LIGHT THEME)
   ========================================================================== */
.up-pedagogy-section {
    padding: 85px 0 80px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.up-pedagogy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

@media (max-width: 991px) {
    .up-pedagogy-grid {
        grid-template-columns: 1fr;
    }
}

.up-pedagogy-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.25s ease;
}

.up-pedagogy-card:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.up-age-pill {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.up-pedagogy-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.up-pedagogy-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* ==========================================================================
   8. FAQ ACCORDION SECTION (LIGHT THEME)
   ========================================================================== */
.up-faq-section {
    padding: 85px 0 80px;
    background: #fafbfd;
    border-bottom: 1px solid #e2e8f0;
}

.up-faq-wrap {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.up-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.up-faq-item.active {
    border-color: #0284c7;
}

.up-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    gap: 16px;
    transition: color 0.15s ease;
}

.up-faq-btn:hover {
    color: #0284c7;
}

.up-faq-chevron {
    width: 22px;
    height: 22px;
    color: #64748b;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.up-faq-item.active .up-faq-chevron {
    transform: rotate(180deg);
    color: #0284c7;
}

.up-faq-answer {
    padding: 0 24px 22px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
    display: none;
}

.up-faq-item.active .up-faq-answer {
    display: block;
}

/* ==========================================================================
   9. BOTTOM CTA CONVERSION CARD (LIGHT HIGH-CONTRAST GRADIENT)
   ========================================================================== */
.up-cta-section {
    padding: 80px 0;
    background: #ffffff;
}

.up-cta-card {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.35);
}

.up-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.up-cta-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .up-cta-card {
        padding: 40px 24px;
    }
    .up-cta-title {
        font-size: 1.85rem;
    }
}

.up-cta-subtitle {
    font-size: 1.12rem;
    line-height: 1.6;
    color: #e0f2fe;
    max-width: 620px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}

.up-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.up-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0369a1 !important;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 15px 32px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.up-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    background: #f8fafc;
}

.up-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.up-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
}

/* ==========================================================================
   10. ARABIC (RTL) SUPPORT
   ========================================================================== */
html[dir="rtl"] .up-eyebrow svg {
    transform: scaleX(-1);
}

html[dir="rtl"] .up-hero-actions,
html[dir="rtl"] .up-btn-primary,
html[dir="rtl"] .up-btn-secondary {
    flex-direction: row-reverse;
}

html[dir="rtl"] .up-scenario-card {
    border-left: 1px solid #e2e8f0;
    border-right: 4px solid #0284c7;
}

html[dir="rtl"] .up-faq-btn {
    text-align: right;
    flex-direction: row-reverse;
}
