/*
Theme Name: Flavor Charge
Description: MEXC 수수료 - Gmarket Sans, Green Neon, Neobrutalism, Dark Mode
Version: 1.0
*/

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

:root {
    --primary: #22C55E;
    --primary-dark: #16A34A;
    --primary-light: #4ADE80;
    --bg-dark: #0f0f0f;
    --bg-section: #1a1a1a;
    --bg-card: #252525;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --border-brutal: 3px solid #22C55E;
    --shadow-brutal: 6px 6px 0px #22C55E;
    --shadow-brutal-hover: 8px 8px 0px #16A34A;
    --glow: 0 0 20px rgba(34, 197, 94, 0.5);
    --glow-strong: 0 0 40px rgba(34, 197, 94, 0.8);
}

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

body {
    font-family: 'GmarketSans', 'Pretendard', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

/* Header - Center Logo */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    padding: 15px 0;
}

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

.site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-shadow: var(--glow);
    letter-spacing: 1px;
}

.site-logo:hover {
    text-shadow: var(--glow-strong);
}

.nav-toggle {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    margin: 6px 0;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.main-nav {
    position: fixed;
    top: 70px;
    right: -300px;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--bg-section);
    border-left: 3px solid var(--primary);
    transition: right 0.4s ease;
    z-index: 999;
    padding: 30px;
}

.main-nav.active {
    right: 0;
    box-shadow: -10px 0 40px rgba(34, 197, 94, 0.2);
}

.main-nav ul {
    list-style: none;
}

.main-nav li {
    margin: 20px 0;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 12px 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.main-nav a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.1);
    box-shadow: var(--glow);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0a1a0f 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: var(--glow);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
}

/* Neon Glow Button */
.btn-neon {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal), var(--glow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-neon:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-brutal-hover), var(--glow-strong);
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-neon:hover::before {
    left: 100%;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    font-size: 180px;
    animation: float-antigravity 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.5));
}

@keyframes float-antigravity {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
    75% { transform: translateY(-40px) rotate(3deg); }
}

/* Sections - Zigzag Layout */
.section {
    padding: 100px 20px;
    position: relative;
}

.section-dark {
    background: var(--bg-dark);
}

.section-alt {
    background: var(--bg-section);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    text-shadow: var(--glow);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

/* Zigzag Row */
.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.zigzag-row:nth-child(even) {
    direction: rtl;
}

.zigzag-row:nth-child(even) > * {
    direction: ltr;
}

.zigzag-content h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.zigzag-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.zigzag-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120px;
    animation: float-antigravity 5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.4));
}

/* Neobrutalism Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
}

.neo-card {
    background: var(--bg-card);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
    padding: 35px 25px;
    transition: all 0.3s ease;
    position: relative;
}

.neo-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-brutal-hover), var(--glow);
}

.neo-card .card-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
    animation: float-antigravity 4s ease-in-out infinite;
}

.neo-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.neo-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-card);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-brutal-hover), var(--glow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 3px solid var(--bg-dark);
    box-shadow: var(--glow);
}

.step-card h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
    background: var(--bg-card);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: var(--glow);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-card);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
    padding: 35px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-brutal-hover), var(--glow);
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--bg-dark);
}

.author-info h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 3px;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(34, 197, 94, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    text-shadow: var(--glow);
}

.faq-answer {
    padding: 0 30px 25px;
    display: none;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.05) 10px,
        rgba(0,0,0,0.05) 20px
    );
}

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

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 35px;
}

.btn-dark-brutal {
    display: inline-block;
    padding: 18px 50px;
    background: var(--bg-dark);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 3px solid var(--bg-dark);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.btn-dark-brutal:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px rgba(0, 0, 0, 0.4);
}

/* Footer */
.site-footer {
    background: var(--bg-section);
    border-top: 3px solid var(--primary);
    padding: 60px 20px 30px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-shadow: var(--glow);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(34, 197, 94, 0.3);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Page Content */
.page-content {
    padding: 140px 20px 80px;
    min-height: 70vh;
    background: var(--bg-dark);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-shadow: var(--glow);
}

.entry-content {
    color: var(--text-muted);
    line-height: 1.9;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2, .entry-content h3 {
    color: var(--text-light);
    margin: 35px 0 20px;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--bg-card);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
    padding: 30px;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-brutal-hover), var(--glow);
}

.blog-card h3 a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s;
}

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

.blog-card p {
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .zigzag-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .zigzag-row:nth-child(even) {
        direction: ltr;
    }

    .grid-3, .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4, .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .grid-3, .grid-4, .steps-grid, .stats-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero-illustration {
        font-size: 120px;
    }
}
