* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    scroll-behavior: smooth;
    color: #e2e8f0;
    line-height: 1.6;
    background: #0a0f1a;
}
:root {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg-dark: #0a0f1a;
    --bg-card: #111827;
    --bg-card-hover: #1f2937;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --border: #1f2937;
    --glow: rgba(59, 130, 246, 0.3);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

header {
    background: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-mark {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
    padding: 4px;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 0 0 2px rgba(96, 165, 250, 0.22),
        0 10px 24px rgba(2, 6, 23, 0.24);
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 3px;
}
nav ul {
    display: flex;
    gap: 36px;
}
nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
    letter-spacing: 0.5px;
}
nav a:hover { color: var(--primary-light); }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 0.2px;
}
.nav-action-primary {
    padding: 10px 20px;
    background: transparent;
    color: var(--primary-light);
    border: 1px solid var(--primary);
}
.nav-action-primary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px var(--glow);
}
.nav-action-secondary {
    border: 1px solid var(--border);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}
.nav-action-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
}
.hero-banner {
    background: #020617;
}
.hero-banner-track {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}
.hero-slide-link-cover {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}
.hero-slide-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-slide-media-image {
    background-size: cover;
    background-position: center;
}
.hero-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #020617;
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.62) 38%, rgba(2, 6, 23, 0.18) 72%, rgba(2, 6, 23, 0.52) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.18) 0%, rgba(2, 6, 23, 0.58) 100%);
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: 136px 40px 96px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.hero-slide-content h2 {
    max-width: 720px;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 68px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.04em;
}
.hero-slide-content p {
    max-width: 720px;
    font-size: 20px;
    color: rgba(226, 232, 240, 0.92);
    margin-bottom: 42px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-buttons-inline {
    align-items: center;
}
.hero-buttons-inline .hero-btn {
    min-width: 166px;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, color 0.3s, background 0.3s;
}
.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 30px var(--glow);
    border: none;
}
.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.5);
}
.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    border: 1px solid rgba(255, 255, 255, 0.85);
}
.hero-btn-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 1);
    color: #1d4ed8;
}
.hero-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 42px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
}
.hero-banner-dot {
    width: 12px;
    height: 12px;
    border: none;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}
.hero-banner-dot.is-active {
    width: 34px;
    background: #ffffff;
}
.hero-banner-dot:hover {
    transform: scale(1.08);
}
.hero-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 96px;
    height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(18px);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}
.hero-video-play:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(255, 255, 255, 0.24);
}
.hero-video-play-icon {
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 24px solid #ffffff;
}
.hero-slide.is-playing .hero-video-play {
    opacity: 0;
    pointer-events: none;
}
.hero-inline-play {
    cursor: pointer;
}
.partner-showcase {
    padding: 40px 40px 80px;
    background: linear-gradient(180deg, #0a0f1a 0%, #080c14 100%);
}
.partner-showcase-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.96) 0%, rgba(11, 18, 32, 0.98) 100%);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.28);
}
.partner-showcase-card .section-title {
    margin-bottom: 24px;
}
.partner-showcase-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.features {
    padding: 100px 40px;
    background: var(--bg-dark);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s;
}
.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow);
}
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}
.feature-card h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.products {
    padding: 100px 40px;
    background: #080c14;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s;
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--glow);
}
.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-badge.new {
    background: linear-gradient(135deg, var(--accent), #d97706);
}
.product-image {
    height: 160px;
    background: linear-gradient(135deg, #1a2332 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    border-bottom: 1px solid var(--border);
}
.product-content {
    padding: 24px;
}
.product-content h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}
.product-content p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-tag {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}
.product-btn {
    padding: 10px 22px;
    background: transparent;
    color: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}
.product-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px var(--glow);
}

.articles {
    padding: 100px 40px;
    background: var(--bg-dark);
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s;
}
.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.article-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: white;
}
.article-content { padding: 24px; }
.article-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}
.article-meta span:first-child {
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
    border-radius: 4px;
    font-weight: 600;
}
.article-content h3 {
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}
.article-content p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s;
}
.read-more:hover { color: var(--accent); }

.testimonials {
    padding: 100px 40px;
    background: linear-gradient(180deg, #080c14 0%, var(--bg-dark) 100%);
}
.testimonials .section-title,
.testimonials .section-subtitle { color: var(--text-primary); }
.testimonials .section-subtitle { color: var(--text-secondary); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
}
.testimonial-quote {
    font-size: 52px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.4;
}
.testimonial-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}
.author-info h4 {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}
.author-info p {
    color: var(--text-secondary);
    font-size: 13px;
}

.contact {
    padding: 100px 40px;
    background: #080c14;
    scroll-margin-top: 96px;
}
.contact-form {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.contact-form form {
    display: grid;
    gap: 16px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-size: 15px;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
}
.submit-btn {
    padding: 16px 24px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35);
}

footer {
    background: #060a10;
    color: white;
    padding: 0;
}
.footer-main {
    padding: 80px 40px 50px;
    border-top: 1px solid var(--border);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}
.footer-section h4 {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-section ul li { margin-bottom: 14px; }
.footer-section a {
    color: #6b7280;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-section a:hover { color: var(--primary-light); }
.footer-section p {
    color: #6b7280;
    margin-bottom: 12px;
    font-size: 14px;
}
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* 联系方式：由站点设置驱动；图片/文本在悬停或聚焦时以弹层展示，避免被直接抓取 */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.footer-contact-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact-link:hover,
.footer-contact-link:focus-visible {
    color: var(--primary-light);
    outline: none;
}
.footer-contact-popover {
    position: absolute;
    left: 0;
    bottom: calc(100% + 12px);
    padding: 10px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 20;
}
.footer-contact-popover-card {
    width: min(380px, calc(100vw - 40px));
}
.footer-contact-popover-qr {
    width: 166px;
}
.footer-contact-popover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.footer-contact-reveal:hover .footer-contact-popover,
.footer-contact-reveal:focus-visible .footer-contact-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* 文本型联系方式（例如邮箱）：直接成行显示，不用弹层，避免空荡的白框破坏页脚观感 */
.footer-contact-item {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.footer-bottom {
    padding: 24px 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom p {
    color: #4b5563;
    font-size: 13px;
}

.footer-icp-link.is-hidden {
    display: none;
}

body.modal-open {
    overflow: hidden;
}

.tutorial-library-page {
    background: var(--bg-dark);
}
.tutorial-library-page .content-page-head {
    padding: 148px 40px 44px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 34%),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 26%),
        linear-gradient(180deg, #0b1220 0%, #080c14 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.tutorial-library-page .tutorial-head-wrap {
    max-width: 1240px;
}
.tutorial-library-page .page-intro {
    max-width: 900px;
}
.tutorial-library-page .page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tutorial-library-page .page-breadcrumb a {
    color: var(--primary-light);
    transition: color 0.3s;
}
.tutorial-library-page .page-breadcrumb a:hover {
    color: var(--text-primary);
}
.tutorial-library-page .page-intro h1 {
    margin: 0 0 16px;
    color: var(--text-primary);
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}
.tutorial-library-page .page-intro-text {
    margin: 0;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.85;
}
.tutorial-library-page .content-shell {
    padding: 36px 40px 96px;
    background: linear-gradient(180deg, #080c14 0%, #0a0f1a 100%);
}
.tutorial-library-page .content-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.tutorial-library-page .sidebar-stack {
    position: sticky;
    top: 104px;
    align-self: start;
}
.tutorial-library-page .content-stack {
    min-width: 0;
}
.tutorial-library-page .sidebar-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.96) 0%, rgba(11, 18, 32, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}
.tutorial-library-page .sidebar-card h2,
.tutorial-library-page .sidebar-card h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
}
.tutorial-library-page .sidebar-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}
.tutorial-library-page .filter-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding-right: 4px;
}
.tutorial-library-page .filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tutorial-library-page .filter-btn span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.tutorial-library-page .filter-btn small {
    flex: 0 0 auto;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.2;
}
.tutorial-library-page .filter-btn:hover {
    border-color: rgba(96, 165, 250, 0.46);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}
.tutorial-library-page .filter-btn.is-active {
    border-color: rgba(96, 165, 250, 0.72);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22) 0%, rgba(139, 92, 246, 0.18) 100%);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.16);
}
.tutorial-library-page .filter-btn.is-active small {
    color: rgba(255, 255, 255, 0.8);
}
.tutorial-library-page .tutorial-sections {
    display: flex;
    flex-direction: column;
    gap: 38px;
}
.tutorial-library-page .tutorial-section-block[hidden] {
    display: none !important;
}
.tutorial-library-page .tutorial-section-title {
    margin: 0 0 18px;
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.tutorial-library-page .tutorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.tutorial-library-page .tutorial-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.96) 0%, rgba(11, 18, 32, 0.98) 100%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.tutorial-library-page .tutorial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.52);
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(59, 130, 246, 0.08);
}
.tutorial-library-page .tutorial-cover {
    position: relative;
    width: 100%;
    min-height: 280px;
    padding: 0;
    border: none;
    background: #0f172a;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
}
.tutorial-library-page .tutorial-cover img {
    display: block;
    width: 100%;
    min-height: 280px;
    height: 100%;
    object-fit: cover;
    opacity: 0.94;
    transition: transform 0.45s ease, opacity 0.45s ease;
}
.tutorial-library-page .tutorial-card:hover .tutorial-cover img,
.tutorial-library-page .tutorial-cover:focus-visible img {
    transform: scale(1.04);
    opacity: 1;
}
.tutorial-library-page .tutorial-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 12, 20, 0.08) 0%, rgba(8, 12, 20, 0.18) 38%, rgba(8, 12, 20, 0.94) 100%),
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.2), transparent 32%);
    z-index: 1;
}
.tutorial-library-page .tutorial-cover::after {
    content: 'Play';
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(8, 12, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tutorial-library-page .tutorial-code,
.tutorial-library-page .tutorial-title {
    position: absolute;
    z-index: 2;
}
.tutorial-library-page .tutorial-code {
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(8, 12, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.tutorial-library-page .tutorial-title {
    right: 18px;
    bottom: 18px;
    left: 18px;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.72);
}
.tutorial-library-page .media-modal[hidden] {
    display: none;
}
.tutorial-library-page .media-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}
.tutorial-library-page .media-modal.is-open {
    display: block;
}
.tutorial-library-page .media-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(14px);
}
.tutorial-library-page .media-modal-dialog {
    position: relative;
    display: flex;
    width: calc(100vw - 32px);
    height: calc(100vh - 32px);
    margin: 16px auto;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #0b1120;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.44);
}
.tutorial-library-page .modal-close {
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.82);
    color: var(--text-primary);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.tutorial-library-page .modal-drawer {
    width: 260px;
    flex: 0 0 260px;
    background: #0b1120;
}
.tutorial-library-page .modal-drawer-left {
    border-right: 1px solid rgba(148, 163, 184, 0.14);
}
.tutorial-library-page .modal-drawer-right {
    border-left: 1px solid rgba(148, 163, 184, 0.14);
}
.tutorial-library-page .drawer-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #0b1120;
}
.tutorial-library-page .drawer-panel-head {
    padding: 18px 18px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.02);
}
.tutorial-library-page .drawer-panel-head h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
}
.tutorial-library-page .drawer-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
}
.tutorial-library-page .drawer-panel-body::-webkit-scrollbar,
.tutorial-library-page .filter-list::-webkit-scrollbar {
    width: 6px;
}
.tutorial-library-page .drawer-panel-body::-webkit-scrollbar-thumb,
.tutorial-library-page .filter-list::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.24);
    border-radius: 999px;
}
html,
body {
    scrollbar-width: thin;
    scrollbar-color: rgba(41, 58, 78, 0.42) rgba(15, 23, 42, 0.82);
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 6px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.82);
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: rgba(41, 58, 78, 0.42);
    border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: rgba(41, 58, 78, 0.62);
}
html.home-page,
body.home-page {
    scrollbar-width: none;
}
html.home-page::-webkit-scrollbar,
body.home-page::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
.tutorial-library-page .modal-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
}
.tutorial-library-page .modal-stage-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding-right: 52px;
}
.tutorial-library-page .modal-stage-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.22);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.tutorial-library-page .modal-stage-header h2 {
    min-width: 0;
    margin: 0;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}
.tutorial-library-page .modal-player-shell {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.14);
}
.tutorial-library-page .modal-player-shell video {
    display: block;
    width: 100%;
    height: 100%;
    background: #020617;
}
.tutorial-library-page .modal-summary {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}
.request-form-modal[hidden] {
    display: none;
}
.request-form-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}
.request-form-modal.is-open {
    display: block;
}
.request-form-modal .media-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(14px);
}
.request-form-dialog {
    width: min(860px, calc(100vw - 20px));
    height: auto;
    min-height: 0;
    margin: 48px auto;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #0b1120;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.44);
}
.request-form-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 8;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.82);
    color: var(--text-primary);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.request-form-shell {
    position: relative;
    padding: 34px 34px 30px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 30%),
        linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
}
.request-form-head {
    margin-bottom: 24px;
}
.request-form-head h2 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 32px;
    color: var(--text-primary);
}
.request-form-head p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}
.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.request-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.request-form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.request-form-field span {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}
.request-multiselect {
    position: relative;
}
.request-multiselect-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    font-size: 15px;
    background: rgba(15, 23, 42, 0.92);
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.request-multiselect-trigger:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(91, 114, 240, 0.1);
}
.request-multiselect-value {
    min-width: 0;
    text-align: left;
    line-height: 1.6;
    color: var(--text-primary);
}
.request-multiselect-arrow {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-right: 2px solid rgba(226, 232, 240, 0.78);
    border-bottom: 2px solid rgba(226, 232, 240, 0.78);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
}
.request-multiselect.is-open .request-multiselect-arrow {
    transform: rotate(-135deg) translateY(-1px);
}
.request-multiselect-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: #0f172a;
    box-shadow: 0 22px 54px rgba(2, 6, 23, 0.5);
}
.request-multiselect.is-open .request-multiselect-panel {
    display: flex;
}
.request-multiselect-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 12px;
    cursor: pointer;
}
.request-multiselect-option:hover {
    background: rgba(59, 130, 246, 0.08);
}
.request-multiselect-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #60a5fa;
}
.request-multiselect-option span {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}
.request-required {
    color: #dc2626;
    font-style: normal;
    font-weight: 700;
}
.request-form-field input,
.request-form-field textarea {
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    font-size: 15px;
    background: rgba(15, 23, 42, 0.92);
    color: var(--text-primary);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.request-form-field input::placeholder,
.request-form-field textarea::placeholder {
    color: rgba(148, 163, 184, 0.86);
}
.request-form-field input:focus,
.request-form-field textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(91, 114, 240, 0.1);
}
.request-form-field-full {
    width: 100%;
}
.request-form-field-full textarea {
    min-height: 180px;
    resize: vertical;
}
.request-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.request-form-cancel {
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-color: rgba(148, 163, 184, 0.18);
}
.request-form-feedback {
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.7;
}
.request-form-feedback.is-success {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
}
.request-form-feedback.is-error {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
}
.request-success-pop {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: 24px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(14px);
    z-index: 6;
}
.request-success-pop.is-open {
    display: flex;
}
.request-success-card {
    width: min(460px, 100%);
    padding: 30px 28px 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.42);
    text-align: center;
}
.request-success-card h3 {
    margin-bottom: 12px;
    font-size: 28px;
    color: var(--text-primary);
}
.request-success-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}
.request-success-code {
    margin: 18px 0 24px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-light);
    font-size: 15px;
    line-height: 1.7;
}
.request-success-code strong {
    font-size: 16px;
    letter-spacing: 0.04em;
}
.request-success-confirm {
    width: 100%;
}
.tutorial-library-page .playlist-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tutorial-library-page .playlist-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tutorial-library-page .playlist-item strong {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
}
.tutorial-library-page .playlist-item small {
    color: var(--text-secondary);
    font-size: 12px;
}
.tutorial-library-page .playlist-item:hover {
    border-color: rgba(96, 165, 250, 0.44);
    background: rgba(59, 130, 246, 0.09);
}
.tutorial-library-page .playlist-item.active {
    border-color: rgba(96, 165, 250, 0.68);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.16));
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.12);
}
.tutorial-library-page .empty-state {
    padding: 42px 24px;
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}
.tutorial-library-page .empty-state h2 {
    margin: 0 0 10px;
    color: var(--text-primary);
    font-size: 24px;
}
.tutorial-library-page .empty-state p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .tutorial-library-page .content-layout {
        grid-template-columns: 1fr;
    }
    .tutorial-library-page .sidebar-stack {
        position: static;
    }
    .tutorial-library-page .tutorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tutorial-library-page .media-modal-dialog {
        flex-direction: column;
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        margin: 8px;
    }
    .request-form-dialog {
        width: calc(100vw - 16px);
        margin: 8px auto;
        border-radius: 18px;
    }
    .request-form-shell {
        padding: 22px 18px 20px;
    }
    .request-form-head h2 {
        font-size: 26px;
    }
    .request-form-grid {
        grid-template-columns: 1fr;
    }
    .request-form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .request-form-actions .submit-btn,
    .request-form-actions .request-form-cancel {
        width: 100%;
    }
    .tutorial-library-page .modal-drawer {
        width: 100%;
        flex: 0 0 auto;
        max-height: 22vh;
    }
    .tutorial-library-page .modal-drawer-left {
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    }
    .tutorial-library-page .modal-drawer-right {
        border-left: none;
        border-top: 1px solid rgba(148, 163, 184, 0.14);
    }
    .features-grid, .products-grid, .articles-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { gap: 40px; }
}
@media (max-width: 768px) {
    .tutorial-library-page .content-page-head,
    .tutorial-library-page .content-shell {
        padding-left: 20px;
        padding-right: 20px;
    }
    .tutorial-library-page .content-page-head {
        padding-top: 132px;
        padding-bottom: 34px;
    }
    .tutorial-library-page .page-intro h1 {
        font-size: 42px;
    }
    .tutorial-library-page .page-intro-text {
        font-size: 15px;
    }
    .tutorial-library-page .tutorial-grid {
        grid-template-columns: 1fr;
    }
    .tutorial-library-page .tutorial-cover,
    .tutorial-library-page .tutorial-cover img {
        min-height: 230px;
    }
    .tutorial-library-page .tutorial-title {
        font-size: 18px;
    }
    .tutorial-library-page .modal-main {
        padding: 14px;
    }
    .tutorial-library-page .modal-stage-header h2 {
        font-size: 19px;
    }
    .nav-container { padding: 15px 20px; flex-wrap: wrap; gap: 15px; }
    nav ul { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .nav-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
    .hero {
        min-height: 92vh;
        padding: 0;
    }
    .hero-slide-content {
        min-height: 92vh;
        padding: 112px 20px 76px;
    }
    .hero-slide-content h2 {
        font-size: 40px;
        margin-top: 20px;
        margin-bottom: 16px;
    }
    .hero-slide-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }
    .hero-btn {
        width: 100%;
        padding: 15px 22px;
    }
    .hero-buttons-inline .hero-btn {
        width: auto;
        min-width: 0;
        flex: 1 1 calc(50% - 7px);
    }
    .hero-video-play {
        width: 76px;
        height: 76px;
    }
    .hero-video-play-icon {
        border-top-width: 12px;
        border-bottom-width: 12px;
        border-left-width: 20px;
    }
    .hero-banner-dots {
        bottom: 26px;
        gap: 10px;
    }
    .partner-showcase {
        padding: 40px 20px 60px;
    }
    .partner-showcase-card {
        padding: 20px;
        border-radius: 20px;
    }
    .partner-showcase-image {
        border-radius: 14px;
    }
    .features-grid, .products-grid, .articles-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
    .section-title { font-size: 32px; }
}
