:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --primary: #FF6A00;
    --primary-glow: rgba(255, 106, 0, 0.4);
    --text-main: #ffffff;
    --text-muted: #a0a0ab;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', -apple-system, sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(255,106,0,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255,106,0,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(255,60,0,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vw;
    max-width: 800px;
    max-height: 800px;
    background: url('../img/logo.webp') center/contain no-repeat;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(100%);
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }


.blog-header {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 15, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.logo-link img { height: 36px; width: auto; }

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.logo-text span { color: var(--primary); }

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s;
}

.header-btn:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Language Switcher - Refined & Discrete */
.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.lang-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.lang-btn.active {
    opacity: 1;
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.lang-btn img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-code { display: none; }

@media (max-width: 768px) {
    .lang-btn { width: 28px; height: 28px; }
    .lang-flag { font-size: 1rem; }
}

.header-btn img { border-radius: 3px; }


.blog-hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,106,0,0.1);
    border: 1px solid rgba(255,106,0,0.3);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: #fff;
}

.highlight {
    background: linear-gradient(135deg, #FF6A00 0%, #ff9944 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}


.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

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

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    padding: 0 0 100px;
}

.post-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,106,0,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255,106,0,0.08);
}

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

.post-image-wrapper {
    overflow: hidden;
    position: relative;
    display: block;
}


.post-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
}

.post-image {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    display: block;
    background: #111;
    transition: transform 0.6s ease;
}

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

.post-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(255,106,0,0.1);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
}


.view-more-container {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 100px;
}

.view-more-btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.0));
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-more-btn:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.2);
    transform: translateY(-2px);
}


.post-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.35;
    transition: color 0.2s;
}

.post-card:hover .post-title { color: var(--primary); }

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.6;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}


.blog-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}


.article-header {
    text-align: center;
    padding: 80px 0 40px;
    max-width: 800px;
    margin: 0 auto;
}

.article-header h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 16px 0 24px;
    letter-spacing: -0.5px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-hero-img {
    width: 100%;
    max-width: 850px;
    max-height: 420px;
    object-fit: contain;
    border-radius: 16px;
    margin: 0 auto 40px;
    display: block;
    border: 1px solid var(--border-color);
}

.article-content {
    max-width: 760px;
    margin: 0 auto 100px;
    font-size: 1.1rem;
    color: #d1d1d6;
    position: relative;
    z-index: 1;
}

.article-content h2 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.8rem;
    margin: 48px 0 24px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.article-content h3 {
    color: #fff;
    font-size: 1.4rem;
    margin: 32px 0 16px;
}

.article-content p { margin-bottom: 24px; }

.article-content ul, .article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li { margin-bottom: 12px; }
.article-content strong { color: #fff; }
.article-content em { color: var(--primary); font-style: normal; }


.cta-box {
    background: linear-gradient(145deg, rgba(255,106,0,0.06) 0%, rgba(0,0,0,0) 100%);
    border: 1px solid rgba(255,106,0,0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.btn-hotmart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid #ff6a00;
    color: #ff6a00;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.3s;
    animation: pulseHotmart 2s infinite;
    letter-spacing: 0.3px;
}

.btn-hotmart:hover {
    background: rgba(255,106,0,0.1);
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(255,106,0,0.25);
    color: #ff6a00;
}

@keyframes pulseHotmart {
    0% { box-shadow: 0 0 15px rgba(255,106,0,0.1); }
    50% { box-shadow: 0 0 25px rgba(255,106,0,0.3); }
    100% { box-shadow: 0 0 15px rgba(255,106,0,0.1); }
}


@media (max-width: 768px) {
    .blog-header { padding: 12px 0; position: relative; }
    .header-buttons { display: none !important; }
    .logo-text { font-size: 1.2rem; }
    .header-btn { font-size: 0.75rem; padding: 8px 16px; }
    .blog-hero h1 { font-size: 2.2rem; }
    .article-header h1 { font-size: 2rem; }
    .posts-grid { grid-template-columns: 1fr; }
    .header-content { flex-direction: column; gap: 12px; }

    
    .faq-question { padding: 16px 20px; font-size: 1rem; }
    .faq-answer-inner { padding: 0 20px 20px; }
    .free-tools-card { padding: 24px; margin: 32px auto 40px; }
    .free-tools-card h2 { font-size: 1.5rem; }
}


.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    fill: var(--primary);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer-inner p { margin-bottom: 12px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

.free-tools-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin: 40px auto 60px;
    max-width: 800px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.free-tools-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--primary);
}

.free-tools-card h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.free-tools-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

