/* Index page */
.hero {
    text-align: center;
    padding: 8rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)),
                url('../assets/home/hero.jpg') center/cover;
    margin-bottom: 0;
    position: relative;
}

.hero h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.products {
    background-color: var(--bg-color);
}

/* ZWCAD page */
.zwcad-hero {
    position: relative;
    text-align: center;
    padding: 7rem 1rem 5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.85)),
                url('../assets/zwcad/hero.jpg') center/cover;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.zwcad-hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.zwcad-hero-badge img {
    height: 40px;
    width: auto;
}

.zwcad-hero h1 {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.zwcad-hero .subtitle {
    font-size: 1.2rem;
    max-width: 720px;
    margin: 0 auto 1rem;
    color: var(--text-light);
}

.zwcad-hero .partner-note {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.trust-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.trust-band img {
    height: 36px;
    width: auto;
}

.trust-band span {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-group-title {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 2.5rem 0 1.5rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.features-more {
    text-align: center;
    margin-top: 2.5rem;
}

.comparison {
    background-color: var(--bg-light);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.comparison-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-img img {
    width: 100%;
    height: auto;
    display: block;
}

.metric-cards {
    display: grid;
    gap: 1.5rem;
}

.metric-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.metric-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-card .metric {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.comparison-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    line-height: 1.6;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.industry-item span {
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
}

.awards-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.awards-row img {
    height: 80px;
    width: auto;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-card .stars {
    color: #f5a623;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimonial-card .author {
    font-weight: 600;
}

.testimonial-card .role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Whatsnew page */
.whatsnew-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-light), white);
    min-height: 420px;
}

.whatsnew-hero h1 {
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.whatsnew-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.whatsnew-hero-side {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.whatsnew-hero-side img {
    width: 100%;
    height: auto;
    display: block;
}

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

.whatsnew-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.whatsnew-card:hover {
    transform: translateY(-8px);
}

.whatsnew-card-header {
    background: var(--bg-light);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsnew-card-header img {
    width: 48px;
    height: 48px;
}

.whatsnew-card-header h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.badge-new {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: auto;
    flex-shrink: 0;
}

.whatsnew-card-body {
    padding: 1.5rem;
}

.whatsnew-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cta-section {
    background-color: var(--bg-light);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 6rem 1rem;
    }

    .zwcad-hero {
        background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.85)),
                          url('../assets/zwcad/hero-mobile.jpg');
        min-height: auto;
        padding: 5rem 1rem 3rem;
    }

    .zwcad-hero h1 {
        font-size: 2.2rem;
    }

    .whatsnew-hero {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
    }

    .whatsnew-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .zwcad-hero h1 {
        font-size: 1.8rem;
    }
}
