/* Beijing Feilikang Technology Co., Ltd - Responsive Styles */

/* Large Desktop */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-graphic {
        width: 500px;
        height: 500px;
    }
    
    .services-grid {
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.8rem; }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-graphic {
        width: 400px;
        height: 400px;
        right: -10%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .app-graphic {
        order: -1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        max-width: 768px;
        padding: 0 15px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    
    .header {
        padding: 15px 0;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-medium);
        box-shadow: var(--shadow-heavy);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .hero {
        min-height: auto;
        padding: 150px 0 100px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
        justify-content: center;
    }
    
    .hero-graphic {
        display: none;
    }
    
    .stats {
        padding: 60px 0;
        margin-top: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .app-showcase {
        padding: 80px 0;
    }
    
    .app-info h2 {
        font-size: 2rem;
    }
    
    .app-features {
        grid-template-columns: 1fr;
    }
    
    .store-buttons {
        flex-direction: column;
    }
    
    .app-graphic-main {
        width: 250px;
        height: 500px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-image-main {
        height: 400px;
    }
    
    .about-badge {
        bottom: -20px;
        right: 20px;
        padding: 20px 30px;
    }
    
    .about-badge h3 {
        font-size: 2rem;
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        order: -1;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column h4 {
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-header {
        padding: 150px 0 80px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    .team {
        padding: 80px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .legal-content {
        padding: 60px 0;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    
    .logo svg {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-badge {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .service-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .app-showcase {
        padding: 60px 0;
    }
    
    .app-info h2 {
        font-size: 1.8rem;
    }
    
    .app-info p {
        font-size: 1rem;
    }
    
    .app-graphic-main {
        width: 220px;
        height: 440px;
    }
    
    .app-graphic-float {
        width: 100px;
        height: 100px;
        padding: 10px;
    }
    
    .app-float-1 {
        left: -10%;
    }
    
    .app-float-2 {
        right: -10%;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .about-image-main {
        height: 300px;
    }
    
    .about-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        text-align: center;
    }
    
    .about-badge h3 {
        font-size: 1.8rem;
    }
    
    .cta {
        padding: 60px 0;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .feature-item {
        padding: 25px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .feature-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .team {
        padding: 60px 0;
    }
    
    .team-image {
        height: 250px;
    }
    
    .team-info {
        padding: 25px;
    }
    
    .news-card {
        margin-bottom: 20px;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .form-submit {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .legal-content {
        padding: 50px 0;
    }
    
    .legal-section {
        margin-bottom: 40px;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .legal-section h3 {
        font-size: 1.15rem;
    }
    
    .legal-section p {
        font-size: 0.95rem;
    }
    
    .legal-section li {
        font-size: 0.95rem;
    }
    
    .ad-platforms {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .app-graphic-main {
        width: 180px;
        height: 360px;
        border-radius: 30px;
        padding: 15px;
    }
    
    .app-screen {
        border-radius: 20px;
    }
    
    .app-screen-logo {
        width: 60px;
        height: 60px;
    }
    
    .app-screen h4 {
        font-size: 0.9rem;
    }
    
    .app-screen p {
        font-size: 0.8rem;
    }
    
    .about-image-main {
        height: 250px;
    }
    
    .about-badge {
        padding: 15px 25px;
    }
    
    .about-badge h3 {
        font-size: 1.5rem;
    }
    
    .cta h2 {
        font-size: 1.5rem;
    }
    
    .footer-brand h3 {
        font-size: 1.3rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .team-image {
        height: 200px;
    }
    
    .contact-info > p {
        font-size: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon svg {
        width: 25px;
        height: 25px;
    }
}

/* Landscape Mode on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        display: none;
    }
    
    .hero-badge {
        margin-bottom: 15px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before,
    .about-image-main::before,
    .news-image::before {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-btn,
    .hero-buttons,
    .cta-buttons,
    .store-buttons,
    .contact-form,
    .footer {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 50px 0;
    }
    
    .hero::before {
        display: none;
    }
    
    .hero-content {
        color: #000;
    }
    
    .hero h1,
    .hero p {
        color: #000;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.6;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
    }
    
    .services,
    .about,
    .features,
    .team,
    .news-grid,
    .contact {
        padding: 30px 0;
    }
    
    .service-card,
    .feature-item,
    .team-member,
    .news-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-description,
    .hero-buttons,
    .hero-graphic {
        opacity: 1;
        animation: none;
    }
    
    .service-card {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e9ecef;
        --text-light: #adb5bd;
    }
    
    body {
        background: #121212;
    }
    
    .service-card,
    .stat-item,
    .team-member,
    .news-card,
    .feature-item,
    .contact-form,
    .form-group input,
    .form-group textarea {
        background: #1e1e1e;
    }
    
    .services,
    .team {
        background: #121212;
    }
    
    .stat-item,
    .feature-item {
        background: #1e1e1e;
    }
}
