/* Automotive Industry Application Page Styles */

:root {
    --app-primary: #0f2341;
    --app-secondary: #005aab;
    --app-accent: #FF6600;
    --app-accent-hover: #e05d00;
    --app-light: #f8f9fa;
    --app-gray: #6c757d;
    --app-dark: #1a1a1a;
    --app-white: #ffffff;
    --app-border: #e0e0e0;
    --app-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --app-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --app-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--app-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Section Container */
.app-section-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.app-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.app-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--app-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.app-section-header p {
    font-size: 1.125rem;
    color: var(--app-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* CTA Buttons */
.app-cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--app-accent) 0%, var(--app-accent-hover) 100%);
    color: var(--app-white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--app-transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.app-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.4);
}

.app-cta-secondary {
    display: inline-block;
    background: var(--app-white);
    color: var(--app-primary);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--app-transition);
    border: 2px solid var(--app-primary);
}

.app-cta-secondary:hover {
    background: var(--app-primary);
    color: var(--app-white);
    transform: translateY(-2px);
}

/* Hero Section */
.app-hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--app-primary) 0%, var(--app-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

.app-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/huace/封面.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.app-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 35, 65, 0.85);
}

.app-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
    color: var(--app-white);
}

.app-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.app-hero-badge i {
    font-size: 1.2rem;
}

.app-hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.app-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.app-hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Overview Section */
.app-overview {
    padding: 5rem 0;
    background: var(--app-white);
}

.app-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-overview-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--app-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.app-overview-content > p {
    font-size: 1.1rem;
    color: var(--app-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.app-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.app-benefits-list li i {
    color: var(--app-accent);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.app-benefits-list li div strong {
    display: block;
    color: var(--app-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.app-benefits-list li div p {
    color: var(--app-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.app-overview-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--app-shadow);
}

.app-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Applications Section */
.app-applications {
    padding: 5rem 0;
    background: var(--app-light);
}

.app-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.app-app-card {
    background: var(--app-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--app-shadow);
    transition: var(--app-transition);
    border: 1px solid var(--app-border);
}

.app-app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--app-shadow-hover);
}

.app-app-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--app-accent) 0%, var(--app-accent-hover) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--app-white);
}

.app-app-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--app-primary);
    margin-bottom: 1rem;
}

.app-app-card > p {
    color: var(--app-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.app-app-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-app-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--app-dark);
    font-size: 0.95rem;
}

.app-app-features li i {
    color: var(--app-accent);
    font-size: 0.9rem;
}

/* Products Section */
.app-products {
    padding: 5rem 0;
    background: var(--app-white);
}

.app-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.app-product-card {
    background: var(--app-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--app-shadow);
    transition: var(--app-transition);
    border: 1px solid var(--app-border);
    position: relative;
}

.app-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--app-shadow-hover);
}

.app-product-featured {
    border: 2px solid var(--app-accent);
    transform: scale(1.02);
}

.app-product-featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.app-product-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--app-accent);
    color: var(--app-white);
    padding: 0.5rem 3rem;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.app-product-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.app-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--app-transition);
}

.app-product-card:hover .app-product-image img {
    transform: scale(1.05);
}

.app-product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--app-accent);
    color: var(--app-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 5;
}

.app-product-content {
    padding: 2rem;
}

.app-product-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--app-primary);
    margin-bottom: 0.75rem;
}

.app-product-desc {
    color: var(--app-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.app-product-specs {
    background: var(--app-light);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.app-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--app-border);
    font-size: 0.95rem;
}

.app-spec-row:last-child {
    border-bottom: none;
}

.app-spec-row span {
    color: var(--app-gray);
}

.app-spec-row strong {
    color: var(--app-primary);
    font-weight: 600;
}

.app-product-link {
    display: inline-block;
    color: var(--app-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--app-transition);
}

.app-product-link:hover {
    color: var(--app-accent);
    transform: translateX(5px);
}

/* 当app-product-link与app-cta-primary组合使用时，字体颜色为白色 */
.app-product-link.app-cta-primary {
    color: var(--app-white);
}

.app-product-link.app-cta-primary:hover {
    color: var(--app-white);
    opacity: 0.9;
}

/* Case Study Section */
.app-case-study {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--app-primary) 0%, var(--app-secondary) 100%);
    color: var(--app-white);
}

.app-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-case-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.app-testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--app-accent);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
}

.app-testimonial p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.app-testimonial footer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.app-testimonial footer strong {
    font-size: 1.05rem;
}

.app-testimonial footer span {
    font-size: 0.9rem;
    opacity: 0.85;
}

.app-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.app-result-item {
    text-align: center;
}

.app-result-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--app-accent);
    margin-bottom: 0.5rem;
}

.app-result-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.app-case-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.app-case-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Contact Section */
.app-contact {
    padding: 5rem 0;
    background: var(--app-light);
}

.app-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.app-contact-info h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--app-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.app-contact-info > p {
    color: var(--app-gray);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.app-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.app-contact-method {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.app-contact-method i {
    width: 50px;
    height: 50px;
    background: var(--app-accent);
    color: var(--app-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.app-contact-method div {
    display: flex;
    flex-direction: column;
}

.app-contact-method div strong {
    color: var(--app-primary);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.app-contact-method div a {
    color: var(--app-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--app-transition);
}

.app-contact-method div a:hover {
    color: var(--app-accent);
}

.app-contact-benefits h4 {
    font-size: 1.2rem;
    color: var(--app-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.app-contact-benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-contact-benefits ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--app-dark);
}

.app-contact-benefits ul li i {
    color: var(--app-accent);
    font-size: 1rem;
}

.app-contact-form-wrapper {
    background: var(--app-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--app-shadow);
}

.app-contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--app-primary);
    margin-bottom: 1.5rem;
}

.app-form-group {
    margin-bottom: 1.25rem;
}

.app-form-group label {
    display: block;
    color: var(--app-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.app-form-group input,
.app-form-group select,
.app-form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--app-transition);
    background: var(--app-white);
}

.app-form-group input:focus,
.app-form-group select:focus,
.app-form-group textarea:focus {
    outline: none;
    border-color: var(--app-accent);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.app-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.app-form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--app-accent) 0%, var(--app-accent-hover) 100%);
    color: var(--app-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--app-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.app-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-hero-title {
        font-size: 2.5rem;
    }

    .app-overview-grid,
    .app-case-grid,
    .app-contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .app-case-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .app-section-container {
        padding: 0 1.5rem;
    }

    .app-header-container {
        padding: 1rem 1.5rem;
    }

    .app-nav {
        gap: 1rem;
    }

    .app-hero {
        min-height: 500px;
        padding: 3rem 1.5rem;
    }

    .app-hero-title {
        font-size: 2rem;
    }

    .app-hero-subtitle {
        font-size: 1.1rem;
    }

    .app-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .app-cta-primary,
    .app-cta-secondary {
        text-align: center;
    }

    .app-section-header h2 {
        font-size: 2rem;
    }

    .app-overview,
    .app-applications,
    .app-products,
    .app-case-study,
    .app-contact {
        padding: 3rem 0;
    }

    .app-products-grid {
        grid-template-columns: 1fr;
    }

    .app-product-featured {
        transform: none;
    }

    .app-product-featured:hover {
        transform: translateY(-5px);
    }

    .app-results {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .app-hero-title {
        font-size: 1.75rem;
    }

    .app-hero-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .app-section-header h2 {
        font-size: 1.75rem;
    }

    .app-apps-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
        bottom: 20px;
        right: 20px;
    }
}
