/*
Theme Name: Huobi Theme
Theme URI: https://huobi.manna-plus.kr
Description: 후오비 테더맥스 프로모션 테마 - 그린 네온 글로우 디자인
Version: 1.0
Author: Manna Plus
Text Domain: huobi-theme
*/

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Noto Sans KR Font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&display=swap');

:root {
    --primary: #22C55E;
    --primary-dark: #16A34A;
    --primary-light: #4ADE80;
    --neon-glow: 0 0 20px rgba(34, 197, 94, 0.5), 0 0 40px rgba(34, 197, 94, 0.3), 0 0 60px rgba(34, 197, 94, 0.1);
    --neon-glow-strong: 0 0 10px rgba(34, 197, 94, 0.8), 0 0 30px rgba(34, 197, 94, 0.6), 0 0 50px rgba(34, 197, 94, 0.4);
    --text-dark: #1a1a1a;
    --text-gray: #4B5563;
    --text-light: #6B7280;
    --bg-white: #ffffff;
    --bg-light: #F9FAFB;
    --bg-dark: #0F172A;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

/* Blob/Wave Background */
.blob-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #10B981, var(--primary-dark));
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), #34D399);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll-Reveal Header */
.site-header {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: top 0.4s ease;
}

.site-header.visible {
    top: 0;
}

.site-header.at-top {
    top: 0;
    background: transparent;
    box-shadow: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    text-shadow: var(--neon-glow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    box-shadow: var(--neon-glow);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.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 Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.nav-overlay ul {
    list-style: none;
    text-align: center;
}

.nav-overlay li {
    margin: 25px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.nav-overlay.active li {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.nav-overlay a:hover {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

/* Neon Glow Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-neon {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--neon-glow);
    position: relative;
    overflow: hidden;
}

.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 ease;
}

.btn-neon:hover {
    background: var(--primary-dark);
    box-shadow: var(--neon-glow-strong);
    transform: translateY(-3px);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--neon-glow);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

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

.hero-title span {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

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

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

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Before/After Comparison */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 50px 0;
}

.comparison-item {
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.comparison-before {
    background: #FEE2E2;
    border: 2px solid #FCA5A5;
}

.comparison-after {
    background: #D1FAE5;
    border: 2px solid var(--primary-light);
    box-shadow: var(--neon-glow);
}

.comparison-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.comparison-before .comparison-label {
    color: #DC2626;
}

.comparison-after .comparison-label {
    color: var(--primary-dark);
}

.comparison-value {
    font-size: 2rem;
    font-weight: 900;
}

.comparison-before .comparison-value {
    color: #B91C1C;
    text-decoration: line-through;
}

.comparison-after .comparison-value {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

/* Border Round Cards */
.card {
    background: var(--bg-white);
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius);
    padding: 35px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 25px;
    box-shadow: var(--neon-glow);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-text {
    color: var(--text-light);
}

/* Trust Stats */
.trust-section {
    background: var(--bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.2), transparent 70%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.trust-item {
    text-align: center;
}

.trust-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: var(--neon-glow);
    margin-bottom: 10px;
}

.trust-label {
    font-size: 1rem;
    color: #9CA3AF;
}

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

.testimonial-card {
    background: var(--bg-white);
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius);
    padding: 35px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
}

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

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

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--neon-glow);
}

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

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

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

.faq-item {
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    padding: 25px 30px;
    background: var(--bg-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

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

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

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

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--bg-dark), #1E293B);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

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

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.2rem;
    color: #9CA3AF;
    margin-bottom: 35px;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: #9CA3AF;
    padding: 60px 0 30px;
}

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

.footer-brand .logo {
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    line-height: 1.7;
}

.footer-links h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, var(--bg-dark), #1E293B);
    color: #fff;
    padding: 150px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.blog-hero p {
    color: #9CA3AF;
    font-size: 1.2rem;
}

.blog-archive {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
    transform: translateY(-5px);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-placeholder span {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.blog-card-content {
    padding: 25px;
}

.blog-date {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-card-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--text-dark);
}

.blog-card-content h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Single Post */
.post-hero {
    background: linear-gradient(135deg, var(--bg-dark), #1E293B);
    color: #fff;
    padding: 150px 0 80px;
    text-align: center;
}

.post-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    max-width: 800px;
    margin: 15px auto 0;
}

.post-date {
    color: var(--primary);
    font-weight: 600;
}

.post-content-wrapper {
    padding: 60px 0;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.post-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.post-content ul, .post-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 10px;
    color: var(--text-gray);
}

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

.post-cta {
    max-width: 800px;
    margin: 50px auto;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-dark), #1E293B);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    color: #fff;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cta-box p {
    color: #9CA3AF;
    margin-bottom: 25px;
}

/* Page Styles */
.page-hero {
    background: linear-gradient(135deg, var(--bg-dark), #1E293B);
    color: #fff;
    padding: 150px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
}

.page-content-wrapper {
    padding: 60px 0;
}

.page-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

.page-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 20px;
}

.page-body p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

/* 404 Page */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.error-content h1 {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: var(--neon-glow);
    line-height: 1;
}

.error-content h2 {
    font-size: 2rem;
    margin: 20px 0;
    color: var(--text-dark);
}

.error-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-3, .steps-grid, .testimonial-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .grid-3, .steps-grid, .testimonial-grid, .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .comparison-box {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }
}

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

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

    .trust-value {
        font-size: 2.5rem;
    }
}
