/* ======================
   리셋 & 기본 설정
   ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --primary-dark: #004fa3;
    --secondary: #0d9488;
    --accent: #475569;
    --accent-dark: #334155;
    --blue: #1e40af;
    --blue-light: #3b82f6;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0f172a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: #ffffff;
    overflow-x: hidden;
}

/* ======================
   헤더
   ====================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.7;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-icon::before {
    content: "강남";
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

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

/* ======================
   히어로 섹션
   ====================== */
.hero-section {
    margin-top: 64px;
    min-height: 480px;
    background: linear-gradient(135deg, #0066cc 0%, #004fa3 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.highlight {
    color: #fbbf24;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

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

.btn-hero.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* ======================
   서비스 섹션
   ====================== */
.services-section {
    padding: 5rem 2rem;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-card.modern {
    background: white;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
    position: relative;
}

.service-card.modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

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

.card-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-wrapper.purple {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.card-icon-wrapper.blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
}

.card-icon-large {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.card-icon-large::before {
    content: attr(data-label);
}

.card-badge {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.card-features {
    list-style: none;
    margin-bottom: 2rem;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.feature-icon {
    width: 20px;
    height: 20px;
    background: var(--secondary);
    color: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon::before {
    content: "✓";
}

.card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    color: white;
    font-size: 0.9375rem;
}

.card-button.purple {
    background: var(--primary);
}

.card-button.blue {
    background: var(--blue);
}

.card-button:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.arrow {
    transition: transform 0.2s;
}

.card-button:hover .arrow {
    transform: translateX(3px);
}

/* ======================
   이용 안내 섹션
   ====================== */
.guide-section {
    padding: 5rem 2rem;
    background: white;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all 0.2s;
}

.process-step:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--gray-300);
    flex-shrink: 0;
}

/* ======================
   푸터
   ====================== */

footer {
  height: auto;
  background-color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  position: relative;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.875rem;
  max-width: 80rem;
  width: 100%;
  position: relative;
}

footer h1 {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
  font-weight: 400;
}

footer img {
  max-width: 200px;
  height: auto;
}

/* ======================
   서브 페이지 스타일
   ====================== */

/* 페이지 헤더 */
.page-header {
    margin-top: 64px;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    border-bottom: 4px solid rgba(255,255,255,0.2);
}

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    opacity: 0.95;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.separator {
    margin: 0 0.5rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-description {
    font-size: 1rem;
    opacity: 0.95;
}

/* 페이지 콘텐츠 */
.page-content {
    padding: 4rem 2rem;
    background: var(--gray-50);
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* 정보 섹션 */
.info-section {
    margin-bottom: 2.5rem;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

.info-card.primary {
    border-left: 4px solid var(--primary);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.info-content p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* 콘텐츠 섹션 타이틀 */
.content-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.title-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 700;
}

/* 프로세스 섹션 */
.process-section {
    margin-bottom: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.step-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.step-icon-large {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.step-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 서류 섹션 */
.documents-section {
    margin-bottom: 2.5rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.document-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.document-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.125rem;
}

.document-card h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.document-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* CTA 섹션 */
.cta-section {
    margin-bottom: 2.5rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--blue));
    border-radius: 8px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content {
    color: white;
}

.cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: white;
    color: var(--primary);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

.cta-button:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.75rem;
}

.check-icon::before {
    content: "✓";
}

/* 다운로드 섹션 (모던) */
.download-section-modern {
    margin-bottom: 2.5rem;
}

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

.download-card-modern {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.download-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.download-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.download-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.download-title p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

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

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.detail-value {
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.875rem;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

.download-button.secondary {
    background: var(--gray-600);
}

.download-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-icon-btn::before {
    content: "↓";
    font-size: 1.25rem;
}

/* 시스템 요구사항 */
.requirements-section {
    margin-bottom: 2.5rem;
}

.requirements-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.req-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.req-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.req-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* 경고 섹션 */
.warning-section {
    margin-bottom: 2.5rem;
}

.warning-card {
    background: #fefce8;
    border: 2px solid #fde047;
    border-radius: 8px;
    padding: 2rem;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.warning-icon {
    width: 40px;
    height: 40px;
    background: #fde047;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #713f12;
    font-weight: 700;
    font-size: 1.25rem;
}

.warning-icon::before {
    content: "!";
}

.warning-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #713f12;
}

.warning-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #713f12;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.warning-bullet {
    color: #ca8a04;
    font-size: 1.125rem;
    line-height: 1;
    flex-shrink: 0;
}

/* ======================
   반응형
   ====================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }

    .nav {
        display: none;
    }

    .hero-section {
        min-height: 400px;
    }

    .hero-content {
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

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

    .process-container {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .page-title {
        font-size: 1.75rem;
    }

    .steps-grid,
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .requirements-card {
        grid-template-columns: 1fr;
    }
}
