/* ============================================
   ZhiQu Future - PDF Reader App Page Styles
   ============================================ */

/* PDF Theme Colors */
:root {
    --pdf-primary: #ff6b6b;
    --pdf-primary-dark: #ee5a5a;
    --pdf-primary-light: #ff8787;
    --pdf-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

/* App Hero Section - PDF Theme */
.app-hero-pdf {
    background: linear-gradient(180deg, #0a2540 0%, #1a3a5c 60%, #2d1f3d 100%);
}

.app-hero-pdf .app-hero-shape {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
}

.app-hero-badge-pdf {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
    color: var(--pdf-primary);
}

.app-hero-icon-pdf {
    background: var(--pdf-gradient);
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.4);
}

.app-hero-pdf .app-hero-subtitle {
    color: var(--pdf-primary);
}

/* Phone Mockup Content - PDF Theme */
.phone-pdf-content {
    padding: var(--space-12) var(--space-4) var(--space-4);
}

.phone-pdf-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.phone-pdf-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.phone-pdf-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.pdf-file-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.pdf-file-item:hover {
    transform: translateX(5px);
}

.pdf-file-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-file-icon i {
    font-size: 20px;
    color: var(--pdf-primary);
}

.pdf-file-info {
    flex: 1;
}

.pdf-file-name {
    display: block;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-primary);
    margin-bottom: 2px;
}

.pdf-file-size {
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

/* Feature Icons - PDF Theme */
.feature-icon-pdf {
    background: var(--pdf-gradient);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* Section Labels - PDF Theme */
.section-label-pdf {
    background: rgba(255, 107, 107, 0.1);
    color: var(--pdf-primary);
}

.section-label-light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

/* Why Choose Section */
.why-choose-section {
    background: var(--color-white);
}

.why-choose-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-background);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.why-choose-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.why-choose-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--pdf-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-icon i {
    font-size: 20px;
    color: var(--color-white);
}

.why-choose-text h4 {
    font-size: var(--text-base);
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.why-choose-text p {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin: 0;
}

/* Stats Cards */
.why-choose-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.stat-card {
    background: var(--color-background);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pdf-primary);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-4);
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 24px;
    color: var(--pdf-primary);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* Screenshots Section - PDF Theme */
.screenshots-section-pdf {
    background: linear-gradient(135deg, #2d1f3d 0%, #1a3a5c 100%);
}

/* Review Avatar - PDF Theme */
.review-avatar-pdf {
    background: var(--pdf-gradient);
}

/* Download CTA - PDF Theme */
.download-cta-section-pdf {
    background: var(--color-background);
}

.download-cta-wrapper-pdf {
    background: var(--pdf-gradient);
}

.download-cta-wrapper-pdf::before {
    background: rgba(255, 255, 255, 0.1);
}

.download-cta-wrapper-pdf::after {
    background: rgba(255, 255, 255, 0.1);
}

.download-cta-icon-pdf {
    background: var(--color-white);
}

.download-cta-icon-pdf i {
    color: var(--pdf-primary);
}

/* App Hero Shared Styles */
.app-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.app-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.app-hero-shape {
    position: absolute;
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

.app-hero-shape-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
}

.app-hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.app-hero-shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.app-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.app-hero-info {
    max-width: 550px;
}

.app-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 212, 170, 0.15);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-accent);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
}

.app-hero-icon-wrapper {
    margin-bottom: var(--space-6);
}

.app-hero-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00b894 100%);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 212, 170, 0.4);
}

.app-hero-icon i {
    font-size: 50px;
    color: var(--color-primary);
}

.app-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.app-hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-accent);
    margin-bottom: var(--space-6);
    font-weight: 500;
}

.app-hero-desc {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--space-8);
}

.app-hero-meta {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    padding: var(--space-4) var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-meta-item {
    text-align: center;
}

.app-meta-rating {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
}

.app-meta-rating i {
    color: #ffc107;
}

.app-meta-value {
    display: block;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
}

.app-meta-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.app-meta-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.app-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* Phone Mockup */
.app-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-phone-mockup {
    position: relative;
    transform: rotate(5deg);
    transition: transform var(--transition-slow);
}

.app-phone-mockup:hover {
    transform: rotate(5deg) translateY(-10px);
}

.app-phone-mockup .phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 50px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 -2px 5px rgba(255, 255, 255, 0.1),
        inset 0 2px 5px rgba(255, 255, 255, 0.05);
}

.app-phone-mockup .phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 38px;
    overflow: hidden;
    position: relative;
}

.app-phone-mockup .phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 20px;
}

/* Features Section */
.app-features-section {
    background: var(--color-background);
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-showcase-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.feature-showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-showcase-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00b894 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 212, 170, 0.3);
}

.feature-showcase-icon i {
    font-size: 26px;
    color: var(--color-primary);
}

.feature-showcase-content h3 {
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.feature-showcase-content p {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Screenshots Section */
.screenshots-section {
    background: var(--color-primary);
}

.screenshots-section .section-header h2 {
    color: var(--color-white);
}

.screenshots-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.screenshots-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.screenshot-item {
    text-align: center;
}

.screenshot-frame {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-2);
    margin-bottom: var(--space-4);
    transition: all var(--transition-base);
}

.screenshot-frame:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.screenshot-placeholder i {
    font-size: 48px;
    color: var(--pdf-primary);
}

.screenshot-placeholder span {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.screenshot-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Reviews Section */
.reviews-section {
    background: var(--color-background);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.review-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00b894 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-avatar i {
    font-size: 24px;
    color: var(--color-primary);
}

.review-name {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.review-rating {
    display: flex;
    gap: 2px;
    color: #ffc107;
    font-size: var(--text-sm);
}

.review-text {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* Download CTA Section */
.download-cta-section {
    background: var(--color-white);
    padding: var(--space-12) 0;
}

.download-cta-wrapper {
    background: linear-gradient(135deg, var(--color-accent) 0%, #00b894 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.download-cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.download-cta-content {
    position: relative;
    z-index: 1;
}

.download-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.download-cta-icon i {
    font-size: 40px;
    color: var(--color-accent);
}

.download-cta-content h2 {
    font-size: var(--text-3xl);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.download-cta-content p {
    font-size: var(--text-lg);
    color: var(--color-primary-light);
    margin-bottom: var(--space-8);
    opacity: 0.8;
}

.download-cta-content .btn {
    background: var(--color-primary);
    color: var(--color-white);
}

.download-cta-content .btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Related Apps Section */
.related-apps-section {
    background: var(--color-background);
}

.related-apps-grid {
    max-width: 600px;
    margin: 0 auto;
}

.related-app-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-decoration: none;
    border: 1px solid var(--color-border);
}

.related-app-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

.related-app-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00b894 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-app-icon i {
    font-size: 28px;
    color: var(--color-primary);
}

.related-app-info {
    flex: 1;
}

.related-app-info h3 {
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin-bottom: 2px;
}

.related-app-info p {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin: 0;
}

.related-app-arrow {
    font-size: var(--text-xl);
    color: var(--color-accent);
    transition: transform var(--transition-fast);
}

.related-app-card:hover .related-app-arrow {
    transform: translateX(5px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--pdf-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-xl);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.4);
    color: var(--color-white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-hero-info {
        max-width: none;
    }
    
    .app-hero-icon-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .app-hero-meta {
        justify-content: center;
    }
    
    .app-hero-buttons {
        justify-content: center;
    }
    
    .app-hero-visual {
        display: none;
    }
    
    .features-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-wrapper {
        grid-template-columns: 1fr;
    }
    
    .why-choose-visual {
        order: -1;
    }
    
    .screenshots-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .features-showcase {
        grid-template-columns: 1fr;
    }
    
    .feature-showcase-item {
        flex-direction: column;
        text-align: center;
    }
    
    .screenshots-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-hero-meta {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .app-meta-divider {
        width: 100%;
        height: 1px;
    }
    
    .download-cta-wrapper {
        padding: var(--space-8);
    }
    
    .why-choose-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .screenshots-carousel {
        grid-template-columns: 1fr;
    }
}

