/* Typography: Pretendard (modern, clean Korean font) + SacheonUju (elegant logo) */

/* SacheonUju Font */
@font-face {
    font-family: 'SacheonUju-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2506-1@1.0/SacheonUju-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Skyblessing Inje (하늘내린 인제체) */
@font-face {
    font-family: 'SkyblessingInjeFontTTF';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2507-1@1.0/SkyblessingInjeFontTTF.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* Typography variables and global rendering tweaks */
:root {
    --font-body: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    --font-display: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    --font-logo: 'SkyblessingInjeFontTTF', serif;
    --navbar-height: 64px;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-padding-top: var(--navbar-height);
}

/* Hide page until base font (Pretendard) is ready */
html.wf-hide-body body {
    visibility: hidden;
}

/* Prevent only logo flash until custom font is ready */
.wf-hide-logo .nav-logo,
.wf-hide-logo .nav-logo a,
.wf-hide-logo .login-header .logo,
.wf-hide-logo .signup-header .logo {
    visibility: hidden;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #333;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size-adjust: from-font;
    font-synthesis: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Headings/brand use display font */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-header h2 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

/* Logo uses special font */
.nav-logo, .nav-logo a {
    font-family: var(--font-logo);
    letter-spacing: -0.03em;
    font-weight: 700;
    line-height: 1;
    vertical-align: baseline;
}

/* Numeric alignment for stats */
.stat-number { font-variant-numeric: tabular-nums; }

/* Form controls inherit body font */
button, input, select, textarea { font-family: inherit; }

/* 다크모드 스타일 */
body.dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-mode .navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .nav-logo a {
    color: #ffffff;
}

body.dark-mode .nav-menu a {
    color: #ffffff;
}

body.dark-mode .nav-btn-login {
    color: #cccccc;
}

body.dark-mode .nav-btn-login:hover {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.2);
}

body.dark-mode .nav-menu + .nav-auth-buttons .nav-btn-login {
    color: #ffffff;
}

body.dark-mode .nav-menu + .nav-auth-buttons .nav-btn-login:hover {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.2);
}

body.dark-mode .glow-card {
    background: rgba(40, 40, 40, 0.95);
    color: #ffffff;
}

body.dark-mode .glow-card h3 {
    color: #ffffff;
}

body.dark-mode .glow-card p {
    color: #cccccc;
}

body.dark-mode .glow-card:hover {
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

body.dark-mode .pricing {
    background: #2a2a2a;
}

body.dark-mode .pricing-card {
    background: #333333;
    color: #ffffff;
}

body.dark-mode .pricing-card h3 {
    color: #ffffff;
}

body.dark-mode .pricing-card p {
    color: #cccccc;
}

body.dark-mode .pricing-features li {
    color: #cccccc;
}

body.dark-mode .faq {
    background: #1a1a1a;
}

body.dark-mode .faq-item {
    background: #333333;
}

body.dark-mode .faq-question {
    background: #2a2a2a;
}

body.dark-mode .faq-question h3 {
    color: #ffffff;
}

body.dark-mode .faq-answer p {
    color: #cccccc;
}

body.dark-mode .section-header h2 {
    color: #ffffff;
}

body.dark-mode .section-header p {
    color: #cccccc;
}

/* 다크모드에서 안 보이는 텍스트들 수정 */
body.dark-mode .hero-description {
    color: #e5e5e5;
}

body.dark-mode .hero-badge {
    color: #e5e5e5;
    border-color: rgba(124, 58, 237, 0.5);
}

body.dark-mode .stat-label {
    color: #cccccc;
}

/* Hero 섹션 다크모드 수정 */
body.dark-mode .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 25%, #1e1e1e 50%, #2d2d2d 75%, #1a1a1a 100%);
    color: #ffffff;
}

body.dark-mode .hero-title {
    color: #ffffff;
}

body.dark-mode .stat-number {
    color: #ffffff;
}

body.dark-mode .gradient-text {
    color: #ec4899;
    text-shadow: 
        0 0 10px rgba(236, 72, 153, 0.3),
        0 0 20px rgba(236, 72, 153, 0.2);
}

body.dark-mode .hero-badge {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.3);
    color: #ffffff;
}

body.dark-mode .hero-badge i {
    color: #ec4899;
}

body.dark-mode .btn-secondary {
    color: #ffffff;
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

body.dark-mode .btn-secondary:hover {
    background: rgba(124, 58, 237, 0.2);
    color: #ffffff;
}

body.dark-mode .features {
    background: #1a1a1a;
}

body.dark-mode .faq-question:hover {
    background: #3a3a3a;
}

body.dark-mode .faq-question i {
    color: #cccccc;
}

body.dark-mode .pricing-header p {
    color: #cccccc;
}

body.dark-mode .period {
    color: #cccccc;
}

body.dark-mode .pricing-badge {
    color: #ffffff;
}

body.dark-mode .amount {
    color: #ec4899;
}

body.dark-mode .pricing-card .btn-secondary {
    color: #ffffff;
    border-color: #7c3aed;
}

body.dark-mode .pricing-card .btn-secondary:hover {
    background: rgba(124, 58, 237, 0.2);
    color: #ffffff;
}

/* 다크모드 토글 버튼 */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode-toggle .sun-icon {
    display: none;
}

.dark-mode-toggle .moon-icon {
    display: block;
}

body.dark-mode .dark-mode-toggle .sun-icon {
    display: block;
}

body.dark-mode .dark-mode-toggle .moon-icon {
    display: none;
}

/* Heartbeat Animation Styles */
.heartbeat-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 200px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.heartbeat-line {
    width: 100%;
    height: 100%;
}

.heartbeat-path {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: heartbeatPulse 3s ease-in-out infinite;
}

@keyframes heartbeatPulse {
    0% {
        stroke-dashoffset: 1500;
        opacity: 0.3;
    }
    15% {
        opacity: 1;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -1500;
        opacity: 0.3;
    }
}

/* 다크모드에서 심장박동계 스타일 */
body.dark-mode .heartbeat-container {
    opacity: 0.8;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Auth pages navbar (minimal) */
.navbar.auth {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(236, 72, 153, 0.15);
}
.navbar.auth .nav-container {
    justify-content: flex-start;
}
.navbar.auth .nav-logo { margin-right: auto; }
.navbar.auth .nav-menu { display: none !important; }

body.dark-mode .navbar.auth {
    background: rgba(26,26,26,0.9) !important;
    border-bottom: 1px solid rgba(236,72,153,0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* 모바일 햄버거 버튼 기본(데스크톱에선 숨김) */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111827;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #111827;
    gap: 0.5rem;
    letter-spacing: -0.3px;
    font-family: var(--font-logo);
}

.nav-logo a {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ec4899;
    gap: 0.5rem;
    letter-spacing: -0.3px;
    text-decoration: none;
    font-family: var(--font-logo);
    font-display: block;
}

.nav-logo a:hover { color: #f472b6; }

/* Brand logo styling */
.brand-logo .heart-icon {
    color: #ec4899;
    filter: drop-shadow(0 0 6px rgba(236,72,153,0.35));
    animation: heartbeat 1.4s ease-in-out infinite;
}

.brand-logo .logo-text {
    background: linear-gradient(90deg, #ec4899, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.18); }
  30% { transform: scale(1); }
  45% { transform: scale(1.12); }
  60% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo .heart-icon { animation: none; }
}

/* .logo-icon 관련 비어있는 규칙 제거 */


@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #ec4899;
    transform: translateY(-1px);
}

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

.nav-auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.nav-btn-login {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
}

.nav-btn-login:hover {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.1);
}

.nav-btn-signup {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: none;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.nav-btn-signup:hover {
    background: linear-gradient(135deg, #f472b6, #a855f7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

/* 기존 nav-btn 스타일 유지 (다른 곳에서 사용될 수 있으므로) */
.nav-btn {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 25px;
    margin-left: auto;
    border: none;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.nav-btn:hover {
    background: linear-gradient(135deg, #f472b6, #a855f7);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 25%, #f3e8ff 50%, #e9d5ff 75%, #fce7f3 100%);
    color: #1e1b4b;
    overflow: hidden;
    animation: hueShift 10s ease-in-out infinite;
    margin-top: var(--navbar-height);
}

/* Nebula Genie overlay */
.nebula-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.12;
}

.nebula-blob {
    position: absolute;
    width: 70vmax;
    height: 70vmax;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    background: radial-gradient(60% 60% at 50% 50%, rgba(236,72,153,0.9) 0%, rgba(139,92,246,0.8) 45%, rgba(30,27,75,0.9) 100%);
    filter: blur(40px) saturate(120%);
    border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
    animation: nebulaDrift 11s ease-in-out infinite alternate;
}

.nebula-stars { position: absolute; inset: 0; }
.nebula-stars i {
    position: absolute;
    width: 2px; height: 2px; background: white; border-radius: 50%; opacity: 0.7;
    animation: starTwinkle 2.6s ease-in-out infinite;
}
.nebula-stars i.s2 { width: 3px; height: 3px; opacity: 0.6; animation-duration: 3.2s; }
.nebula-stars i.s3 { width: 4px; height: 4px; opacity: 0.5; animation-duration: 3.6s; }

@keyframes nebulaDrift {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    100% { transform: translate(-49%, -50%) rotate(6deg) scale(1.06); }
}

@keyframes starTwinkle {
    0%,100% { opacity: 0.2; transform: translateY(0px); }
    50% { opacity: 0.9; transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
    .nebula-blob, .nebula-stars i { animation: none; }
}

body.dark-mode .nebula-overlay { opacity: 0.16; }

@keyframes hueShift {
    0% {
        filter: hue-rotate(0deg);
    }
    25% {
        filter: hue-rotate(20deg);
    }
    50% {
        filter: hue-rotate(60deg);
    }
    75% {
        filter: hue-rotate(20deg);
    }
    100% {
        filter: hue-rotate(0deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #1e1b4b;
    animation: fadeInUp 1s ease-out 1.5s both, float 3s ease-in-out infinite 2.5s;
}

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

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

.hero-badge i {
    margin-right: 0.5rem;
    color: #7c3aed;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 2s both;
}

/* 통계 값들 - 어두운 색으로 변경 */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e1b4b; /* 어두운 색으로 변경 */
}

/* 나머지 요소들은 색 고정 */
.gradient-text {
    color: #7c3aed;
    text-shadow: 
        0 0 10px rgba(124, 58, 237, 0.3),
        0 0 20px rgba(124, 58, 237, 0.2);
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(236, 72, 153, 0.8),
            0 0 20px rgba(236, 72, 153, 0.6),
            0 0 30px rgba(236, 72, 153, 0.4),
            0 0 40px rgba(236, 72, 153, 0.2);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(139, 92, 246, 0.8),
            0 0 25px rgba(139, 92, 246, 0.6),
            0 0 35px rgba(139, 92, 246, 0.4),
            0 0 45px rgba(139, 92, 246, 0.2);
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 2.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 3s both;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}



.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

/* 아이콘 공통 여백/전환 */
.btn-primary i,
.btn-secondary i,
.hero-badge i {
    transition: transform 0.2s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(124, 58, 237, 0.1);
    color: #1e1b4b;
    border: 2px solid #7c3aed;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 3.5s both;
}

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

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Glow Card Styles */
.glow-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0s ease;
    position: relative;
    overflow: hidden;
    height: 320px;
    display: flex;
    flex-direction: column;
}



.glow-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

/* .feature-icon:hover 비어있는 규칙 제거 */

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.glow-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.glow-card p {
    color: #666;
    line-height: 1.6;
    flex: 1;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    width: 100%;
    max-width: 350px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.pricing-card:not(.featured) {
    max-width: 300px;
    min-height: 450px;
    transform: scale(0.95);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card:not(.featured):hover {
    transform: scale(0.95) translateY(-5px);
}

.pricing-card.featured {
    border-color: #ec4899;
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    margin-bottom: 1rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ec4899;
}

.period {
    font-size: 1rem;
    color: #666;
}

.pricing-header p {
    color: #666;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: #10b981;
    font-size: 0.8rem;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f1f3f4;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.faq-question i {
    color: #666;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* 모바일 내비게이션 */
    .hamburger { display: inline-flex; }
    
            .nav-auth-buttons {
            display: none; /* 모바일에서는 숨김 */
        }
        
        .nav-menu {
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            transform: none;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            flex-direction: column;
            gap: 0;
            padding: 12px 16px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            display: none;
            z-index: 999;
        }

        .nav-menu.active { display: flex; }
        .nav-menu li { width: 100%; }
        .nav-menu a { display: block; padding: 12px 8px; }
        
        /* 모바일에서 로그인/회원가입 버튼을 네비게이션 메뉴에 추가 */
        .nav-menu::after {
            content: '';
            display: block;
            height: 1px;
            background: rgba(0,0,0,0.1);
            margin: 8px 0;
        }
        
        /* 모바일에서 nav-auth-buttons를 메뉴 내부에 표시 */
        .nav-menu + .nav-auth-buttons {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding: 8px 0;
            margin-top: 8px;
        }
        
        .nav-menu + .nav-auth-buttons .nav-btn-login,
        .nav-menu + .nav-auth-buttons .nav-btn-signup {
            width: 100%;
            text-align: center;
            padding: 12px;
            border-radius: 8px;
        }

    body.dark-mode .nav-menu {
        background: rgba(26, 26, 26, 0.98);
        border-bottom-color: rgba(255,255,255,0.08);
    }
    
    body.dark-mode .nav-menu::after {
        background: rgba(255,255,255,0.1);
    }
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .glow-card {
        height: auto;
        min-height: 280px;
    }
    
    /* 모바일에서 심장박동계 조정 */
    .heartbeat-container {
        opacity: 0.5;
        height: 150px;
        width: 140%;
    }
    
    body.dark-mode .heartbeat-container {
        opacity: 0.7;
    }
} 