/* 글로벌 스타일 */
:root {
    --primary-color: #3acbcb;
    --secondary-color: #2ab3b3;
    --accent-color: #ff69b4;
    --text-color: #e6e6e6;
    --light-text: #a6a6a6;
    --dark-text: #f9f9f9;
    --background-color: #000000;
    --secondary-bg: #1c1c1e;
    --section-bg: #1a1a1a;
    --card-bg: #1c1c1e;
    --border-color: #333333;
    --highlight-color: #3acbcb;
    --transition: all 0.3s ease;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(58, 203, 203, 0.4);
}

/* Hanna 폰트 추가 */
@font-face {
    font-family: 'Hanna';
    src: url('../assets/fonts/bm_hanna.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Hanna', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style-type: none;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
    color: white;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* 헤더 스타일 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Hanna', 'Noto Sans KR', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 히어로 섹션 */
.hero {
    padding: 180px 0 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--secondary-bg);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 550px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--dark-text);
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.download-buttons img {
    height: 48px;
    transition: transform 0.3s ease;
}

.download-buttons img:hover {
    transform: translateY(-3px);
}

.btn-appstore, .btn-googleplay {
    display: inline-block;
    position: relative;
}

.btn-googleplay {
    overflow: visible;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.btn-googleplay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.btn-googleplay:hover::before {
    opacity: 1;
}

.btn-googleplay img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 0;
    border-radius: 6px;
    display: block;
}

.btn-googleplay:hover img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transform: translateY(-3px);
}

.hero-image {
    width: 40%;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-logo-hero {
    max-width: 350px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

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

.hero-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(58, 203, 203, 0.15), transparent 70%);
    z-index: 0;
}

/* 인트로 섹션 */
.intro {
    padding: 120px 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.intro::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 203, 203, 0.08) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    z-index: 0;
    filter: blur(80px);
}

.intro::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.08) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    z-index: 0;
    filter: blur(100px);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.section-intro h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-text);
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-intro p {
    font-size: 1.2rem;
    color: var(--light-text);
    line-height: 1.7;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.intro-card {
    background: rgba(34, 34, 34, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 203, 203, 0.05) 0%, rgba(255, 105, 180, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(58, 203, 203, 0.3);
}

.intro-card:hover::before {
    opacity: 1;
}

.intro-card-inner {
    padding: 40px 30px;
    position: relative;
    z-index: 2;
}

.intro-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(58, 203, 203, 0.15) 0%, rgba(255, 105, 180, 0.1) 100%);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: white;
    opacity: 0.9;
}

.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-text);
    font-weight: 700;
}

.intro-card p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
}

/* 기능 섹션 */
.features {
    padding: 120px 0;
    background-color: var(--secondary-bg);
    position: relative;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 120px;
    position: relative;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    max-width: 480px;
    padding: 0 30px;
}

.feature-content h3 {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 25px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-color);
}

.feature-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-images {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.feature-images.single .app-screenshot {
    max-width: 320px;
    width: auto;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.login-icons {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.login-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.login-icon:hover {
    transform: translateY(-10px);
}

.notification-demo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.notification-icon {
    width: 150px;
    height: 150px;
    color: var(--primary-color);
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* 인용구 섹션 */
.quote {
    padding: 80px 0;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.quote::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
    opacity: 0.3;
}

.quote-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    font-size: 150px;
    line-height: 0;
    position: absolute;
    top: -30px;
    left: -20px;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
}

.quote-text {
    position: relative;
    z-index: 2;
}

blockquote {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: white;
    margin: 0;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* 캐릭터 섹션 */
.character {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(30, 30, 30, 1) 0%, rgba(18, 18, 18, 1) 100%);
    position: relative;
    overflow: hidden;
}

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

.character-content {
    width: 50%;
    padding-right: 50px;
}

.character-content h2 {
    font-size: 2.8rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 900;
}

.character-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.7;
}

.character-points {
    margin-top: 30px;
}

.character-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.point-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.character-point p {
    margin: 0;
    font-size: 1.1rem;
}

.character-image {
    width: 40%;
    text-align: center;
}

.app-logo-image {
    max-width: 300px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

/* 다운로드 섹션 */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(30, 30, 30, 1) 0%, rgba(18, 18, 18, 1) 100%);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 203, 203, 0.15), transparent 70%);
    border-radius: 50%;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.download h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--dark-text);
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-text);
    line-height: 1.7;
}

.download .download-buttons {
    margin: 30px auto;
    justify-content: center;
}

.app-version {
    font-size: 0.9rem;
    color: var(--light-text);
    opacity: 0.7;
}

/* 푸터 */
footer {
    padding: 80px 0 40px;
    background-color: var(--secondary-bg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--light-text);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    margin-bottom: 20px;
    color: var(--light-text);
}

.footer-copyright p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

/* 반응형 미디어 쿼리 */
@media (max-width: 992px) {
    .hero .container,
    .character .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content,
    .character-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-image,
    .character-image {
        width: 80%;
        margin: 0 auto;
    }

    .character-content {
        width: 100%;
        padding-right: 0;
    }

    .intro-features {
        grid-template-columns: 1fr;
    }

    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
        text-align: center;
        margin-bottom: 90px;
    }

    .feature-content {
        max-width: 100%;
        margin-bottom: 50px;
        padding: 0;
    }

    .feature-list li,
    .character-point {
        text-align: left;
    }

    .feature-images {
        width: 100%;
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 150px 0 80px 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero-image {
        width: 80%;
        margin: 0 auto;
    }

    .app-logo-hero {
        max-width: 250px;
        margin: 0 auto;
    }

    section {
        padding: 70px 0;
    }

    .intro {
        padding: 90px 0;
    }

    .section-intro h2,
    .download h2,
    .character-content h2 {
        font-size: 2.2rem;
    }

    .section-intro p {
        font-size: 1.1rem;
    }

    .intro-card-inner {
        padding: 30px 20px;
    }

    .intro-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
    }

    .feature-content h3 {
        font-size: 1.8rem;
    }

    blockquote {
        font-size: 1.8rem;
        padding: 0 20px;
    }

    .login-icons {
        gap: 20px;
    }

    .login-icon {
        width: 70px;
        height: 70px;
    }

    .notification-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn-primary {
        padding: 12px 25px;
    }

    .download-buttons {
        justify-content: center;
    }

    blockquote {
        font-size: 1.5rem;
    }

    .app-logo-hero {
        max-width: 200px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .login-icon {
        width: 60px;
        height: 60px;
    }

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

    .footer-links a {
        margin: 5px 10px;
        font-size: 0.9rem;
    }

    .footer-logo {
        font-size: 1.8rem;
    }
}
