/* 기본 리셋 및 변수 */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a4a4a;
    --accent-color: #2563eb;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0f1419;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --border-light: #e5e7eb;
    --shape-circle: #3b82f6;
    --shape-square: #8b5cf6;
    --shape-triangle: #ec4899;
    --shape-hexagon: #f59e0b;
    --shape-pentagon: #10b981;
}

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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-white);
    font-weight: 400;
}

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

/* 헤더 */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 24px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.logo p {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 48px;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

/* 히어로 섹션 */
.hero {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-block;
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--bg-white);
}

.hero-cta:hover {
    background-color: transparent;
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* 섹션 공통 */
.services-section {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.categories-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

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

.section-number {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
}

/* 서비스 그리드 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.service-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 0;
    padding: 48px;
    position: relative;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
}

/* 도형 아이콘 */
.service-icon-shape {
    width: 60px;
    height: 60px;
    margin-bottom: 28px;
}

.circle {
    background-color: var(--shape-circle);
    border-radius: 50%;
}

.square {
    background-color: var(--shape-square);
    border-radius: 0;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--shape-triangle);
    background-color: transparent;
}

.hexagon {
    width: 52px;
    height: 30px;
    background-color: var(--shape-hexagon);
    position: relative;
    margin: 15px 0;
}

.hexagon:before,
.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 26px solid transparent;
    border-right: 26px solid transparent;
}

.hexagon:before {
    bottom: 100%;
    border-bottom: 15px solid var(--shape-hexagon);
}

.hexagon:after {
    top: 100%;
    width: 0;
    border-top: 15px solid var(--shape-hexagon);
}

.pentagon {
    width: 54px;
    height: 54px;
    background-color: var(--shape-pentagon);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.service-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 32px;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content-block strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.content-block p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.kpi-block strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.kpi-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kpi-list span {
    background-color: var(--bg-light);
    color: var(--text-primary);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

/* 결과 블록 (후킹용) */
.result-block strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.result-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.result-list span {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--accent-color);
}

/* 후킹 텍스트 */
.hook-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 16px;
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--accent-color);
}



/* 카테고리 그리드 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.category-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 48px;
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.category-item.featured {
    border: 2px solid var(--accent-color);
    background-color: rgba(37, 99, 235, 0.02);
}

.category-icon {
    margin-bottom: 24px;
}

/* 카테고리 도형 */
.icon-shape-category {
    width: 70px;
    height: 70px;
}

.circle-large {
    background-color: var(--shape-circle);
    border-radius: 50%;
}

.square-large {
    background-color: var(--shape-square);
}

.triangle-large {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 61px solid var(--shape-triangle);
    background-color: transparent;
}

.hexagon-large {
    width: 61px;
    height: 35px;
    background-color: var(--shape-hexagon);
    position: relative;
    margin: 17.5px 0;
}

.hexagon-large:before,
.hexagon-large:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 30.5px solid transparent;
    border-right: 30.5px solid transparent;
}

.hexagon-large:before {
    bottom: 100%;
    border-bottom: 17.5px solid var(--shape-hexagon);
}

.hexagon-large:after {
    top: 100%;
    border-top: 17.5px solid var(--shape-hexagon);
}

.pentagon-large {
    width: 63px;
    height: 63px;
    background-color: var(--shape-pentagon);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.category-examples {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.category-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 특별 패키지 (로팅) */
.special-package {
    margin-top: 32px;
    padding: 28px;
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--accent-color);
}

.package-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.special-package h4 {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.package-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.package-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 900;
    font-size: 18px;
}

/* 추가 카테고리 */
.additional-categories {
    padding-top: 60px;
    border-top: 2px solid var(--border-light);
}

.additional-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.additional-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 32px;
    transition: all 0.3s ease;
}

.additional-item:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.additional-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.circle-small {
    background-color: var(--shape-circle);
    border-radius: 50%;
}

.square-small {
    background-color: var(--shape-square);
}

.triangle-small {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid var(--shape-triangle);
    background-color: transparent;
}

.hexagon-small {
    width: 43px;
    height: 25px;
    background-color: var(--shape-hexagon);
    position: relative;
    margin: 12.5px 0;
}

.hexagon-small:before,
.hexagon-small:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 21.5px solid transparent;
    border-right: 21.5px solid transparent;
}

.hexagon-small:before {
    bottom: 100%;
    border-bottom: 12.5px solid var(--shape-hexagon);
}

.hexagon-small:after {
    top: 100%;
    border-top: 12.5px solid var(--shape-hexagon);
}

.additional-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.additional-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.warning-badge {
    margin-top: 16px;
    display: inline-block;
    background-color: #fef3c7;
    color: #92400e;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    border-left: 3px solid #f59e0b;
}

/* 푸터 */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 48px 0;
}

.footer p {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* 리드 수집 섹션 */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
}

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

.contact-left {
    color: var(--bg-white);
}

.contact-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.contact-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-benefits li {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.95;
    padding-left: 8px;
}

.contact-right {
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    font-size: 15px;
    font-family: 'Noto Sans KR', sans-serif;
    border: 2px solid var(--border-light);
    background-color: var(--bg-white);
    transition: border-color 0.3s ease;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.submit-btn {
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 700;
    color: var(--bg-white);
    background-color: var(--accent-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.submit-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.privacy-text {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: -8px;
}

/* 반응형 */
@media (max-width: 1024px) {
    .services-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-section,
    .categories-section {
        padding: 80px 0;
    }

    .service-item,
    .category-item {
        padding: 32px;
    }

    .nav {
        gap: 24px;
    }

    .nav a {
        font-size: 14px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-right {
        padding: 32px;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-subtitle {
        font-size: 16px;
    }
}

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

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .service-item,
    .category-item {
        padding: 24px;
    }

    .logo h1 {
        font-size: 18px;
    }
}