/*
Theme Name: Flavor BVOX
Description: 비복스 테더맥스 랜딩페이지 - 스토리텔링 앰버 오렌지 테마
Version: 1.0
Author: Flavor Studio
*/

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

:root {
    --amber-primary: #F59E0B;
    --amber-secondary: #D97706;
    --amber-light: #FEF3C7;
    --amber-dark: #B45309;
    --bg-cream: #FFFBEB;
    --bg-dark: #1C1917;
    --text-dark: #292524;
    --text-gray: #78716C;
    --text-light: #A8A29E;
    --white: #FFFFFF;
    --gradient-amber: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --shadow-soft: 0 4px 20px rgba(245, 158, 11, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'GmarketSansMedium', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 1.5rem;
    background: var(--gradient-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.header-cta {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: var(--gradient-amber);
    color: var(--white);
    text-decoration: none;
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 0.9rem;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-cream) 100%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--amber-light);
    color: var(--amber-dark);
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.hero-title {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-title .highlight {
    background: var(--gradient-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--gradient-amber);
    color: var(--white);
    text-decoration: none;
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 1.1rem;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
}

/* Section Common */
.section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

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

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

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--amber-light);
    color: var(--amber-dark);
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.section-title {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Pain Points Section */
.pain-section {
    background: var(--white);
}

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

.pain-card {
    background: var(--bg-cream);
    padding: 2.5rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.pain-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.pain-title {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.pain-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Solution Section */
.solution-section {
    background: var(--bg-dark);
    color: var(--white);
}

.solution-section .section-badge {
    background: rgba(245, 158, 11, 0.2);
    color: var(--amber-primary);
}

.solution-section .section-title {
    color: var(--white);
}

.solution-section .section-subtitle {
    color: var(--text-light);
}

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

.solution-card {
    position: relative;
    overflow: hidden;
    height: 320px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.solution-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.5) 100%);
}

.solution-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.solution-number {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 3rem;
    color: var(--amber-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.solution-title {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.solution-desc {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Savings Section - Parallax */
.savings-section {
    padding: 8rem 2rem;
    background: var(--gradient-amber);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.savings-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: parallax-float 20s ease-in-out infinite;
}

@keyframes parallax-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2%, 2%) rotate(1deg); }
}

.savings-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.savings-amount {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.savings-period {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.savings-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonial-section {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--bg-cream);
    padding: 2.5rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-quote::before {
    content: '"';
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 3rem;
    color: var(--amber-primary);
    line-height: 0;
    display: block;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'GmarketSansBold', sans-serif;
    color: var(--white);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: 'GmarketSansBold', sans-serif;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-meta {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Blog Section */
.blog-section {
    background: var(--bg-cream);
}

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

.blog-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.blog-card-image {
    height: 180px;
    background: var(--gradient-amber);
    position: relative;
    overflow: hidden;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
}

.blog-card-content {
    padding: 1.75rem;
}

.blog-card-title {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--amber-primary);
}

.blog-card-excerpt {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-dark);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3.5rem;
    background: var(--gradient-amber);
    color: var(--white);
    text-decoration: none;
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 1.15rem;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4);
}

/* Footer */
.site-footer {
    background: #0C0A09;
    color: var(--text-light);
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: 1.35rem;
    background: var(--gradient-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #57534E;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #292524;
}

/* Page Templates */
.page-header {
    background: var(--bg-dark);
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 60%;
    background: radial-gradient(ellipse at center bottom, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

.page-title {
    font-family: 'GmarketSansBold', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-content {
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-content p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* Buttons */
.btn-filled {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-amber);
    color: var(--white);
    text-decoration: none;
    font-family: 'GmarketSansBold', sans-serif;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

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

.btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--amber-primary);
    text-decoration: none;
    font-family: 'GmarketSansBold', sans-serif;
    border: 2px solid var(--amber-primary);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

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

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1.25rem;
    }

    .site-logo {
        font-size: 1.25rem;
    }

    .header-cta {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .hero-section {
        padding: 7rem 1.5rem 3rem;
    }

    .pain-card, .testimonial-card {
        padding: 1.75rem;
    }

    .solution-card {
        height: 280px;
    }

    .savings-section {
        padding: 5rem 1.5rem;
    }
}
