/* ===== hero - 최상단 video ===== */
.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 30%, rgba(51, 153, 209, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}
.main-page-hero-content {
    position: relative;
    width: 100%;
    height: 100vh; /* 화면 전체 높이 */
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-background {
    position: absolute;
    top: 45%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    /*width: 100%;*/
    /*height: 100%;*/
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
}
.main-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.main-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.main-hero-desc {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
/* 애니메이션 */
.animate-in {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}
.animate-delay-2 {
    animation-delay: 0.3s;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Problem Section - Scroll Step Animation  ===== */
.problem-section-scroll {
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0D0D14 100%);
}
.scroll-step-container {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px;
    overflow: hidden;
    background-image: url("/assets/img/blueCircle.png");
    background-position: center;
    background-repeat: no-repeat;
    /*background-size: contain;*/
}
.scroll-step-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    min-height: 400px;
}
.scroll-step {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
.scroll-step.active {
    opacity: 1;
}
.scroll-spacer {
    height: 120vh;
}
.problem-text {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    color: var(--text-primary);
}
.problem-comment {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
}
.solution-text {
    font-size: clamp(2.8rem, 3.5vw, 2.6rem);
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
    color: var(--text-primary);
}
.solution-text .highlight {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Why AIID Section ===== */
.why-aiid-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px;
    background: var(--bg-dark);
}
.why-aiid-content {
    max-width: 1200px;
    text-align: center;
}
.why-aiid-header {
    margin-bottom: 3rem;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-aiid-header.visible {
    opacity: 1;
    transform: scale(1);
}
.why-aiid-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}
.why-aiid-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 300;
}
.why-aiid-main {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.8;
    font-weight: 400;
    margin-top: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.why-aiid-main.visible {
    opacity: 1;
    transform: translateY(0);
}
.why-aiid-emphasis {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-top: 1rem;
}

/* ===== Our Solution Section ===== */
.solution-content {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}
.solution-text {
    font-size: clamp(2.8rem, 3.5vw, 1.4rem);
    font-weight: 400;
    line-height: 1.8;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    text-align:center;
}
.solution-text.visible {
    opacity: 1;
    transform: translateY(0);
}
.solution-text .highlight {
    color: var(--primary);
    font-weight: 600;
}
/* 리스트 컨테이너 설정 */
.solution-features-list,
.solution-applications-list {
    list-style: none;
    text-align: right;
    padding: 0;
    width: 100%;
}
/* 리스트 항목(li) 설정 */
.solution-features-list li,
.solution-applications-list li {
    position: relative;
    padding-right: 20px;
    padding-left: 20px;
    text-align: left;
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
/* 가상 요소(아이콘/점) 위치 조정 */
.solution-features-list li::after,
.solution-applications-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    color: var(--primary);
    font-size: 1.2rem;
}
.solution-applications-list li::before {
    content: '-';
    position: absolute;
    right: 0;
    color: var(--primary);
}
.solutions-section {
    min-height: 100vh;
    padding: 120px 60px;
    background: var(--bg-darker);
    position: relative;
}
.solutions-header {
    text-align: center;
    margin-bottom: 80px;
}
.solutions-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.solutions-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}
.solutions-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    min-height: 600px;
}
.solution-3d-icon {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
    perspective: 1000px;
}
.icon-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
}
.icon-container.active {
    opacity: 1;
    animation: rotate3D 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes rotate3D {
    0% {
        transform: rotateY(-90deg) rotateX(20deg) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg) rotateX(0deg) scale(1);
        opacity: 1;
    }
}
.solution-icon-3d {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*font-size: 200px;*/
    transform-style: preserve-3d;
}
.solution-icon-3d img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.solution-content {
    text-align: left;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.solution-content.active {
    opacity: 1;
    transform: translateX(0);
}
.solution-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}
.solution-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.solution-features {
    margin-bottom: 2rem;
}
.solution-features h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.solution-applications h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.solutions-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 60px;
    flex-wrap: wrap;
    align-items: stretch;
}
.solution-nav-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid rgba(51, 153, 209, 0.3);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 30px;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
    white-space: nowrap;
}
.solution-nav-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}
.solution-nav-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.no-transition {
    transition: none !important;
}

/* ===== Business Section - Accordion ===== */
.business-accordion-section {
    min-height: 80vh;
    padding: 120px 60px;
    background: var(--bg-dark);
}
.business-accordion-header {
    text-align: center;
    margin-bottom: 80px;
}
.business-accordion-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.business-accordion-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}
.accordion-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    /*height: 700px;*/
}
.accordion-item {
    flex: 1;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}
.accordion-item.active {
    flex: 4;
    cursor: default;
}
.accordion-header {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
    gap: 20px;
    min-height: 150px;
    background: linear-gradient(135deg, rgba(51, 153, 209, 0.05) 0%, transparent 100%);
    transition: all 0.3s ease;
}
.accordion-item:hover .accordion-header {
    background: linear-gradient(135deg, rgba(51, 153, 209, 0.1) 0%, transparent 100%);
}
.accordion-item.active .accordion-header {
    cursor: pointer;
}
.accordion-item.active .accordion-content {
    cursor: default;
    pointer-events: auto;
}
.accordion-item:not(.active) .accordion-header {
    height: 287px;
}
.accordion-icon {
    width: 55px;
    height: 55px;
}
.accordion-icon img{
    width: 100%;
    height: 100%;
}
.accordion-item.active .accordion-icon {
    width: 80px;
    height: 80px;
}
.accordion-item.active .accordion-icon img{
    width: 100%;
    height: 100%;
}
.accordion-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    writing-mode: horizontal-tb;
    transition: all 0.3s ease;
}
.accordion-item:not(.active) .accordion-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.1rem;
}
.accordion-content {
    flex: 1;
    padding: 40px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.accordion-item.active .accordion-content {
    opacity: 1;
    max-height: 1000px;
    overflow-y: auto;
}
.accordion-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}
.accordion-visual {
    background: rgba(51, 153, 209, 0.05);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(51, 153, 209, 0.1);
}
.accordion-visual-content {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.accordion-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.accordion-feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--primary);
    transition: background 0.3s ease;
    cursor: default;
}
.accordion-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    /*transform: translateX(5px);*/
}

/* ===== Service Section - Cards ===== */
.service-cards-section {
    min-height: 80vh;
    padding: 120px 60px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}
.service-cards-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(51, 153, 209, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}
.service-cards-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}
.service-cards-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.service-cards-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}
.service-cards-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    /*grid-template-columns: repeat(3, 1fr);*/
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 10;
}
.service-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 50px 40px;
    cursor: pointer;
    transition:
            opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            background 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 153, 209, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.service-card:hover::before {
    opacity: 1;
}
.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(51, 153, 209, 0.2),
    0 0 80px rgba(51, 153, 209, 0.1);
    background: linear-gradient(135deg, var(--bg-card-hover) 0%, var(--bg-card) 100%);
}
.service-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(51, 153, 209, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: background 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(51, 153, 209, 0.3);
}
.service-card-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
    transition: stroke 0.5s ease, transform 0.5s ease;
}
.service-card:hover .service-card-icon svg {
    stroke: white;
    transform: scale(1.1);
}
.service-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}
.service-card:hover .service-card-title {
    color: var(--primary);
}
.service-card-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    flex: 1;
}
.service-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.service-card:hover .service-card-footer {
    color: var(--primary);
    gap: 15px;
}
.service-card-footer svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.service-card:hover .service-card-footer svg {
    transform: translateX(5px);
}
/* Individual Card Colors */
.service-card.air-monitor:hover {
    border-color: #3399D1;
    box-shadow: 0 25px 60px rgba(51, 153, 209, 0.25),
    0 0 80px rgba(51, 153, 209, 0.15);
}
.service-card.air-monitor:hover .service-card-icon {
    background: linear-gradient(135deg, #3399D1 0%, #2780B8 100%);
}
.service-card.air-monitor:hover .service-card-title,
.service-card.air-monitor:hover .service-card-footer {
    color: #3399D1;
}
.service-card.momo:hover {
    border-color: #3B82F6;
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.25),
    0 0 80px rgba(59, 130, 246, 0.15);
}
.service-card.momo:hover .service-card-icon {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}
.service-card.momo:hover .service-card-title,
.service-card.momo:hover .service-card-footer {
    color: #3B82F6;
}
.service-card.news:hover {
    border-color: #8B5CF6;
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.25),
    0 0 80px rgba(139, 92, 246, 0.15);
}
.service-card.news:hover .service-card-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}
.service-card.news:hover .service-card-title,
.service-card.news:hover .service-card-footer {
    color: #8B5CF6;
}

/* ===== Reference Section - Slider ===== */
.reference-section {
    padding: 120px 0;
    background: var(--bg-darker);
    overflow: hidden;
}
.reference-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 60px;
}
.reference-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}
.reference-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}
.reference-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}
.reference-slider-track {
    display: flex;
    gap: 80px;
    animation: scrollLeft 120s linear infinite;
    will-change: transform;
    width:max-content;
}
.reference-slider-track:hover {
    animation-play-state: paused;
}
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.reference-logo-item {
    flex-shrink: 0;
    width: 282px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: var(--text-primary);
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.reference-logo-item:hover {
    transform: translateY(-5px);
    background: var(--text-primary);
    border-color: rgba(51, 153, 209, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.reference-logo-item img {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    transition: filter 0.3s ease;
}
.reference-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
}

/* ===== 반응형 ===== */
/* 태블릿 (768px ~ 1024px) */
@media (max-width: 1024px) {
    .main-hero-title { font-size: 48px; }
    .main-hero-desc { font-size: 16px; }

    .solutions-container { grid-template-columns: 1fr; gap: 40px; }
    .solution-3d-icon { max-width: 350px; height: 350px; }
    .solution-content { text-align: left; }
    .solution-features-list,
    .solution-applications-list {
        text-align: left;
        margin-left: 0;
    }
    .solution-features-list li,
    .solution-applications-list li {
        padding-right: 0;
        padding-left: 20px;
    }
    .solution-features-list li::after,
    .solution-applications-list li::before {
        left: 0;
        right: auto;
    }

    .accordion-container { flex-direction: column; height: auto; gap: 20px; }
    .accordion-item { flex: none; min-height: 80px; }
    .accordion-item.active { flex: none; min-height: 500px; }
    .accordion-item:not(.active) .accordion-title {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        font-size: 1.1rem;
    }
    .accordion-header { flex-direction: row; min-height: 80px; padding: 20px; }
    .accordion-icon { font-size: 2rem; }
    .accordion-item.active .accordion-icon { font-size: 2.5rem; }
    .accordion-content { padding: 20px; }
    .accordion-features { grid-template-columns: 1fr; }
    .business-accordion-section { padding: 80px 20px; }

    .service-cards-container { grid-template-columns: repeat(2, 1fr); }
}

/* 모바일 (768px 이하) */
@media (max-width: 768px) {
    .hero { min-height: 80vh; }
    /*.main-page-hero-content { height: 80vh; }*/
    .main-hero-title { font-size: 36px; margin-bottom: 20px; }
    .main-hero-desc { font-size: 15px; line-height: 1.7; }
    .main-hero-content { padding: 0 16px; }

    .problem-text, .solution-text { font-size: 1.5rem !important; }
    .problem-text { font-size: clamp(1.4rem, 5vw, 1.8rem); }
    .problem-comment { font-size: clamp(0.9rem, 3vw, 1.1rem); }
    .solution-text { font-size: clamp(1.4rem, 4.5vw, 1.8rem); }

    .service-cards-section { padding: 80px 20px; }
    .service-cards-container { grid-template-columns: 1fr; gap: 30px; }
    .service-card:last-child { grid-column: 1; max-width: none; }
    .service-card { padding: 40px 30px; min-height: 350px; }

    .reference-section { padding: 80px 0; }
    .reference-header { padding: 0 20px; margin-bottom: 60px; }
    .reference-slider-track { gap: 40px; }
    .reference-logo-item { height: 100px; padding: 15px 30px; }
    .reference-logo-item img { max-width: 150px; max-height: 60px; }
}

/* 작은 모바일 (576px 이하) */
@media (max-width: 576px) {
    .hero { min-height: 70vh; }
    /*.main-page-hero-content { height: 70vh; }*/
    .main-hero-title { font-size: 32px; line-height: 1.4; }
    .main-hero-desc { font-size: 14px; line-height: 1.6; }
}

/* 매우 작은 모바일 (400px 이하) */
@media (max-width: 400px) {
    .main-hero-title { font-size: 28px; }
    .main-hero-desc { font-size: 13px; }
}

/* ===== 추가 옵션: 비디오 성능 최적화 ===== */

/* iOS Safari에서 비디오 자동재생 지원 */
@supports (-webkit-touch-callout: none) {
    .video-background {
        /* iOS에서 비디오가 잘 보이도록 추가 설정 */
        -webkit-transform: translate(-50%, -50%);
    }
}

/* 저사양 기기에서 비디오 품질 조정 */
@media (prefers-reduced-motion: reduce) {
    .video-background {
        /* 애니메이션 줄이기 설정된 경우 비디오 일시정지 */
        animation-play-state: paused;
    }
}