:root {
    --gradient-start: #1e40af;
    --gradient-mid: #4f46e5;
    --gradient-end: #7c3aed;
    --hero-overlay: rgba(255, 255, 255, 0.12);
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --card-hover-shadow: 0 12px 32px rgba(79, 70, 229, 0.15);
    --radius-lg: 16px;
    --radius-pill: 50px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Navbar ── */
.site-navbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.6rem 0;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
}

.site-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
    gap: 8px;
}

.site-navbar .navbar-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.site-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem !important;
    transition: color 0.2s;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--gradient-mid);
}

.site-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--card-shadow);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 220px;
}

.site-navbar .dropdown-item {
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-navbar .dropdown-item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-navbar .dropdown-item:hover {
    background: #f1f5f9;
}

/* ── Hero ── */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    padding: 2.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* TikTok platform hero — brand colors: #000, #25F4EE, #FE2C55 */
/* Twitter/X platform hero — brand black #000000 / blue #1DA1F2 */
.hero-section--twitter {
    background: linear-gradient(125deg, #000000 0%, #0a1628 28%, #0d3d5c 55%, #1DA1F2 82%, #2CAAE1 100%);
}

.hero-section--twitter::before {
    background:
        radial-gradient(ellipse at 15% 50%, rgba(29, 161, 242, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, rgba(44, 170, 225, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
}

.hero-section--twitter .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(29, 161, 242, 0.35);
}

.hero-section--twitter .platform-tab.active {
    border-bottom-color: #2CAAE1;
}

.hero-section--tiktok {
    background: linear-gradient(125deg, #000000 0%, #0a0a0a 22%, #0b2b2b 48%, #1a0a12 72%, #FE2C55 100%);
}

.hero-section--tiktok::before {
    background:
        radial-gradient(ellipse at 12% 55%, rgba(37, 244, 238, 0.42) 0%, transparent 48%),
        radial-gradient(ellipse at 88% 35%, rgba(254, 44, 85, 0.38) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.25) 0%, transparent 55%);
}

.hero-section--tiktok .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(37, 244, 238, 0.2);
}

.hero-section--tiktok .platform-tab.active {
    border-bottom-color: #25F4EE;
}

/* Bluesky platform hero — brand blue #0085FF */
.hero-section--bluesky {
    background: linear-gradient(125deg, #003d7a 0%, #005bb5 35%, #0085FF 65%, #5eb3ff 100%);
}

.hero-section--bluesky::before {
    background:
        radial-gradient(ellipse at 20% 45%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, rgba(0, 133, 255, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 40, 90, 0.3) 0%, transparent 50%);
}

.hero-section--bluesky .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-section--bluesky .platform-tab.active {
    border-bottom-color: #fff;
}

/* Dailymotion platform hero — brand orange #FF6600 */
.hero-section--dailymotion {
    background: linear-gradient(125deg, #0d0d0d 0%, #1a1a2e 30%, #2d1a0a 55%, #FF6600 100%);
}

.hero-section--dailymotion::before {
    background:
        radial-gradient(ellipse at 15% 50%, rgba(255, 102, 0, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 25%, rgba(255, 140, 50, 0.3) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
}

.hero-section--dailymotion .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.35);
}

.hero-section--dailymotion .platform-tab.active {
    border-bottom-color: #FF6600;
}

/* Facebook platform hero — brand blue #1877F2 */
.hero-section--facebook {
    background: linear-gradient(125deg, #0a1628 0%, #0d2d5e 30%, #1877F2 60%, #42a5f5 100%);
}

.hero-section--facebook::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(24, 119, 242, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(66, 165, 245, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 20, 60, 0.35) 0%, transparent 55%);
}

.hero-section--facebook .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(24, 119, 242, 0.4);
}

.hero-section--facebook .platform-tab.active {
    border-bottom-color: #42a5f5;
}

/* Instagram platform hero — brand gradient #833AB4 / #E1306C / #F77737 */
.hero-section--instagram {
    background: linear-gradient(125deg, #1a0a2e 0%, #833AB4 28%, #E1306C 55%, #F77737 82%, #FCAF45 100%);
}

.hero-section--instagram::before {
    background:
        radial-gradient(ellipse at 15% 50%, rgba(225, 48, 108, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, rgba(247, 119, 55, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(26, 10, 46, 0.35) 0%, transparent 55%);
}

.hero-section--instagram .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(225, 48, 108, 0.35);
}

.hero-section--instagram .platform-tab.active {
    border-bottom-color: #FCAF45;
}

/* Loom platform hero — brand purple #625DF5 */
.hero-section--loom {
    background: linear-gradient(125deg, #1a1040 0%, #3d2d8a 35%, #625DF5 65%, #8b87ff 100%);
}

.hero-section--loom::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(98, 93, 245, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(139, 135, 255, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(26, 16, 64, 0.35) 0%, transparent 55%);
}

.hero-section--loom .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(98, 93, 245, 0.4);
}

.hero-section--loom .platform-tab.active {
    border-bottom-color: #8b87ff;
}

/* OK.ru platform hero — brand orange #EE8208 */
.hero-section--okru {
    background: linear-gradient(125deg, #2a1500 0%, #5c3200 30%, #EE8208 60%, #f5a623 100%);
}

.hero-section--okru::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(238, 130, 8, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(245, 166, 35, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(42, 21, 0, 0.35) 0%, transparent 55%);
}

.hero-section--okru .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(238, 130, 8, 0.4);
}

.hero-section--okru .platform-tab.active {
    border-bottom-color: #f5a623;
}

/* Pinterest platform hero — brand red #E60023 */
.hero-section--pinterest {
    background: linear-gradient(125deg, #3a0008 0%, #8b0015 35%, #E60023 65%, #ff4d6d 100%);
}

.hero-section--pinterest::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(230, 0, 35, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(255, 77, 109, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(58, 0, 8, 0.35) 0%, transparent 55%);
}

.hero-section--pinterest .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(230, 0, 35, 0.4);
}

.hero-section--pinterest .platform-tab.active {
    border-bottom-color: #ff4d6d;
}

/* Reddit platform hero — brand orange #FF4500 */
.hero-section--reddit {
    background: linear-gradient(125deg, #1a0a00 0%, #5c2200 30%, #FF4500 60%, #ff7b33 100%);
}

.hero-section--reddit::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(255, 69, 0, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(255, 123, 51, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(26, 10, 0, 0.35) 0%, transparent 55%);
}

.hero-section--reddit .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 69, 0, 0.4);
}

.hero-section--reddit .platform-tab.active {
    border-bottom-color: #ff7b33;
}

/* Rutube platform hero — brand red #E52D27 */
.hero-section--rutube {
    background: linear-gradient(125deg, #1a0505 0%, #5c1010 30%, #E52D27 60%, #ff5c57 100%);
}

.hero-section--rutube::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(229, 45, 39, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(255, 92, 87, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(26, 5, 5, 0.35) 0%, transparent 55%);
}

.hero-section--rutube .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(229, 45, 39, 0.4);
}

.hero-section--rutube .platform-tab.active {
    border-bottom-color: #ff5c57;
}

/* Snapchat platform hero — brand yellow #FFFC00 */
.hero-section--snapchat {
    background: linear-gradient(125deg, #1a1a00 0%, #4a4a00 28%, #c4c400 55%, #FFFC00 82%, #fff566 100%);
}

.hero-section--snapchat::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(255, 252, 0, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(255, 245, 102, 0.3) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(26, 26, 0, 0.35) 0%, transparent 55%);
}

.hero-section--snapchat .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 252, 0, 0.35);
}

.hero-section--snapchat .platform-tab.active {
    border-bottom-color: #FFFC00;
}

/* Streamable platform hero — brand blue #0E91E7 */
.hero-section--streamable {
    background: linear-gradient(125deg, #001a2e 0%, #004d7a 35%, #0E91E7 65%, #4db8ff 100%);
}

.hero-section--streamable::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(14, 145, 231, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(77, 184, 255, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 26, 46, 0.35) 0%, transparent 55%);
}

.hero-section--streamable .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(14, 145, 231, 0.4);
}

.hero-section--streamable .platform-tab.active {
    border-bottom-color: #4db8ff;
}

/* Tumblr platform hero — brand navy #001935 */
.hero-section--tumblr {
    background: linear-gradient(125deg, #000a14 0%, #001935 40%, #36465d 70%, #529ecc 100%);
}

.hero-section--tumblr::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(82, 158, 204, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(54, 70, 93, 0.4) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 10, 20, 0.4) 0%, transparent 55%);
}

.hero-section--tumblr .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(82, 158, 204, 0.35);
}

.hero-section--tumblr .platform-tab.active {
    border-bottom-color: #529ecc;
}

/* Twitch platform hero — brand purple #9146FF */
.hero-section--twitch {
    background: linear-gradient(125deg, #1a0a2e 0%, #3d1a6e 35%, #9146FF 65%, #b794f6 100%);
}

.hero-section--twitch::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(145, 70, 255, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(183, 148, 246, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(26, 10, 46, 0.35) 0%, transparent 55%);
}

.hero-section--twitch .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(145, 70, 255, 0.4);
}

.hero-section--twitch .platform-tab.active {
    border-bottom-color: #b794f6;
}

/* VK platform hero — brand blue #0077FF */
.hero-section--vk {
    background: linear-gradient(125deg, #001a3d 0%, #003d7a 30%, #0077FF 60%, #4da3ff 100%);
}

.hero-section--vk::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(0, 119, 255, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(77, 163, 255, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 26, 61, 0.35) 0%, transparent 55%);
}

.hero-section--vk .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(0, 119, 255, 0.4);
}

.hero-section--vk .platform-tab.active {
    border-bottom-color: #4da3ff;
}

/* Xiaohongshu (RED) platform hero — brand red #FF2442 */
.hero-section--xiaohongshu {
    background: linear-gradient(125deg, #1a0008 0%, #5c0018 30%, #FF2442 60%, #ff6b7f 100%);
}

.hero-section--xiaohongshu::before {
    background:
        radial-gradient(ellipse at 18% 48%, rgba(255, 36, 66, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 28%, rgba(255, 107, 127, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(26, 0, 8, 0.35) 0%, transparent 55%);
}

.hero-section--xiaohongshu .platform-scroll-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 36, 66, 0.4);
}

.hero-section--xiaohongshu .platform-tab.active {
    border-bottom-color: #ff6b7f;
}

/* Platform scroll bar */
.platform-scroll-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.platform-scroll-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.85rem;
    padding: 0;
}

.platform-scroll-btn:hover {
    background: rgba(255,255,255,0.28);
}

.platform-scroll-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.platform-scroll-bar {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: var(--hero-overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.platform-scroll-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 8px;
}

.platform-scroll-inner::-webkit-scrollbar {
    display: none;
}

.platform-tab {
    flex-shrink: 0;
    padding: 0.6rem 0.8rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.platform-tab:hover {
    color: #fff;
}

.platform-tab.active {
    color: #fff;
    border-bottom-color: #fff;
}

/* Hero content */
.hero-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Download form */
.download-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.download-input-group {
    display: flex;
    background: #fff;
    border-radius: var(--radius-pill);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 4px;
}

.download-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    background: transparent;
    min-width: 0;
}

.download-input-group input::placeholder {
    color: #94a3b8;
}

.btn-download {
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
}

.btn-download:hover {
    background: #0f172a;
    color: #fff;
}

.btn-download:active {
    transform: scale(0.98);
}

.hero-disclaimer {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.hero-disclaimer a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

.download-result {
    margin-top: 1.25rem;
    text-align: left;
}

.download-result .alert {
    margin-bottom: 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.download-input-group input.is-invalid {
    box-shadow: inset 0 0 0 2px #dc3545;
}

/* ── Tutorial video ── */
.video-tutorial-section {
    background: #fff;
}

.video-tutorial-section .container {
    max-width: 1200px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: #0f172a;
}

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

/* ── SEO content (reference layout) ── */
.seo-content {
    background: #fff;
}

.seo-bottom {
    background: #f3f4f6;
}

.seo-main-title {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.seo-banner-wrap {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.seo-body {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 2rem;
}

.content-banner {
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.content-banner-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.content-banner-icons img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #e5e7eb;
}

.content-banner-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.seo-block {
    margin-bottom: 3rem;
}

.seo-block:last-child {
    margin-bottom: 0;
}

.seo-block h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
    line-height: 1.35;
}

.seo-block p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 0;
}

.seo-block ul,
.seo-block ol {
    padding-left: 1.35rem;
    margin-bottom: 0;
}

.seo-block ul {
    list-style-type: disc;
}

.seo-block ol {
    list-style-type: decimal;
}

.seo-block li {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 0.5rem;
}

.seo-block li:last-child {
    margin-bottom: 0;
}

.seo-block li strong {
    color: #111827;
    font-weight: 700;
}

.seo-block p strong {
    color: #111827;
    font-weight: 700;
}

.seo-block a {
    color: #2563eb;
    text-decoration: underline;
}

.seo-block a:hover {
    color: #1d4ed8;
}

#supported-platforms .row {
    margin-top: 0.5rem;
}

/* ── Content sections ── */
.section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subheading {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.feature-card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
    background: #fff;
}

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

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gradient-mid);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

/* Platform grid */
.platform-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none !important;
    color: var(--text-dark);
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
    height: 100%;
}

.platform-card span {
    text-decoration: none !important;
    color: inherit;
}

.platform-card:hover,
.platform-card:focus {
    transform: translateY(-3px);
    box-shadow: var(--card-hover-shadow);
    border-color: #c7d2fe;
    color: var(--gradient-mid);
    text-decoration: none !important;
}

.platform-card:hover span,
.platform-card:focus span {
    text-decoration: none !important;
}

.platform-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* How it works */
.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Blog cards */
.blog-card {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: #fff;
}

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

.blog-card .blog-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: linear-gradient(135deg, #eef2ff, #ede9fe);
}

.blog-card .blog-thumbnail-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff, #ede9fe);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card .blog-thumbnail-wrap img.platform-thumb {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.blog-card .card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
    line-height: 1.45;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card .read-more-btn {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gradient-mid);
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    background: #f8fafc;
    align-self: flex-start;
    transition: background 0.2s, border-color 0.2s;
}

.blog-card:hover .read-more-btn {
    background: #eef2ff;
    border-color: var(--gradient-mid);
}

/* FAQ */
.faq-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 0.85rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.faq-item .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 1.1rem 1.35rem;
    box-shadow: none;
    background: #fff;
    color: #111827;
}

.faq-item .accordion-button:not(.collapsed) {
    background: #fff;
    color: #111827;
    box-shadow: none;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-item .accordion-body {
    padding: 0 1.35rem 1.15rem;
    font-size: 0.98rem;
    line-height: 1.75;
}

/* Blog pages */
.blog-hero,
.article-hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    padding: 3rem 0 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.blog-hero::before,
.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.blog-hero .container,
.article-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero h1,
.article-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.blog-hero .lead,
.article-hero .article-meta {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0;
}

.article-hero .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.article-hero .breadcrumb-item,
.article-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.85);
}

.article-hero .breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.article-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.article-content {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content p,
.article-content li {
    color: #444;
}

.article-content ul,
.article-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--gradient-mid);
}

.highlight-box {
    background: #eef2ff;
    border-left: 4px solid var(--gradient-mid);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.step-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.step-box .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-top: 2.5rem;
}

.cta-box .btn-light {
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.blog-back-link {
    color: var(--gradient-mid);
    text-decoration: none;
    font-weight: 500;
}

.blog-back-link:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .blog-hero,
    .article-hero {
        padding: 2.25rem 0 1.75rem;
    }

    .article-content {
        padding: 1.5rem;
    }
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 3.5rem 0 1.5rem;
}

.site-footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.site-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.site-footer .footer-brand img {
    width: 32px;
    height: 32px;
}

.site-footer .footer-divider {
    border-color: #1e293b;
    margin: 2rem 0 1rem;
}

/* Intro section */
.intro-section {
    background: #f8fafc;
}

/* About page */
.page-hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 0;
}

.about-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.about-intro strong {
    color: var(--text-dark);
}

.about-banner {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #f5f3ff 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
}

.about-banner img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.about-banner p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.about-vision-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    height: 100%;
}

.about-vision-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gradient-mid);
}

.about-vision-visual {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    height: 100%;
    min-height: 220px;
}

.about-vision-visual img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.about-stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 1.75rem 1.25rem;
    text-align: center;
    height: 100%;
}

.about-stat-card .stat-value {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gradient-mid);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.about-stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

.about-step-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
}

.about-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.about-step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-step-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

.about-example-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-decoration: none !important;
    color: var(--text-dark);
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.about-example-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-hover-shadow);
    border-color: #c7d2fe;
    color: var(--gradient-mid);
}

.about-example-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.about-example-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.about-example-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
}

.intro-section ul {
    padding-left: 1.25rem;
}

.intro-section ul li {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.intro-section ul li strong {
    color: var(--text-dark);
}

/* Contact page */
.contact-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    text-align: center;
}

.contact-intro strong {
    color: var(--text-dark);
}

.contact-intro a {
    color: var(--gradient-mid);
    text-decoration: none;
    font-weight: 500;
}

.contact-intro a:hover {
    text-decoration: underline;
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    height: 100%;
}

.contact-form-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-form-card .form-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-form-card .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.contact-form-card .form-control {
    border-radius: 10px;
    border-color: #e2e8f0;
    padding: 0.7rem 1rem;
}

.contact-form-card .form-control:focus {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.contact-form-card textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.btn-contact-submit {
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    width: 100%;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-contact-submit:hover {
    opacity: 0.92;
    color: #fff;
    transform: translateY(-1px);
}

.contact-social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.contact-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--text-dark);
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.contact-social-links a:hover {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: var(--gradient-mid);
    transform: translateY(-2px);
}

.contact-info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-card .info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gradient-mid);
    flex-shrink: 0;
}

.contact-info-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

.contact-info-card a {
    color: var(--gradient-mid);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-success-msg {
    display: none;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: #065f46;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.contact-success-msg.show {
    display: block;
}

/* Privacy Policy page */
.policy-hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.policy-intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.policy-highlight-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 1.75rem;
    height: 100%;
    text-align: center;
}

.policy-highlight-card .highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gradient-mid);
    margin: 0 auto 1rem;
}

.policy-highlight-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.policy-highlight-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

.policy-overview-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    height: 100%;
}

.policy-overview-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gradient-mid);
}

.policy-overview-card ul {
    padding-left: 1.25rem;
    margin: 0;
    color: var(--text-muted);
}

.policy-overview-card ul li {
    margin-bottom: 0.5rem;
}

.policy-detail-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 1.75rem;
    height: 100%;
}

.policy-detail-card .detail-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gradient-mid);
    background: #eef2ff;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.policy-detail-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.policy-detail-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.7;
}

.policy-updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 1.75rem 0 2.5rem;
    }

    .platform-scroll-wrap {
        margin-bottom: 1.5rem;
    }

    .platform-scroll-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .platform-tab {
        padding: 0.5rem 0.5rem;
        font-size: 0.82rem;
    }

    .download-input-group {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 6px;
    }

    .download-input-group input {
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .btn-download {
        border-radius: 10px;
        width: 100%;
        padding: 0.8rem;
    }

    .hero-disclaimer {
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .site-navbar .navbar-brand span {
        font-size: 0.95rem;
    }
}
