/*
Theme Name: Flavor OKX
Theme URI: https://okxself.vsquaremall.co.kr
Description: Custom dark theme with orange accent, hamburger menu, hover zoom cards
Version: 1.0
Author: Custom
Text Domain: flavor-okx
*/

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

:root {
    --primary-start: #F59E0B;
    --primary-end: #D97706;
    --gradient-primary: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-dark: #1f2937;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

/* Dark Background with Floating Bubbles */
.bg-bubbles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
    animation: bubbleFloat 15s ease-in-out infinite;
    pointer-events: none;
}

.bubble-1 { width: 400px; height: 400px; top: -100px; left: -100px; }
.bubble-2 { width: 300px; height: 300px; bottom: -50px; right: -50px; animation-delay: -5s; }
.bubble-3 { width: 200px; height: 200px; top: 40%; left: 60%; animation-delay: -10s; }

@keyframes bubbleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(30px, -40px) scale(1.1); opacity: 0.7; }
    66% { transform: translate(-20px, 50px) scale(0.9); opacity: 0.4; }
}

/* Hamburger Menu 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: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.site-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.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-white);
    border-radius: 3px;
    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); }

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

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

.mobile-menu {
    position: fixed;
    top: 0; right: -300px;
    width: 300px; height: 100vh;
    background: rgba(15, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    z-index: 999;
    border-left: 1px solid var(--glass-border);
}

.mobile-menu.active { right: 0; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { margin-bottom: 20px; }
.mobile-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: block;
}
.mobile-menu a:hover { color: var(--primary-start); padding-left: 10px; }

.menu-cta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
}

.hero-content { max-width: 900px; z-index: 10; }

.hero-title {
    font-size: clamp(38px, 8vw, 68px);
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, #F59E0B 50%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-desc {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons - Fill + Shadow */
.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--primary-start);
    text-decoration: none;
    border: 2px solid var(--primary-start);
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

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

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

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

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

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

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

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

/* Hover Zoom Cards */
.zoom-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.zoom-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
}

.zoom-card .card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.zoom-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

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

/* Anti-Gravity Floating Animation */
@keyframes antiGravityFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
    75% { transform: translateY(-20px) rotate(0.5deg); }
}

.floating { animation: antiGravityFloat 6s ease-in-out infinite; will-change: transform; }
.floating:nth-child(1) { animation-delay: 0s; animation-duration: 5s; }
.floating:nth-child(2) { animation-delay: 0.5s; animation-duration: 6s; }
.floating:nth-child(3) { animation-delay: 1s; animation-duration: 7s; }
.floating:nth-child(4) { animation-delay: 1.5s; animation-duration: 5.5s; }
.floating:nth-child(5) { animation-delay: 2s; animation-duration: 6.5s; }
.floating:nth-child(6) { animation-delay: 2.5s; animation-duration: 5.2s; }

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

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

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

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

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

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

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

.stat-item {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

/* Testimonials */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.testimonial-stars {
    color: var(--primary-start);
    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(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

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

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

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.faq-question:hover { background: rgba(245, 158, 11, 0.05); }

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

.faq-toggle {
    font-size: 24px;
    color: var(--primary-start);
    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 20px;
}

.cta-box {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.cta-text {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.btn-white {
    display: inline-block;
    padding: 18px 50px;
    background: #fff;
    color: var(--primary-end);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 50px 20px 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

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

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

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

/* Page Content */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
}

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

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

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

.content-wrapper a { color: var(--primary-start); }

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

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.15);
}

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

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

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating, .bubble, .cta-box::before { animation: none; }
}
