/*
Theme Name: 바이낸스 테마
Theme URI: https://binance.manna-plus.kr
Description: 바이낸스 전용 다크 테마 - Wanted Sans 폰트, Anti-Gravity 플로팅 효과
Author: Manna Plus
Author URI: https://manna-plus.kr
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: binance-theme
*/

/* Google Fonts - Wanted Sans */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* CSS Variables */
:root {
    --primary-color: #F59E0B;
    --primary-hover: #D97706;
    --accent-color: #FBBF24;
    --bg-dark: #000000;
    --bg-dark-secondary: #111827;
    --bg-dark-tertiary: #1f2937;
    --bg-card: #374151;
    --text-light: #f9fafb;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    --border-color: #4b5563;
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
    --content-padding: 2rem;
    --border-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main) !important;
    background-color: var(--bg-dark) !important;
    color: var(--text-light) !important;
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

/* Grid Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container, .wp-site-blocks {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main) !important;
    color: var(--text-light) !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Header - Solid Fixed */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-branding {
    flex-shrink: 0;
}

.site-title {
    color: var(--text-light) !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    text-decoration: none;
}

/* Navigation - Single Row */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--bg-dark-tertiary);
    border-radius: 12px;
    padding: 0.25rem;
}

.primary-menu li {
    margin: 0;
}

.primary-menu a {
    color: var(--text-muted) !important;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    text-decoration: none;
    white-space: nowrap;
}

.primary-menu a:hover {
    color: var(--text-light) !important;
    background: var(--bg-card);
}

.primary-menu .current-menu-item a,
.primary-menu .current_page_item a {
    color: var(--text-light) !important;
    background: var(--primary-color);
}

.header-cta {
    flex-shrink: 0;
}

.header-cta .cta-button {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.9rem !important;
    transform: none;
    border-radius: 10px !important;
}

.header-cta .cta-button:hover {
    transform: translateY(-2px);
}

/* Main Content Spacing for Fixed Header */
main, .site-content {
    padding-top: 100px;
    min-height: calc(100vh - 200px);
}

/* Page Content Layout */
.page-content .container {
    max-width: 900px;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.page-content-inner {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
}

.page-content-inner h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-light) !important;
}

.page-content-inner h2:first-child {
    margin-top: 0;
}

.page-content-inner h3 {
    font-size: 1.35rem;
    color: var(--primary-color) !important;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.page-content-inner p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.page-content-inner ul,
.page-content-inner ol {
    background: var(--bg-dark-tertiary);
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
}

.page-content-inner li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.page-content-inner li strong {
    color: var(--text-light);
}

.page-content-inner a.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white !important;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-content-inner a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light) !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

/* CTA Button - Icon + Text with Skew */
.cta-button, .wp-block-button__link, button.primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
    color: var(--text-light) !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: skewX(-3deg);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.cta-button:hover, .wp-block-button__link:hover {
    transform: skewX(-3deg) translateY(-3px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
}

.cta-button span, .wp-block-button__link span {
    transform: skewX(3deg);
}

.cta-button svg, .cta-button i {
    transform: skewX(3deg);
}

/* Secondary Button */
.secondary-button {
    background: transparent !important;
    border: 2px solid var(--border-color) !important;
    color: var(--text-light) !important;
}

.secondary-button:hover {
    border-color: var(--primary-color) !important;
    background: rgba(59, 130, 246, 0.1) !important;
}

/* Cards - Border Round with Anti-Gravity Float */
.card, .benefit-card, .wp-block-group {
    background: var(--bg-dark-secondary) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover, .benefit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 25px 80px rgba(59, 130, 246, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

/* 3 Column Layout */
.grid-3, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

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

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

/* 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-element {
    animation: antiGravityFloat 6s ease-in-out infinite;
    will-change: transform;
}

.floating-element:nth-child(1) { animation-delay: 0s; animation-duration: 5s; }
.floating-element:nth-child(2) { animation-delay: 0.5s; animation-duration: 6s; }
.floating-element:nth-child(3) { animation-delay: 1s; animation-duration: 7s; }
.floating-element:nth-child(4) { animation-delay: 1.5s; animation-duration: 5.5s; }

/* 3D Card Float */
@keyframes float3D {
    0%, 100% {
        transform: translateY(0) translateZ(0) rotateX(0) rotateY(0);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: translateY(-15px) translateZ(20px) rotateX(3deg) rotateY(3deg);
        box-shadow: 0 30px 60px rgba(59, 130, 246, 0.2);
    }
}

.card-float {
    animation: float3D 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* Floating Bubbles Background */
.floating-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: bubbleFloat 12s ease-in-out infinite;
    pointer-events: none;
}

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

/* Section Styling */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits Section */
.benefit-card h3 {
    color: var(--primary-color) !important;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

/* Blog Page Header */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light) !important;
}

.blog-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

/* Blog Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

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

/* Blog Posts / Articles */
.post-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.post-card-inner {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover .post-card-inner {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.post-thumbnail {
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-dark-tertiary);
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Placeholder for posts without thumbnail */
.post-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark-tertiary), var(--bg-card));
}

.post-thumbnail-placeholder a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.placeholder-icon {
    color: var(--text-muted);
    opacity: 0.5;
}

.post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.entry-title a {
    color: var(--text-light) !important;
    font-weight: 700;
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--primary-color) !important;
}

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

.entry-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
}

.entry-excerpt p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* Single Post Content */
.single-post .container {
    max-width: 900px;
}

.article-full {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-full .entry-header {
    text-align: center;
    padding: 3rem 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-full .entry-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.article-full .entry-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-full .cat-links a {
    background: var(--primary-color);
    color: white !important;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-image {
    aspect-ratio: 21/9;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-full .entry-content {
    padding: 3rem;
}

.entry-content h2 {
    color: var(--text-light);
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.entry-content h3 {
    color: var(--primary-color) !important;
    font-size: 1.35rem;
    margin-top: 2rem;
}

.entry-content ul, .entry-content ol {
    background: var(--bg-dark-tertiary);
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
}

.entry-content li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.entry-content li strong {
    color: var(--text-light);
}

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

.entry-content a:hover {
    text-decoration: underline;
}

/* Blockquote */
blockquote {
    background: var(--bg-dark-tertiary);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

blockquote p {
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-dark-secondary);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--bg-dark-tertiary);
    color: var(--text-light);
    font-weight: 700;
}

td {
    color: var(--text-muted);
}

tr:hover td {
    background: rgba(59, 130, 246, 0.05);
}

/* Forms */
input, textarea, select {
    background: var(--bg-dark-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-light) !important;
    padding: 1rem 1.25rem !important;
    border-radius: 12px !important;
    font-family: var(--font-main) !important;
    font-size: 1rem !important;
    width: 100%;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2) !important;
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

/* Contact Form 7 */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
}

.wpcf7-form p {
    margin-bottom: 1.5rem;
}

.wpcf7-form label {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.wpcf7-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
    color: white !important;
    padding: 1rem 2.5rem !important;
    border: none !important;
    cursor: pointer;
    font-weight: 700 !important;
}

/* Footer */
.site-footer {
    background: var(--bg-dark-secondary) !important;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding: 4rem 0;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    color: var(--text-light) !important;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.footer-column h4 {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary-color) !important;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .header-container {
        gap: 1rem;
    }

    .primary-menu a {
        padding: 0.5rem 0.875rem;
        font-size: 0.85rem;
    }

    .header-cta .cta-button {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .header-cta .cta-button span {
        display: none;
    }

    .header-cta .cta-button svg {
        margin: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --content-padding: 1.25rem;
    }

    body {
        font-size: 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .header-container {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }

    .site-branding {
        order: 1;
    }

    .header-cta {
        order: 2;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        margin-top: 0.75rem;
        justify-content: center;
    }

    .primary-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.125rem;
        padding: 0.25rem;
    }

    .primary-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

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

    .hero-subtitle, .hero-description {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    .section {
        padding: 3rem 0;
    }

    .page-content-inner {
        padding: 1.5rem;
    }

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

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

    .article-full .entry-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .article-full .entry-content {
        padding: 1.5rem;
    }

    .article-full .entry-title {
        font-size: 1.5rem;
    }

    main, .site-content {
        padding-top: 130px;
    }
}

/* Print */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    h1, h2, h3 {
        color: black !important;
    }
}

/* Tethermax CTA Banner */
.tethermax-banner {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    padding: 1rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tethermax-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.tethermax-banner a {
    color: white !important;
    font-weight: 700;
    font-size: 1.1rem;
}

/* FAQ Accordion */
.faq-item {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-light);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
}

/* Front Page Sections */
.front-page {
    padding-top: 0 !important;
}

.front-page .hero-section {
    padding-top: 120px;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.floating-elements {
    position: absolute;
    inset: 0;
}

.float-element {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: antiGravityFloat 8s ease-in-out infinite;
}

.float-1 { top: 10%; left: 10%; animation-delay: 0s; }
.float-2 { top: 50%; right: 10%; animation-delay: 2s; width: 400px; height: 400px; }
.float-3 { bottom: 20%; left: 30%; animation-delay: 4s; width: 250px; height: 250px; }

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

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white !important;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-light) !important;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-dark-secondary);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

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

.feature-card {
    background: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-card h3 {
    color: var(--text-light) !important;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Latest Posts Section */
.latest-posts-section {
    padding: 6rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

.view-all {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.view-all:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-dark-secondary), var(--bg-dark-tertiary));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-box p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}

.cta-box .btn {
    position: relative;
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 576px) {
    .nav-links {
        grid-template-columns: 1fr;
    }
}

.nav-previous,
.nav-next {
    background: var(--bg-dark-tertiary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    border-color: var(--primary-color);
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.nav-previous a,
.nav-next a {
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 1rem;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: var(--primary-color) !important;
}

/* Entry Footer (Tags) */
.entry-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.tag-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-links a {
    background: var(--bg-dark-tertiary);
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag-links a:hover {
    background: var(--primary-color);
    color: white !important;
}

/* Pagination */
.navigation.pagination {
    margin-top: 3rem;
    text-align: center;
}

.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    margin: 0 0.25rem;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
}

/* About Section */
.about-section {
    background: var(--bg-dark-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-points li {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-dark-tertiary);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    color: var(--text-muted);
}

.about-points li strong {
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works-section {
    background: var(--bg-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

.step-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    color: var(--text-light) !important;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.benefit-card {
    padding: 2rem;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--primary-color);
}

.benefit-card h3 {
    color: var(--primary-color) !important;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.benefit-stat {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    padding: 4rem 0;
}

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

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

.trust-item {
    padding: 1.5rem;
}

.trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.trust-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-dark-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.testimonial-card {
    background: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--primary-color);
}

.testimonial-rating {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-content {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

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

/* FAQ Section */
.faq-section {
    background: var(--bg-dark);
}

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

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

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

.faq-question svg {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Feature Grid 6 columns on desktop */
.features-section .features-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 576px) {
    .features-section .features-grid {
        grid-template-columns: 1fr;
    }
}
