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

body {
    font-family: 'Malgun Gothic', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: white;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #C084FC 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: rgba(59, 7, 100, 0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #EC4899, #F97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.nav ul {
  list-style: none;
  display: flex;           /* 가로 정렬 */
  gap: 20px;               /* 항목 간 간격 */
  padding: 0;
  margin: 0;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: white;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.login-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.signup-btn {
    background: linear-gradient(135deg, #EC4899, #F97316);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.signup-btn:hover {
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    text-align: center;
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    font-weight: 300;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: #8B5CF6;
}

.btn-light:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-dark {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.btn-dark:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.content-section {
    max-width: 1000px;
    margin: 4rem auto 0;
    text-align: left;
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.content-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #8B5CF6;
    font-weight: bold;
}

.content-card h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    color: #333;
    font-weight: 600;
}

.content-card h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem 0;
    color: #333;
    font-weight: 600;
}

.content-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.guide-section {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.guide-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #8B5CF6;
    font-weight: bold;
    text-align: center;
}

.guide-section p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.image-item {
    text-align: center;
}

.image-item img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.image-item p {
    margin-top: 1rem;
    font-weight: 600;
    color: #8B5CF6;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.faq-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.faq-item[open] {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.05);
    color: #8B5CF6;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B5CF6;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 2rem 2rem 2rem;
    color: #555;
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-question::after {
        right: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}
/* === Custom spacing fix === */
.content-card ul,
.content-card ol {
  margin-bottom: 1.5rem; /* 리스트 끝 여백 */
}

.content-card h2,
.content-card h3 {
  margin-top: 2rem; /* 제목 위 여백 */
}