/* ===== Article Shared Styles — UnlockTool.us ===== */
/* Google Fonts: Inter — loaded in HTML head, do NOT use @import (render-blocking) */

/* ===== Reset & Base ===== */
* {
    box-sizing: border-box
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.85;
    color: #2d3436;
    background: #f0f2f5;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto
}

a {
    transition: color 0.2s
}

/* ===== Reading Progress Bar ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #e94560, #8e44ad, #2e86c1);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(233, 69, 96, 0.5);
}

/* ===== Sticky Navbar ===== */
.article-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    transition: all 0.3s;
}

.article-navbar .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.article-navbar .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.article-navbar .nav-logo img {
    height: 32px;
    border-radius: 6px
}

.article-navbar .nav-logo span {
    background: linear-gradient(135deg, #e94560, #ff6b81);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-navbar .nav-links {
    display: flex;
    gap: 20px;
    align-items: center
}

.article-navbar .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 6px 0;
    position: relative;
}

.article-navbar .nav-links a:hover {
    color: #fff
}

.article-navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s;
}

.article-navbar .nav-links a:hover::after {
    width: 100%
}

.article-navbar .nav-cta {
    background: linear-gradient(135deg, #e94560, #c0392b);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.article-navbar .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4)
}

.article-navbar .nav-cta::after {
    display: none !important
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px
}

/* ===== Breadcrumb ===== */
.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.breadcrumb-nav .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px
}

.breadcrumb-nav a {
    color: #2e86c1;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.2s
}

.breadcrumb-nav a:hover {
    color: #e94560
}

.breadcrumb-nav span {
    color: #95a5a6;
    font-size: 0.82rem
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M30 0L60 30 30 60 0 30z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -10%;
    right: -10%;
    height: 100px;
    background: #f0f2f5;
    border-radius: 50%;
}

.hero-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.hero-section .lead {
    font-size: 1.05rem;
    opacity: 0.88;
    max-width: 680px;
    position: relative;
    line-height: 1.7;
    font-weight: 400;
}

/* ===== Content Wrapper ===== */
.content-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 20px 60px rgba(0, 0, 0, 0.06);
    margin-top: -60px;
    padding: 55px 50px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ===== Typography ===== */
.content-wrapper p {
    font-size: 0.98rem;
    color: #2d3436;
    margin-bottom: 18px;
    font-weight: 400;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 18px;
    padding-left: 22px;
}

.content-wrapper li {
    padding: 5px 0;
    font-size: 0.95rem;
    line-height: 1.75;
}

.content-wrapper a {
    color: #2e86c1;
    font-weight: 500
}

.content-wrapper a:hover {
    color: #e94560
}

/* ===== Headings ===== */
h2 {
    margin-top: 48px;
    padding-bottom: 16px;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    border-radius: 3px;
}

h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 28px;
    letter-spacing: -0.2px
}

/* ===== Table of Contents ===== */
.toc {
    border-radius: 16px;
    padding: 28px 30px;
    margin: 30px 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.toc h3 {
    margin: 0 0 16px;
    font-size: 1.05rem;
    letter-spacing: 0
}

.toc ol {
    margin: 0;
    padding-left: 22px;
    counter-reset: toc-item
}

.toc li {
    padding: 6px 0;
    list-style: none;
    counter-increment: toc-item
}

.toc li::before {
    content: counter(toc-item) '.';
    font-weight: 700;
    margin-right: 8px;
    font-size: 0.9rem;
}

.toc a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s;
}

.toc a:hover {
    text-decoration: underline
}

/* ===== Highlight Boxes ===== */
.highlight-box {
    padding: 22px 26px;
    border-radius: 14px;
    margin: 28px 0;
    border-left: 4px solid;
    position: relative;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    opacity: 0.03;
    pointer-events: none;
}

.highlight-box p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.75
}

.highlight-box strong {
    font-weight: 700
}

.highlight-box a {
    font-weight: 600
}

.highlight-box.success,
.highlight-box:not(.warning):not(.info):not(.danger) {
    background: linear-gradient(135deg, #f0faf4, #e8f5e9);
    border-color: #27ae60;
}

.highlight-box.warning {
    background: linear-gradient(135deg, #fefbf3, #fef9e7);
    border-color: #f39c12
}

.highlight-box.info {
    background: linear-gradient(135deg, #f3f8fd, #ebf5fb);
    border-color: #2e86c1
}

.highlight-box.danger {
    background: linear-gradient(135deg, #fdf3f3, #fdedec);
    border-color: #e74c3c
}

/* ===== Feature Grid ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.feature-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1
}

.feature-card i {
    font-size: 2.2rem;
    margin-bottom: 14px;
    transition: transform 0.3s
}

.feature-card:hover i {
    transform: scale(1.1)
}

.feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px
}

.feature-card p {
    font-size: 0.82rem;
    color: #636e72;
    margin: 0;
    line-height: 1.5
}

/* ===== Stat Row ===== */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.stat-card {
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.stat-card .number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    position: relative
}

.stat-card .label {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 6px;
    position: relative;
    font-weight: 500
}

/* ===== Compare Table ===== */
.compare-table,
.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin: 28px 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.compare-table th,
.price-table th {
    color: #fff;
    padding: 14px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compare-table td,
.price-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.88rem;
    text-align: center;
    transition: background 0.2s;
}

.compare-table tr:hover td,
.price-table tr:hover td {
    background: #f8f9ff !important
}

.compare-table tr:last-child td,
.price-table tr:last-child td {
    border-bottom: none
}

.compare-table tr:nth-child(even) td,
.price-table tr:nth-child(even) td {
    background: #fafbfc
}

.check {
    color: #27ae60;
    font-size: 1.15rem
}

.cross {
    color: #e74c3c;
    font-size: 1.15rem
}

.price-hot {
    background: linear-gradient(135deg, #e94560, #c0392b);
    color: #fff;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

/* ===== Review Cards ===== */
.review-mini {
    background: #fff;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 16px 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    padding-left: 28px;
    transition: all 0.3s;
}

.review-mini::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f1c40f, #f39c12);
    border-radius: 4px 0 0 4px;
}

.review-mini:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px)
}

.review-mini .stars {
    color: #f1c40f;
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 2px
}

.review-mini .author {
    font-weight: 700;
    font-size: 0.88rem;
    margin-top: 10px
}

.review-mini .text {
    color: #555;
    font-size: 0.93rem;
    font-style: italic;
    line-height: 1.7
}

/* ===== Tool Cards ===== */
.tool-card,
.platform-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 30px;
    margin: 28px 0;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.tool-card::before,
.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tool-card:hover,
.platform-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
    transform: translateY(-3px);
}

.tool-card:hover::before,
.platform-card:hover::before {
    opacity: 1
}

.tool-card .tool-header,
.platform-card .platform-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.tool-card .tool-icon,
.platform-card .platform-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tool-card h3,
.platform-card h3 {
    margin: 0;
    font-size: 1.2rem
}

.tool-card .tool-price {
    background: linear-gradient(135deg, #e94560, #c0392b);
    color: #fff;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-block;
    margin: 10px 0;
}

.tool-card .tool-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.tool-card .tool-features li {
    font-size: 0.88rem;
    padding: 4px 0
}

.platform-card .rating {
    font-size: 1.05rem;
    margin: 10px 0
}

/* ===== Step Boxes ===== */
.step-box {
    background: #fafbfc;
    border-radius: 14px;
    padding: 24px 26px;
    margin: 14px 0;
    border-left: 4px solid #27ae60;
    counter-increment: step;
    transition: all 0.3s;
}

.step-box:hover {
    background: #f5f6f8;
    transform: translateX(4px)
}

.step-box h4 {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1rem
}

.step-box h4::before {
    content: 'Bước ' counter(step) ': ';
    color: #27ae60;
    font-weight: 800
}

.step-box p {
    margin: 0;
    font-size: 0.93rem
}

ol.steps {
    counter-reset: step
}

/* ===== Compare Box ===== */
.compare-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 28px 0
}

.compare-card {
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s
}

.compare-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08)
}

.compare-card.rent {
    background: linear-gradient(135deg, #f0faf4, #e8f5e9);
    border: 2px solid #27ae60
}

.compare-card.buy {
    background: linear-gradient(135deg, #fefbf3, #fef9e7);
    border: 2px solid #f39c12
}

.compare-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.05rem
}

.compare-card .price {
    font-size: 2rem;
    font-weight: 800;
    margin: 12px 0
}

/* ===== Images ===== */
.img-article {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 24px 0 8px;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.img-article:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: scale(1.01)
}

.img-caption {
    text-align: center;
    color: #95a5a6;
    font-size: 0.82rem;
    margin-top: 4px;
    margin-bottom: 24px;
    font-style: italic;
    font-weight: 400;
}

/* ===== CTA Section ===== */
.cta-section {
    color: #fff;
    padding: 45px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 45px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.cta-section h2 {
    border: none !important;
    margin-top: 0;
    color: #fff;
    position: relative
}

.cta-section h2::after {
    display: none !important
}

.cta-btn {
    display: inline-block;
    background: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin: 8px;
    transition: all 0.35s;
    font-size: 0.95rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* ===== FAQ Items ===== */
.faq-item {
    background: #fafbfc;
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.faq-item:hover {
    background: #f5f6f8;
    border-color: rgba(0, 0, 0, 0.08)
}

.faq-item h3 {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 10px
}

.faq-item p {
    color: #555;
    margin: 0;
    line-height: 1.7;
    font-size: 0.93rem
}

/* ===== Related Posts ===== */
.related-posts {
    margin: 35px 0;
    padding: 28px;
    background: #fafbfc;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.related-posts h3 {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.05rem
}

.related-posts ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.related-posts li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04)
}

.related-posts li:last-child {
    border-bottom: none
}

.related-posts a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.93rem;
    transition: all 0.2s;
    display: block;
}

.related-posts a:hover {
    transform: translateX(5px)
}

/* ===== Footer ===== */
.article-footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 35px 0;
    text-align: center;
    margin-top: 60px;
}

.article-footer p {
    margin: 0;
    font-size: 0.88rem
}

.article-footer .copyright {
    opacity: 0.6
}

.article-footer .contact {
    opacity: 0.4;
    margin-top: 8px;
    font-size: 0.82rem
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #c0392b);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.4)
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1)
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0)
}

/* ===== Responsive ===== */
@media(max-width:768px) {
    .hero-section {
        padding: 60px 15px 80px
    }

    .hero-section h1 {
        font-size: 1.5rem
    }

    .hero-section .lead {
        font-size: 0.95rem
    }

    .content-wrapper {
        padding: 28px 18px;
        margin: 0 10px;
        margin-top: -35px;
        border-radius: 16px;
    }

    h2 {
        font-size: 1.3rem;
        margin-top: 35px
    }

    h3 {
        font-size: 1.05rem
    }

    .feature-grid {
        grid-template-columns: 1fr
    }

    .stat-row {
        grid-template-columns: repeat(2, 1fr)
    }

    .compare-box {
        grid-template-columns: 1fr
    }

    .compare-table,
    .price-table {
        font-size: 0.78rem
    }

    .compare-table th,
    .compare-table td,
    .price-table th,
    .price-table td {
        padding: 8px 6px
    }

    .tool-card .tool-features {
        grid-template-columns: 1fr
    }

    .toc {
        padding: 22px 18px
    }

    .cta-section {
        padding: 30px 20px
    }

    .cta-btn {
        padding: 12px 28px;
        font-size: 0.88rem;
        display: block;
        margin: 10px auto
    }

    .article-navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .article-navbar .nav-links.active {
        display: flex
    }

    .nav-hamburger {
        display: block
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 0.95rem
    }
}

@media(max-width:480px) {
    .hero-section h1 {
        font-size: 1.3rem
    }

    .content-wrapper {
        padding: 22px 14px
    }

    .stat-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .stat-card .number {
        font-size: 1.6rem
    }
}