/* DailyQuest Landing Page Styles */

:root {
    --primary: #7C3AED;
    --primary-dark: #5B21B6;
    --primary-light: #A78BFA;
    --gradient-start: #7C3AED;
    --gradient-end: #06B6D4;
    --background: #0f172a;
    --background-light: #1e293b;
    --surface: #334155;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    --border: #475569;
    --success: #10B981;
    --warning: #F59E0B;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { color: var(--text-muted); }
a { color: inherit; text-decoration: none; transition: var(--transition); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    transition: var(--transition); border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); background: rgba(124, 58, 237, 0.1); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 14px 0; background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px); border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; }
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 800; font-size: 1.1rem;
}
.nav-menu { display: flex; list-style: none; gap: 32px; }
.nav-menu a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); }

/* Hero */
.hero { position: relative; min-height: 100vh; padding: 120px 0 80px; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { position: relative; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; margin-bottom: 20px;
    background: rgba(124, 58, 237, 0.15); border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px; font-size: 0.85rem; color: var(--primary-light);
}
.hero-title { margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 1.15rem; max-width: 500px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 0.8rem; color: var(--text-dark); }

/* Phone Mockup - Realistic iPhone Style */
.hero-phones { display: flex; justify-content: center; position: relative; }
.phone-mockup {
    position: relative;
    background: linear-gradient(145deg, #3d3347 0%, #2a2530 50%, #3d3347 100%);
    border-radius: 38px;
    padding: 8px;
    box-shadow:
        0 60px 40px -30px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
/* 내부 베젤 */
.phone-mockup > .phone-screen {
    border: 3px solid #1a1a1a;
}
/* 사이드 버튼 - 오른쪽 (전원) */
.phone-mockup::before {
    content: '';
    position: absolute;
    right: -2px;
    top: 140px;
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, #4a4050 0%, #2a2530 100%);
    border-radius: 0 2px 2px 0;
}
/* 사이드 버튼 - 왼쪽 (음소거, 볼륨) */
.phone-mockup::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 100px;
    width: 3px;
    height: 28px;
    background: linear-gradient(180deg, #4a4050 0%, #2a2530 100%);
    border-radius: 2px 0 0 2px;
    box-shadow: 0 45px 0 #3d3347, 0 85px 0 #3d3347;
}
.phone-screen {
    position: relative;
    width: 220px;
    aspect-ratio: 9 / 17;
    border-radius: 32px;
    overflow: hidden;
    background: #000;
}
/* 다이나믹 아일랜드 */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 14px;
    background: #000;
    border-radius: 10px;
    z-index: 10;
}
/* 다이나믹 아일랜드 안의 카메라 */
.phone-screen::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%) translateX(14px);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #1a1a2e 40%, #0a0a15 100%);
    border-radius: 50%;
    z-index: 11;
}
.phone-screen img,
.phone-screen video {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}
.phone-placeholder { padding: 20px; }
.phone-placeholder-icon { font-size: 4rem; margin-bottom: 12px; }
.phone-placeholder-text { font-size: 1rem; font-weight: 600; opacity: 0.9; }

/* Target Users Section */
.target-section { padding: 100px 0; background: var(--background-light); }
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.target-card {
    padding: 32px; background: var(--background); border-radius: var(--radius-lg);
    border: 1px solid var(--border); transition: var(--transition);
}
.target-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.target-emoji { font-size: 2.5rem; margin-bottom: 16px; }
.target-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.target-card p { font-size: 0.95rem; margin-bottom: 16px; }
.target-benefits { list-style: none; }
.target-benefits li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px;
}
.target-benefits li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* Features Section */
.features-section { padding: 100px 0; }
.feature-showcase { display: flex; flex-direction: column; gap: 80px; }
.feature-item { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-item.reverse { direction: rtl; }
.feature-item.reverse > * { direction: ltr; }
.feature-content h3 { margin-bottom: 12px; font-size: 1.5rem; }
.feature-content > p { margin-bottom: 20px; font-size: 1.05rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.feature-list li::before { content: '→'; color: var(--primary-light); }
.feature-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature-image img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
/* 싱글 이미지 - 듀얼과 동일한 크기로 중앙 배치 */
.feature-image:not(.feature-image-dual) {
    display: flex;
    justify-content: center;
}
.feature-image:not(.feature-image-dual) img {
    width: 50%;
    max-width: 300px;
}
.feature-image-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    box-shadow: none;
}
.feature-image-dual img {
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
}
.feature-placeholder {
    aspect-ratio: 4/3; background: linear-gradient(135deg, var(--background-light), var(--surface));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--text-muted); border: 2px dashed var(--border); border-radius: var(--radius-lg);
}
.feature-placeholder-icon { font-size: 3rem; margin-bottom: 8px; }

/* Quick Features Grid */
.quick-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.quick-card {
    padding: 24px; background: var(--background-light); border-radius: var(--radius);
    border: 1px solid var(--border); text-align: center; transition: var(--transition);
}
.quick-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.quick-card-icon { font-size: 1.75rem; margin-bottom: 12px; }
.quick-card h4 { margin-bottom: 4px; font-size: 0.95rem; }
.quick-card p { font-size: 0.85rem; }

/* Demo Section */
.demo-section { padding: 100px 0; background: var(--background-light); }
.demo-container { max-width: 500px; margin: 0 auto; }
.video-wrapper { position: relative; width: 100%; }
.video-wrapper video {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    background: var(--background);
}
.video-placeholder {
    position: relative; width: 100%; padding-top: 56.25%;
    background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
    border-radius: var(--radius-lg); border: 2px dashed var(--border);
}
.video-placeholder .play-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.4);
}
.play-icon { width: 0; height: 0; border-left: 28px solid white; border-top: 18px solid transparent; border-bottom: 18px solid transparent; margin-left: 8px; }
.video-placeholder p { position: absolute; bottom: 30%; left: 50%; transform: translateX(-50%); color: var(--text-muted); font-size: 1.1rem; }

/* Pricing Section */
.pricing-section { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.pricing-card {
    padding: 36px; background: var(--background-light); border-radius: var(--radius-lg);
    border: 1px solid var(--border); text-align: center; transition: var(--transition);
}
.pricing-card:hover { border-color: var(--primary); }
.pricing-card.featured {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none; transform: scale(1.05); position: relative;
}
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--warning); color: #000; padding: 6px 20px;
    border-radius: 50px; font-size: 0.8rem; font-weight: 700;
}
.pricing-tier { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 2.75rem; font-weight: 800; margin-bottom: 4px; }
.pricing-price span { font-size: 1rem; font-weight: 400; }
.pricing-period { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.8); }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); }
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.pricing-btn {
    width: 100%; padding: 14px; border-radius: var(--radius);
    background: transparent; border: 2px solid var(--primary);
    color: var(--primary); font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.pricing-btn:hover { background: var(--primary); color: white; }
.pricing-card.featured .pricing-btn { background: white; color: var(--primary-dark); border-color: white; }
.pricing-card.featured .pricing-btn:hover { background: transparent; color: white; }

/* Download / Notify CTA */
.download-section { padding: 80px 0; }
.download-card {
    padding: 60px 40px; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: var(--radius-lg); text-align: center;
}
.download-card h2 { color: white; margin-bottom: 12px; }
.download-card > p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 28px; }
.download-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.download-section .btn-primary { background: white; color: var(--primary-dark); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.download-section .btn-outline { border-color: rgba(255,255,255,0.5); color: white; }
.download-section .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Notification Form */
.notify-form {
    display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
    max-width: 500px; margin: 0 auto 16px;
}
.notify-input {
    flex: 1; min-width: 240px; padding: 16px 20px;
    border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius);
    background: rgba(255,255,255,0.1); color: white;
    font-size: 1rem; outline: none; transition: var(--transition);
}
.notify-input::placeholder { color: rgba(255,255,255,0.6); }
.notify-input:focus { border-color: white; background: rgba(255,255,255,0.15); }
.notify-note { color: rgba(255,255,255,0.9); font-size: 0.95rem; min-height: 24px; margin-bottom: 20px; }
.coming-soon-badges { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.badge-item {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; background: rgba(255,255,255,0.15);
    border-radius: 50px; color: rgba(255,255,255,0.9);
    font-size: 0.9rem; font-weight: 500;
}
.badge-item svg { opacity: 0.9; }

/* Footer */
.footer { background: var(--background-light); padding: 40px 0; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.85rem; color: var(--text-dark); }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .hero-description { margin: 0 auto 32px; }
    .hero-actions, .hero-stats { justify-content: center; }
    .target-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .feature-item, .feature-item.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
    .feature-image-dual { grid-template-columns: 1fr 1fr; gap: 12px; }
    .quick-features { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
    .nav-menu, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .phone-mockup { padding: 6px; border-radius: 38px; }
    .phone-screen { width: 160px; border-radius: 32px; }
    .phone-screen::before { width: 40px; height: 12px; top: 6px; }
    .phone-screen::after { top: 9px; width: 5px; height: 5px; transform: translateX(-50%) translateX(10px); }
    .quick-features { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .download-card { padding: 40px 24px; }
    .download-actions { flex-direction: column; align-items: center; }
    .hero-actions { flex-direction: column; align-items: center; }
    .notify-form { flex-direction: column; align-items: stretch; }
    .notify-input { min-width: auto; }
    .coming-soon-badges { flex-direction: column; align-items: center; gap: 12px; }
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
