/* CSS Variables */

:root {
    --primary: #0A113A;
    --primary-light: #1A2359;
    --blue: #007BFF;
    --blue-dark: #0056b3;
    --yellow: #FFC107;
    --orange: #FF6B00;
    --orange-dark: #cc5500;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: var(--blue);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Typography */
.text-gradient {
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--blue);
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

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

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-cta {
    background: var(--orange);
    color: var(--white);
    font-size: 18px;
    padding: 15px 35px;
    border-radius: 30px;
}

.btn-cta:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

.navbar-brand img {
    height: 40px;
}

.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

.navbar.scrolled .logo-dark {
    display: block;
}

.navbar.scrolled .logo-light {
    display: none;
}

.navbar-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--primary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--blue);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .navbar-toggle span {
    background: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image img {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

/* CTA Mid */
.cta-mid {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 58, 0.85);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Why Us */
.why-us {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.why-icon {
    font-size: 40px;
    color: var(--orange);
    margin-bottom: 20px;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

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

.pricing-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
}

.pricing-header h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.pricing-card.featured .pricing-header h3 {
    color: var(--white);
}

.price-old {
    display: block;
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 14px;
}

.price-current {
    display: block;
    font-size: 20px;
    color: var(--blue);
}

.pricing-card.featured .price-current {
    color: var(--yellow);
}

.price-current strong {
    font-size: 48px;
}

.price-period {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.pricing-card.featured .price-old,
.pricing-card.featured .price-period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-body ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-body li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-body li i.fa-check {
    color: #28a745;
}

.pricing-body li i.fa-times {
    color: #dc3545;
}

.btn-outline-pricing {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--blue);
    color: var(--blue);
    border-radius: 5px;
    font-weight: 600;
}

.btn-outline-pricing:hover {
    background: var(--blue);
    color: var(--white);
}

.btn-primary-pricing {
    display: inline-block;
    padding: 12px 30px;
    background: var(--blue);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
}

.btn-primary-pricing:hover {
    background: var(--white);
    color: var(--blue);
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 32px;
    color: var(--blue);
    margin-bottom: 20px;
}

/* Clients */
.clients {
    padding: 80px 0;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.client-item img {
    max-height: 60px;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition);
}

.client-item img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Portfolio */
.portfolio {
    padding: 100px 0;
    background: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 58, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: var(--white);
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay h4 {
    transform: translateY(0);
}

.portfolio-overlay .btn {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 8px 20px;
}

.portfolio-overlay .btn:hover {
    background: var(--white);
    color: var(--primary);
}

/* CTA Final */
.cta-final {
    padding: 100px 0;
    background: var(--primary);
    text-align: center;
}

.cta-final h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 18px;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-list i {
    color: var(--yellow);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--white);
}

/* Floating Utilities */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wa-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--blue);
    color: var(--white);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
}

/* Blog List */
.blog-header {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width=\'20\' height=\'20\' viewBox=\'0 0 20 20\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'%23ffffff\' fill-opacity=\'0.05\' fill-rule=\'evenodd\'%3E%3Ccircle cx=\'3\' cy=\'3\' r=\'3\'/%3E%3Ccircle cx=\'13\' cy=\'13\' r=\'3\'/%3E%3C/g%3E%3C/svg%3E");
}

.blog-header h1 {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.blog-header p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.blog-categories {
    padding: 40px 0 20px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.category-badge {
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-badge:hover,
.category-badge.active {
    background: linear-gradient(135deg, var(--primary), #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.blog-list {
    padding: 40px 0 100px;
}

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

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

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

.blog-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #cbd5e1;
}

.blog-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-date {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.blog-card h2 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

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

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

.blog-card p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
    flex: 1;
}

.blog-read-more {
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-read-more {
    gap: 12px;
}

.blog-empty {
    text-align: center;
    padding: 80px 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.blog-empty i {
    font-size: 80px;
    color: #e2e8f0;
    margin-bottom: 25px;
}

.blog-empty h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.blog-empty p {
    color: #64748b;
    margin-bottom: 30px;
}

/* Blog Detail */
.blog-detail-header {
    padding: 120px 0 40px;
    background: var(--primary-light);
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--bg-light);
}

.blog-detail {
    padding: 60px 0;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-featured-img {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.article-featured-img img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-meta {
    margin-bottom: 20px;
    color: var(--text-light);
}

.blog-article h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.related-posts {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-posts h3 {
    margin-bottom: 30px;
    text-align: center;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid #eee;
    color: var(--primary);
    border-radius: 5px;
    font-weight: 600;
}

.page-link:hover,
.page-link.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid,
    .why-grid,
    .pricing-grid,
    .features-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-toggle {
        display: flex;
        z-index: 1001;
    }

    .navbar-toggle.active span {
        background: var(--primary);
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .nav-link {
        color: var(--primary);
    }

    .services-grid,
    .why-grid,
    .pricing-grid,
    .features-grid,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

/* TOC & Layout */
.blog-detail-layout {
    display: flex;
    gap: 40px;
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
}

.blog-main {
    flex: 1;
    min-width: 0;
}

.blog-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sticky-toc {
    position: sticky;
    top: 100px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    border: 1px solid #eee;
}

.sticky-toc h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.sticky-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sticky-toc li {
    margin-bottom: 10px;
}

.sticky-toc li.toc-h3 {
    padding-left: 15px;
    font-size: 0.9em;
}

.sticky-toc a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    display: block;
    line-height: 1.4;
    transition: color 0.2s;
}

.sticky-toc a:hover {
    color: var(--blue-dark);
}

.sticky-toc a.active {
    color: var(--blue-dark);
    font-weight: 700;
}

@media (max-width: 992px) {
    .blog-detail-layout {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }

    .sticky-toc {
        position: static;
        max-height: none;
    }
}