/* 기본 스타일 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
    /* 검정색 기반 컬러 스키마 */
    --primary-color: #000000;
    --primary-light: #333333;
    --primary-dark: #000000;
    --secondary-color: #444444;
    --accent-color: #666666;
    --text-color: #222222;
    --text-light: #666666;
    --bg-light: #f7f7f7;
    --bg-white: #ffffff;
    --bg-dark: #000000;
    --bg-gray: #f0f0f0;
    --border-color: #dddddd;
    --success-color: #2e7d32;
    --error-color: #c62828;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --yellow-accent: #FFC805;
    --blue-accent: #1A75BB;
}

/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', sans-serif;
    color: var(--text);
    background-color: #000000;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #000000;
    overflow-x: hidden;
}

/* 컨테이너 스타일 */
.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 섹션 스타일 */
.section {
    padding: 5rem 2rem;
    border-radius: 24px;
    background-color: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    margin: 2rem auto;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}

.bg-white {
    background-color: white;
}

.bg-light {
    background: linear-gradient(to right, #f5f5ff, #f0f0ff);
}

.bg-primary {
    background-color: var(--primary-color);
    color: white;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

.text-center {
    text-align: center;
    color: white;
}

.text-lg {
    font-size: 1.125rem;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    border-radius: 50px;
}

.btn-white:hover {
    background-color: #f5f5f5;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 애니메이션 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 그리드 시스템 */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

/* 카드 스타일 */
.card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 메인 컨텐츠 래핑 스타일 */
main {
    background-color: #000000;
    position: relative;
    z-index: 1;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* 배경색 변형 */
.black-bg {
    background-color: #000 !important;
}

.black-bg .fullscreen-bg {
    background: #000 !important;
}

.black-bg .second-bg {
    background: #000 !important;
}

/* 미디어 쿼리 - 반응형 */
@media screen and (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

@media screen and (max-width: 768px) {
    .cta-banner {
        padding: 4rem 1rem;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, 
        #0a0f1f 0%,
        #141b2d 100%
    );
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(20, 27, 45, 0.5) 0%,
        rgba(10, 15, 31, 0.8) 100%
    );
}

.horizon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: radial-gradient(ellipse at 50% 100%, 
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 50%
    );
    border-radius: 100% 100% 0 0 / 100% 100% 0 0;
    transform: scale(1.5);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, white, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, white, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, white, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 50px, white, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, white, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 160px 120px, white, rgba(0,0,0,0));
    background-repeat: repeat;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
    padding: 0 20px;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
