/* ==========================================
   HOMEPAGE STYLES - MODERN & RESPONSIVE
   ========================================== */

/* === BRANDBOOK COLORS === */
:root {
    --bitherm-cyan: #0093D8;      /* Pantone 299 C */
    --bitherm-red: #EE0032;       /* Pantone 185 C */
    --bitherm-dark: #1a1a1a;
    --bitherm-gray: #f5f5f5;
    --bitherm-text: #333;
}

/* === HERO SECTION === */
.hero-new {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-new__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
    align-items: center;
}

.hero-new__content {
    z-index: 2;
}

.hero-new__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--bitherm-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-new__subtitle {
    font-size: 1.25rem;
    color: var(--bitherm-text);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-new__cta {
    margin-top: 2rem;
}

.btn-primary-new {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    background: var(--bitherm-red);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(238, 0, 50, 0.3);
}

.btn-primary-new:hover {
    background: #c90029;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 0, 50, 0.4);
}

.btn-secondary-new {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--bitherm-cyan);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--bitherm-cyan);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-new:hover {
    background: var(--bitherm-cyan);
    color: white;
}

/* Hero Visual */
.hero-new__visual {
    position: relative;
}

.hero-new__product-image {
    position: relative;
    text-align: center;
}

.pipe-3d {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.hero-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    pointer-events: none;
    opacity: 0.3;
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wave-1 { top: -10%; }
.wave-2 { top: 0%; }
.wave-3 { top: 10%; }

/* === USP SECTION === */
.usp-section {
    padding: 5rem 0;
    background: white;
}

.section-title-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bitherm-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle-new {
    font-size: 1.1rem;
    color: var(--bitherm-text);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.875rem;
    margin-bottom: 3rem;
}

.usp-card {
    text-align: center;
    padding: 1.875rem 1.25rem;
    border-radius: 12px;
    background: white;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.usp-card:hover {
    border-color: var(--bitherm-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 147, 216, 0.1);
}

.usp-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
}

.usp-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.usp-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bitherm-dark);
    margin-bottom: 0.75rem;
}

.usp-card__desc {
    font-size: 0.9375rem;
    color: var(--bitherm-text);
    line-height: 1.5;
}

.usp-cta {
    text-align: center;
}

/* === CATEGORIES SECTION === */
.categories-section {
    padding: 5rem 0;
    background: var(--bitherm-gray);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
}

.category-card-new {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 1.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
}

.category-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.category-card-new:hover .category-card-new__arrow {
    transform: translateX(5px);
}

.category-card-new__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
}

.category-card-new__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-card-new__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bitherm-dark);
    margin-bottom: 0.75rem;
}

.category-card-new__desc {
    font-size: 0.9375rem;
    color: var(--bitherm-text);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.category-card-new__arrow {
    color: var(--bitherm-cyan);
    transition: transform 0.3s ease;
}

/* === TECH SECTION === */
.tech-section {
    padding: 5rem 0;
    background: white;
}

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

.tech-visual__title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--bitherm-dark);
    margin-bottom: 2rem;
}

.tech-diagram img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

.tech-advantage {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.875rem;
}

.tech-advantage__icon {
    flex-shrink: 0;
}

.tech-advantage__text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bitherm-dark);
    margin-bottom: 0.5rem;
}

.tech-advantage__text p {
    font-size: 0.9375rem;
    color: var(--bitherm-text);
    line-height: 1.6;
}

/* === TRUST SECTION === */
.trust-section {
    padding: 5rem 0;
    background: var(--bitherm-gray);
}

.text-center {
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.875rem;
    margin-bottom: 3.75rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-card__number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bitherm-cyan);
    margin-bottom: 0.625rem;
}

.stat-card__label {
    font-size: 1rem;
    color: var(--bitherm-text);
    line-height: 1.4;
}

.partners {
    text-align: center;
}

.partners__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bitherm-dark);
    margin-bottom: 1.875rem;
}

.partners__logos {
    display: flex;
    justify-content: center;
    gap: 3.75rem;
}

.partner-logo {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.partner-logo span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bitherm-dark);
}

.partner-logo small {
    display: block;
    font-size: 0.9rem;
    color: var(--bitherm-text);
    margin-top: 0.3125rem;
}

/* === CTA SECTION === */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bitherm-cyan) 0%, #0077b3 100%);
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-box__text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-box__buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.cta-box__buttons .btn-primary-new {
    background: var(--bitherm-red);
}

.cta-box__buttons .btn-secondary-new {
    background: white;
    color: var(--bitherm-cyan);
    border-color: white;
}

.cta-box__buttons .btn-secondary-new:hover {
    background: transparent;
    color: white;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .hero-new__title {
        font-size: 3rem;
    }

    .section-title-new {
        font-size: 2.25rem;
    }

    .usp-grid {
        gap: 1.5rem;
    }

    .categories-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-new__grid,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-new__visual {
        order: -1;
    }

    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-visual__title {
        text-align: center;
    }

    .tech-diagram img {
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-new {
        padding: 3.75rem 0;
    }

    .hero-new__title {
        font-size: 2.5rem;
    }

    .hero-new__subtitle {
        font-size: 1.125rem;
    }

    .section-title-new {
        font-size: 2rem;
    }

    .section-subtitle-new {
        font-size: 1rem;
    }

    .usp-grid,
    .categories-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .usp-section,
    .categories-section,
    .tech-section,
    .trust-section,
    .cta-section {
        padding: 3.75rem 0;
    }

    .cta-box__buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-box__buttons a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .partners__logos {
        gap: 2rem;
    }

    .tech-advantage {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-new {
        padding: 3rem 0;
    }

    .hero-new__title {
        font-size: 2rem;
    }

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

    .section-title-new {
        font-size: 1.75rem;
    }

    .section-subtitle-new {
        font-size: 0.9375rem;
    }

    .usp-card {
        padding: 1.5rem 1rem;
    }

    .usp-card__icon {
        width: 60px;
        height: 60px;
    }

    .category-card-new {
        padding: 2rem 1.5rem;
    }

    .category-card-new__title {
        font-size: 1.125rem;
    }

    .stat-card {
        padding: 2rem 1rem;
    }

    .stat-card__number {
        font-size: 2.5rem;
    }

    .partners__logos {
        flex-direction: column;
        gap: 1.25rem;
    }

    .partner-logo {
        min-width: auto;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .cta-box__title {
        font-size: 2rem;
    }

    .cta-box__text {
        font-size: 1rem;
    }

    .btn-primary-new,
    .btn-secondary-new {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-new {
        padding: 2.5rem 0;
    }

    .hero-new__title {
        font-size: 1.75rem;
    }

    .hero-new__subtitle {
        font-size: 0.9375rem;
    }

    .section-title-new {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .section-subtitle-new {
        font-size: 0.875rem;
        margin-bottom: 2rem;
    }

    .usp-section,
    .categories-section,
    .tech-section,
    .trust-section,
    .cta-section {
        padding: 3rem 0;
    }

    .usp-grid,
    .categories-grid {
        gap: 1.25rem;
    }

    .category-card-new__icon {
        width: 50px;
        height: 50px;
    }

    .stat-card__number {
        font-size: 2rem;
    }

    .stat-card__label {
        font-size: 0.875rem;
    }

    .tech-visual__title {
        font-size: 1.5rem;
    }

    .tech-advantage__text h4 {
        font-size: 1rem;
    }

    .tech-advantage__text p {
        font-size: 0.875rem;
    }

    .cta-box__title {
        font-size: 1.75rem;
    }

    .cta-box__text {
        font-size: 0.9375rem;
    }
}

@media (max-width: 360px) {
    .hero-new__title {
        font-size: 1.5rem;
    }

    .section-title-new {
        font-size: 1.375rem;
    }

    .usp-card__title {
        font-size: 1rem;
    }

    .category-card-new__title {
        font-size: 1rem;
    }

    .stat-card__number {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {
    .hero-new,
    .usp-section,
    .categories-section,
    .tech-section,
    .trust-section {
        background: white !important;
        padding: 1rem 0;
    }

    .cta-section {
        display: none !important;
    }

    .btn-primary-new,
    .btn-secondary-new {
        border: 2px solid #000;
        color: #000 !important;
        background: white !important;
    }
}
