/* ========== 0050 Custom Styles - Modern Clean App Download Theme ========== */

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

/* Gradient variables */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #10b981;
    --card-bg: #ffffff;
    --section-bg: #f1f5f9;
}

/* Navbar */
.navbar-transparent {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s ease;
    z-index: 1000;
    border-bottom: 1px solid transparent;
}
.navbar-scrolled {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.45);
}
.btn-outline {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
}

/* Hero */
.hero-section {
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 50%, #ffffff 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.feature-card:hover::after {
    transform: scaleX(1);
}
.feature-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}
.feature-card:hover .feature-icon-circle {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 10px 25px rgba(59,130,246,0.3);
    transform: scale(1.1);
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-item {
    text-align: center;
    padding: 2rem;
    color: #fff;
}
.stat-count {
    font-size: 3rem;
    font-weight: 800;
    color: #60a5fa;
    line-height: 1.2;
}
.stat-label {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #dbeafe;
}
.stars i {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-right: 1px;
}

/* FAQ */
.faq-section {
    background: #f1f5f9;
}
.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
}
.faq-question {
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    transition: background 0.3s ease;
}
.faq-question:hover { background: #f8fafc; }
.faq-question i {
    color: #3b82f6;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: #64748b;
    line-height: 1.8;
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 1.5rem 1.25rem;
}
.faq-item.active .faq-question {
    color: #3b82f6;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 40%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

/* Footer */
.footer-link {
    color: #94a3b8;
    transition: color 0.3s ease;
    text-decoration: none;
}
.footer-link:hover { color: #3b82f6; }

/* Mobile Menu */
@media (max-width: 767px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        z-index: 1001;
        padding: 5rem 2rem;
    }
    .mobile-menu.active { right: 0; }
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }
    .mobile-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Hamburger line */
.hamburger { cursor: pointer; }
.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #1e293b;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Section headers */
.section-tag {
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}
.section-desc {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}
