/* ============================================
   ShortsIndir.com - Ana Stil Dosyası
   Modern, Glassmorphism, Gradient Tasarım
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #667eea;
    --primary-dark: #764ba2;
    --primary-light: #8b9cf7;
    --secondary: #f093fb;
    --accent: #4facfe;
    --accent-alt: #00f2fe;

    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a3e;
    --bg-tertiary: #252552;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(255, 255, 255, 0.06);
    --bg-header: rgba(15, 15, 35, 0.85);

    --text-primary: #e8e8f0;
    --text-secondary: #a0a0c0;
    --text-tertiary: #7a7a9a;
    --text-muted: #5a5a7a;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.04);

    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, rgba(102,126,234,0.15) 0%, rgba(118,75,162,0.15) 50%, rgba(79,172,254,0.1) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.3);

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;

    --header-height: 72px;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }
::selection { background: var(--primary); color: white; }
::-moz-selection { background: var(--primary); color: white; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text-primary); }
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }

/* === Layout === */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; width: 100%; }
.section { padding: 80px 0; }

/* Section Header */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .section-title, .section-title {
    font-size: 2rem; margin-bottom: 12px;
    background: var(--gradient-primary); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; display: inline-block;
}
.section-header .section-subtitle, .section-subtitle {
    color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1rem;
}

.text-center { text-align: center; }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* === Header === */
.hdr {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-height);
    background: var(--bg-header);
    backdrop-filter: blur(16px) saturate(1.8); -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border-bottom: 1px solid var(--border-color);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hdr.is-scrolled {
    background: rgba(15, 15, 35, 0.97);
    box-shadow: 0 1px 12px rgba(0,0,0,.25);
    border-bottom-color: transparent;
}
.hdr__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-height); max-width: var(--container-width);
    margin: 0 auto; padding: 0 20px; gap: 16px;
}

/* Logo */
.hdr__logo {
    display: inline-flex; align-items: center; gap: 9px;
    text-decoration: none; color: var(--text-primary); flex-shrink: 0;
}
.hdr__logo-icon { flex-shrink: 0; }
.hdr__logo-text {
    font-size: 1.25rem; font-weight: 800;
    display: inline-flex; align-items: center; white-space: nowrap;
    letter-spacing: -.02em;
}
.hdr__logo-s { color: var(--text-primary); }
.hdr__logo-i {
    background: var(--gradient-primary);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desktop Nav */
.hdr__nav {
    display: flex; align-items: center; gap: 2px;
}
.hdr__link {
    position: relative;
    padding: 7px 14px; border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: .875rem; font-weight: 500;
    text-decoration: none; white-space: nowrap;
    transition: color .2s ease, background .2s ease;
    border: none; background: none; cursor: pointer;
    font-family: inherit;
}
.hdr__link:hover { color: var(--text-primary); background: var(--bg-card); }
.hdr__link.is-active {
    color: var(--primary-light);
}
.hdr__link.is-active::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 16px; height: 2px; border-radius: 1px;
    background: var(--gradient-primary);
}

/* Dropdown */
.hdr__drop { position: relative; }
.hdr__drop-btn {
    display: inline-flex; align-items: center; gap: 4px;
}
.hdr__chevron {
    transition: transform .25s ease;
    opacity: .6;
}
.hdr__drop:hover .hdr__chevron,
.hdr__drop.is-open .hdr__chevron { transform: rotate(180deg); opacity: 1; }
.hdr__drop-menu {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
    width: 420px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 200;
}
.hdr__drop:hover .hdr__drop-menu,
.hdr__drop.is-open .hdr__drop-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.hdr__drop-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
}
.hdr__drop-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: .84rem; font-weight: 500;
    text-decoration: none; white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.hdr__drop-item:hover {
    background: var(--bg-card); color: var(--text-primary);
}
.hdr__drop-item img { width: 20px; height: 20px; flex-shrink: 0; }

/* Right actions */
.hdr__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.hdr__btn {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-secondary); cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hdr__btn:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--primary); }
.hdr__btn svg { width: 18px; height: 18px; }

/* Hamburger */
.hdr__burger {
    display: none;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: none; border: none; cursor: pointer; padding: 0;
    -webkit-tap-highlight-color: transparent;
}
.hdr__burger-box {
    display: flex; flex-direction: column; justify-content: center;
    width: 18px; height: 14px; position: relative;
}
.hdr__burger-box span {
    position: absolute; left: 0;
    width: 18px; height: 2px; border-radius: 1px;
    background: var(--text-primary);
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease;
}
.hdr__burger-box span:nth-child(1) { top: 0; }
.hdr__burger-box span:nth-child(2) { top: 6px; }
.hdr__burger-box span:nth-child(3) { top: 12px; }
.hdr__burger[aria-expanded="true"] .hdr__burger-box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] .hdr__burger-box span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] .hdr__burger-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* === Mobile Overlay === */
.mob-overlay {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility .3s;
}
.mob-overlay.is-visible {
    opacity: 1; visibility: visible; pointer-events: auto;
}

/* === Mobile Nav Panel === */
.mob-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 300px; max-width: 85vw;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    box-shadow: -4px 0 30px rgba(0,0,0,.3);
    z-index: 1200;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow: hidden; visibility: hidden;
}
.mob-nav.is-open { transform: translateX(0); visibility: visible; }

.mob-nav__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
}
.mob-nav__head .hdr__logo-icon { width: 26px; height: 26px; }
.mob-nav__head .hdr__logo-text { font-size: 1.05rem; }

.mob-nav__close {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); color: var(--text-secondary);
    cursor: pointer; transition: background .2s, color .2s;
    -webkit-tap-highlight-color: transparent;
}
.mob-nav__close:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.mob-nav__close:active { transform: scale(.93); }

.mob-nav__body {
    flex: 1; overflow-y: auto; overflow-x: hidden;
    padding: 8px 12px;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    display: flex; flex-direction: column; gap: 2px;
}

/* Mobile links */
.mob-nav__link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: .92rem; font-weight: 500;
    text-decoration: none; border: none; background: none;
    width: 100%; cursor: pointer; font-family: inherit; text-align: left;
    transition: background .15s, color .15s;
    -webkit-tap-highlight-color: transparent;
}
.mob-nav__link svg { width: 20px; height: 20px; flex-shrink: 0; opacity: .45; }
.mob-nav__link:hover { background: var(--bg-card); color: var(--text-primary); }
.mob-nav__link:hover svg { opacity: .85; }
.mob-nav__link:active { background: var(--bg-card-hover); }
.mob-nav__link.is-active { color: var(--primary-light); background: rgba(102,126,234,.08); }
.mob-nav__link.is-active svg { opacity: 1; color: var(--primary-light); }

/* Accordion group */
.mob-nav__group { width: 100%; }
.mob-nav__group-btn span:first-of-type { flex: 1; }
.mob-nav__arrow {
    width: 14px; height: 14px; flex-shrink: 0; margin-left: auto;
    opacity: .4; transition: transform .25s ease, opacity .25s;
}
.mob-nav__group.is-open .mob-nav__arrow { transform: rotate(180deg); opacity: .8; }
.mob-nav__group-body {
    max-height: 0; overflow: hidden;
    transition: max-height .3s cubic-bezier(.4,0,.2,1);
}

/* Platform grid (mobile) */
.mob-nav__platforms {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 6px; padding: 6px 14px 10px;
}
.mob-nav__platform {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 10px; border-radius: var(--radius-sm);
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-secondary); font-size: .8rem; font-weight: 500;
    text-decoration: none; transition: background .15s, color .15s, border-color .15s;
    -webkit-tap-highlight-color: transparent;
}
.mob-nav__platform img { width: 22px; height: 22px; flex-shrink: 0; }
.mob-nav__platform:hover { border-color: var(--primary); color: var(--text-primary); background: rgba(102,126,234,.06); }
.mob-nav__platform:active { transform: scale(.97); }

.mob-nav__foot {
    padding: 14px 16px; flex-shrink: 0;
    border-top: 1px solid var(--border-color);
    font-size: .75rem; color: var(--text-muted); text-align: center;
}

/* Body scroll lock */
body.menu-open {
    overflow: hidden; position: fixed;
    width: 100%; height: 100%; top: 0; left: 0;
}

/* === Theme Toggle === */
.theme-toggle {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: var(--bg-card); border: 1px solid var(--border-color);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    color: var(--text-secondary); cursor: pointer;
}
.theme-toggle:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--primary); }
.theme-toggle svg { width: 18px; height: 18px; }

/* === Language Switcher === */
.lang-switcher { position: relative; }
.lang-current {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 10px; height: 36px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); cursor: pointer; font-size: .84rem;
    color: var(--text-secondary);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lang-current:hover { border-color: var(--primary); color: var(--text-primary); }
.lang-current .lang-flag { font-size: 1.05rem; }
.lang-current .lang-arrow { transition: transform .25s ease; opacity: .6; }
.lang-switcher.lang-open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute; top: calc(100% + 6px); right: 0;
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    min-width: 200px; max-height: 360px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 200;
}
.lang-switcher.lang-open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
    display: flex; align-items: center; gap: 10px; padding: 9px 14px;
    color: var(--text-secondary); font-size: .84rem;
    transition: background .15s ease, color .15s ease;
}
.lang-dropdown a:hover { background: var(--bg-card); color: var(--text-primary); }
.lang-dropdown a.active { color: var(--primary); background: rgba(102,126,234,.1); }

/* === Hero Section === */
.hero-section {
    position: relative; padding: 130px 0 70px;
    background: var(--gradient-hero); overflow: hidden;
    min-height: 65vh; display: flex; align-items: center;
}
.hero-bg-shape {
    position: absolute; border-radius: 50%; opacity: 0.08;
    background: var(--gradient-primary); filter: blur(60px);
}
.hero-bg-shape:nth-child(1) { width: 500px; height: 500px; top: -200px; right: -100px; animation: float 8s ease-in-out infinite; }
.hero-bg-shape:nth-child(2) { width: 400px; height: 400px; bottom: -150px; left: -100px; animation: float 10s ease-in-out infinite reverse; }
.hero-bg-shape:nth-child(3) { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: float 12s ease-in-out infinite; background: var(--gradient-accent); }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.hero-title {
    font-size: 2.8rem; font-weight: 800; margin-bottom: 18px; line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #e0e0ff 50%, var(--primary-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    letter-spacing: -0.02em;
}
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* Hero Platforms Strip */
.hero-platforms {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-top: 32px; flex-wrap: wrap;
}
.hero-platforms-label {
    font-size: 0.85rem; color: var(--text-tertiary); font-weight: 500;
    white-space: nowrap;
}
.hero-platforms-icons {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    justify-content: center;
}
.hero-platform-icon {
    width: 28px; height: 28px; opacity: 0.5; transition: var(--transition);
    filter: grayscale(0.3);
}
.hero-platform-icon:hover { opacity: 1; filter: grayscale(0); transform: scale(1.15); }

/* Platform Badge (on platform pages) */
.platform-badge {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.platform-badge img {
    width: 48px; height: 48px;
    padding: 10px; background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.platform-hero { min-height: auto; padding: 120px 0 60px; }

/* === Download Form === */
.download-form-wrapper { max-width: 680px; margin: 0 auto; position: relative; }
.download-input-group {
    display: flex; align-items: stretch; background: var(--bg-input);
    border: 2px solid var(--border-color); border-radius: var(--radius-xl);
    overflow: hidden; transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.download-input-group:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), var(--shadow-md); }

.download-input-group input {
    flex: 1; padding: 18px 20px; background: transparent; border: none;
    color: var(--text-primary); font-size: 1rem; min-width: 0;
}
.download-input-group input::placeholder { color: var(--text-muted); }

.paste-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 0 14px; background: transparent; color: var(--text-tertiary);
    border: none; border-right: 1px solid var(--border-color);
    transition: var(--transition); cursor: pointer; gap: 6px; flex-shrink: 0;
}
.paste-btn:hover { color: var(--primary); background: rgba(102, 126, 234, 0.08); }
.paste-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.paste-text { font-size: 0.82rem; white-space: nowrap; }

.download-help-text { font-size: 0.8rem; color: var(--text-muted); margin-top: 14px; text-align: center; }

#detected-platform {
    display: flex; align-items: center; padding: 0 10px;
    transition: var(--transition); flex-shrink: 0;
}
#detected-platform img { width: 24px; height: 24px; opacity: 0.5; transition: var(--transition); }
#detected-platform.platform-detected img { opacity: 1; transform: scale(1.1); }

.btn-download {
    padding: 16px 28px; background: var(--gradient-primary); color: white;
    font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
    transition: var(--transition); display: flex; align-items: center; gap: 8px;
    white-space: nowrap; flex-shrink: 0; letter-spacing: 0.01em;
}
.btn-download:hover { opacity: 0.92; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); }
.btn-download:active { transform: scale(0.98); }
.btn-download svg { width: 18px; height: 18px; }

/* Loading */
#download-loading {
    display: none; align-items: center; justify-content: center;
    padding: 48px 20px; gap: 16px; flex-direction: column;
}
.loading-spinner {
    width: 44px; height: 44px; border: 3px solid var(--border-color);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
.loading-text { font-size: 0.9rem; color: var(--text-secondary); }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 0.9rem; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--gradient-primary); color: white; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--primary); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-loading { pointer-events: none; opacity: 0.7; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* === Download Result === */
#download-result { margin-top: 32px; }
.result-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl); padding: 0; box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    overflow: hidden; animation: slideUp 0.4s ease-out;
}
.result-header {
    display: flex; gap: 0; margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}
.result-thumbnail {
    width: 280px; min-width: 280px;
    overflow: hidden; position: relative; aspect-ratio: 9/16; background: var(--bg-secondary);
    flex-shrink: 0;
}
.result-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.result-card:hover .result-thumbnail img { transform: scale(1.03); }
.result-platform-badge {
    position: absolute; top: 12px; left: 12px; width: 36px; height: 36px;
    background: rgba(0,0,0,0.5); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
}
.result-platform-badge img { width: 20px; height: 20px; }
.result-info { flex: 1; padding: 24px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.result-title {
    font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.result-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.result-duration, .result-platform {
    font-size: 0.82rem; color: var(--text-tertiary);
    display: inline-flex; align-items: center; gap: 5px;
}
.result-duration svg { width: 14px; height: 14px; opacity: 0.7; }

.result-formats { padding: 24px; }
.result-formats h4, .result-formats-title {
    font-size: 0.9rem; margin-bottom: 16px; color: var(--text-secondary);
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.format-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.format-btn {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); color: var(--text-primary);
    transition: var(--transition); text-decoration: none;
    position: relative; overflow: hidden;
}
.format-btn::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-primary); opacity: 0;
    transition: opacity 0.3s ease;
}
.format-btn:hover {
    border-color: var(--primary); transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2); color: var(--text-primary);
}
.format-btn:hover::before { opacity: 0.08; }
.format-btn > * { position: relative; z-index: 1; }
.format-quality { font-weight: 700; font-size: 0.95rem; }
.format-ext {
    font-size: 0.7rem; padding: 3px 8px; background: rgba(102, 126, 234, 0.15);
    border-radius: var(--radius-full); color: var(--primary-light); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.format-size { font-size: 0.8rem; color: var(--text-tertiary); margin-left: auto; }
.format-download-icon {
    color: var(--primary); width: 32px; height: 32px; min-width: 32px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(102, 126, 234, 0.1); border-radius: 50%;
    transition: var(--transition); margin-left: auto;
}
.format-btn:hover .format-download-icon { background: var(--primary); color: white; }

/* === Platform Cards === */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.platform-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 28px 16px 22px;
    text-align: center; transition: var(--transition); cursor: pointer;
    text-decoration: none; display: flex; flex-direction: column; align-items: center;
    position: relative; overflow: hidden;
}
.platform-card::after {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-primary); opacity: 0;
    transition: opacity 0.3s ease; pointer-events: none;
}
.platform-card:hover {
    transform: translateY(-6px); border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}
.platform-card:hover::after { opacity: 0.04; }
.platform-card > * { position: relative; z-index: 1; }
.platform-card-icon {
    width: 52px; height: 52px; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(102, 126, 234, 0.08); border-radius: var(--radius-md);
    padding: 10px; transition: var(--transition);
}
.platform-card:hover .platform-card-icon { background: rgba(102, 126, 234, 0.15); transform: scale(1.08); }
.platform-card-icon img, .platform-card-icon svg { width: 100%; height: 100%; }
.platform-card-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; color: var(--text-primary); }
.platform-card-desc { font-size: 0.78rem; color: var(--text-tertiary); line-height: 1.5; }

/* === Features === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 28px 24px;
    display: flex; gap: 18px; transition: var(--transition);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-primary); opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1); transform: translateY(-2px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 50px; height: 50px; min-width: 50px;
    background: var(--gradient-primary); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}
.feature-icon img, .feature-icon svg { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.feature-title { font-size: 1.05rem; margin-bottom: 8px; font-weight: 700; }
.feature-description { font-size: 0.85rem; color: var(--text-tertiary); margin: 0; line-height: 1.7; }

/* === Steps / How To === */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step-card {
    text-align: center; position: relative; padding: 28px 20px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); transition: var(--transition);
}
.step-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.1); }
.step-number {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--gradient-primary); color: white;
    font-size: 1.4rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; position: relative; z-index: 2;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 10px; font-weight: 700; }
.step-card p { font-size: 0.85rem; color: var(--text-tertiary); line-height: 1.6; margin: 0; }
.step-connector {
    position: absolute; top: 48px; left: calc(50% + 40px);
    width: calc(100% - 80px); height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0.3; z-index: 1;
}
.step-card:last-child .step-connector { display: none; }

/* === FAQ Accordion === */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden;
    transition: var(--transition);
}
.faq-item.faq-open { border-color: var(--primary); box-shadow: 0 2px 12px rgba(102, 126, 234, 0.1); }
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; cursor: pointer; font-weight: 600;
    font-size: 0.95rem; color: var(--text-primary);
    transition: var(--transition); width: 100%; background: none; border: none;
    text-align: left; gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
    width: 28px; height: 28px; min-width: 28px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease; color: var(--text-tertiary);
    background: var(--bg-card-hover); border-radius: 50%;
}
.faq-open .faq-icon { transform: rotate(180deg); color: var(--primary); background: rgba(102, 126, 234, 0.1); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    padding: 0 24px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8;
}
.faq-open .faq-answer { padding-bottom: 20px; }

/* === Stats Section === */
.stats-section {
    background: linear-gradient(135deg, rgba(102,126,234,0.08) 0%, rgba(118,75,162,0.08) 100%);
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { text-align: center; padding: 20px; }
.stat-number {
    font-size: 2.5rem; font-weight: 800;
    background: var(--gradient-primary); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 4px;
}
.stat-label { font-size: 0.88rem; color: var(--text-tertiary); }

/* === Blog Hero === */
.blog-hero-section {
    padding: 48px 0 32px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
}
.blog-hero-content { text-align: center; max-width: 640px; margin: 0 auto; }
.blog-hero-title {
    font-size: 2rem; font-weight: 700; color: var(--text-primary);
    margin-bottom: 8px; line-height: 1.2;
}
.blog-hero-subtitle {
    font-size: 1rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5;
}
.blog-hero-count {
    display: inline-block; font-size: 0.8rem; color: var(--primary);
    background: rgba(var(--primary-rgb, 99,102,241), 0.1); padding: 4px 12px;
    border-radius: 999px; font-weight: 500;
}

/* === Blog Categories === */
.blog-categories {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
    margin-bottom: 32px; padding: 0 16px;
}
.blog-category-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 500;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-secondary); transition: var(--transition); cursor: pointer;
    text-decoration: none;
}
.blog-category-tag:hover,
.blog-category-tag.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.blog-category-count {
    background: rgba(255,255,255,0.2); padding: 1px 6px; border-radius: 999px;
    font-size: 0.72rem; line-height: 1.4;
}

/* === Blog Grid === */
.blog-listing-section { padding-top: 40px; }
.blog-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* === Blog Cards === */
.blog-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); overflow: hidden; transition: var(--transition);
    display: flex; flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary);
}
.blog-card-image-link { display: block; text-decoration: none; }
.blog-card-image {
    height: 200px; background: var(--bg-secondary); overflow: hidden; position: relative;
}
.blog-card-image img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-image-placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); opacity: 0.4;
}
.blog-card-body {
    padding: 20px; display: flex; flex-direction: column; flex: 1;
}
.blog-card-category {
    display: inline-block; font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--primary); margin-bottom: 8px;
}
.blog-card-title {
    font-size: 1.08rem; font-weight: 600; line-height: 1.4;
    margin-bottom: 8px; color: var(--text-primary);
}
.blog-card-title a {
    color: inherit; text-decoration: none; transition: color 0.2s;
}
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt {
    font-size: 0.85rem; color: var(--text-tertiary);
    line-height: 1.6; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-footer {
    margin-top: auto; display: flex; align-items: center;
    justify-content: space-between; gap: 12px;
}
.blog-card-meta {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.blog-card-date,
.blog-card-read-time {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.78rem; color: var(--text-muted);
}
.blog-card-date svg,
.blog-card-read-time svg { opacity: 0.6; flex-shrink: 0; }
.blog-card-link {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.82rem; font-weight: 500; color: var(--primary);
    text-decoration: none; transition: gap 0.2s;
    white-space: nowrap;
}
.blog-card-link:hover { gap: 8px; }

/* === Blog Pagination === */
.blog-pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-top: 48px; padding: 24px 0;
}
.blog-pagination-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
    background: var(--bg-card); border: 1px solid var(--border-color);
    text-decoration: none; transition: var(--transition);
}
.blog-pagination-btn:hover:not(.disabled) {
    border-color: var(--primary); color: var(--primary);
}
.blog-pagination-btn.disabled {
    opacity: 0.4; pointer-events: none; cursor: default;
}
.blog-pagination-pages { display: flex; align-items: center; gap: 4px; }
.blog-pagination-page {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
    background: var(--bg-card); border: 1px solid var(--border-color);
    text-decoration: none; transition: var(--transition);
}
.blog-pagination-page:hover:not(.active) {
    border-color: var(--primary); color: var(--primary);
}
.blog-pagination-page.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.blog-pagination-ellipsis {
    width: 36px; text-align: center; color: var(--text-muted); font-size: 0.85rem;
}

/* === Blog Empty State === */
.blog-empty-state {
    text-align: center; padding: 64px 20px; max-width: 400px; margin: 0 auto;
}
.blog-empty-icon { color: var(--text-muted); opacity: 0.3; margin-bottom: 20px; }
.blog-empty-state h2 {
    font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px;
}
.blog-empty-state p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 24px; }

/* === Blog Post Detail === */
.blog-post-article { padding-bottom: 0; }
.blog-post-section { padding-top: 0; }
.blog-post-header {
    padding: 40px 0 32px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
}
.blog-post-header-inner {
    text-align: center; max-width: 760px; margin: 0 auto;
}
.blog-post-category {
    display: inline-block; font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--primary); background: rgba(102, 126, 234, 0.1);
    padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
    text-decoration: none; transition: var(--transition);
}
.blog-post-category:hover { background: var(--primary); color: #fff; }
.blog-post-title {
    font-size: 2rem; font-weight: 700; line-height: 1.25;
    color: var(--text-primary); margin-bottom: 16px;
}
.blog-post-subtitle {
    font-size: 1.05rem; color: var(--text-secondary); line-height: 1.6;
    margin-bottom: 20px; max-width: 640px; margin-left: auto; margin-right: auto;
}
.blog-post-meta {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.85rem;
}
.blog-post-meta-item {
    display: inline-flex; align-items: center; gap: 5px;
}
.blog-post-meta-item svg { opacity: 0.5; flex-shrink: 0; }
.blog-post-author { font-weight: 500; }

/* Blog Post Featured Image */
.blog-post-featured-image {
    margin: 0 0 0; padding: 32px 0;
}
.blog-post-featured-image figure { margin: 0; }
.blog-post-featured-image img {
    width: 100%; height: auto; display: block;
    border-radius: var(--radius-lg); border: 1px solid var(--border-color);
    max-height: 500px; object-fit: cover;
}

/* Blog Post Content Wrapper */
.blog-post-content-wrapper { padding: 40px 0 60px; }

/* Blog Post Layout (Content + Sidebar) */
.blog-post-layout {
    display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: start;
}
.blog-post-body { min-width: 0; }

/* Blog Post Content (prose) */
.blog-post-content {
    font-size: 1.02rem; line-height: 1.8; color: var(--text-primary);
}
.blog-post-content h2 {
    font-size: 1.4rem; font-weight: 600; margin: 32px 0 12px;
    color: var(--text-primary); scroll-margin-top: 100px;
}
.blog-post-content h3 {
    font-size: 1.15rem; font-weight: 600; margin: 24px 0 8px;
    color: var(--text-primary); scroll-margin-top: 100px;
}
.blog-post-content p { margin-bottom: 16px; }
.blog-post-content img {
    max-width: 100%; height: auto; border-radius: var(--radius-sm);
    margin: 16px 0;
}
.blog-post-content a { color: var(--primary); text-decoration: underline; }
.blog-post-content a:hover { opacity: 0.8; }
.blog-post-content ul,
.blog-post-content ol { margin: 12px 0; padding-left: 24px; }
.blog-post-content ul { list-style: disc; }
.blog-post-content ol { list-style: decimal; }
.blog-post-content li { margin-bottom: 6px; color: var(--text-secondary); }
.blog-post-content blockquote {
    border-left: 3px solid var(--primary); margin: 20px 0;
    padding: 12px 20px; background: var(--bg-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic; color: var(--text-secondary);
}
.blog-post-content pre {
    background: var(--bg-secondary); padding: 16px; border-radius: var(--radius-sm);
    overflow-x: auto; font-size: 0.88rem; margin: 16px 0;
    border: 1px solid var(--border-color);
}
.blog-post-content code {
    background: var(--bg-secondary); padding: 2px 6px; border-radius: 4px;
    font-size: 0.88em;
}
.blog-post-content pre code { background: none; padding: 0; }
.blog-post-content table {
    width: 100%; border-collapse: collapse; margin: 16px 0;
}
.blog-post-content th,
.blog-post-content td {
    padding: 10px 14px; text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.blog-post-content th { background: var(--bg-card); font-weight: 600; font-size: 0.9rem; }
.blog-post-content td { font-size: 0.9rem; color: var(--text-secondary); }

/* Blog Post Tags */
.blog-post-tags {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin: 32px 0 0; padding: 24px 0; border-top: 1px solid var(--border-color);
}
.blog-post-tags-label {
    font-size: 0.82rem; font-weight: 500; color: var(--text-secondary);
    margin-right: 4px;
}
.blog-post-tag {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    font-size: 0.78rem; font-weight: 500; background: var(--bg-secondary);
    color: var(--text-secondary); text-decoration: none;
    border: 1px solid var(--border-color); transition: var(--transition);
}
.blog-post-tag:hover {
    border-color: var(--primary); color: var(--primary);
}

/* Blog Share */
.blog-post-share {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 0; border-top: 1px solid var(--border-color);
}
.blog-post-share-label {
    font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
}
.blog-post-share-buttons { display: flex; gap: 8px; }
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: var(--radius-sm);
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    color: var(--text-secondary); text-decoration: none;
    transition: var(--transition); cursor: pointer;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.share-btn svg { width: 18px; height: 18px; }
.share-btn-twitter:hover { background: #1da1f2; color: #fff; border-color: #1da1f2; }
.share-btn-facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn-linkedin:hover { background: #0077b5; color: #fff; border-color: #0077b5; }
.share-btn-whatsapp:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-btn-copy:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Blog Post Navigation (Prev/Next) */
.blog-post-navigation {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color); padding: 40px 0;
}
.blog-post-nav-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.blog-post-nav-item {
    display: flex; flex-direction: column; gap: 8px;
    padding: 20px; border-radius: var(--radius-md);
    background: var(--bg-card); border: 1px solid var(--border-color);
    text-decoration: none; transition: var(--transition);
}
.blog-post-nav-item:hover:not(.empty) {
    border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.blog-post-nav-item.empty { opacity: 0; pointer-events: none; }
.blog-post-nav-next { text-align: right; }
.blog-post-nav-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.75rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--text-muted);
}
.blog-post-nav-label svg { opacity: 0.6; }
.blog-post-nav-title {
    font-size: 0.92rem; font-weight: 600; color: var(--text-primary);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.4;
}

/* Blog Post Sidebar */
.blog-post-sidebar { position: relative; }
.blog-post-sidebar-sticky {
    position: sticky; top: calc(var(--header-height) + 20px);
}

/* Table of Contents */
.blog-post-toc {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 20px;
}
.blog-post-toc-title {
    font-size: 0.88rem; font-weight: 600; color: var(--text-primary);
    margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color);
}
.blog-post-toc-nav { display: flex; flex-direction: column; gap: 2px; }
.blog-post-toc-link {
    display: block; padding: 6px 12px; border-radius: var(--radius-sm);
    font-size: 0.8rem; color: var(--text-secondary);
    text-decoration: none; transition: var(--transition);
    border-left: 2px solid transparent; line-height: 1.4;
}
.blog-post-toc-link:hover {
    color: var(--primary); background: var(--bg-secondary);
    border-left-color: var(--primary);
}
.blog-post-toc-link.toc-sub { padding-left: 24px; font-size: 0.76rem; }

/* Blog Related Posts Section */
.blog-related-section {
    padding: 48px 0 60px;
    background: linear-gradient(135deg, rgba(102,126,234,0.04) 0%, rgba(118,75,162,0.04) 100%);
}
.blog-related-title {
    font-size: 1.3rem; font-weight: 600; color: var(--text-primary);
    margin-bottom: 28px; text-align: center;
}
.blog-related-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.blog-card-compact .blog-card-image { height: 160px; }
.blog-card-compact .blog-card-body { padding: 16px; }
.blog-card-compact .blog-card-title { font-size: 0.95rem; }

/* === Footer === */
.site-footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-col { }
.footer-brand { }
.footer-logo {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
    color: var(--text-primary); margin-bottom: 16px;
}
.footer-logo .logo-icon { width: 28px; height: 28px; }
.footer-logo .logo-text { font-size: 1.1rem; font-weight: 800; }
.footer-heading { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-primary); font-weight: 600; }
.footer-description { font-size: 0.85rem; color: var(--text-tertiary); margin-bottom: 16px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-tertiary); font-size: 0.85rem; transition: var(--transition); text-decoration: none; }
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.social-link {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: var(--bg-card); border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-tertiary); transition: var(--transition);
}
.social-link:hover { color: var(--primary); border-color: var(--primary); background: rgba(102, 126, 234, 0.1); }
.footer-lang-links {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
}
.footer-lang-links a {
    display: flex; align-items: center; gap: 6px;
    color: var(--text-tertiary); font-size: 0.8rem; padding: 4px 8px;
    border-radius: var(--radius-sm); transition: var(--transition); text-decoration: none;
}
.footer-lang-links a:hover { color: var(--primary-light); background: var(--bg-card); }
.footer-lang-links a.lang-active { color: var(--primary); }
.lang-flag { font-size: 1rem; }
.footer-bottom {
    border-top: 1px solid var(--border-color); padding: 20px 0;
    text-align: center; font-size: 0.82rem; color: var(--text-muted);
}
.footer-disclaimer { font-size: 0.75rem; color: var(--text-muted); margin-top: 8px; }

/* === Breadcrumb === */
.breadcrumb {
    padding: 16px 0; font-size: 0.85rem;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-tertiary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-secondary); font-weight: 500; }

/* === Ad Slots === */
.ad-slot {
    background: var(--bg-card); border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm); min-height: 90px;
    display: flex; align-items: center; justify-content: center;
    margin: 30px 0; overflow: hidden;
}
.ad-slot-header { min-height: 90px; }
.ad-slot-content { min-height: 250px; }
.ad-slot-sidebar { min-height: 250px; width: 100%; }

/* === Page Content (long-form) === */
.page-content { max-width: 800px; margin: 0 auto; padding-top: calc(var(--header-height) + 20px); }
.page-content h1 { font-size: 2rem; margin-bottom: 20px; margin-top: 20px; }
.page-content h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border-color); }
.page-content h3 { font-size: 1.2rem; margin-top: 30px; margin-bottom: 12px; }
.page-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 16px 0; padding-left: 24px; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { color: var(--text-secondary); margin-bottom: 8px; line-height: 1.7; }
.page-content blockquote {
    background: var(--bg-card); border-left: 4px solid var(--primary);
    padding: 16px 20px; margin: 20px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.page-content blockquote p { margin: 0; color: var(--text-secondary); }
.page-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.page-content th, .page-content td {
    padding: 12px 16px; text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.page-content th { background: var(--bg-card); font-weight: 600; }
.page-content a { color: var(--primary-light); text-decoration: underline; }
.page-content a:hover { color: var(--accent); }

/* === Alert Toast === */
.alert-toast {
    position: fixed; top: 20px; right: 20px; z-index: 9999;
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-lg); transform: translateX(120%);
    transition: transform 0.3s ease; max-width: 400px;
}
.alert-toast.alert-visible { transform: translateX(0); }
.alert-toast.alert-error { border-left: 4px solid #ef4444; }
.alert-toast.alert-success { border-left: 4px solid #10b981; }
.alert-toast.alert-info { border-left: 4px solid var(--primary); }
.alert-toast.alert-warning { border-left: 4px solid #f59e0b; }
.alert-text { flex: 1; font-size: 0.9rem; color: var(--text-primary); }
.alert-close { background: none; border: none; color: var(--text-tertiary); font-size: 1.2rem; cursor: pointer; padding: 4px; }

/* === Cookie Consent === */
.cookie-consent {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 16px 0; display: none; box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.cookie-consent-content { flex: 1; }
.cookie-consent-content p { margin: 0; font-size: 0.85rem; color: var(--text-secondary); }
.cookie-consent-content a { color: var(--primary-light); margin-left: 8px; }
.cookie-consent-actions { display: flex; gap: 10px; }

/* === Scroll to Top === */
.scroll-to-top {
    position: fixed; bottom: 30px; right: 30px; z-index: 900;
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: var(--gradient-primary); color: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: var(--transition);
    border: none; box-shadow: var(--shadow-md);
}
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.scroll-to-top svg { width: 20px; height: 20px; }

/* === Forms === */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }
input[type="text"], input[type="email"], input[type="url"], textarea, select {
    width: 100%; padding: 12px 16px; background: var(--bg-input);
    border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    color: var(--text-primary); font-size: 0.9rem; transition: var(--transition);
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2); }
textarea { min-height: 120px; resize: vertical; }
.form-error { font-size: 0.8rem; color: #ef4444; margin-top: 4px; }
.form-success { font-size: 0.9rem; color: #10b981; padding: 12px; background: rgba(16, 185, 129, 0.1); border-radius: var(--radius-sm); }

/* === Content with Sidebar === */
.content-with-sidebar { display: flex; gap: 30px; padding-top: calc(var(--header-height) + 20px); }
.main-content { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; }

/* === Skip Link (Accessibility) === */
.skip-link {
    position: absolute; top: -40px; left: 0; z-index: 10000;
    background: var(--primary); color: white; padding: 8px 16px;
    font-size: 0.85rem; transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* Platform Card Arrow */
.platform-card-arrow {
    display: flex; align-items: center; justify-content: center;
    margin-top: 8px; color: var(--text-tertiary); transition: var(--transition);
}
.platform-card:hover .platform-card-arrow { color: var(--primary); transform: translateX(4px); }

/* Other Platforms Section */
.other-platforms-section .platform-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px;
}

/* SEO Content Section */
.seo-content-section { background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.seo-content-section .content-heading {
    font-size: 1.8rem; margin-bottom: 24px;
    background: var(--gradient-primary); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.content-body h3 { margin-top: 24px; margin-bottom: 10px; font-size: 1.2rem; }
.content-body p { color: var(--text-secondary); line-height: 1.8; }
.content-list { list-style: none; padding: 0; margin: 16px 0; }
.content-list li { margin-bottom: 8px; }
.content-list li a { color: var(--primary-light); text-decoration: none; }
.content-list li a:hover { text-decoration: underline; }

/* Loading spinner extra */
.btn-loading-spinner {
    display: none; width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
    border-radius: 50%; animation: spin 0.6s linear infinite;
}
.btn-loading .btn-text { display: none; }
.btn-loading .btn-loading-spinner { display: inline-block; }

/* === Animations === */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.animate-in { opacity: 1; transform: translateY(0); }

.skeleton { background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }

/* === RTL Support === */
[dir="rtl"] .hdr__nav { direction: rtl; }
[dir="rtl"] .mob-nav { left: 0; right: auto; transform: translateX(-100%); border-left: none; border-right: 1px solid var(--border-color); box-shadow: 8px 0 30px rgba(0, 0, 0, 0.3); }
[dir="rtl"] .mob-nav.is-open { transform: translateX(0); }
[dir="rtl"] .mob-nav__arrow { margin-left: 0; margin-right: auto; }
[dir="rtl"] .mob-nav__link { text-align: right; }
[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 4px; }
[dir="rtl"] .faq-question { text-align: right; }
[dir="rtl"] .feature-card { direction: rtl; }
[dir="rtl"] .breadcrumb { direction: rtl; }
[dir="rtl"] .result-header { direction: rtl; }
[dir="rtl"] .page-content { direction: rtl; text-align: right; }
[dir="rtl"] .page-content ul, [dir="rtl"] .page-content ol { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .page-content blockquote { border-left: none; border-right: 4px solid var(--primary); }
[dir="rtl"] .alert-toast { right: auto; left: 20px; transform: translateX(-120%); }
[dir="rtl"] .alert-toast.alert-visible { transform: translateX(0); }
[dir="rtl"] .alert-toast.alert-error { border-left: none; border-right: 4px solid #ef4444; }
[dir="rtl"] .alert-toast.alert-success { border-left: none; border-right: 4px solid #10b981; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .download-input-group { direction: rtl; }
[dir="rtl"] .scroll-to-top { right: auto; left: 30px; }

/* === Internal Links Section === */
.internal-links { margin: 40px 0; }
.internal-links h3 { margin-bottom: 16px; }
.internal-links-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.internal-links-grid a {
    padding: 8px 16px; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-full); font-size: 0.85rem; color: var(--text-secondary);
    transition: var(--transition);
}
.internal-links-grid a:hover { border-color: var(--primary); color: var(--primary); background: rgba(102, 126, 234, 0.1); }

/* === 404 Page === */
.page-404 { text-align: center; padding: 120px 20px; min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-404 h1 { font-size: 6rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 10px; }
.page-404 p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 30px; }
