@charset "utf-8";

/* ========================== Modern SaaS Design System ========================== */
:root {
    /* Colors - Modern Tech Palette */
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --secondary: #00D4FF;
    --accent: #FF6B35;
    --success: #00C853;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-dark: #0A0A0A;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border: #E5E5E5;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;

    /* Typography */
    --font-display: -apple-system, BlinkMacSystemFont, 'Pretendard', 'Segoe UI', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Pretendard', 'Segoe UI', sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-width: 1280px;
    --header-height: 72px;
}

/* ========================== Reset & Base ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================== Typography ========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ========================== Layout Utilities ========================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section-large {
    padding: var(--spacing-2xl) 0 calc(var(--spacing-2xl) * 1.5);
}

/* ========================== Header ========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    overflow: visible !important;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo img {
    display: block;
    height: auto;
    /* 핵심 */
    max-height: 36px;
    /* 기존 36px는 최대치로 */
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 1.125rem;
    width: 100%;
    display: block;
    padding: 1rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(42, 42, 58, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: var(--transition);
    padding: 0.5rem 0;
    margin-top: var(--spacing-sm);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.625rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    transition: var(--transition);
    border-radius: 0;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #FFFFFF;
}

/* Nested Dropdown (Submenu) */

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    transition: var(--transition);
}


.dropdown.active .dropdown-menu,
.dropdown-submenu.active .dropdown-submenu-list {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================== Hero Section ========================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.08) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

.hero-content-right {
    text-align: right;
    max-width: 100%;
    padding-right: 5%;
    margin-left: auto;
    margin-right: 0;
}

.hero-badge-right {
    margin-left: auto;
    margin-right: 0;
}

.hero-title-right {
    text-align: right;
}

.hero-subtitle-right {
    text-align: right;
}

.hero-cta-group-right {
    justify-content: flex-end !important;
    margin-left: auto;
    margin-right: 0;
    width: auto;
}

.hero-content-right .hero-cta-group {
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-bold {
    font-weight: 900;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
}

.hero-subtitle-slide {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    min-height: 3.4em;
    height: 3.4em;
    display: block;
    position: relative;
}

.hero-subtitle-slide::before {
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
    line-height: 1.7;
}

.hero-subtitle-right.hero-subtitle-slide {
    text-align: right;
}

.text-english {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-pagination {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: var(--spacing-xs);
}

.hero-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-pagination-bullet.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* ========================== Buttons ========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.features .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.features .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* ========================== Features Section ========================== */
.features {
    background-color: #1a1a2e;
    /* Fallback */
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    color: white;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.section-label {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

/* News 섹션 라벨 스타일 */
.section:not(.about):not(.solutions):not(.features) .section-label {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

.features .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: #FFFFFF;
}

.features .section-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.4);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.4);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: none;
    border: none;
}

.feature-icon svg {
    width: 56px;
    height: 56px;
    color: rgba(255, 255, 255, 0.9);
    stroke-width: 2;
}

.feature-card:hover .feature-icon {
    background: transparent;
    border: none;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #FFFFFF;
}

.feature-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 0.9rem;
    min-height: 3.4em;
}

/* ========================== About Section ========================== */
.about {
    background: #E8E8EA;
    padding: var(--spacing-2xl) 0;
}

.about .section-header {
    margin-bottom: var(--spacing-md);
    margin-top: 0;
}

.about-content {
    display: block;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-image: url('../img/main/inc01/css_index.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    filter: grayscale(10%) brightness(1.05) contrast(1.15);
    z-index: 0;
}

.about-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.05), transparent);
    z-index: 1;
    pointer-events: none;
}

@media (orientation: portrait),
(max-width: 768px) {
    .about-content {
        min-height: 90vh;
        /* ← 기존보다 조금 더 높게 */
        padding-bottom: 55%;
        /* 이미지 영역 여유 */
    }

    .about-content::before {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 45%;
    }

    .about-content::after {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 45%;
        background: linear-gradient(to top,
                rgba(255, 255, 255, 0.15),
                transparent);
    }
}

.about-text {
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    line-height: 1.7;
    color: var(--text-secondary);
    z-index: 3;
    font-weight: 500;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    max-width: 50%;
    padding-right: var(--spacing-lg);
}

@media (orientation: portrait),
(max-width: 768px) {
    .about-text {
        bottom: auto;
        max-width: 100%;
        padding-right: 0;
        padding-bottom: var(--spacing-lg);
    }

    :lang(ko) .about-text {
        bottom: 140px !important;
    }
}

.about .section-label {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

.about-text .section-title {
    font-size: clamp(1.75rem, 4.5vw, 2.8rem);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .about-text .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        word-break: keep-all;
    }
}


.about-text .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.about-text .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.about-text .btn-primary::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.about-text .btn-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.about-text .btn-primary:hover::before {
    left: 100%;
}

.about-text .btn-primary:hover::after {
    transform: translateX(4px);
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.15);
    z-index: 2;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
    position: relative;
    z-index: 0;
    display: block;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image:hover::before {
    opacity: 0.8;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* ========================== Solutions Section ========================== */
.solutions {
    background: linear-gradient(180deg, #F8F9FA 0%, #F5F6FA 50%, #F0F2F5 100%);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    pointer-events: none;
}

.solutions::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(102, 126, 234, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.3;
    pointer-events: none;
}

.solutions .section-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.solutions .section-description {
    color: var(--text-primary);
}

.solutions .section-label {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.solution-card {
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow:
        0 10px 30px -10px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: var(--transition);
    z-index: 1;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.3);
    background: linear-gradient(145deg, #ffffff, #e6e9f0);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-icon {
    width: 64px;
    height: 64px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
    padding: 0;
    font-size: 2.5rem;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.solution-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

/* 이미지가 없을 때 이모지 표시 */
.solution-icon:not(:has(img[src]))::before,
.solution-icon img[src=""],
.solution-icon img:not([src]) {
    display: none;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
}

.solution-card:hover .solution-icon img {
    transform: scale(1.05);
}

.solution-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1A1A1A;
    position: relative;
    z-index: 2;
}

.solution-description {
    color: #666666;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Solutions 섹션 버튼 스타일 */
.solutions .solution-card .btn-primary {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: transparent;
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    box-shadow: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.solutions .solution-card .btn-primary::before {
    display: none;
}

.solutions .solution-card .btn-primary::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.solutions .solution-card .btn-primary:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.solutions .solution-card .btn-primary:hover::after {
    transform: translateX(3px);
}

/* ========================== Mindmap Styles ========================== */
/* 1. 전체 레이아웃 (Layout) */
.mindmap-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 800px;
    padding: 0;
    gap: 0;
}

.mindmap-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    z-index: 2;
}

.left-col,
.right-col {
    flex: 1;
    display: flex;
}

.center-col {
    flex: 0 0 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin: 0;
}

/* 2. 아이템 배치 */
.mindmap-item {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.left-col .mindmap-item {
    justify-content: flex-end;
}

.right-col .mindmap-item {
    justify-content: flex-start;
}

/* 3. 원형 디자인 (Circles) */
.mindmap-circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0fa 100%);
    box-shadow: 0 3px 10px rgba(30, 58, 138, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 5;
}

.circle-content {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mindmap-circle:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
}

.mindmap-circle .solution-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.4rem;
    font-size: 1.8rem;
}

.mindmap-circle .solution-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: #1e293b;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.mindmap-circle .solution-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.35;
    word-break: keep-all;
    font-weight: 500;
    width: 90%;
    margin-bottom: 0;
}

/* 4. 연결선 (Lines) */
.connector-line {
    position: absolute;
    height: 3px;
    width: 40px;
    background: #cbd5e1;
    transition: all 0.3s;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform-origin: 0% 50%;
}

.left-col .mindmap-item:nth-child(1) .connector-line {
    transform: rotate(25deg);
}

.left-col .mindmap-item:nth-child(2) .connector-line {
    transform: rotate(-25deg);
}

.right-col .mindmap-item:nth-child(1) .connector-line {
    transform: rotate(155deg);
}

.right-col .mindmap-item:nth-child(2) .connector-line {
    transform: rotate(205deg);
}

.mindmap-item:hover .connector-line {
    background: #3b82f6;
}

/* 5. 중앙 허브 (Core Hub) */
.mindmap-core {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-circle {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, #eff6ff 100%);
    border: 2px solid #ffffff;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.core-text {
    color: #1e3a8a;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.1;
    text-align: center;
}

.core-connectors,
.core-pulse,
.core-glow {
    display: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* ========================== News Section ========================== */
.news-section {
    background: linear-gradient(180deg, #FAFBFC 0%, #F5F6FA 50%, #F0F2F5 100%);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    pointer-events: none;
}

.news-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(102, 126, 234, 0.06) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.25;
    pointer-events: none;
}

.news-section .container {
    position: relative;
    z-index: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.news-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.08);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.news-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow:
        0 16px 48px rgba(102, 126, 234, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.news-card:hover::after {
    opacity: 1;
}

.news-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

/* [수정됨] 카드 내부 여백 및 폰트 크기 변경 */
.news-content {
    padding: 30px 24px;
    /* 여백 넉넉하게 */
}

.news-date {
    font-size: 22px;
    /* 날짜 크기 확대 */
    color: #555;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.news-title {
    font-size: 28px;
    /* 제목 크기 대폭 확대 */
    font-weight: 900;
    margin-bottom: 20px;
    color: #111;
    line-height: 1.3;
    letter-spacing: -1px;
    word-break: keep-all;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* News 섹션 버튼 스타일 */
.news-section .news-card .btn-primary {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    /* 상단 마진 제거 */
}

.news-section .news-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.news-section .news-card .btn-primary::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.news-section .news-card .btn-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.news-section .news-card .btn-primary:hover::before {
    left: 100%;
}

.news-section .news-card .btn-primary:hover::after {
    transform: translateX(4px);
}

/* 공지사항 미리보기 */
.announcement-preview {
    position: relative;
    z-index: 1;
}

.announcement-preview-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.announcement-preview-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.announcement-preview-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: var(--transition);
}

.announcement-preview-item:hover {
    transform: translateX(4px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow:
        0 8px 24px rgba(102, 126, 234, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.announcement-preview-item:hover::before {
    transform: scaleY(1);
}

.announcement-preview-date {
    min-width: 110px;
    font-size: 0.875rem;
    color: #667eea;
    font-weight: 600;
    text-align: left;
    flex-shrink: 0;
}

.announcement-preview-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-preview-arrow {
    font-size: 1.25rem;
    color: #667eea;
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

.announcement-preview-item:hover .announcement-preview-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ========================== CTA Section ========================== */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/main/new/main_001.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

/* ========================== Footer ========================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
    padding-left: var(--spacing-xs);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ========================== Scroll to Top ========================== */
.scroll-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ========================== Animations ========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

/* ========================== Responsive ========================== */
@media (max-width: 1024px) {
    .nav {
        gap: var(--spacing-md);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg);
    }
}

/* Combined Mobile Styles */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --spacing-xl: 3rem;
        --spacing-2xl: 4rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .solutions-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .solution-card {
        padding: 1.75rem 1.5rem;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        z-index: 1000;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border);
        padding: var(--spacing-sm) 0;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1.125rem;
        width: 100%;
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0 1rem;
        margin-top: var(--spacing-sm);
        background: rgba(42, 42, 58, 0.95);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-submenu-list {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0 1rem;
        margin-left: 0;
        margin-top: var(--spacing-xs);
        background: rgba(35, 35, 50, 0.95);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-submenu:hover .dropdown-submenu-list {
        transform: none;
    }

    .dropdown-item {
        color: #333333 !important;
    }

    .dropdown-item:hover {
        background: rgba(102, 126, 234, 0.2);
        color: #000000 !important;
    }

    .dropdown.active .dropdown-menu,
    .dropdown-submenu.active .dropdown-submenu-list {
        transform: none;
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-content-right {
        text-align: center;
        padding-right: var(--spacing-md);
        padding-left: var(--spacing-md);
        margin-left: 0;
        margin-right: 0;
    }

    .hero-badge-right {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title-right {
        text-align: center;
    }

    .hero-subtitle-right {
        text-align: center;
    }

    .hero-subtitle-slide {
        height: auto !important;
        min-height: auto;
        padding-bottom: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-cta-group .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-cta-group-right {
        justify-content: center;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    /* Mindmap Mobile */
    .mindmap-wrapper {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }

    .connector-line {
        display: none !important;
    }

    .mindmap-col {
        gap: 0.8rem;
        width: 100%;
    }

    .center-col {
        margin: 0.5rem 0;
        order: 1;
    }

    .left-col {
        order: 2;
    }

    .right-col {
        order: 3;
    }

    .mindmap-item {
        justify-content: center !important;
    }

    .mindmap-circle {
        width: 100%;
        max-width: 340px;
        height: auto;
        border-radius: 12px;
        min-height: 90px;
    }

    .circle-content {
        flex-direction: row;
        text-align: left;
        padding: 1.2rem;
        gap: 1.2rem;
    }

    .mindmap-circle .solution-icon {
        margin-bottom: 0;
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }

    .mindmap-circle .solution-title {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .mindmap-circle .solution-description {
        text-align: left;
        font-size: 0.95rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-content {
        padding: 0 var(--spacing-sm);
    }

    .hero-content-right {
        text-align: center;
        padding-right: var(--spacing-sm);
        padding-left: var(--spacing-sm);
        margin-left: 0;
        margin-right: 0;
    }

    .hero-badge-right {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title-right {
        text-align: center;
    }

    .hero-subtitle-right {
        text-align: center;
    }

    .hero-subtitle-slide {
        height: auto !important;
        min-height: auto;
    }

    .hero-cta-group-right {
        justify-content: center;
    }

    .hero-cta-group .btn-large {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }

    .feature-card,
    .news-content {
        padding: var(--spacing-md);
    }

    .announcement-preview-item {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .announcement-preview-date {
        min-width: auto;
        width: 100%;
    }

    .announcement-preview-title {
        white-space: normal;
        width: 100%;
    }

    .announcement-preview-arrow {
        position: absolute;
        right: 1.75rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .announcement-preview-item:hover .announcement-preview-arrow {
        transform: translateY(-50%) translateX(4px);
    }
}