/* Reset & Base - 강력한 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #000;
    background: #fff;
    line-height: 1.6;
    font-size: 16px !important;
}

/* 모든 텍스트 기본 크기 강제 */
body, body * {
    font-size: inherit !important;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1d4ed8;
}

.nav {
    display: none;
    gap: 1.5rem;
}

.nav a {
    color: #4b5563;
    font-weight: 500;
    font-size: 1rem !important;
    transition: color 0.3s;
}

.nav a:hover {
    color: #2563eb;
}

.btn-contact {
    background: #2563eb;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #1d4ed8;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #1e3a8a, #1d4ed8);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-highlight {
    color: #bfdbfe;
}

.hero-desc {
    font-size: 1.125rem;
    color: #dbeafe;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    background: #fff;
    color: #1d4ed8;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #f3f4f6;
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0;
    }
    .hero-title {
        font-size: 3.75rem;
    }
}

/* Features */
.features {
    padding: 4rem 0;
    background: #f9fafb;
}

.features-container {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: #4b5563;
}

@media (min-width: 768px) {
    .features-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Service Sections */
.service-ac,
.service-pc {
    padding: 5rem 0;
}

.service-pc {
    background: #f9fafb;
}

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

.service-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.service-content.reverse {
    flex-direction: column-reverse;
}

.service-text {
    flex: 1;
}

.service-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.service-badge.main {
    background: #dbeafe;
    color: #1d4ed8;
}

.service-badge.sub {
    background: #e5e7eb;
    color: #374151;
}

.service-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.service-desc {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
}

.service-list li i {
    color: #2563eb;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.service-image {
    flex: 1;
    position: relative;
    height: 20rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

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

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

@media (min-width: 768px) {
    .service-content {
        flex-direction: row;
    }
    .service-content.reverse {
        flex-direction: row-reverse;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #1e3a8a;
    color: #fff;
    text-align: center;
}

.contact-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-desc {
    color: #bfdbfe;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    transition: background 0.3s;
    width: 100%;
    max-width: 400px;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-btn i {
    width: 32px;
    height: 32px;
}

.contact-info {
    font-size: 0.875rem;
    color: #93c5fd;
}

@media (min-width: 768px) {
    .contact-buttons {
        flex-direction: row;
        justify-content: center;
    }
    .contact-btn {
        width: auto;
    }
}

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 2rem 0;
}

.footer-container {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.875rem;
}

.footer-right {
    font-size: 0.875rem;
}

.footer-right p {
    margin-bottom: 0.25rem;
}

.footer-copyright {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    .footer-right {
        text-align: right;
    }
}

/* 그누보드 게시판 영역 스타일 */
.main-wrapper {
    min-height: 60vh;
}

#wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-size: 16px;
}

#container {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
}

/* 게시판 글씨 크기 정상화 - 강력하게 적용 */
#wrapper,
#container,
#bo_list,
#bo_v,
#bo_w {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* 게시판 테이블 */
#bo_list table {
    font-size: 15px !important;
}

#bo_list th,
#bo_list td {
    padding: 12px 8px;
    font-size: 15px !important;
}

/* 게시판 본문 */
.bo_v_con,
.bo_v_title,
.bo_v_con p,
.bo_v_con div {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* 게시판 제목 */
#container h1,
#container h2,
.bo_v_title h2 {
    font-size: 1.75rem !important;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #111827;
}

/* 게시판 버튼 */
.btn_submit,
.btn_b01,
.btn_b02,
button,
input[type="submit"],
input[type="button"] {
    font-size: 15px !important;
    padding: 8px 16px;
}

/* 게시판 입력 폼 */
.write_div input[type="text"],
.write_div textarea,
.write_div select,
input[type="text"],
textarea,
select {
    font-size: 15px !important;
}

/* 게시판 상세보기 */
.bo_v_info,
.bo_v_option,
.bo_v_info span {
    font-size: 14px !important;
}

/* 댓글 영역 */
#bo_vc,
#bo_vc * {
    font-size: 15px !important;
}

/* 게시판 목록 제목 */
.bo_list_title,
.bo_list_title a {
    font-size: 16px !important;
}

/* 게시판 모든 텍스트 강제 적용 */
#bo_list *,
#bo_v *,
#bo_w * {
    font-size: inherit !important;
}

/* 헤더 메뉴는 항상 정상 크기 유지 */
.header,
.header *,
.nav,
.nav * {
    font-size: 1rem !important;
}

