@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap');

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

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --purple: #a855f7;
    --teal: #14b8a6;

    --bg-gradient: linear-gradient(135deg, #fef3f2 0%, #f0f9ff 50%, #faf5ff 100%);
    --surface: rgba(255, 255, 255, 0.7);
    --surface-elevated: rgba(255, 255, 255, 0.9);

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #ffffff;

    --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.08);
    --shadow-md: 0 8px 24px rgba(99, 102, 241, 0.12);
    --shadow-lg: 0 16px 48px rgba(99, 102, 241, 0.16);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* 스타트업 다크 테마 배경색 추가 */
    --hero-dark-bg: linear-gradient(135deg, #0b0e14 0%, #1a1c2e 50%, #2d1b4d 100%);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-gradient);
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

/* Right Side Navigation */
.side-nav {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.nav-dots {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-dot {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-dot span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    border: 2px solid rgba(99, 102, 241, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dot:hover span {
    background: rgba(99, 102, 241, 0.6);
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.nav-dot.active span {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.4);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
}

/* Tooltip */
.nav-dot::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-dot:hover::before {
    opacity: 1;
    right: 32px;
}

/* Hide on mobile */
@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }
}

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

/* Hero Section - Mixo Style 수정 */
.hero {
    background: var(--hero-dark-bg);
    /* 별 효과를 위해 어둡게 변경 */
    min-height: 100vh;
    position: relative;
    padding: 40px 0 120px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 별 컨테이너 및 스타일 */
#stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: var(--opacity);
        transform: scale(1.2);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 중앙은 투명하게, 가장자리는 살짝 어둡게 */
    background: radial-gradient(circle at center, transparent 0%, rgba(11, 14, 20, 0.4) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

/* 기존 로고 스타일 유지 */
.logo {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

/* 히어로 텍스트 가독성 조정 */
.hero-content h1 {
    font-family: 'Sora', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    /* 어두운 배경에 맞춰 밝은 그라데이션으로 변경 */
    background: linear-gradient(135deg, #ffffff 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    /* 화이트 투명도로 변경 */
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

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

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    border: none;
    padding: 18px 44px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    margin-top: 60px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.dot {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    /* 배경에 맞춰 변경 */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-light);
    width: 56px;
}

/* Wave Dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.wave-white::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    clip-path: ellipse(80% 60% at 50% 100%);
}

/* --- 나머지 섹션 스타일 (원본 유지) --- */
.digital-design {
    background: transparent;
    padding: 80px 0 60px;
    position: relative;
}

.two-col-layout {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 48px;
    align-items: center;
}

.content-left {
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.content-left h2 {
    font-family: 'Sora', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-left p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 400;
}

.tech-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.features {
    background: transparent;
    padding: 80px 0 60px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.25;
    color: var(--text-primary);
}

.section-header p {
    font-size: 19px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--surface-elevated);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-image-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image-img {
    transform: scale(1.05);
}

.feature-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 28px 28px 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 0 28px 28px;
    font-weight: 400;
}

.mission-statement {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 50px 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.mission-statement p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 400;
}

.testimonials {
    background: transparent;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-card {
    background: var(--surface-elevated);
    backdrop-filter: blur(20px);
    padding: 56px 44px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.4);
}

.stat-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    padding: 22px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 60px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.stat-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.stat-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 400;
}

.values {
    background: transparent;
    padding: 80px 0;
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 36px;
}

.value-item {
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 40px 36px;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-sm);
}

.value-item h3 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-item p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    font-weight: 400;
}

.contact-section {
    position: relative;
    background: transparent;
    padding: 80px 0 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-text {
    background: var(--surface-elevated);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.contact-text h2 {
    font-family: 'Sora', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.contact-visual {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.08) 50%, rgba(236, 72, 153, 0.08) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 19px;
    margin-bottom: 44px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button.secondary {
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.footer {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(168, 85, 247, 0.03) 100%);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(20px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.footer-logo {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

.footer-text .copyright {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.7;
    margin: 0;
}

@media (max-width: 1024px) {

    .two-col-layout,
    .features-grid,
    .stats-grid,
    .values-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .contact-visual {
        aspect-ratio: 16/10;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

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