/* ========================================
   Spoqa Han Sans 최우선 적용
   ======================================== */

@import url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/css/SpoqaHanSansNeo.css');

html {
    font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

body {
    font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

* {
    font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
p, span, div, a, button,
input, textarea, select,
.btn, .nav-link, .hero-title, .section-title {
    font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

:root {
    /* Colors - Sophisticated Financial Theme */
    --color-primary: #1a4d6d;
    --color-primary-light: #2a6d8f;
    --color-primary-dark: #0d2d42;
    --color-accent: #d4a574;
    --color-accent-light: #e8c9a5;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-bg: #fafafa;
    --color-bg-alt: #ffffff;
    --color-border: #e0e0e0;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Nanum Gothic', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

/* 메인 페이지에서만 투명 헤더 */
.home .navbar {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

/* 로고 배경 제거 */
.navbar .logo {
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}


/* 메인 페이지에서 메뉴 흰색 */
.home .navbar .nav-link {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
}

.home .navbar .nav-link:hover,
.home .navbar .nav-link.active {
    color: var(--color-accent);
}

/* 메인 페이지에서 버튼 골드색 */
.home .navbar .nav-cta {
    background: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.home .navbar .nav-cta:hover {
    background: #e5b57e;
    color: var(--color-primary);
}

/* 스크롤 후 front-page 버튼 호버 시 흰색 유지 */
.home .navbar.scrolled .nav-cta:hover {
    background: var(--color-primary-dark);
    color: white !important;
}

/* 스크롤 시 배경 생김 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* 스크롤 시 메뉴 색상 변경 */
.navbar.scrolled .nav-link {
    color: #333;
    text-shadow: none;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--color-primary);
}

.navbar.scrolled .nav-cta:hover,
.navbar.scrolled .nav-link.nav-cta:hover {
    color: white !important;
}

.navbar.scrolled .logo-image {
    filter: none;
}

/* 스크롤 시 버튼 색상 변경 */
.navbar.scrolled .nav-cta {
    background: var(--color-primary);
    color: white;
    box-shadow: none;
}

.navbar.scrolled .nav-cta:hover {
    background: var(--color-primary-dark);
    color: white !important;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    padding-left: 0;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 35px;
    width: auto;
    filter: none;  /* 그림자 제거 */
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.logo-kr {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
    text-shadow: none;    /* 그림자 제거 */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: #1B3559 !important;
    color: white !important;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0 !important;  /* 직사각형 */
    box-shadow: none;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #099F97 !important;
    color: white !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eff5 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero-title .highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.2em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: var(--color-accent);
    opacity: 0.3;
    z-index: -1;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;  /* 둥근 모서리 */
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 77, 109, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-text-light);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%, 100% { height: 20px; opacity: 0.3; }
    50% { height: 40px; opacity: 1; }
}

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

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header.centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Services Overview */
.services-overview {
    background: white;
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 2rem;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-description {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-features span {
    padding: 0.4rem 1rem;
    background: var(--color-bg);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-primary);
}

.service-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 1rem;
}

/* Why FinSync */
.why-finsync {
    background: var(--color-primary-dark);
    color: white;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-finsync .section-label {
    color: var(--color-accent);
}

.why-finsync .section-title {
    color: white;
    margin-bottom: 2rem;
}

.why-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.why-item {
    position: relative;
    padding-left: 4rem;
}

.why-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
}

.why-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.why-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.why-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(42, 109, 143, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.satisfaction-badge {
    background: white;
    padding: 2rem 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.badge-text {
    display: block;
    font-size: 1rem;
    color: var(--color-text-light);
}

/* Portfolio Highlight */
.portfolio-highlight {
    background: white;
}

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

.portfolio-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.portfolio-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    flex: 1;
}

.portfolio-tag {
    padding: 0.3rem 0.8rem;
    background: var(--color-primary);
    color: white;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.portfolio-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.portfolio-stat:last-child {
    border-bottom: none;
}

.portfolio-stat.highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.portfolio-stat .stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.portfolio-stat.highlight .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-stat .stat-value {
    font-weight: 600;
    color: var(--color-text);
}

.portfolio-stat.highlight .stat-value {
    color: white;
    font-size: 1.5rem;
}

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

/* Client Logos */
.client-logos {
    background: var(--color-bg);
    padding: 4rem 0;
}

.clients-title {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-weight: 500;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.logo-item {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-light);
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    position: relative;
}

.logo-item img {
    max-width: 140px;
    max-height: 70px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-item .logo-text {
    display: none;
    font-size: 1.1rem;
}

.logo-item:hover {
    color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.cta-section .btn-primary:hover {
    background: var(--color-accent);
    color: white;
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

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

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-brand .footer-logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.footer-brand .custom-logo {
    height: 40px;
    width: auto;
    display: block;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-business-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0.3rem 0;
    line-height: 1.6;
}

.footer-bottom > p:last-child {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        animation: slideDown 0.3s ease;
    }
    
    .nav-menu.active li {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu.active li:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active .nav-link {
        display: block;
        width: 100%;
        padding: 0;
        color: #333 !important;
        font-size: 1.1rem;
        text-shadow: none;
    }
    
    /* 모바일 메뉴에서 상담문의 버튼 */
    .nav-menu.active .nav-cta {
        background: var(--color-primary);
        color: white !important;
        padding: 1rem 1.5rem;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        text-align: center;
        display: block;
        margin: 1rem 0 0.5rem 0;
        box-shadow: none;
    }
    
    .nav-menu.active .nav-cta:hover {
        background: var(--color-primary-dark);
        color: white !important;
    }
    
    .nav-menu.active .nav-cta:hover {
        background: var(--color-primary-dark);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .why-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
/* 모바일에서 로고 크기 조정 */
@media (max-width: 768px) {
    .logo-image {
        height: 30px;
    }
}

/* 모바일 메뉴 토글 버튼 활성화 */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Why Different Section */
.why-different {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eff5 100%);
}

.why-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.why-item {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.why-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.why-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.why-item p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Portfolio Preview Section */
.portfolio-preview {
    padding: 100px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eff5 100%);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.client-logos {
    overflow: hidden;
    padding: 3rem 0;
}

.logo-scroll {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-scroll img {
    height: 40px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.logo-scroll img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

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

/* 반응형 */
@media (max-width: 768px) {
    .why-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-scroll {
        gap: 2rem;
    }
}

/* ========================================
   Portfolio 섹션 개선 (SAFE)
   ======================================== */

.portfolio-highlight {
    padding: 100px 0;
    background: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.portfolio-header h3 {
    font-family: 'Nanum Gothic', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #212529 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    flex: 1;
}

.portfolio-tag {
    padding: 0.4rem 0.9rem;
    background: #1a4d6d;
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.portfolio-stat.highlight {
    background: linear-gradient(135deg, #1a4d6d 0%, #2c5f7f 100%);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-top: 0.5rem;
}

.portfolio-stat.highlight .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-stat.highlight .stat-value {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
}

/* ========================================
   Portfolio 폰트 크기 축소 (v1.2.9)
   ======================================== */

.portfolio-header h3 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.portfolio-stat .stat-label {
    font-size: 0.85rem !important;
}

.portfolio-stat .stat-value {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.portfolio-stat.highlight .stat-value {
    font-size: 1.2rem !important;
}

@media (max-width: 768px) {
    .portfolio-header h3 {
        font-size: 0.9rem !important;
    }
}

/* ========================================
   Spoqa Han Sans 전체 적용 (v1.3.0)
   ======================================== */

* {
    font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', sans-serif !important;
}

body {
    font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', sans-serif !important;
}

/* Portfolio 폰트 크기 최종 조정 */
.portfolio-header h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
}

.portfolio-stat .stat-label {
    font-size: 0.85rem !important;
    color: #6c757d !important;
    font-weight: 400 !important;
}

.portfolio-stat .stat-value {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #212529 !important;
}

.portfolio-stat.highlight .stat-label {
    font-size: 0.9rem !important;
}

.portfolio-stat.highlight .stat-value {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
}

/* 제목 폰트 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', sans-serif !important;
}

/* 버튼 폰트 */
.btn {
    font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', sans-serif !important;
}

/* 네비게이션 폰트 */
.nav-link {
    font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', sans-serif !important;
}

@media (max-width: 768px) {
    .portfolio-header h3 {
        font-size: 1rem !important;
    }
}

/* 단어 중간 끊김 방지 */
.why-finsync .why-item p{
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: break-word;
}

/* 포스터 이미지 스타일 - 전체 보이게 */
.portfolio-poster,
.project-poster {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.portfolio-poster img,
.project-poster img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 500px;
}


/* ===========================================
   Hero Buttons - 파인싱크 브랜드 색상
   =========================================== */

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 0 !important;  /* 직사각형 - 확실하게 적용 */
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Primary Button - 기본 */
.hero-btn.primary {
    background: #1B3559 !important;
    color: #ffffff !important;
    border-color: #1B3559 !important;
}

.hero-btn.primary:hover {
    background: #099F97 !important;
    color: #ffffff !important;
    border-color: #099F97 !important;
}

/* Secondary Button - 기본 */
.hero-btn.secondary {
    background: #1B3559 !important;
    color: #ffffff !important;
    border-color: #1B3559 !important;
}

.hero-btn.secondary:hover {
    background: #099F97 !important;
    color: #ffffff !important;
    border-color: #099F97 !important;
}

/* 슬라이드 버튼 컨테이너 */
.slide-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .slide-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .hero-btn {
        width: 100%;
        text-align: center;
    }
}



/* 로고 왼쪽 정렬 */
.navbar .container {
    padding-left: 0 !important;
    padding-right: 2rem !important;
}
