/*
Theme Name: Flavor MEXC
Theme URI: https://mexcself.vsquaremall.co.kr
Description: White clean theme with neobrutalism cards, neon glow buttons, side drawer
Version: 1.0
Author: Custom
Text Domain: flavor-mexc
*/

/* Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --neon-glow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
    --text-dark: #1a1a1a;
    --text-gray: #4b5563;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --border-brutal: 3px solid #1a1a1a;
    --shadow-brutal: 5px 5px 0px #1a1a1a;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
}

/* Side Drawer Header */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    border-bottom: var(--border-brutal);
}

.site-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
}

.hamburger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

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

.drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.drawer-overlay.active { opacity: 1; visibility: visible; }

.side-drawer {
    position: fixed;
    top: 0; right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--bg-white);
    border-left: var(--border-brutal);
    padding: 100px 30px 30px;
    transition: right 0.4s ease;
    z-index: 999;
}

.side-drawer.active { right: 0; }
.side-drawer ul { list-style: none; }
.side-drawer li { margin-bottom: 20px; }
.side-drawer a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: color 0.3s ease;
}
.side-drawer a:hover { color: var(--primary); }

.drawer-cta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: var(--border-brutal);
}

/* Neon Glow Buttons */
.btn-neon {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow);
}

.btn-neon:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6), 0 0 60px rgba(59, 130, 246, 0.4);
}

.btn-brutal {
    display: inline-block;
    padding: 14px 35px;
    background: var(--bg-white);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
    transition: all 0.2s ease;
}

.btn-brutal:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #1a1a1a;
}

/* Hero Section - Left Text + Right Image */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    background: var(--bg-white);
}

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

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
}

.hero-content { text-align: left; }
@media (max-width: 992px) { .hero-content { text-align: center; } }

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 35px;
}

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

.hero-illustration {
    width: 100%;
    max-width: 450px;
    height: 400px;
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    border: var(--border-brutal);
    box-shadow: 10px 10px 0px #1a1a1a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

/* Neobrutalism Cards */
.neo-card {
    background: var(--bg-white);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
    padding: 30px 25px;
    transition: all 0.2s ease;
}

.neo-card:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #1a1a1a;
}

.neo-card .card-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.neo-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.neo-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* Section Styles */
.section {
    padding: 100px 40px;
}

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

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

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

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
}

.step-card {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-gray);
    font-size: 15px;
}

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

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-white);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
    padding: 30px;
    text-align: left;
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.author-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 18px;
    border: 2px solid var(--text-dark);
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.author-info span {
    font-size: 13px;
    color: var(--text-light);
}

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

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

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

.faq-question:hover { background: var(--bg-light); }

.faq-question h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer p {
    padding: 0 25px 22px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 40px;
    background: var(--primary);
    text-align: center;
}

.cta-content { max-width: 700px; margin: 0 auto; }

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-white-brutal {
    display: inline-block;
    padding: 16px 45px;
    background: #fff;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: var(--border-brutal);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.btn-white-brutal:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

/* Footer */
.site-footer {
    background: var(--bg-white);
    padding: 40px;
    border-top: var(--border-brutal);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    color: var(--text-light);
    font-size: 13px;
}

/* Page Content */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--bg-light);
}

.content-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 50px 30px;
    background: var(--bg-white);
    border: var(--border-brutal);
    box-shadow: var(--shadow-brutal);
}

.content-wrapper h1, .content-wrapper h2 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.content-wrapper p {
    color: var(--text-gray);
    margin-bottom: 18px;
    line-height: 1.8;
}

.content-wrapper a { color: var(--primary); font-weight: 600; }

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 30px 0;
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

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

.blog-card:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #1a1a1a;
}

.blog-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.blog-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.blog-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* Parallax Effect */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
