/* ===================================
   MAINKO 홈페이지 - 프리미엄 디자인 시스템
   =================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* 색상 팔레트 */
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #3b82f6;
    --color-primary-glow: rgba(37, 99, 235, 0.15);
    --color-accent: #06b6d4;
    --color-accent-dark: #0891b2;

    /* 다크 네이비 배경 */
    --color-bg-dark: #0a0e1a;
    --color-bg-dark-2: #111827;
    --color-bg-dark-3: #1f2937;

    /* 라이트 모드 */
    --color-bg-light: #f8fafc;
    --color-bg-white: #ffffff;
    --color-bg-subtle: #f1f5f9;

    /* 텍스트 */
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    --color-text-light: #e2e8f0;
    --color-text-white: #ffffff;

    /* 보더 & 디바이더 */
    --color-border: #e2e8f0;
    --color-border-light: rgba(255, 255, 255, 0.08);

    /* 그라디언트 */
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1e3a5f 40%, #2563eb 100%);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 70%);

    /* 글래스모피즘 */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* 타이포그래피 */
    --font-sans: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-hero: clamp(3rem, 8vw, 6rem);

    /* 간격 */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* 그림자 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

    /* 테두리 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* 전환 */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* 레이아웃 */
    --container-max: 1200px;
    --nav-height: 72px;
}

/* --- 리셋 & 기본 --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-primary);
    background-color: var(--color-bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* --- 유틸리티 --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-label {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    position: relative;
}

.section-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    margin: var(--space-3) auto 0;
    border-radius: var(--radius-full);
}

.section-title {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-4xl));
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

.section-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- 버튼 --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-8);
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    gap: var(--space-2);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* ===================================
   네비게이션
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-3) 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-text-white);
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
    border-radius: var(--radius-full);
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-white);
    border-radius: var(--radius-full);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-text-white);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ===================================
   히어로 섹션
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-8);
}

.hero-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-6);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-10);
    backdrop-filter: blur(8px);
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    margin-bottom: var(--space-8);
}

.hero-line {
    display: block;
    font-size: var(--font-size-hero);
    font-weight: 900;
    color: var(--color-text-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out both;
}

.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.4s; }
.hero-line:nth-child(3) { animation-delay: 0.6s; }

.hero-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-xl));
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    animation: fadeIn 1s ease 1.5s both;
}

.hero-scroll-indicator span {
    font-size: var(--font-size-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary-light);
    animation: scrollDown 2s ease-in-out infinite;
}

/* ===================================
   회사 소개 섹션
   =================================== */
.about-section {
    background: var(--color-bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin-bottom: var(--space-6);
}

.about-description strong {
    color: var(--color-text-primary);
    font-weight: 700;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.stat-card {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    background: var(--color-bg-subtle);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-glow);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-suffix {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    display: inline;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-2);
    font-weight: 500;
}

/* ===================================
   서비스 섹션
   =================================== */
.services-section {
    background: var(--color-bg-subtle);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.service-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-glow);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    transform: scale(1.05);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.service-desc {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.service-features li {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    padding-left: var(--space-6);
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
}

/* ===================================
   강점 섹션
   =================================== */
.strengths-section {
    background: var(--color-bg-dark);
    color: var(--color-text-white);
}

.strengths-section .section-title {
    color: var(--color-text-white);
}

.strengths-section .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.strength-item {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.strength-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.strength-number {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
}

.strength-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-text-white);
}

.strength-content p {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* ===================================
   프로세스 섹션
   =================================== */
.process-section {
    background: var(--color-bg-white);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.process-step {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-10);
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.process-step:hover .step-number {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.step-content {
    padding-top: var(--space-3);
}

.step-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.step-content p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ===================================
   문의 섹션
   =================================== */
.contact-section {
    background: var(--color-bg-subtle);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-form {
    background: var(--color-bg-white);
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-sans);
    color: var(--color-text-primary);
    background: var(--color-bg-white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    margin-bottom: var(--space-6);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    cursor: pointer;
}

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

.btn-submit {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateX(4px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-glow);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
}

.info-text a {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text-primary);
}

.info-text a:hover {
    color: var(--color-primary);
}

/* ===================================
   푸터
   =================================== */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: var(--space-8);
}

.footer-logo {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-text-white);
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.4);
    margin-top: var(--space-2);
}

.footer-links {
    display: flex;
    gap: var(--space-8);
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-text-white);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

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

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   애니메이션
   =================================== */
@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 fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* 스크롤 애니메이션 대상 초기 상태 */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* 히어로 파티클 */
.particle {
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(37, 99, 235, 0.15);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

/* ===================================
   반응형
   =================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-8);
        transition: right var(--transition-base);
        border-left: 1px solid var(--color-border-light);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: var(--font-size-lg);
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .hero-line {
        font-size: clamp(2.2rem, 10vw, 4rem);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-8);
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }

    .process-timeline::before {
        left: 28px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-16) 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-3);
        padding: var(--space-4) var(--space-6);
    }

    .strength-item {
        flex-direction: column;
        gap: var(--space-3);
    }
}

/* ===================================
   폼 전송 성공 메시지
   =================================== */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-16) var(--space-8);
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: var(--color-primary-glow);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.form-success h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.form-success p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-lg);
}
