

/* CSS from index.html (Base Styles) */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #1f1f35;
    --text-primary: #ffffff;
    --text-secondary: #b8b8c8;
    --text-muted: #808080;
    --accent: #6c5ce7;
    --accent-hover: #7c6ff7;
    --accent-light: rgba(108, 92, 231, 0.1);
    --gradient-1: linear-gradient(135deg, #6c5ce7, #8b7cf7);
    --gradient-2: linear-gradient(135deg, #ec4899, #f97316);
    --gradient-3: linear-gradient(135deg, #06b6d4, #6c5ce7);
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.25);
    --radius: 12px;
    --radius-sm: 8px;
    --header-bg: rgba(10, 10, 15, 0.9);
}

[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f5;
    --text-primary: #1a1a2e;
    --text-secondary: #555570;
    --text-muted: #8888a0;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --header-bg: rgba(255, 255, 255, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}


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

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

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

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.logo-text span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--text-primary);
    background: var(--accent-light);
    transform: translateY(-1px);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: var(--gradient-1);
}

.nav a i {
    margin-right: 6px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: scale(1.05);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--text-primary);
    background: var(--accent-light);
}

.mobile-menu a i {
    margin-right: 10px;
    width: 20px;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.hero.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-bg .orb-1 {
    width: 500px;
    height: 500px;
    background: #6c5ce7;
    top: -100px;
    right: -100px;
}

.hero-bg .orb-2 {
    width: 400px;
    height: 400px;
    background: #ec4899;
    bottom: -100px;
    left: -100px;
    animation-delay: 3s;
}

.hero-bg .orb-3 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    top: 50%;
    left: 50%;
    animation-delay: 5s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-out {
    animation: slideOut 0.3s ease-out forwards;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--accent-light);
    border: 1px solid rgba(108, 92, 231, 0.3);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 .gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 500px;
}

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

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover,
.btn-primary:active {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
}

.stat-item h3 span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 400px;
}

.floating-card {
    position: absolute;
    border-radius: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    animation: cardFloat 6s ease-in-out infinite;
}

.fc-1 {
    top: 0;
    left: 0;
    width: 280px;
    z-index: 3;
}

.fc-2 {
    top: 60px;
    right: 0;
    width: 240px;
    z-index: 2;
    animation-delay: 2s;
}

.fc-3 {
    bottom: 0;
    left: 30px;
    width: 260px;
    z-index: 1;
    animation-delay: 4s;
}

@keyframes cardFloat {

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

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

.fc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 14px;
}

.fc-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.fc-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.fc-bar {
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    margin-top: 12px;
    overflow: hidden;
}

.fc-bar-fill {
    height: 100%;
    border-radius: 3px;
}

/* SECTIONS */
.section {
    padding: 120px 32px;
    max-width: 1300px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title .gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* TOOL/BLOG CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.card-grid .card {
    opacity: 1;
    transform: translateY(0);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover,
.card:active {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .card-shimmer {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.card-badge {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--accent);
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.6;
}

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

.card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.card-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    background: var(--bg-primary);
    color: var(--text-muted);
    font-weight: 500;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.3s;
}

.card:hover .card-link {
    gap: 10px;
}

.card-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 16px;
    background: var(--bg-primary);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* VIEW MORE */
.view-all {
    text-align: center;
    margin-top: 48px;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* NEWSLETTER */
.newsletter {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 24px;
    max-width: 1252px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0.05;
}

.newsletter h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    position: relative;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--accent);
}

/* FOOTER */
.footer {
    padding: 80px 24px 30px;
    margin-top: 100px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin: 16px 0;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

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

    .hero-content {
        max-width: 100%;
    }

    .hero p {
        margin: 0 auto 36px;
    }

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

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

    .hero-visual {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

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

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

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

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

    .newsletter {
        padding: 40px 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

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

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

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

/* Page Specific Styles from Other Files */

/* Blog Detail Page */
.blog-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
    margin-bottom: 32px;
    font-family: inherit
}

.back-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent)
}

.blog-cover {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 4rem;
    color: rgba(255, 255, 255, .2)
}

.blog-header-detail {
    margin-bottom: 32px
}

.blog-header-detail h1 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px
}

.blog-meta-detail {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: .9rem
}

.blog-meta-detail span {
    display: flex;
    align-items: center;
    gap: 6px
}

.blog-badge {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--accent);
    margin-bottom: 16px;
    display: inline-block
}

.blog-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 32px
}

.blog-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 20px
}

.blog-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 28px 0 14px
}

.blog-content ul {
    margin: 0 0 20px 24px;
    color: var(--text-secondary)
}

.blog-content li {
    margin-bottom: 8px;
    font-size: 1rem
}

.blog-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    margin: 20px 0;
    background: var(--accent-light);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary)
}

.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px
}

.blog-tag {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .8rem;
    background: var(--bg-primary);
    color: var(--text-muted);
    font-weight: 500
}

.share-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border)
}

.share-section span {
    font-size: .9rem;
    color: var(--text-muted);
    font-weight: 600
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    font-size: 1rem
}

.share-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent)
}

/* Tools/Blog List Page Common Styles */
.page-hero {
    padding: 120px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.page-hero .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .3
}

.page-hero .orb-1 {
    width: 400px;
    height: 400px;
    background: #6c5ce7;
    top: -100px;
    right: 10%
}

.page-hero .orb-2 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    bottom: -50px;
    left: 10%
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
    position: relative
}

.page-hero h1 .gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    position: relative
}

.search-filter {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px 40px;
    position: relative
}

.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.search-input-wrap {
    flex: 1;
    min-width: 280px;
    position: relative
}

.search-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem
}

.search-input-wrap input {
    width: 100%;
    padding: 14px 20px 14px 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    transition: border .3s
}

.search-input-wrap input:focus {
    border-color: var(--accent)
}

.search-input-wrap input::placeholder {
    color: var(--text-muted)
}

.category-select {
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    min-width: 180px;
    transition: border .3s
}

.category-select:focus {
    border-color: var(--accent)
}

.category-tabs,
.cat-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.cat-tab {
    padding: 8px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
    font-family: inherit
}

.cat-tab:hover,
.cat-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent)
}

.results-info {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px
}

.no-results {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted)
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    opacity: .5
}

.no-results h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-secondary)
}

/* Tool Detail Page */
.tool-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 24px 80px
}

.tool-header-detail {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap
}

.tool-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0
}

.tool-info h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 8px
}

.tool-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center
}

.tool-cat-badge {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--accent)
}

.tool-date {
    font-size: .85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px
}

.tool-body {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 32px
}

.tool-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px
}

.tool-body p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px
}

.tool-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px
}

.tool-tag {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .8rem;
    background: var(--bg-primary);
    color: var(--text-muted);
    font-weight: 500
}

.tool-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.related-section {
    margin-top: 60px
}

.related-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px
}

.related-grid .related-card {
    opacity: 1;
    transform: translateY(0);
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    cursor: pointer;
    transition: all .3s
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(108, 92, 231, .3)
}

.related-card .rc-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px
}

.related-card .rc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff
}

.related-card h4 {
    font-size: 1rem;
    font-weight: 700
}

.related-card p {
    font-size: .85rem;
    color: var(--text-muted)
}

/* SEARCH MODAL */
.search-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-toggle:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    display: none;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
    opacity: 1;
}

.search-container {
    width: 100%;
    max-width: 700px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.active .search-container {
    transform: translateY(0);
}

.search-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input-box i {
    font-size: 1.2rem;
    color: var(--accent);
}

.search-input-box input {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
}

.search-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.search-close:hover {
    background: #ef4444;
    color: #fff;
}

.search-results {
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px;
}

.search-results::-webkit-scrollbar {
    width: 5px;
}

.search-group {
    margin-bottom: 20px;
}

.search-group-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    padding: 10px 15px;
}

.search-item {
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-item:hover {
    background: var(--bg-card-hover);
}

.search-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.search-item-info {
    flex: 1;
}

.search-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.search-item-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.search-no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.search-no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

/* VIDEO SHOWCASE STYLES */
.video-section {
    position: relative;
    padding: 100px 0;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info-card {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.v-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.v-card-text h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.v-card-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* PROFESSIONAL REFINEMENTS */
.hero {
    background: radial-gradient(circle at 50% -20%, rgba(108, 92, 231, 0.15), transparent 70%);
}

.section {
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
}

.btn {
    letter-spacing: 0.5px;
    font-weight: 600;
}

.gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(108, 92, 231, 0.3));
}

[data-theme="light"] .video-container {
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .video-info-card {
    background: rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {


    .video-container {
        padding: 12px;
        border-radius: 20px;
    }
}

/* FLOATING ANIMATIONS */
@keyframes float {

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

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

@keyframes float-alt {

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

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

.fc-1 {
    animation: float 6s ease-in-out infinite;
}

.fc-2 {
    animation: float-alt 8s ease-in-out infinite;
}

.fc-3 {
    animation: float 7s ease-in-out infinite;
}

.section {
    position: relative;
    overflow: hidden;
}