/* 기본 스타일 초기화 및 설정 */
:root {
    --primary-color: #4d79ff;
    --secondary-color: #8e44ad;
    --glow-color: rgba(77, 121, 255, 0.7);
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted-color: #a0a0a0;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

h1, h2, h3 {
    font-weight: 700;
}

/* 헤더 & 네비게이션 */
header {
    background-color: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}

.logo h1 i {
    color: var(--primary-color);
}

.logo .highlight {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--text-muted-color);
    font-weight: 700;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover, nav a.nav-contact {
    color: #fff;
}
nav a:hover::after {
    width: 100%;
}
nav a.nav-contact {
    color: #fff;
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}
nav a.nav-contact:hover {
    background-color: #3a63d9;
    transform: scale(1.05);
}
nav a.nav-contact::after {
    display: none;
}


/* 히어로 섹션 */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(rgba(18, 18, 18, 0.8), var(--bg-color)), url('https://www.transparenttextures.com/patterns/cubes.png');
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 0 0 15px var(--glow-color);
}

.hero h2 span {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted-color);
    max-width: 600px;
    margin: 0 auto;
}

/* 사이트 그리드 */
#sites-grid {
    padding: 60px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.site-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.site-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--glow-color);
    border-color: var(--primary-color);
}

.site-card img {
    width: 100%;
    height: auto;
    display: block;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.card-content p {
    color: var(--text-muted-color);
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tags {
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
}

.tag.guaranteed { background-color: #27ae60; color: #fff; }
.tag.new { background-color: #3498db; color: #fff; }
.tag.event { background-color: #e67e22; color: #fff; }

.btn-go {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: linear-gradient(90deg, var(--primary-color), #6a8eff);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-go:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px var(--glow-color);
    color: #fff;
}

/* 배너 문의 섹션 */
#banner-inquiry {
    background-color: var(--surface-color);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

#banner-inquiry h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
}

#banner-inquiry h2 i {
    color: var(--primary-color);
    margin-right: 10px;
}

#banner-inquiry p {
    color: var(--text-muted-color);
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.btn-contact {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(142, 68, 173, 0.7);
    color: #fff;
}

/* 푸터 */
footer {
    padding: 40px 0;
    text-align: center;
    background-color: #0c0c0c;
}

footer p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}