
:root {
    --background-color: #f8f8f8;
    --text-color: #333;
    --highlight-color: #000;
    --secondary-text-color: #888;
    --card-border-color: #e0e0e0;
    --alert-bg-color: #fff5f5;
    --alert-border-color: #e53e3e;
}

body {
    font-family: 'Pretendard', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul, dl { list-style: none; margin: 0; padding: 0; }

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 56px;
    background-color: white;
    border-bottom: 1px solid var(--card-border-color);
}

.logo a {
    font-family: 'Inter', 'Pretendard', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--highlight-color);
}
.logo a span {
    color: #999;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-family: 'Inter', 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

nav a.active {
    font-weight: bold;
}

.icons {
    display: flex;
    gap: 20px;
}

.icons i {
    width: 20px;
    height: 20px;
    stroke: var(--text-color);
}

main {
    padding: 40px 56px;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    background-color: white;
    padding: 100px 60px;
}

.hero-text .lead {
    font-size: 36px;
    color: var(--secondary-text-color);
    margin: 0;
}

.hero-text h1 {
    font-size: clamp(40px, 8vw, 96px);
    font-weight: bold;
    margin: 0;
    line-height: 1;
    color: var(--secondary-text-color);
}

.hero-text .highlight {
    color: var(--highlight-color);
}

.hero-text p:last-child {
    font-size: 18px;
    margin-top: 20px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.slideshow-container {
    position: relative;
    height: 400px;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-image.active {
    opacity: 1;
}

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

.feature-card {
    background-color: white;
    padding: 30px;
    border: 1px solid var(--card-border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

/* New Guide Page Styles */
.guide-page .guide-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    padding: 60px 56px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.guide-page .guide-nav {
    position: sticky;
    top: 60px;
    height: calc(100vh - 120px);
}

.guide-page .guide-nav h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 30px 0;
    color: var(--highlight-color);
}

.guide-page .guide-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guide-page .guide-nav a {
    font-size: 16px;
    color: var(--secondary-text-color);
    padding: 5px 0;
    display: block;
    transition: color 0.2s, font-weight 0.2s;
}

.guide-page .guide-nav a:hover, 
.guide-page .guide-nav a.active {
    font-weight: bold;
    color: var(--highlight-color);
}

.guide-page .guide-content section {
    margin-bottom: 60px;
    scroll-margin-top: 80px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--card-border-color);
}

.guide-page .guide-content h3 {
    font-size: 28px;
    margin: 0 0 20px 0;
    border-bottom: 2px solid var(--card-border-color);
    padding-bottom: 15px;
}

.guide-page .guide-content p,
.guide-page .guide-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.guide-page .guide-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 20px;
}

.guide-page .guide-content ul li {
    margin-bottom: 10px;
}

.guide-page .guide-content ul li strong {
    font-weight: 600;
    color: var(--highlight-color);
}

@media (max-width: 900px) {
    .guide-page .guide-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 24px;
    }
    .guide-page .guide-nav {
        position: static;
        height: auto;
        margin-bottom: 30px;
        border-bottom: 1px solid var(--card-border-color);
        padding-bottom: 20px;
    }
    .guide-page .guide-nav h2 {
        margin-bottom: 20px;
    }
    .guide-page .guide-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 20px;
    }

}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 180px; 
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    padding: 15px 0;
    top: 100%;
    margin-top: 0;
    border-radius: 4px; 
    border: 1px solid var(--card-border-color);
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 8px 25px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    font-weight: bold;

}

.dropdown:hover .dropdown-content {
    display: block;
}

nav ul > li > a:hover {
    font-weight: bold;
}
