/* ============================================
   ZhiQu Future - Main Page Styles
   ============================================ */

/* Hero Section Enhancements */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.5;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero > .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.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);
}

.hero-badge i {
    font-size: var(--text-lg);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-accent) 0%, #00f5c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--space-8);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-accent);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual - Phone Mockups */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-8);
}

.hero-phone {
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    transition: transform var(--transition-slow);
}

.hero-phone:hover {
    transform: rotate(-5deg) translateY(-10px);
}

.hero-phone-2 {
    position: absolute;
    right: 10%;
    top: 60%;
    transform: rotate(8deg) scale(0.85);
    z-index: 1;
}

.hero-phone-2:hover {
    transform: rotate(8deg) scale(0.85) translateY(-10px);
}

.phone-frame {
    width: 220px;
    height: 450px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 10px;
    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);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a3a5c 0%, #0a2540 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 15px;
}

.phone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: var(--space-8);
}

.phone-app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00b894 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.4);
}

.phone-app-icon i {
    font-size: 40px;
    color: var(--color-primary);
}

.phone-app-icon-pdf {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.phone-app-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.phone-app-desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    font-size: var(--text-xl);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Apps Section */
.apps-section {
    background: var(--color-background);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.app-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.app-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
}

.app-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00b894 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

.app-card-icon i {
    font-size: 32px;
    color: var(--color-primary);
}

.app-card-icon-pdf {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.app-card-badge {
    padding: var(--space-1) var(--space-3);
    background: rgba(0, 212, 170, 0.1);
    color: var(--color-accent);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-card-body {
    padding: var(--space-6);
}

.app-card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.app-card-desc {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.app-card-features {
    list-style: none;
    margin-bottom: var(--space-5);
}

.app-card-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--color-text);
}

.app-card-features li i {
    color: var(--color-accent);
    font-size: var(--text-lg);
}

.app-card-rating {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
}

.rating-score {
    font-weight: 600;
    color: var(--color-primary);
}

.app-card-footer {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-6);
    background: #f8fafc;
    border-top: 1px solid var(--color-border);
}

.app-card-footer .btn {
    flex: 1;
}

/* Features Section */
.features-section {
    background: var(--color-primary);
    color: var(--color-white);
}

.features-section .section-header h2 {
    color: var(--color-white);
}

.features-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.feature-card {
    text-align: center;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-5);
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.feature-icon i {
    font-size: 30px;
    color: var(--color-primary);
}

.feature-card h3 {
    font-size: var(--text-lg);
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: var(--color-background);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-subtitle {
    font-size: var(--text-2xl);
    color: var(--color-accent);
    margin-bottom: var(--space-6);
    font-weight: 500;
}

.about-desc {
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.about-values {
    display: flex;
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

.about-value {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 500;
}

.about-value i {
    color: var(--color-accent);
    font-size: var(--text-lg);
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding: var(--space-8);
}

.about-decoration {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0.2;
}

.about-decoration-1 {
    width: 200px;
    height: 200px;
    top: 0;
    right: 0;
}

.about-decoration-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 0;
}

.about-stats-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.about-stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: #f8fafc;
    border-radius: var(--radius-lg);
}

.about-stat-item i {
    font-size: 28px;
    color: var(--color-accent);
}

.about-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

.about-stat-text {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* Contact Section */
.contact-section {
    background: var(--color-white);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.contact-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--color-background);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-5);
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon i {
    font-size: 28px;
    color: var(--color-primary);
}

.contact-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.contact-card p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.contact-link {
    font-weight: 600;
    color: var(--color-accent);
}

/* CTA Section */
.cta-section {
    background: var(--color-background);
    padding: var(--space-12) 0;
}

.cta-wrapper {
    position: relative;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-16);
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--text-3xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 170, 0.2);
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.cta-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
}

.cta-circle-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: -30px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    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: var(--shadow-glow);
    color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero > .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .about-visual {
        order: -1;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .cta-wrapper {
        padding: var(--space-8);
    }
    
    .cta-content h2 {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .app-card-footer {
        flex-direction: column;
    }
}

