/* Variables */
:root {
    --color-primary: #E85D67;
    --color-content: #FF8C42;
    --color-dark: #000000;
    --color-gray: #666666;
    --color-white: #ffffff;
    --color-light: #f9fafb;
    --color-border: #e5e5e5;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--color-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 34px;
    transition: opacity 0.3s ease;
}

.nav-logo .logo-white {
    display: block;
}

.nav-logo .logo-dark {
    display: none;
}

.nav.scrolled .nav-logo .logo-white {
    display: none;
}

.nav.scrolled .nav-logo .logo-dark {
    display: block;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav.scrolled .nav-menu a {
    color: var(--color-dark);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

/* Mega Menu Styles - 통합 메가메뉴 */
.mega-menu-wrapper {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.nav.scrolled .mega-menu-wrapper {
    top: 80px;
}

.nav-menu:hover ~ .mega-menu-wrapper,
.mega-menu-wrapper:hover {
    opacity: 1;
    visibility: visible;
}

.has-mega-menu:hover ~ .mega-menu-wrapper,
.mega-menu-wrapper:hover {
    opacity: 1;
    visibility: visible;
}

.mega-menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
}

.mega-menu-column h4 {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column li {
    margin-bottom: 12px;
}

.mega-menu-column a {
    color: var(--color-dark) !important;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    text-decoration: none !important;
    border-bottom: none !important;
}

.mega-menu-column a:hover {
    color: var(--color-primary) !important;
    padding-left: 10px;
}

/* 서브메뉴 스타일 */
.mega-menu-column.has-submenu .submenu-item {
    position: relative;
}

.mega-menu-column .submenu-item > a {
    font-weight: 600;
    position: relative;
}

.mega-menu-column .submenu-item > a::after {
    content: '›';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.mega-menu-column .submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 1s ease;
    padding-left: 15px;
    margin-top: 0;
}

.mega-menu-column .submenu-item:hover .submenu {
    max-height: 500px;
    opacity: 1;
    margin-top: 8px;
}

.mega-menu-column .submenu-item:hover > a::after {
    transform: rotate(90deg);
}

.mega-menu-column .submenu li {
    margin-bottom: 8px;
}

.mega-menu-column .submenu a {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-gray) !important;
}

.mega-menu-column .submenu a:hover {
    color: var(--color-primary) !important;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span {
    background: var(--color-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.nav-mobile.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile ul {
    list-style: none;
    text-align: center;
}

.nav-mobile li {
    margin: 30px 0;
}

.nav-mobile a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-mobile a:hover {
    color: var(--color-primary);
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex;
    }
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 60px;
    }
    .nav-logo img {
        height: 23.8px;
    }
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeInDown 1s ease 0.1s forwards;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.hero-title {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-accent {
    color: var(--color-content);
}

.hero-desc {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInDown 1s ease 0.9s forwards;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 93, 103, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

.hero-cta-btn:hover {
    background: #d44450;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 93, 103, 0.4);
}

.hero-desc .highlight {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    position: relative;
    display: inline-block;
    animation: highlightColor 0.8s ease 1.2s forwards;
}

.hero-desc .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--color-content);
    animation: underlineExpand 0.6s ease 2s forwards;
}

@keyframes highlightColor {
    from {
        color: rgba(255, 255, 255, 0.95);
    }
    to {
        color: var(--color-content);
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInScroll 1s ease 1.5s forwards;
    z-index: 2;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

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

@keyframes fadeInScroll {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .hero-desc {
        font-size: 1.125rem;
    }
    .scroll-hint {
        bottom: 2rem;
    }
    .scroll-mouse {
        width: 24px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .scroll-hint {
        bottom: 1.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: #d44450;
    border-color: #d44450;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* Section */
.section {
    padding: 4rem 0;
}

/* About */
.about {
    background: var(--color-light);
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-main {
    padding-right: 2rem;
}

.about-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.about-main.animate .about-title {
    opacity: 1;
    transform: translateY(0);
}

.about-description {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
}

.about-main.animate .about-description {
    opacity: 1;
    transform: translateY(0);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-white);
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s ease;
}

.about-main.animate .about-feature {
    opacity: 1;
    transform: translateX(0);
}

.about-main.animate .about-feature:nth-child(1) {
    transition-delay: 0.4s;
}

.about-main.animate .about-feature:nth-child(2) {
    transition-delay: 0.5s;
}

.about-main.animate .about-feature:nth-child(3) {
    transition-delay: 0.6s;
}

.about-feature:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    font-weight: 900;
    color: var(--color-content);
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.feature-content p {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.5;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-stats.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-card {
    background: var(--color-white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.about-stats.animate .stat-card {
    opacity: 1;
    transform: scale(1);
}

.about-stats.animate .stat-card:nth-child(1) {
    transition-delay: 0.1s;
}

.about-stats.animate .stat-card:nth-child(2) {
    transition-delay: 0.2s;
}

.about-stats.animate .stat-card:nth-child(3) {
    transition-delay: 0.3s;
}



.stat-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-content);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.9375rem;
    color: var(--color-gray);
}

.highlight-card {
    grid-column: 1 / -1;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 
        0 0 15px rgba(232, 93, 103, 0.3),
        0 0 30px rgba(232, 93, 103, 0.2),
        inset 0 0 20px rgba(232, 93, 103, 0.05);
}

.highlight-card .border-line {
    display: none;
}

.highlight-card .stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.highlight-card .stat-icon i {
    font-weight: 900;
    color: var(--color-content);
}

.highlight-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-content);
}

.highlight-card p {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 0;
}

.about-right {
    display: flex;
    flex-direction: column;
}

.btn-right {
    margin-top: 2rem;
    width: 100%;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.5s;
}

.about-stats.animate ~ .btn-right {
    opacity: 1;
    transform: translateY(0);
}

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

.btn-about:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 93, 103, 0.3);
}

.btn-about .btn-arrow {
    display: inline-block;
    animation: arrowMove 1.5s ease-in-out infinite;
}

.btn-about:hover .btn-arrow {
    animation: arrowMoveHover 0.6s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@keyframes arrowMoveHover {
    0%, 100% {
        transform: translateX(3px);
    }
    50% {
        transform: translateX(8px);
    }
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-main {
        padding-right: 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-gray);
}

/* Technology */
.technology {
    background: var(--color-white);
    padding: 6rem 0;
}

.tech-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.tech-tabs.animate {
    opacity: 1;
    transform: translateY(0);
}

.tech-tab {
    padding: 1rem 2.5rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tech-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tech-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.tech-content {
    position: relative;
    min-height: 400px;
}

.tech-panel {
    display: none;
    opacity: 0;
    animation: fadeInTab 0.5s ease forwards;
}

.tech-panel.active {
    display: block;
}

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

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

.tech-item {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.tech-panel.active .tech-item {
    opacity: 1;
    transform: translateY(0);
}

.tech-panel.active .tech-item:nth-child(1) {
    transition-delay: 0.1s;
}

.tech-panel.active .tech-item:nth-child(2) {
    transition-delay: 0.2s;
}

.tech-panel.active .tech-item:nth-child(3) {
    transition-delay: 0.3s;
}

.tech-panel.active .tech-item:nth-child(4) {
    transition-delay: 0.4s;
}

.tech-panel.active .tech-item:nth-child(5) {
    transition-delay: 0.5s;
}

.tech-panel.active .tech-item:nth-child(6) {
    transition-delay: 0.6s;
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: var(--color-white);
}

.tech-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.tech-icon i {
    font-weight: 900;
    color: var(--color-content);
}

.tech-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.tech-item p {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Services */
.services {
    background: var(--color-light);
    padding: 6rem 0;
}

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

@media (max-width: 968px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.service-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-weight: 900;
    color: var(--color-content);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.service-card p {
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.service-button-wrapper {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.7s;
}

.service-button-wrapper.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.btn-service:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 93, 103, 0.3);
}

.btn-service .btn-arrow {
    display: inline-block;
    animation: arrowMove 1.5s ease-in-out infinite;
}

.btn-service:hover .btn-arrow {
    animation: arrowMoveHover 0.6s ease-in-out infinite;
}



/* Partners */
.partners {
    background: var(--color-white);
    padding: 6rem 0;
    overflow: hidden;
}

.partners-slider {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.partners-slider.animate {
    opacity: 1;
    transform: translateY(0);
}

.partners-track {
    display: flex;
    overflow: hidden;
    gap: 2rem;
}

.partners-slide {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.partners-track img {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partners-track img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Right to Left Animation */
.partners-track-rtl .partners-slide {
    animation: scrollRTL 80s linear infinite;
}

@keyframes scrollRTL {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Left to Right Animation */
.partners-track-ltr .partners-slide {
    animation: scrollLTR 80s linear infinite;
}

@keyframes scrollLTR {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover */
.partners-track:hover .partners-slide {
    animation-play-state: paused;
}

/* CTA */
.cta {
    position: relative;
    padding: 8rem 0;
    background-image: url('../assets/images/cta.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 500px;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.cta-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.2s;
}

.cta-description.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.4s;
}

.cta-buttons.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn-primary {
    background: white;
    color: #E85D67;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
    background: #f8f9fa;
}

.cta-btn-primary svg {
    animation: arrowMove 1.5s ease-in-out infinite;
}

.cta-btn-primary:hover svg {
    animation: arrowMoveHover 0.6s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@keyframes arrowMoveHover {
    0%, 100% {
        transform: translateX(3px);
    }
    50% {
        transform: translateX(8px);
    }
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-btn-secondary:hover {
    background: white;
    color: #E85D67;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

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

/* Responsive */
@media (max-width: 768px) {
    .cta {
        padding: 5rem 0;
        min-height: 400px;
    }

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

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Contact */
.contact {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
    z-index: 998;
    padding: 0;
    border-top: 1px solid rgba(232, 93, 103, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.contact.hide-for-footer {
    transform: translateY(100%);
}

.contact .container {
    padding: 1rem 20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.contact-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff8787 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(232, 93, 103, 0.3);
}

.contact-title h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
    color: var(--color-dark);
}

.contact-title p {
    font-size: 0.8125rem;
    color: var(--color-gray);
    margin: 0;
}

.contact-form-inline {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1;
}

.contact-form-inline .form-group {
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 160px;
}

.contact-form-inline select,
.contact-form-inline input {
    width: 100%;
    height: 44px;
    padding: 0 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: var(--color-white);
}

.contact-form-inline select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form-inline input::placeholder {
    color: #9ca3af;
}

.contact-form-inline select:focus,
.contact-form-inline input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(232, 93, 103, 0.1);
    transform: translateY(-1px);
}

.terms-group {
    flex: 0 0 auto;
    min-width: 130px;
    flex-shrink: 0;
}

.terms-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    user-select: none;
}

.terms-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.terms-text {
    font-size: 0.875rem;
    color: var(--color-dark);
    white-space: nowrap;
}

.terms-link {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.terms-link:hover {
    color: #d44450;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff8787 100%);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 93, 103, 0.3);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 103, 0.4);
}

.btn-contact .btn-arrow {
    font-size: 1.25rem;
    display: inline-block;
    animation: arrowMove 1.5s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(-4px);
    }
    50% {
        transform: translateX(4px);
    }
}
    50% {
        transform: translateX(5px);
    }
}

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .contact .container {
        padding: 1rem 15px;
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-header {
        width: 100%;
        justify-content: center;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }
    
    .contact-title h3 {
        font-size: 1rem;
    }
    
    .contact-title p {
        font-size: 0.8125rem;
    }
    
    .contact-form-inline {
        width: 100%;
        gap: 0.625rem;
    }
    
    .contact-form-inline .form-group {
        min-width: 120px;
    }
    
    .contact-form-inline input {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn-contact {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact .container {
        padding: 0.875rem 15px;
    }
    
    .contact-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .contact-form-inline {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-form-inline .form-group,
    .contact-form-inline select,
    .contact-form-inline input,
    .btn-contact {
        width: 100%;
    }
    
    .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .modal-header h3 {
        font-size: 1.125rem;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
    
    .modal-footer {
        padding: 1rem 1.25rem;
    }
    
    .verification-question {
        font-size: 1.125rem;
    }
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: white;
}

.floating-btn.show {
    opacity: 1;
    visibility: visible;
}

.floating-btn svg {
    width: 26px;
    height: 26px;
}

/* Chatbot Button */
.chatbot-btn {
    background: linear-gradient(135deg, #7846ff 0%, #ff4696 100%);
    position: relative;
}

.chatbot-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
}

.chatbot-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 25px rgba(120, 70, 255, 0.5);
}

/* Info Button */
.info-btn {
    background: #4A90E2;
}

.info-btn:hover {
    background: #357ABD;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Phone Button */
.phone-btn {
    background: #28a745;
    color: white;
}

.phone-btn:hover {
    background: #218838;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Kakao Button */
.kakao-btn {
    background: #FEE500;
    color: #3C1E1E;
}

.kakao-btn:hover {
    background: #F5DC00;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(254, 229, 0, 0.4);
}

/* Scroll to Top Button */
.scroll-to-top {
    background: var(--color-primary);
}

.scroll-to-top:hover {
    background: #C81F2E;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.scroll-to-top:active,
.info-btn:active,
.kakao-btn:active,
.phone-btn:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .floating-buttons {
        right: 20px;
        bottom: 20px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
    }
    
    .floating-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    color: var(--color-dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--color-primary);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 90%;
    font-size: 0.9375rem;
    font-weight: 500;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-dark);
}

.modal-body {
    padding: 2rem;
    max-height: 50vh;
    overflow-y: auto;
}

.modal-body p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

.modal-body h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--color-dark);
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    line-height: 1.8;
    color: #666;
    margin-bottom: 0.5rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.modal-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-btn:hover {
    background: #C81F2E;
}

.modal-btn-outline {
    background: white;
    color: #666;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn-outline:hover {
    border-color: #666;
    color: var(--color-dark);
}

/* Captcha Modal Specific Styles */
.captcha-question {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-dark);
    margin: 2rem 0;
    letter-spacing: 0.1em;
}

.captcha-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.captcha-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.captcha-error {
    color: var(--color-primary);
    font-size: 0.875rem;
    text-align: center;
    margin-top: 0.75rem;
    min-height: 1.5rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: inline-block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-info p {
    margin: 0.5rem 0;
    color: #d1d5db;
    font-size: 0.9375rem;
}

.footer-sns {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.sns-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.sns-link:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.sns-link i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .footer-sns {
        gap: 0.75rem;
    }
    
    .sns-link {
        width: 36px;
        height: 36px;
    }
    
    .sns-link svg {
        width: 18px;
        height: 18px;
    }
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #9ca3af;
}
