* {
    box-sizing: border-box;
}

.hero-section {
    background: #fbfbfb;
    display: flex;
    align-items: center;
    padding: clamp(30px, 7vw, 20px) clamp(15px, 3vw, 20px);
    overflow: hidden;

    container-type: inline-size;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(30px, 5vw, 60px);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-text-wrapper {
    position: relative;
}

.hero-title,
.category-hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(28px, 4vw, 58px);
    font-weight: 700;
    line-height: 0.9;
    margin: 0 0 clamp(20px, 3vw, 35px) 0;
    letter-spacing: -0.02em;
}

.category-hero-title .title-line-1,
.category-hero-title .title-line-2 {
    display: block;
}

.category-hero-title .title-line-1 {
    color: #2f4269;
}

.category-hero-title .title-line-2 {
    color: #eb610e;
}

.hero-title-main {
    color: #2f4269;
    display: block;
}

.hero-title-highlight {
    color: #eb610e;
    display: block;
}

.hero-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(18px, 2.5vw, 30px);
    color: #636363;
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
}

.hero-vector {
    position: absolute;
    top: clamp(40px, 8vw, 80px);
    right: clamp(20px, 5vw, 50px);
    width: clamp(50px, 6vw, 80px);
    height: clamp(50px, 6vw, 80px);
    z-index: 1;
    opacity: 0.7;
}

.hero-image {
    flex: 1;
    max-width: 650px;
    text-align: center;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image {
    width: 100%;
    height: auto;
    max-width: 611px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

@media (max-width: 1440px) {
    .hero-container {
        max-width: 1200px;
        gap: clamp(40px, 4vw, 50px);
    }
}

@media (max-width: 1200px) {
    .hero-container {
        gap: clamp(35px, 4vw, 45px);
        padding: 0 clamp(20px, 3vw, 40px);
    }
    
    .hero-vector {
        right: clamp(-10px, 2vw, 10px);
        top: clamp(60px, 7vw, 70px);
    }
}

@media (max-width: 1024px) {
    .hero-section {
        min-height: auto;
        padding: clamp(90px, 6vw, 80px) clamp(15px, 2vw, 20px);
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: clamp(40px, 5vw, 50px);
    }
    
    .hero-content {
        max-width: 100%;
        order: 1;
    }
    .hero-title,
    .category-hero-title {
        font-size: 38px !important;
    }
    
    .category-hero-title .title-line-2 {
        font-size: 32px !important;
    }
    .hero-image {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
        aspect-ratio: auto;
    }
    
    .hero-vector {
        position: static;
        display: block;
        margin: clamp(15px, 2vw, 20px) auto 0;
        width: clamp(60px, 8vw, 80px);
        height: clamp(15px, 2vw, 20px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: clamp(120px, 5vw, 60px) clamp(15px, 2vw, 20px);
    }
    
    .hero-container {
        gap: clamp(30px, 4vw, 40px);
    }
    
    .hero-image {
        max-width: 400px;
    }
    
    .hero-main-image {
        aspect-ratio: auto;
    }
    
    .hero-title,
    .category-hero-title {
        font-size: 38px !important;
    }
    
    .category-hero-title .title-line-2 {
        font-size: 32px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: clamp(120px, 4vw, 50px) clamp(15px, 2vw, 20px);
    }
    
    .hero-container {
        gap: clamp(25px, 3vw, 35px);
    }
    
    .hero-image {
        max-width: 320px;
    }
    
    .hero-vector {
        width: clamp(50px, 6vw, 70px);
        height: clamp(12px, 1.5vw, 18px);
        margin: clamp(12px, 1.5vw, 18px) auto 0;
    }
    
    .hero-title,
    .category-hero-title {
        font-size: 38px !important;
    }
    
    .category-hero-title .title-line-2 {
        font-size: 29px !important;
    }
    
    .hero-subtitle {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .hero-image {
        max-width: 280px;
    }
    
    .hero-title,
    .category-hero-title {
        font-size: 32px !important;
    }
    
    .category-hero-title .title-line-2 {
        font-size: 28px !important;
    }
    
    .hero-subtitle {
        font-size: 17px !important;
    }
}

@media (max-width: 375px) {
    .hero-section {
        padding: clamp(25px, 3vw, 40px) clamp(12px, 1.5vw, 18px);
    }
    
    .hero-container {
        gap: clamp(20px, 2.5vw, 30px);
    }
    
    .hero-image {
        max-width: 250px;
    }
    
    .hero-vector {
        width: clamp(40px, 5vw, 60px);
        height: clamp(10px, 1.2vw, 15px);
        margin: clamp(10px, 1.2vw, 15px) auto 0;
    }
    
    .hero-title,
    .category-hero-title {
        font-size: 18px !important;
    }
    
    .category-hero-title .title-line-2 {
        font-size: 14px !important;
    }
    
    .hero-subtitle {
        font-size: 13px !important;
    }
}

@container (max-width: 600px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-vector {
        position: static;
        display: block;
        margin: 15px auto 0;
    }
}

.hero-title,
.category-hero-title {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-main-image {
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-vector {
    animation: fadeIn 1s ease-out 0.6s both;
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .category-hero-title,
    .hero-subtitle,
    .hero-main-image,
    .hero-vector {
        animation: none;
    }
}

@media (prefers-contrast: high) {
    .category-hero-title .title-line-1 {
        color: #000;
    }
    
    .category-hero-title .title-line-2 {
        color: #d2691e;
    }
    
    .hero-subtitle {
        color: #333;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}