@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
    --primary: #FEE500;
    --primary-dark: #FFD400;
    --secondary: #0F172A;
    --accent: #3B82F6;
    --success: #10B981;
    --error: #EF4444;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --radius: 20px;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Layout */
.container {
    width: 100%;
    background: var(--white);
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px;
}

section {
    padding: 80px 24px;
    display: flex;
    justify-content: center;
}

.section-content {
    width: 100%;
    max-width: 768px; /* 가독성을 위한 모바일/태블릿 최적화 너비 */
}

/* Typography */
h1 { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1.2; }
h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 20px; }
h3 { font-size: 20px; font-weight: 700; }
p { font-size: 18px; color: var(--text-muted); }

@media (max-width: 480px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    p { font-size: 16px; }
    section { padding: 60px 20px; }
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #3C1E1E;
    box-shadow: 0 4px 20px rgba(254, 229, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 229, 0, 0.4);
}

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

/* Header */
header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary);
}

.logo span { color: var(--accent); }

/* Hero */
.hero {
    padding: 40px 24px 20px;
    text-align: center;
    background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 40px 0;
    background: #F8FAFC;
    padding: 20px;
    border-radius: 20px;
}

.stat-item h4 { font-size: 18px; font-weight: 800; color: var(--secondary); }
.stat-item p { font-size: 12px; font-weight: 500; }

/* Features */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover { border-color: var(--accent); transform: translateX(4px); }

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Review Cards */
.review-card {
    padding: 24px;
    background: #F8FAFC;
    border-radius: 24px;
    margin-bottom: 20px;
}

.stars { color: #FFB800; margin-bottom: 12px; }

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    font-size: 15px;
    padding-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-item i { transition: transform 0.3s ease; }
.faq-item.active i { transform: rotate(180deg); }

/* Dual CTA Group */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.btn-label small {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.75;
}

.btn-chat {
    background-color: #2563eb;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    font-family: inherit;
}

.btn-chat:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Floating CTA */
.float-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 500px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.float-cta .btn {
    flex: 1;
    padding: 16px 12px;
    font-size: 15px;
}
