/* ÀüÃ¼ ½ºÅ¸ÀÏ ÃÊ±âÈ­ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #e0e6ed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #1a1a2e;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Çì´õ ½ºÅ¸ÀÏ */
.main-header {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: #e0e6ed;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.header-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.logo-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.header-image img {
    width: 80px;
    height: 80px;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.header-image img:hover {
    transform: rotate(10deg) scale(1.1);
}

/* ½ºÅ©·Ñ Åõ Å¾ ¹öÆ° */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.scroll-to-top img {
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ±¤°í ¼½¼Ç */
.ad-section {
    padding: 20px;
    background: #0f1419;
    border-bottom: 1px solid #2d3748;
}

/* ¸ÞÀÎ ÄÁÅÙÃ÷ */
.main-content {
    padding: 30px;
}

/* ¼Ò°³ ¼½¼Ç */
.intro-section {
    margin-bottom: 40px;
}

.intro-card {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #e0e6ed;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid #3b82f6;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.intro-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 1;
}

.intro-content ul {
    list-style: none;
    padding-left: 0;
}

.intro-content li {
    padding: 8px 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.intro-content li::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 8px;
}

/* ¸Þ´º ±×¸®µå */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* ¸Þ´º ¼½¼Ç */
.menu-section {
    background: #0f1419;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #2d3748;
}

.menu-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.menu-section.business {
    border-top: 4px solid #ef4444;
}

.menu-section.planning {
    border-top: 4px solid #3b82f6;
}

.menu-section.others {
    border-top: 4px solid #a855f7;
}

/* ¼½¼Ç Çì´õ */
.section-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-bottom: 1px solid #475569;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h3 {
    font-size: 1.3rem;
    color: #e0e6ed;
    font-weight: 600;
}

.section-count {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.business .section-count {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.planning .section-count {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.others .section-count {
    background: rgba(168, 85, 247, 0.2);
    color: #c4b5fd;
}

/* ¸Þ´º ¸®½ºÆ® */
.menu-list {
    padding: 10px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    text-decoration: none;
    color: #e0e6ed;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    transition: width 0.3s ease;
    z-index: 0;
}

.menu-item:hover::before {
    width: 100%;
}

.menu-item:hover {
    border-left-color: #3b82f6;
    color: #93c5fd;
    padding-left: 30px;
    background: rgba(59, 130, 246, 0.1);
}

.business .menu-item:hover {
    border-left-color: #ef4444;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.1);
}

.others .menu-item:hover {
    border-left-color: #a855f7;
    color: #c4b5fd;
    background: rgba(168, 85, 247, 0.1);
}

.menu-icon {
    font-size: 1.2rem;
    margin-right: 15px;
    position: relative;
    z-index: 1;
}

.menu-text {
    flex: 1;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.menu-arrow {
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu-item:hover .menu-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ÇªÅÍ */
.main-footer {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: #e0e6ed;
    padding: 30px;
    text-align: center;
    margin-top: 50px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.footer-links a:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.separator {
    opacity: 0.5;
    font-weight: 300;
}

/* ¾Ö´Ï¸ÞÀÌ¼Ç */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ¹ÝÀÀÇü µðÀÚÀÎ */
@media (max-width: 768px) {
    .container {
        margin: 0;
    }
    
    .main-header {
        padding: 20px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .header-text h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top img {
        width: 40px;
        height: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .section-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .menu-item {
        padding: 12px 20px;
    }
    
    .menu-text {
        font-size: 0.95rem;
    }
}