/*
Theme Name: YouTube to MP4 Converter
Theme URI: https://yoursite.com
Description: SEO-optimized WordPress theme for YouTube to MP4 video converter with clean, modern design
Version: 2.0.0
Author: Your Name
Author URI: https://yoursite.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: orange-converter
Tags: converter, youtube, mp4, video, clean, modern, seo-friendly
*/

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    --primary-orange: #FF9B0E;
    --secondary-orange: #FFA726;
    --dark-black: #0F0F0F;
    --light-gray: #F5F5F5;
    --text-gray: #606060;
    --white: #FFFFFF;
    --border-gray: #E5E5E5;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(255, 155, 14, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Single Post Variables */
    --color-primary: #FF9B0E;
    --color-primary-hover: #e68a00;
    --color-text: #0F0F0F;
    --color-text-light: #606060;
    --color-text-muted: #9ca3af;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --content-width: 720px;
    --wide-width: 1000px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

main, section, article, aside, header, footer, nav, div {
    max-width: 100vw;
}

/* Hide all scrollbars */
*::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Only show scrollbar on body for main page scroll */
html::-webkit-scrollbar {
    display: block;
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: #f1f1f1;
}

html::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

html {
    -ms-overflow-style: auto;
    scrollbar-width: thin;
}

/* Explicitly hide scrollbars on banners and sections */
.hero-section,
.hero-banner,
.page-hero,
.how-to-use,
.how-to-section,
.features-section,
.faq-section,
.content-section,
section,
.container,
.wrapper {
    overflow: hidden !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.hero-section::-webkit-scrollbar,
.hero-banner::-webkit-scrollbar,
.page-hero::-webkit-scrollbar,
.how-to-use::-webkit-scrollbar,
.how-to-section::-webkit-scrollbar,
.features-section::-webkit-scrollbar,
.faq-section::-webkit-scrollbar,
.content-section::-webkit-scrollbar,
section::-webkit-scrollbar,
.container::-webkit-scrollbar,
.wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile touch optimization */
* {
    -webkit-tap-highlight-color: transparent;
}

button, a, input, select, textarea {
    touch-action: manipulation;
}

/* Minimum touch target size */
button,
.btn,
input[type="submit"],
input[type="button"],
a.button {
    min-height: 44px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    background-color: var(--light-gray);
    color: var(--dark-black);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--secondary-orange);
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* ===================================
   HEADER
   =================================== */
.site-header {
    background-color: var(--white);
    padding: 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

/* Logo Styles */
.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.site-logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    position: relative;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 48px;
    height: 48px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(255, 155, 14, 0.35));
    transition: var(--transition);
}

.site-logo:hover .logo-icon svg {
    filter: drop-shadow(0 6px 16px rgba(255, 155, 14, 0.5));
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark-black);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo-brand::before {
    content: '';
    display: inline;
}

.site-logo:hover .logo-brand {
    color: var(--primary-orange);
}

.logo-tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Legacy site-title support */
.site-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-black);
    margin: 0;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-title a:hover {
    color: var(--primary-orange);
}

/* Navigation */
.main-navigation ul,
.main-navigation .nav-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--dark-black);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a.active {
    background-color: var(--light-gray);
    color: var(--primary-orange);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.menu-icon {
    width: 24px;
    height: 2px;
    background-color: var(--dark-black);
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    padding: 60px 0 40px;
}

.hero-content {
    background: var(--white);
    border-radius: 20px;
    padding: 60px 60px;
    box-shadow: var(--shadow-medium);
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.converter-box {
    max-width: 800px;
    margin: 0 auto;
}

.legal-note {
    max-width: 800px;
    margin: 16px auto 0;
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
    opacity: 0.85;
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   FEATURES SECTION - ICON BOXES
   =================================== */
.features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--primary-orange);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.how-it-works-section {
    padding: 80px 0;
    background-color: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-item {
    position: relative;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 16px;
    transition: var(--transition);
}

.step-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   ABOUT SECTION (SEO Content)
   =================================== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-content p {
        font-size: 16px;
    }
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 15px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   FOOTER (optimized layout)
   =================================== */
.site-footer {
    background-color: var(--white);
    padding: 64px 0 24px;
    margin-top: 80px;
    border-top: 1px solid var(--border-gray);
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-widget {
    min-width: 0;
}

.footer-widget h3 {
    color: var(--dark-black);
    font-size: 15px;
    margin: 0 0 18px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.3;
}

.footer-widget.footer-brand h3 {
    font-size: 20px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--primary-orange);
}

.footer-widget.footer-brand p {
    max-width: 320px;
    margin: 0;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.65;
}

.footer-widget p,
.footer-widget a {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 14px;
    text-decoration: none;
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.footer-widget ul li:last-child {
    margin-bottom: 0;
}

.footer-widget a {
    transition: color 0.2s ease;
}

.footer-widget a:hover,
.footer-widget a:focus {
    color: var(--primary-orange);
}

/* Footer button styled as link (for JS-only actions like cookie opt-out) */
.footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
    font-family: inherit;
}
.footer-link-btn:hover {
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--text-gray);
}

.social-links a:hover svg {
    fill: var(--white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border-gray);
    color: var(--text-gray);
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.footer-copy {
    font-weight: 500;
}

.footer-disclaimer {
    color: var(--text-gray);
    opacity: 0.8;
}

/* Make sure the floating language switcher doesn't collide with the footer on narrow screens */
.ft-language-switcher.ft-floating {
    z-index: 999;
}

/* Footer responsive tuning */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 860px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px 28px;
    }
    .footer-widget.footer-brand {
        grid-column: 1 / -1;
    }
    .footer-widget.footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .site-footer {
        padding: 48px 0 20px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 968px) {
    .features-grid,
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .logo-icon svg {
        width: 42px;
        height: 42px;
    }

    .logo-brand {
        font-size: 20px;
    }

    .logo-tagline {
        font-size: 11px;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-medium);
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul,
    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation a {
        display: block;
        padding: 15px;
        border-radius: 8px;
    }
    
    .features-grid,
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-content {
        padding: 40px 30px;
        overflow: hidden;
    }

    .converter-box {
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon svg {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 18px;
    }

    .logo-icon svg {
        width: 38px;
        height: 38px;
    }

    .logo-brand {
        font-size: 18px;
    }

    .logo-tagline {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .site-logo {
        gap: 10px;
    }

    .hero-content {
        padding: 30px 24px;
    }

    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .feature-box {
        padding: 30px 20px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .step-item {
        padding: 24px;
    }
    
    .faq-item {
        padding: 24px;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

/* ===================================
   PAGE STYLES
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-black);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 20px;
    line-height: 1.7;
    margin-top: 20px;
}

h1.page-title {
    margin-top: 100px;
    margin-bottom: 50px;
    font-size: 2.5rem;
    text-align: center;
    color: #1a1a2e;
}

/* Page title - Mobile */
@media (max-width: 768px) {
    h1.page-title {
        margin-top: 80px;
        margin-bottom: 40px;
        font-size: 1.8rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    h1.page-title {
        margin-top: 70px;
        margin-bottom: 35px;
        font-size: 1.5rem;
    }
}

/* ===================================
   PAGE CONTENT - How To & FAQ Styling
   =================================== */
.page-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 15px 60px;
}

@media (max-width: 768px) {
    .page-content {
        padding: 20px 10px 40px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 15px 8px 30px;
        max-width: 100%;
    }
}

/* Section Headings (How to Convert, FAQ) */
.page-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 60px 0 30px;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.page-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #FFA31D, #FFD93D);
    border-radius: 2px;
}

/* Steps List Styling */
.page-content ol {
    list-style: none;
    padding: 0;
    margin: 30px 0 50px;
    counter-reset: step-counter;
}

.page-content ol li {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 24px 85px;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    counter-increment: step-counter;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.page-content ol li:hover {
    border-color: #FFA31D;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(255, 155, 14, 0.15);
}

.page-content ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 155, 14, 0.4);
}

.page-content ol li strong {
    color: #1a1a2e;
    font-weight: 700;
}

/* FAQ Questions Styling */
.page-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    padding: 20px 24px 20px 56px;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    border: 2px solid #f0f0f0;
    border-bottom: none;
    position: relative;
}

.page-content h3::before {
    content: 'Q';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
}

.page-content h3 + p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 20px;
    padding: 16px 24px 20px;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
    border: 2px solid #f0f0f0;
    border-top: 1px solid #eee;
}

/* Regular paragraphs in content */
.page-content > p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* Unordered lists */
.page-content ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.page-content ul li {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #FFA31D;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .page-content h2 {
        font-size: 26px;
    }

    .page-content ol li {
        padding: 20px 20px 20px 70px;
    }

    .page-content ol li::before {
        width: 40px;
        height: 40px;
        font-size: 18px;
        left: 14px;
    }

    .page-content h3 {
        font-size: 16px;
        padding: 16px 16px 16px 50px;
    }

    .page-content h3::before {
        width: 26px;
        height: 26px;
        font-size: 12px;
        left: 12px;
    }

    .page-content h3 + p {
        padding: 14px 16px 16px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.text-orange {
    color: var(--primary-orange);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   SINGLE POST STYLES
   =================================== */
.single-post-main {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--white);
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

@media (min-width: 768px) {
    .single-post-main {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
}

/* ===================================
   ARTICLE HEADER
   =================================== */
.article-header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.article-meta-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

.article-category a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.article-category a:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.article-date {
    color: var(--color-text-light);
}

.article-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md);
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.article-excerpt {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0 0 var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   AUTHOR INFO IN HEADER
   =================================== */
.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.article-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-text);
}

.reading-time {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===================================
   AVATAR PLACEHOLDER
   =================================== */
.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    flex-shrink: 0;
}

.avatar-placeholder-lg {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

/* ===================================
   FEATURED IMAGE
   =================================== */
.article-featured-image {
    margin: 0 calc(-1 * var(--spacing-md)) var(--spacing-xl);
    overflow: hidden;
    border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
    .article-featured-image {
        margin-left: auto;
        margin-right: auto;
        max-width: var(--wide-width);
    }
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-featured-image figcaption {
    padding: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
    background: var(--color-bg-alt);
}

/* ===================================
   ARTICLE CONTENT - TYPOGRAPHY
   =================================== */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-content > * + * {
    margin-top: var(--spacing-md);
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    letter-spacing: -0.01em;
    position: relative;
    padding-top: var(--spacing-lg);
}

.article-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), transparent);
    border-radius: 2px;
}

.article-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.article-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: var(--spacing-lg);
    color: var(--color-text);
}

.article-content p {
    color: var(--color-text);
    margin-top: 0;
}

.article-content a {
    color: var(--primary-orange);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.article-content a:hover {
    color: var(--secondary-orange);
}

.article-content strong {
    font-weight: 600;
    color: var(--color-text);
}

/* Lists */
.article-content ul,
.article-content ol {
    padding-left: var(--spacing-lg);
}

.article-content li {
    margin-bottom: var(--spacing-xs);
}

.article-content li::marker {
    color: var(--primary-orange);
}

/* Blockquotes */
.article-content blockquote {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    padding-left: var(--spacing-xl);
    background: var(--color-bg-alt);
    border-left: 4px solid var(--primary-orange);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-light);
}

.article-content blockquote p {
    margin: 0;
}

.article-content blockquote cite {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    color: var(--color-text);
}

/* Code blocks */
.article-content code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    padding: 0.2em 0.4em;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    color: var(--primary-orange);
}

.article-content pre {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: #1a1a2e;
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Images in content */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.article-content figure {
    margin: var(--spacing-xl) 0;
}

.article-content figcaption {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Videos/Embeds */
.article-content iframe,
.article-content video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.article-content .wp-block-embed {
    margin: var(--spacing-xl) 0;
}

.embed-responsive {
    position: relative;
    width: 100%;
    margin: var(--spacing-lg) 0;
}

.embed-responsive iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0;
    font-size: 0.95rem;
}

.article-content th,
.article-content td {
    padding: var(--spacing-sm);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.article-content th {
    font-weight: 600;
    background: var(--color-bg-alt);
}

.article-content tr:hover td {
    background: var(--color-bg-alt);
}

/* ===================================
   ARTICLE FOOTER
   =================================== */
.article-footer {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.tags-label {
    font-weight: 600;
    color: var(--color-text);
    margin-right: var(--spacing-xs);
}

.article-tags a {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    border-radius: 50px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.article-tags a:hover {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

/* Share buttons */
.article-share {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.share-label {
    font-weight: 600;
    color: var(--color-text);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.share-twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.share-facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-linkedin:hover {
    background: #0a66c2;
    color: white;
    border-color: #0a66c2;
}

.share-copy:hover,
.share-copy.copied {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

/* Updated date */
.article-updated {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.article-updated span {
    font-weight: 500;
}

/* ===================================
   AUTHOR BOX
   =================================== */
.author-box {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-xl);
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    flex: 1;
}

.author-box-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-xs);
    color: var(--color-text);
}

.author-bio {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.author-link {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.author-link:hover {
    color: var(--secondary-orange);
}

@media (max-width: 480px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
}

/* ===================================
   POST NAVIGATION
   =================================== */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.nav-link {
    display: block;
    padding: var(--spacing-md);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.nav-link:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.nav-title {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   RELATED POSTS
   =================================== */
.related-posts {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-lg);
    color: var(--color-text);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.related-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.related-card:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.related-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: var(--spacing-md);
}

.related-content time {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-content h3 {
    margin: var(--spacing-xs) 0 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.related-content h3 a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.related-content h3 a:hover {
    color: var(--primary-orange);
}

/* ===================================
   COMMENTS SECTION
   =================================== */
.comments-section {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    padding: var(--spacing-lg);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.comment-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-author-name {
    font-weight: 600;
    color: var(--color-text);
}

.comment-meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.comment-content {
    color: var(--color-text);
    line-height: 1.6;
}

/* Comment form */
.comment-form {
    margin-top: var(--spacing-xl);
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 155, 14, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form button,
.comment-form input[type="submit"] {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form button:hover,
.comment-form input[type="submit"]:hover {
    background: var(--secondary-orange);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* ===================================
   RESPONSIVE - SINGLE POST
   =================================== */
@media (max-width: 768px) {
    .article-content {
        font-size: 1.0625rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .single-post-main {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 0;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .site-header,
    .site-footer,
    .article-share,
    .post-navigation,
    .related-posts,
    .comments-section,
    .author-box {
        display: none;
    }
    
    .single-post-main {
        box-shadow: none;
        margin: 0;
        padding: 20px;
    }
    
    .article-content {
        font-size: 12pt;
    }
    
    .article-title {
        font-size: 24pt;
    }
}
/* =====================================================
   Platform Icon Labels - Add to your style.css
   ===================================================== */

/* Android Label */
.platform-android {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFA31D;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
}

.platform-android::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('https://youtubetomp4.it.com/wp-content/uploads/2025/12/android-icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* iPhone Label */
.platform-iphone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #555555;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
}

.platform-iphone::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('https://youtubetomp4.it.com/wp-content/uploads/2025/12/S-1-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Smart TV Label (optional) */
.platform-tv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #2196F3;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
}

/* ==========================================================================
   ARCHIVE PAGE STYLES
   Add this to your style.css
   ========================================================================== */

/* Main Container */
.archive-main {
    background: #f5f5f5;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Archive Header Section */
.archive-header-section {
    background: #fff;
    padding: 60px 0;
    margin-bottom: 50px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.archive-header-content {
    text-align: center;
}

.archive-label {
    display: inline-block;
    background: #FFA31D;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.archive-header-content .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.archive-header-content .section-description {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.archive-count {
    font-size: 15px;
    color: #888;
}

.archive-count .count-number {
    font-weight: 700;
    color: #FFA31D;
}

/* Posts Section */
.archive-posts-section {
    padding: 0 20px;
}

/* Posts Grid */
.archive-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Post Card */
.archive-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Card Thumbnail */
.card-thumbnail {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

/* Card Content */
.card-content {
    padding: 25px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.card-category {
    display: inline-block;
    background: #FFA31D;
    color: #fff !important;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

.card-category:hover {
    background: #e8940a;
}

.card-date {
    font-size: 13px;
    color: #888;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.card-title a {
    color: #1a1a1a;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #FFA31D;
}

.card-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFA31D !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
}

.card-link svg {
    transition: transform 0.3s ease;
}

.card-link:hover svg {
    transform: translateX(3px);
}

/* Pagination */
.archive-pagination {
    display: flex;
    justify-content: center;
}

.archive-pagination ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-pagination li {
    margin: 0;
}

.archive-pagination a,
.archive-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #fff;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.archive-pagination a:hover {
    background: #FFA31D;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 163, 29, 0.3);
}

.archive-pagination .current {
    background: #FFA31D;
    color: #fff;
}

.archive-pagination .prev,
.archive-pagination .next {
    padding: 0 20px;
}

/* Empty State */
.archive-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.empty-icon {
    margin-bottom: 25px;
    color: #ddd;
}

.archive-empty h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.archive-empty p {
    font-size: 16px;
    color: #888;
    margin: 0 0 25px 0;
}

.empty-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFA31D;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.empty-button:hover {
    background: #e8940a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 163, 29, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .archive-main {
        padding: 20px 15px 60px;
    }
    
    .archive-header {
        padding: 40px 20px;
        margin-bottom: 30px;
        border-radius: 16px;
    }
    
    .archive-title {
        font-size: 28px;
    }
    
    .archive-posts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .archive-card {
        border-radius: 12px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .archive-pagination a,
    .archive-pagination span {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
        padding: 0 12px;
    }
}

/* List View Alternative (optional - add class "archive-list" to .archive-posts) */
.archive-posts.archive-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.archive-list .archive-card {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.archive-list .card-thumbnail {
    aspect-ratio: 4/3;
}

.archive-list .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .archive-list .archive-card {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SEARCH PAGE STYLES
   ========================================================================== */

.search-again {
    display: flex;
    max-width: 400px;
    margin: 25px auto 0;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
}

.search-again input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #1a1a1a;
    outline: none;
}

.search-again input::placeholder {
    color: #999;
}

.search-again button {
    padding: 14px 20px;
    background: #FFA31D;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-again button:hover {
    background: #e8940a;
}

.card-type {
    display: inline-block;
    background: #eee;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 15px;
}

/* ==========================================================================
   404 PAGE STYLES
   ========================================================================== */

.error-404-main {
    background: #f5f5f5;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.error-404-main .container {
    max-width: 600px;
}

.error-404-content {
    text-align: center;
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
}

.error-number {
    font-size: 120px;
    font-weight: 800;
    color: #FFA31D;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0 #fff3e0;
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.error-description {
    font-size: 17px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.error-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.error-button.primary {
    background: #FFA31D;
    color: #fff !important;
}

.error-button.primary:hover {
    background: #e8940a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 163, 29, 0.3);
}

.error-button.secondary {
    background: #f5f5f5;
    color: #1a1a1a !important;
}

.error-button.secondary:hover {
    background: #eee;
}

.error-search {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.error-search p {
    font-size: 14px;
    color: #888;
    margin: 0 0 15px 0;
}

.error-search form {
    display: flex;
    max-width: 350px;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
}

.error-search input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #1a1a1a;
    outline: none;
}

.error-search input::placeholder {
    color: #999;
}

.error-search button {
    padding: 14px 20px;
    background: #FFA31D;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.error-search button:hover {
    background: #e8940a;
}

@media (max-width: 768px) {
    .error-404-content {
        padding: 40px 25px;
    }
    
    .error-number {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 24px;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .error-button {
        justify-content: center;
    }
}
/* ===================================
   TOOLS SECTION - More Converters
   =================================== */
.tools-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    text-decoration: none;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
    min-height: 200px;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

.tool-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 16px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.tool-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-black);
    margin: 0 0 8px;
    line-height: 1.3;
}

.tool-description {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
    flex-grow: 1;
}

/* ===================================
   GUIDES SECTION - Blog Posts
   =================================== */
.guides-section {
    padding: 60px 0;
    background: var(--white);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guide-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.guide-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.guide-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-thumbnail img {
    transform: scale(1.05);
}

.guide-content {
    padding: 24px;
}

.guide-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.4;
}

.guide-title a {
    color: var(--dark-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.guide-title a:hover {
    color: var(--primary-orange);
}

.guide-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0 0 16px;
    line-height: 1.6;
}

.guide-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.2s ease;
}

.guide-link:hover {
    color: var(--secondary-orange);
}

.guide-link::after {
    content: '→';
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.guide-link:hover::after {
    transform: translateX(4px);
}

.guides-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tools-section,
    .guides-section {
        padding: 40px 0;
    }

    .guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tool-card {
        padding: 24px;
        min-height: auto;
    }

    .guide-content {
        padding: 20px;
    }
}

/* ==========================================================================
   HOW TO USE PAGE - COMPLETE REDESIGN
   Modern, Clean, Professional Tutorial Page
   ========================================================================== */

/* Page Container */
.how-to-use-page {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Hero Section */
.htu-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.htu-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.htu-hero .container {
    position: relative;
    z-index: 1;
}

.htu-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.htu-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 155, 14, 0.15);
    color: #FFA31D;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 155, 14, 0.3);
}

.htu-badge svg {
    width: 18px;
    height: 18px;
}

.htu-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.htu-hero-title span {
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.htu-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 40px;
    line-height: 1.6;
}

.htu-hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.htu-stat {
    text-align: center;
}

.htu-stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #FFA31D;
    line-height: 1;
}

.htu-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* Quick Start Section */
.htu-quickstart {
    padding: 80px 0;
    background: #ffffff;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.htu-quickstart .container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 60px;
    margin-top: -80px;
}

.htu-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.htu-section-label {
    display: inline-block;
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.htu-section-title {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
    line-height: 1.2;
}

.htu-section-desc {
    font-size: 18px;
    color: #606060;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Steps Grid */
.htu-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.htu-steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 16.66%;
    right: 16.66%;
    height: 4px;
    background: linear-gradient(90deg, #FFA31D, #FFD93D, #FFA31D);
    border-radius: 2px;
    z-index: 0;
}

.htu-step-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.htu-step-card:hover {
    background: #ffffff;
    border-color: #FFA31D;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 155, 14, 0.2);
}

.htu-step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 155, 14, 0.4);
    position: relative;
}

.htu-step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 3px solid rgba(255, 155, 14, 0.2);
    border-radius: 50%;
}

.htu-step-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 155, 14, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.htu-step-icon svg {
    width: 30px;
    height: 30px;
    color: #FFA31D;
}

.htu-step-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.htu-step-desc {
    font-size: 15px;
    color: #606060;
    line-height: 1.7;
    margin: 0;
}

/* Detailed Instructions Section */
.htu-detailed {
    padding: 80px 0;
    background: #f8f9fa;
}

.htu-instruction-block {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.htu-instruction-block:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.htu-instruction-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 30px;
}

.htu-instruction-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(255, 155, 14, 0.3);
}

.htu-instruction-icon svg {
    width: 35px;
    height: 35px;
    color: #ffffff;
}

.htu-instruction-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.htu-instruction-subtitle {
    font-size: 16px;
    color: #606060;
    margin: 0;
}

.htu-instruction-content {
    padding-left: 94px;
}

.htu-instruction-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.htu-instruction-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.htu-instruction-list li:last-child {
    border-bottom: none;
}

.htu-list-number {
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #FFA31D;
    flex-shrink: 0;
    border: 2px solid #FFA31D;
}

.htu-list-text {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    padding-top: 4px;
}

.htu-list-text strong {
    color: #1a1a2e;
    font-weight: 600;
}

/* Device Guides Section */
.htu-devices {
    padding: 80px 0;
    background: #ffffff;
}

.htu-devices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.htu-device-card {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #e5e5e5;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.htu-device-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--device-color, #FFA31D), var(--device-color-light, #FFD93D));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.htu-device-card:hover {
    border-color: var(--device-color, #FFA31D);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.htu-device-card:hover::before {
    transform: scaleX(1);
}

.htu-device-card.iphone {
    --device-color: #555555;
    --device-color-light: #888888;
}

.htu-device-card.android {
    --device-color: #3DDC84;
    --device-color-light: #7FE5A8;
}

.htu-device-card.desktop {
    --device-color: #0078D4;
    --device-color-light: #4DA6FF;
}

.htu-device-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--device-color, #FFA31D) 0%, var(--device-color-light, #FFD93D) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.htu-device-icon svg {
    width: 45px;
    height: 45px;
    color: #ffffff;
}

.htu-device-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.htu-device-desc {
    font-size: 15px;
    color: #606060;
    line-height: 1.6;
    margin: 0 0 24px;
}

.htu-device-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.htu-device-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.htu-device-features li:last-child {
    border-bottom: none;
}

.htu-device-features li svg {
    width: 18px;
    height: 18px;
    color: var(--device-color, #FFA31D);
    flex-shrink: 0;
}

/* Tips Section */
.htu-tips {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
}

.htu-tips .htu-section-title {
    color: #ffffff;
}

.htu-tips .htu-section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.htu-tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.htu-tip-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.htu-tip-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 155, 14, 0.5);
    transform: translateY(-5px);
}

.htu-tip-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.htu-tip-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.htu-tip-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.htu-tip-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.htu-tip-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0;
    padding-left: 66px;
}

/* Troubleshooting Section */
.htu-troubleshooting {
    padding: 80px 0;
    background: #f8f9fa;
}

.htu-trouble-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.htu-trouble-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #FFA31D;
    transition: all 0.3s ease;
}

.htu-trouble-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.htu-trouble-question {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.htu-trouble-question svg {
    width: 22px;
    height: 22px;
    color: #FFA31D;
    flex-shrink: 0;
}

.htu-trouble-answer {
    font-size: 15px;
    color: #606060;
    line-height: 1.7;
    margin: 0;
    padding-left: 34px;
}

/* FAQ Section */
.htu-faq {
    padding: 80px 0;
    background: #ffffff;
}

.htu-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.htu-faq-item {
    background: #f8f9fa;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.htu-faq-item:hover {
    border-color: #FFA31D;
    box-shadow: 0 8px 25px rgba(255, 155, 14, 0.15);
}

.htu-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 30px;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    transition: all 0.3s ease;
}

.htu-faq-question:hover {
    color: #FFA31D;
}

.htu-faq-question svg {
    width: 24px;
    height: 24px;
    color: #FFA31D;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.htu-faq-item.active .htu-faq-question svg {
    transform: rotate(180deg);
}

.htu-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.htu-faq-item.active .htu-faq-answer {
    max-height: 500px;
}

.htu-faq-answer-content {
    padding: 0 30px 24px;
    font-size: 16px;
    color: #606060;
    line-height: 1.8;
}

/* Quality Options Section */
.htu-quality {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.htu-quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.htu-quality-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.htu-quality-card:hover {
    border-color: #FFA31D;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 155, 14, 0.15);
}

.htu-quality-card.recommended {
    border-color: #FFA31D;
    background: linear-gradient(180deg, #fff9f0 0%, #ffffff 100%);
    position: relative;
}

.htu-quality-card.recommended::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.htu-quality-resolution {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 5px;
}

.htu-quality-name {
    font-size: 14px;
    font-weight: 600;
    color: #FFA31D;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.htu-quality-size {
    font-size: 14px;
    color: #606060;
    margin: 0;
}

/* CTA Section */
.htu-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFA31D 0%, #FF8C00 100%);
    text-align: center;
}

.htu-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.htu-cta-title {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px;
}

.htu-cta-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 35px;
    line-height: 1.6;
}

.htu-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #FFA31D !important;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.htu-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.htu-cta-btn svg {
    width: 22px;
    height: 22px;
}

/* Legal Notice */
.htu-legal {
    padding: 60px 0;
    background: #1a1a2e;
}

.htu-legal-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.htu-legal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 155, 14, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.htu-legal-icon svg {
    width: 30px;
    height: 30px;
    color: #FFA31D;
}

.htu-legal-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px;
}

.htu-legal-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

/* Responsive Design for How-to-Use Page */
@media (max-width: 1024px) {
    .htu-steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .htu-steps-grid::before {
        display: none;
    }

    .htu-devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .htu-quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .htu-hero {
        padding: 60px 0 80px;
    }

    .htu-hero-title {
        font-size: 36px;
    }

    .htu-hero-subtitle {
        font-size: 17px;
    }

    .htu-hero-stats {
        gap: 30px;
    }

    .htu-stat-number {
        font-size: 28px;
    }

    .htu-quickstart .container {
        padding: 40px 25px;
        margin-top: -60px;
    }

    .htu-section-title {
        font-size: 28px;
    }

    .htu-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .htu-step-card {
        padding: 30px 25px;
    }

    .htu-instruction-block {
        padding: 30px 25px;
    }

    .htu-instruction-header {
        flex-direction: column;
        text-align: center;
    }

    .htu-instruction-content {
        padding-left: 0;
    }

    .htu-instruction-title {
        font-size: 22px;
    }

    .htu-devices-grid {
        grid-template-columns: 1fr;
    }

    .htu-tips-grid {
        grid-template-columns: 1fr;
    }

    .htu-tip-text {
        padding-left: 0;
        margin-top: 12px;
    }

    .htu-trouble-grid {
        grid-template-columns: 1fr;
    }

    .htu-quality-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .htu-quality-resolution {
        font-size: 28px;
    }

    .htu-cta-title {
        font-size: 28px;
    }

    .htu-faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .htu-faq-answer-content {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .htu-hero-title {
        font-size: 28px;
    }

    .htu-hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .htu-section-title {
        font-size: 24px;
    }

    .htu-step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .htu-device-icon {
        width: 70px;
        height: 70px;
    }

    .htu-device-icon svg {
        width: 35px;
        height: 35px;
    }

    .htu-quality-grid {
        grid-template-columns: 1fr;
    }

    .htu-cta-btn {
        padding: 16px 30px;
        font-size: 16px;
    }
}

/* ===================================
   CONVERTER CTA BOX (in posts)
   =================================== */
.converter-cta-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFF1D6 100%);
    border: 2px solid var(--primary-orange);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(255, 155, 14, 0.15);
}

.converter-cta-box .cta-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.converter-cta-box .cta-icon svg {
    width: 30px;
    height: 30px;
}

.converter-cta-box .cta-content h4 {
    margin: 0 0 10px;
    font-size: 20px;
    color: var(--dark-black);
}

.converter-cta-box .cta-content p {
    margin: 0 0 16px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.converter-cta-box .cta-button {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.converter-cta-box .cta-button:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .converter-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .converter-cta-box .cta-icon {
        margin: 0 auto;
    }
}

/* ===================================
   TABLE OF CONTENTS
   =================================== */
.table-of-contents {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-orange);
    padding: 20px 24px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
}

.table-of-contents h4 {
    margin: 0 0 12px;
    font-size: 16px;
    color: var(--dark-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-of-contents ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.table-of-contents li {
    margin: 8px 0;
    padding-left: 16px;
    position: relative;
}

.table-of-contents li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
}

.table-of-contents a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.table-of-contents a:hover {
    color: var(--primary-orange);
}

/* ===================================
   CONVERTER TOOL PAGES (WAV, MOV, M4A, MP3, etc.)
   =================================== */
.page-content .page-title,
.content-area h1.page-title {
    color: var(--dark-black) !important;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 40px 0 35px;
}

/* ===================================
   PAGE CONTENT STYLES (for new pages)
   =================================== */
.converter-page-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.converter-page-intro .intro-text {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}

.page-features {
    margin: 50px 0;
    padding: 40px;
    background: var(--light-gray);
    border-radius: 16px;
}

.page-features h2 {
    text-align: center;
    margin-bottom: 30px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-item {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.feature-item h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--dark-black);
}

.feature-item p {
    margin: 0;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.how-to-section {
    margin: 50px 0;
}

.how-to-section h2 {
    margin-bottom: 24px;
}

.steps-list {
    padding-left: 24px;
}

.steps-list li {
    margin: 16px 0;
    font-size: 16px;
    line-height: 1.7;
}

.steps-list li strong {
    color: var(--dark-black);
}

.info-section {
    margin: 40px 0;
    padding: 30px;
    background: #f0f8ff;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.info-section h2 {
    margin-top: 0;
}

/* ===================================
   CONVERTER TOOL PAGES - MOBILE
   =================================== */
@media (max-width: 768px) {
    .page-content .page-title,
    .content-area h1.page-title {
        font-size: 1.75rem;
        margin: 20px 0 15px;
        padding: 0 15px;
    }

    .converter-page-intro {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .converter-page-intro .intro-text {
        font-size: 16px;
    }

    .page-features {
        margin: 30px 15px;
        padding: 24px 16px;
    }

    .page-features h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-item h3 {
        font-size: 16px;
    }

    .feature-item p {
        font-size: 14px;
    }

    .how-to-section {
        margin: 30px 15px;
    }

    .how-to-section h2 {
        font-size: 1.5rem;
    }

    .steps-list {
        padding-left: 20px;
    }

    .steps-list li {
        font-size: 15px;
        margin: 12px 0;
    }

    .faq-section {
        margin: 30px 15px;
    }

    .faq-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .faq-section h3 {
        font-size: 16px;
    }

    .faq-section p {
        font-size: 14px;
    }

    .related-tools {
        margin: 30px 15px;
        padding: 24px 16px;
    }

    .related-tools h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .related-tools .related-tools-links {
        flex-direction: column;
        gap: 12px;
    }

    .related-tools .related-tools-links a {
        text-align: center;
        padding: 14px 20px;
    }
}

/* Related Tools Section */
.related-tools {
    margin: 50px 0;
    padding: 40px;
    background: var(--light-gray);
    border-radius: 16px;
    text-align: center;
}

.related-tools h2 {
    margin-bottom: 24px;
    color: var(--dark-black);
}

.related-tools .related-tools-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.related-tools .related-tools-links a {
    padding: 12px 24px;
    background: var(--white);
    color: var(--dark-black);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: var(--shadow-light);
    transition: all 0.2s;
}

.related-tools .related-tools-links a:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* Related Tools Compact List (Mobile-First) */
.related-tools-compact {
    margin: 40px 0;
    padding: 32px 20px;
    background: var(--light-gray);
    border-radius: 16px;
}

.related-tools-compact h2 {
    margin: 0 0 24px;
    color: var(--dark-black);
    font-size: 1.75rem;
    text-align: center;
}

.tools-list-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.tool-link-compact {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: var(--dark-black);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tool-link-compact:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: var(--primary-orange);
}

.tool-link-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-link-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.tool-link-content {
    flex: 1;
    min-width: 0;
}

.tool-link-content h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-black);
    line-height: 1.3;
}

.tool-link-content p {
    margin: 0;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Tablet and Desktop: Grid Layout */
@media (min-width: 768px) {
    .related-tools-compact {
        padding: 40px 32px;
    }

    .tools-list-compact {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tool-link-compact {
        padding: 20px;
    }
}

@media (min-width: 1024px) {
    .tools-list-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .tool-link-compact {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .tool-link-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        margin-bottom: 12px;
    }

    .tool-link-icon svg {
        width: 28px;
        height: 28px;
    }

    .tool-link-content h3 {
        font-size: 17px;
    }

    .tool-link-content p {
        font-size: 14px;
    }

    .tool-link-compact:hover {
        transform: translateY(-4px);
    }
}

/* Small Mobile Optimization */
@media (max-width: 480px) {
    .related-tools-compact {
        margin: 24px 0;
        padding: 24px 16px;
        border-radius: 12px;
    }

    .related-tools-compact h2 {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }

    .tools-list-compact {
        gap: 10px;
    }

    .tool-link-compact {
        padding: 12px;
        gap: 12px;
    }

    .tool-link-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .tool-link-icon svg {
        width: 22px;
        height: 22px;
    }

    .tool-link-content h3 {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .tool-link-content p {
        font-size: 12px;
    }
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */
.about-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-hero .lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-gray);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #FF9B0E 0%, #FFA726 100%);
    border-radius: 16px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-top: 8px;
}

.about-section {
    margin: 40px 0;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-gray);
}

.about-section:last-child {
    border-bottom: none;
}

.about-section h2 {
    color: var(--dark-black);
    margin-bottom: 20px;
}

.about-section h3 {
    color: var(--primary-orange);
    font-size: 18px;
    margin: 24px 0 12px;
}

.about-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.about-section li {
    margin: 10px 0;
    line-height: 1.7;
    color: var(--text-gray);
}

.about-section li strong {
    color: var(--dark-black);
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

/* ===================================
   DROPDOWN MENU STYLES
   =================================== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--dark-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: rgba(255, 155, 14, 0.1);
    color: var(--primary-orange);
}

/* Dropdown indicator */
.nav-menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease;
}

.nav-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown submenu - Clean minimal design */
.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 150ms ease, transform 150ms ease;
    z-index: 1000;
    flex-direction: column;
    gap: 2px;
}

/* Click-based dropdown */
.nav-menu > li.menu-item-has-children.dropdown-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Active state on Tools button when open */
.nav-menu > li.menu-item-has-children.dropdown-open > a {
    background: rgba(255, 155, 14, 0.1);
    color: var(--primary-orange);
}

.nav-menu .sub-menu li {
    margin: 0;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-radius: 8px;
    transition: background 150ms ease;
}

.nav-menu .sub-menu a:hover {
    background: rgba(255, 155, 14, 0.08);
    color: var(--primary-orange);
}

/* Mobile menu dropdown */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-menu > li > a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--border-gray);
    }

    .nav-menu .sub-menu {
        position: static;
        width: 100%;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        background: var(--light-gray);
        border-radius: 0;
        border: none;
        padding: 0;
        display: none;
    }

    .nav-menu > li.menu-item-has-children.dropdown-open > .sub-menu,
    .nav-menu > li.menu-item-has-children.active > .sub-menu {
        display: block;
    }

    .nav-menu .sub-menu a {
        padding: 12px 20px 12px 36px;
        border-radius: 0;
        border-bottom: 1px solid var(--border-gray);
    }
}

/* ==========================================================================
   TOOL PAGES - Modern Redesign
   YouTube to MP3, Shorts, Playlist, 4K Download Pages
   ========================================================================== */

/* Tool Page Container */
.tool-page {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Tool Hero Section */
.tool-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 140px 0 120px;
    overflow: hidden;
}

.tool-hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.tool-hero .container {
    position: relative;
    z-index: 1;
}

.tool-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tool-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--tool-color, #FFA31D);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.tool-hero-badge svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.tool-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.tool-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Converter Box in Hero */
.tool-converter-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.tool-converter-box .yt-converter-wrapper,
.tool-converter-box .converter-container {
    max-width: 100%;
}

/* Mini Features under converter */
.tool-hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-bottom: 20px;
}

.tool-mini-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.tool-mini-feature svg {
    width: 20px;
    height: 20px;
    fill: var(--tool-color, #FFA31D);
}

/* Section Header */
.tool-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.tool-section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--tool-color, #FFA31D) 0%, #FFD93D 100%);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.tool-section-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
    line-height: 1.2;
}

.tool-section-desc {
    font-size: 17px;
    color: #606060;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.tool-features {
    padding: 80px 0;
    background: #ffffff;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 40px 40px 0 0;
}

.tool-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tool-feature-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.tool-feature-card:hover {
    background: #ffffff;
    border-color: var(--tool-color, #FFA31D);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.tool-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--tool-color, #FFA31D) 0%, #FFD93D 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(255, 155, 14, 0.3);
    transition: all 0.3s ease;
}

.tool-feature-card:hover .tool-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.tool-feature-icon svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.tool-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.tool-feature-desc {
    font-size: 14px;
    color: #606060;
    line-height: 1.6;
    margin: 0;
}

/* How To Section */
.tool-howto {
    padding: 80px 0;
    background: #f8f9fa;
}

.tool-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.tool-step {
    flex: 1;
    text-align: center;
    padding: 0 30px;
    position: relative;
}

.tool-step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--tool-color, #FFA31D) 0%, #FFD93D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(255, 155, 14, 0.4);
    position: relative;
    z-index: 2;
}

.tool-step-number::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 3px solid rgba(255, 155, 14, 0.2);
    border-radius: 50%;
}

.tool-step-connector {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--tool-color, #FFA31D), #FFD93D);
    margin-top: 38px;
    border-radius: 2px;
    flex-shrink: 0;
}

.tool-step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.tool-step-content p {
    font-size: 15px;
    color: #606060;
    line-height: 1.6;
    margin: 0;
}

/* Tool Content Section */
.tool-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.tool-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* How To Section in Content */
.tool-content-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.tool-content-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FFA31D, #FFD93D);
    border-radius: 2px;
}

.tool-content-wrapper h2:not(:first-child) {
    margin-top: 80px;
}

/* Styled Steps List */
.tool-content-wrapper ol {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: grid;
    gap: 20px;
}

.tool-content-wrapper ol li {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 30px 28px 90px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    counter-increment: step-counter;
}

.tool-content-wrapper ol li:hover {
    border-color: #FFA31D;
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(255, 155, 14, 0.15);
}

.tool-content-wrapper ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 155, 14, 0.4);
}

.tool-content-wrapper ol li strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.tool-content-wrapper ol {
    counter-reset: step-counter;
}

/* FAQ Section Styling */
.tool-content-wrapper h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    padding: 24px 30px;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    border: 2px solid #e5e5e5;
    border-bottom: none;
    position: relative;
    padding-left: 60px;
}

.tool-content-wrapper h3::before {
    content: 'Q';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.tool-content-wrapper h3 + p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 24px;
    padding: 20px 30px;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    border: 2px solid #e5e5e5;
    border-top: 1px solid #f0f0f0;
}

.tool-content-wrapper p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin: 0 0 20px;
}

/* General list styling */
.tool-content-wrapper ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.tool-content-wrapper ul li {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.tool-content-wrapper ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #FFA31D;
    border-radius: 50%;
}

/* Tool Content - Mobile Responsive */
@media (max-width: 768px) {
    .tool-content {
        padding: 50px 0;
    }

    .tool-content-wrapper {
        padding: 0 15px;
    }

    .tool-content-wrapper h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .tool-content-wrapper h2:not(:first-child) {
        margin-top: 50px;
    }

    .tool-content-wrapper ol li {
        padding: 20px 15px 20px 70px;
        border-radius: 12px;
    }

    .tool-content-wrapper ol li::before {
        left: 12px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .tool-content-wrapper ol li strong {
        font-size: 16px;
    }

    .tool-content-wrapper h3 {
        font-size: 16px;
        padding: 18px 15px 18px 50px;
    }

    .tool-content-wrapper h3::before {
        left: 12px;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .tool-content-wrapper h3 + p {
        padding: 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tool-content-wrapper ol li {
        padding: 18px 12px 18px 60px;
    }

    .tool-content-wrapper ol li::before {
        left: 10px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .tool-content-wrapper h3 {
        padding: 15px 12px 15px 45px;
        font-size: 15px;
    }

    .tool-content-wrapper h3::before {
        left: 10px;
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .tool-content-wrapper h3 + p {
        padding: 12px;
    }
}

/* Device Download Section */
.tool-devices {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.tool-devices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tool-device-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-device-card:hover {
    border-color: #FF6B35;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
}

.tool-device-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF9B0E 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tool-device-icon svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.tool-device-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.tool-device-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.tool-device-cta {
    font-size: 14px;
    font-weight: 600;
    color: #FF6B35;
    margin-top: auto;
}

.tool-device-card:hover .tool-device-cta {
    color: #e55a2b;
}

@media (max-width: 1024px) {
    .tool-devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .tool-devices-grid {
        grid-template-columns: 1fr;
    }

    .tool-device-card {
        padding: 24px 20px;
    }
}

/* Other Tools Section */
.tool-others {
    padding: 80px 0;
    background: #f8f9fa;
}

.tool-others-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tool-other-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid #e5e5e5;
}

.tool-other-card:hover {
    border-color: var(--tool-color, #FFA31D);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.tool-other-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 25px rgba(255, 155, 14, 0.3);
}

.tool-other-icon svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

.tool-other-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.tool-other-card p {
    font-size: 14px;
    color: #606060;
    margin: 0;
    line-height: 1.5;
}

/* CTA Section */
.tool-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--tool-color, #FFA31D) 0%, #FF8C00 100%);
    text-align: center;
}

.tool-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.tool-cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
}

.tool-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px;
    line-height: 1.6;
}

.tool-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--tool-color, #FFA31D) !important;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tool-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tool-cta-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Tool page base color */
.tool-page {
    --tool-color: #FFA31D;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tool-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-others-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tool-hero {
        padding: 120px 0 80px;
    }

    .tool-hero-content {
        padding: 0 15px;
    }

    .tool-hero-title {
        font-size: 28px;
        margin-top: 20px;
    }

    .tool-hero-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .tool-converter-box {
        padding: 20px 15px;
        border-radius: 16px;
        margin: 0 -5px;
    }

    .tool-hero-features {
        gap: 15px;
    }

    .tool-mini-feature {
        font-size: 12px;
    }

    .tool-features {
        padding: 50px 15px;
        border-radius: 24px 24px 0 0;
    }

    .tool-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tool-feature-card {
        padding: 25px 20px;
    }

    .tool-section-header {
        padding: 0 10px;
    }

    .tool-section-title {
        font-size: 24px;
    }

    .tool-section-desc {
        font-size: 14px;
    }

    .tool-steps {
        flex-direction: column;
        gap: 30px;
    }

    .tool-step {
        padding: 0;
    }

    .tool-step-connector {
        display: none;
    }

    .tool-step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .tool-others-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tool-other-card {
        padding: 24px 16px;
    }

    .tool-cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .tool-hero {
        padding: 100px 0 60px;
    }

    .tool-hero-title {
        font-size: 24px;
    }

    .tool-hero-subtitle {
        font-size: 14px;
    }

    .tool-converter-box {
        padding: 15px 12px;
    }

    .tool-hero-features {
        flex-direction: column;
        gap: 10px;
    }

    .tool-features {
        padding: 40px 10px;
    }

    .tool-section-title {
        font-size: 22px;
    }

    .tool-section-desc {
        font-size: 13px;
    }

    .tool-feature-card {
        padding: 20px 15px;
    }

    .tool-others-grid {
        grid-template-columns: 1fr;
    }

    .tool-other-card {
        padding: 20px 15px;
    }

    .tool-cta-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ===================================
   SECTION LINKS
   =================================== */
.section-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.section-link:hover {
    background: var(--secondary-orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===================================
   PAGE HERO SECTION
   =================================== */
.page-hero-section {
    background: linear-gradient(135deg, var(--dark-black) 0%, #1a1a1a 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   FEATURES PAGE STYLES
   =================================== */
.features-page {
    padding: 80px 0;
}

.features-page .features-grid {
    gap: 30px;
}

.features-page .feature-title {
    font-size: 20px;
}

.features-details-section {
    background: var(--white);
    padding: 80px 0;
}

.feature-detail-block {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 12px;
}

.feature-detail-block:last-child {
    margin-bottom: 0;
}

.feature-detail-block h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-black);
}

.feature-detail-block p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===================================
   FAQ PAGE STYLES
   =================================== */
.faq-page {
    padding: 80px 0;
    background: var(--white);
}

.faq-page .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-page .faq-item {
    margin-bottom: 20px;
    padding: 25px 30px;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
}

.faq-page .faq-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-black);
    margin-bottom: 12px;
}

.faq-page .faq-answer p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--white);
    color: var(--primary-orange);
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-orange);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-orange);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive for new pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }

    .page-description {
        font-size: 16px;
    }

    .features-page,
    .faq-page,
    .features-details-section,
    .cta-section {
        padding: 60px 0;
    }

    .feature-detail-block {
        padding: 20px;
    }

    .faq-page .faq-item {
        padding: 20px;
    }

    .cta-section h2 {
        font-size: 26px;
    }
}

/* ==========================================================================
   DEVICE GUIDE PAGES
   iPhone, Android, Mac, Windows specific download guides
   ========================================================================== */

/* Breadcrumb */
.device-breadcrumb {
    background: #f8f9fa;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
    max-width: 100vw;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    font-size: 14px;
    overflow: hidden;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list li::after {
    content: '/';
    color: #9ca3af;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: #FF6B35;
}

.breadcrumb-list li:last-child {
    color: #1a1a2e;
    font-weight: 500;
}

/* Device Hero */
.device-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 0;
    color: #ffffff;
    overflow: hidden;
    max-width: 100%;
}

.device-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.device-hero-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF9B0E 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.device-hero-icon svg {
    width: 40px;
    height: 40px;
    fill: #ffffff;
}

.device-hero-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Device Content Grid */
.device-guide-page {
    overflow-x: hidden;
    max-width: 100vw;
}

.device-content {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.device-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
    max-width: 100%;
    overflow: hidden;
}

/* Main Content Column */
.device-main {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.device-main h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827; /* Texto oscuro sobre fondo claro */
    margin: 40px 0 20px;
}

.device-main h2:first-child {
    margin-top: 0;
}

.device-main h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827; /* Texto oscuro sobre fondo claro */
    margin: 32px 0 16px;
}

.device-main p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151; /* Texto oscuro sobre fondo claro */
    margin-bottom: 16px;
}

.device-main ul, .device-main ol {
    margin: 16px 0;
    padding-left: 24px;
}

.device-main li {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 8px;
}

/* Step-by-Step Stepper */
.device-stepper {
    margin: 32px 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.device-step {
    position: relative;
    padding-left: 80px;
    padding-bottom: 32px;
    border-left: 2px solid #e5e7eb;
    margin-left: 24px;
}

.device-step:last-child {
    border-left: 2px solid transparent;
    padding-bottom: 0;
}

.device-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -25px;
    top: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF9B0E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.device-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.device-step-desc {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 8px;
}

.device-step-tip {
    font-size: 14px;
    color: #FF6B35;
    background: rgba(255, 107, 53, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}

.device-step-tip::before {
    content: '💡 ';
}

/* Benefits List */
.device-benefits {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
}

.device-benefits ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.device-benefits li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
}

.device-benefits li:last-child {
    margin-bottom: 0;
}

.device-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

/* Troubleshooting */
.device-troubleshoot {
    margin: 32px 0;
}

.device-issue {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.device-issue-title {
    font-size: 16px;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.device-issue-title::before {
    content: '⚠️';
}

.device-issue-solution {
    font-size: 15px;
    color: #4b5563;
    padding-left: 28px;
}

.device-issue-solution strong {
    color: #10b981;
}

/* FAQ Schema */
.device-faq {
    margin: 40px 0;
}

.device-faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
}

.device-faq-item:last-child {
    border-bottom: none;
}

.device-faq-question {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.device-faq-answer {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
}

/* Sidebar */
.device-sidebar {
    position: sticky;
    top: 100px;
}

.device-sidebar-cta {
    background: linear-gradient(135deg, #FF6B35 0%, #FF9B0E 100%);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 24px;
}

.device-sidebar-cta h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.device-sidebar-cta p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 16px;
}

.device-cta-btn {
    display: inline-block;
    background: #ffffff;
    color: #FF6B35;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.device-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.device-sidebar-links {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.device-sidebar-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

.device-sidebar-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.device-sidebar-links li {
    margin-bottom: 8px;
}

.device-sidebar-links a {
    color: #1a1a2e;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.device-sidebar-links a:hover {
    color: #FF6B35;
}

.device-sidebar-links a::before {
    content: '→';
    color: #9ca3af;
}

.device-sidebar-back {
    text-align: center;
}

.device-sidebar-back a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}

.device-sidebar-back a:hover {
    color: #FF6B35;
}

/* Bottom CTA */
.device-bottom-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
}

.device-bottom-cta-content {
    text-align: center;
    color: #ffffff;
}

.device-bottom-cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #ffffff !important;
}

.device-bottom-cta-content p {
    font-size: 18px;
    opacity: 0.8;
    margin: 0 0 24px;
}

.device-bottom-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF9B0E 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.device-bottom-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.device-bottom-cta-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .device-content-grid {
        grid-template-columns: 1fr;
    }

    .device-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .device-hero-title {
        font-size: 28px;
    }

    .device-sidebar {
        grid-template-columns: 1fr;
    }

    .device-step {
        padding-left: 60px;
    }

    .device-bottom-cta-content h2 {
        font-size: 24px;
    }
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 155, 14, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 155, 14, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ===================================
   HEADER SEARCH - DROPDOWN STYLE
   =================================== */
.header-search-wrapper {
    position: relative;
    margin-left: 12px;
}

.header-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark-black);
    transition: color 0.2s ease;
}

.header-search-toggle:hover {
    color: var(--primary-orange);
}

.header-search-toggle svg {
    width: 22px;
    height: 22px;
}

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.header-search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-form {
    display: flex;
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

.header-search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 14px;
    color: var(--dark-black);
    background: transparent;
    outline: none;
}

.header-search-input::placeholder {
    color: var(--text-gray);
}

.header-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    background: var(--primary-orange);
    border: none;
    cursor: pointer;
    color: var(--white);
    transition: background 0.2s ease;
}

.header-search-submit:hover {
    background: var(--secondary-orange);
}

.header-search-submit svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .header-search-wrapper {
        margin-left: 8px;
    }

    .header-search-toggle {
        width: 36px;
        height: 36px;
    }

    .header-search-toggle svg {
        width: 20px;
        height: 20px;
    }

    .header-search-dropdown {
        width: 260px;
        right: -10px;
    }

    .header-search-overlay {
        padding-top: 20vh;
    }

    .header-search-input {
        padding: 14px 20px;
        font-size: 16px;
    }

    .header-search-submit {
        width: 50px;
    }
}

/* ===================================
   HIDE PLUGIN'S FLOATING DARK MODE BUTTON
   =================================== */
.darkmode-toggle,
.darkmode-layer,
.darkmode-background {
    display: none !important;
}

/* ===================================
   CUSTOM DARK THEME
   =================================== */
body.dark-theme {
    --white: #1a1a2e;
    --light-gray: #16213e;
    --dark-black: #eaeaea;
    --text-gray: #b8b8b8;
    --medium-gray: #3a3a5c;
    background-color: #0f0f1a;
    color: #eaeaea;
}

body.dark-theme .site-header {
    background-color: #1a1a2e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-theme .hero-content,
body.dark-theme .feature-box,
body.dark-theme .step-item,
body.dark-theme .faq-item,
body.dark-theme .yt-converter-container {
    background: #1a1a2e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-theme .yt-video-url {
    background: #252540;
    border-color: #3a3a5c;
    color: #ffffff;
}

body.dark-theme .yt-video-url::placeholder {
    color: #8888aa;
}

body.dark-theme .yt-video-url:focus {
    border-color: #FF9B0E;
    box-shadow: 0 0 0 3px rgba(255, 155, 14, 0.2);
}

body.dark-theme .hero-title,
body.dark-theme .section-title,
body.dark-theme .feature-title,
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3 {
    color: #ffffff;
}

body.dark-theme .hero-description,
body.dark-theme .section-description,
body.dark-theme .feature-description,
body.dark-theme p {
    color: #b8b8b8;
}

body.dark-theme .site-search-section {
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    padding: 30px 0 40px;
}

body.dark-theme .site-search-form {
    background: linear-gradient(145deg, #1e1e35 0%, #252545 100%);
    border: 2px solid #3a3a5c;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme .site-search-form:focus-within {
    border-color: #FF9B0E;
    box-shadow: 0 8px 32px rgba(255, 155, 14, 0.15),
                0 0 0 4px rgba(255, 155, 14, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme .site-search-input {
    background: transparent;
    color: #ffffff;
}

body.dark-theme .site-search-input::placeholder {
    color: #8888aa;
}

body.dark-theme .site-search-submit {
    background: linear-gradient(135deg, #FF9B0E 0%, #FFA726 100%);
    box-shadow: 0 4px 15px rgba(255, 155, 14, 0.3);
}

body.dark-theme .site-search-submit:hover {
    background: linear-gradient(135deg, #FFA726 0%, #FFB74D 100%);
    box-shadow: 0 6px 20px rgba(255, 155, 14, 0.4);
}

body.dark-theme .main-navigation {
    background: #1a1a2e;
}

body.dark-theme .main-navigation a {
    color: #eaeaea;
}

body.dark-theme .main-navigation a:hover {
    background: #16213e;
    color: var(--primary-orange);
}

body.dark-theme .logo-brand {
    color: #ffffff;
}

body.dark-theme .logo-tagline {
    color: #888;
}

body.dark-theme .menu-icon {
    background-color: #eaeaea;
}

body.dark-theme .quality-btn {
    background: #16213e;
    border-color: #3a3a5c;
    color: #b8b8b8;
}

body.dark-theme .quality-btn:hover {
    background: #2a2a4e;
    border-color: var(--primary-orange);
}

body.dark-theme .yt-video-url {
    background: #16213e;
    border-color: #3a3a5c;
    color: #eaeaea;
}

body.dark-theme .site-footer {
    background: #0a0a14;
}

body.dark-theme .footer-link {
    color: #b8b8b8;
}

body.dark-theme .step-number {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: #fff;
}

/* ===================================
   CUSTOM THEME TOGGLE IN HEADER
   =================================== */
.theme-switch {
    display: flex;
    align-items: center;
    margin-left: 16px;
}

.theme-switch-btn {
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-gray);
}

.theme-switch-btn:hover {
    background: var(--primary-orange);
    color: white;
}

.theme-switch-btn svg {
    width: 20px;
    height: 20px;
}

/* Light mode: show moon icon (to switch to dark) */
.theme-switch-btn .icon-moon {
    display: block;
}

.theme-switch-btn .icon-sun {
    display: none;
}

/* Dark mode: show sun icon (to switch to light) */
body.dark-theme .theme-switch-btn .icon-moon {
    display: none;
}

body.dark-theme .theme-switch-btn .icon-sun {
    display: block;
}

body.dark-theme .theme-switch-btn {
    background: #374151;
    color: #fbbf24;
}

/* ===================================
   DARK THEME - Fondo oscuro = texto claro
   =================================== */

/* Device pages - Dark theme */
body.dark-theme .device-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-theme .device-hero-title,
body.dark-theme .device-hero h1,
body.dark-theme .device-hero p {
    color: #ffffff !important;
}

body.dark-theme .device-content {
    background: #0f0f1a;
}

body.dark-theme .device-main h2,
body.dark-theme .device-main h3,
body.dark-theme .device-main-content h2,
body.dark-theme .device-main-content h3,
body.dark-theme .wp-block-heading {
    color: #ffffff !important;
}

body.dark-theme .device-main p,
body.dark-theme .device-main li,
body.dark-theme .device-main-content p,
body.dark-theme .device-main-content li {
    color: #d1d5db !important;
}

body.dark-theme .device-sidebar {
    background: #1a1a2e;
}

body.dark-theme .device-sidebar h3,
body.dark-theme .device-sidebar h4 {
    color: #ffffff;
}

body.dark-theme .device-sidebar p,
body.dark-theme .device-sidebar li,
body.dark-theme .device-sidebar a {
    color: #d1d5db;
}

/* WordPress block colors - Dark theme */
body.dark-theme .has-black-color {
    color: #ffffff !important;
}

body.dark-theme .has-white-background-color {
    background-color: #1a1a2e !important;
}

body.dark-theme [class*="has-background"] {
    background-color: #1a1a2e;
}

/* Tool pages - Dark theme */
body.dark-theme .tool-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-theme .tool-hero-title,
body.dark-theme .tool-hero h1,
body.dark-theme .tool-hero p {
    color: #ffffff !important;
}

body.dark-theme .tool-hero-title {
    margin-bottom: 40px;
}

body.dark-theme .tool-hero-subtitle {
    margin-bottom: 50px;
}

body.dark-theme .tool-converter-box {
    margin-top: 30px;
    background: #1a1a2e;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

body.dark-theme .tool-converter-box h2,
body.dark-theme .tool-converter-box h3,
body.dark-theme .tool-converter-box label {
    color: #ffffff !important;
}

body.dark-theme .tool-converter-box p,
body.dark-theme .tool-converter-box span {
    color: #d1d5db !important;
}

body.dark-theme .tool-converter-box input[type="text"],
body.dark-theme .tool-converter-box input[type="url"],
body.dark-theme .tool-converter-box .yt-video-url {
    background: #0f0f1a;
    border-color: #3a3a5c;
    color: #ffffff;
}

body.dark-theme .tool-converter-box input::placeholder {
    color: #888888;
}

body.dark-theme .tool-converter-box .quality-btn {
    background: #0f0f1a;
    border-color: #3a3a5c;
    color: #d1d5db;
}

body.dark-theme .tool-converter-box .quality-btn:hover,
body.dark-theme .tool-converter-box .quality-btn.active {
    background: #2a2a4e;
    border-color: #FFA31D;
    color: #ffffff;
}

body.dark-theme .tool-content {
    background: #0f0f1a;
}

body.dark-theme .tool-content h2,
body.dark-theme .tool-content h3 {
    color: #ffffff !important;
}

body.dark-theme .tool-content p,
body.dark-theme .tool-content li {
    color: #d1d5db !important;
}

/* Tool content wrapper - Dark theme */
body.dark-theme .tool-content-wrapper h2::after {
    background: linear-gradient(90deg, #FFA31D, #FFD93D);
}

body.dark-theme .tool-content-wrapper ol li {
    background: #1a1a2e;
    border-color: #2a2a4e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-theme .tool-content-wrapper ol li:hover {
    border-color: #FFA31D;
    box-shadow: 0 8px 30px rgba(255, 155, 14, 0.2);
}

body.dark-theme .tool-content-wrapper ol li strong {
    color: #ffffff;
}

body.dark-theme .tool-content-wrapper h3 {
    background: #1a1a2e;
    border-color: #2a2a4e;
    color: #ffffff !important;
}

body.dark-theme .tool-content-wrapper h3 + p {
    background: #151525;
    border-color: #2a2a4e;
    border-top-color: #1a1a2e;
    color: #d1d5db !important;
}

body.dark-theme .tool-content-wrapper p {
    color: #d1d5db;
}

body.dark-theme .tool-content-wrapper ul li {
    color: #d1d5db;
}

/* Tool features section - Dark theme */
body.dark-theme .tool-features {
    background: #0a0a14 !important;
}

body.dark-theme .tool-section-header {
    color: #ffffff !important;
}

body.dark-theme .tool-section-label {
    background: linear-gradient(135deg, #FFA31D 0%, #FFD93D 100%) !important;
    color: #ffffff !important;
}

body.dark-theme .tool-section-title {
    color: #ffffff !important;
}

body.dark-theme .tool-section-desc {
    color: #b8b8b8 !important;
}

body.dark-theme .tool-feature-card {
    background: #1a1a2e !important;
    border-color: #2a2a4e !important;
}

body.dark-theme .tool-feature-card:hover {
    border-color: #FFA31D !important;
    background: #252540 !important;
}

body.dark-theme .tool-feature-title {
    color: #ffffff !important;
}

body.dark-theme .tool-feature-desc {
    color: #d1d5db !important;
}

/* Tool other cards - Dark theme */
body.dark-theme .tool-others {
    background: #0f0f1a;
}

body.dark-theme .tool-other-card {
    background: #1a1a2e;
    border-color: #2a2a4e;
}

body.dark-theme .tool-other-card:hover {
    border-color: #FFA31D;
    background: #252540;
}

body.dark-theme .tool-other-card h3 {
    color: #ffffff;
}

body.dark-theme .tool-other-card p {
    color: #b8b8b8;
}

/* Tool CTA - Dark theme */
body.dark-theme .tool-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
}

body.dark-theme .tool-cta-content h2 {
    color: #ffffff;
}

body.dark-theme .tool-cta-content p {
    color: #b8b8b8;
}

/* Tool devices section - Dark theme */
body.dark-theme .tool-devices {
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
}

body.dark-theme .tool-device-card {
    background: #1a1a2e;
    border-color: #2a2a4e;
}

body.dark-theme .tool-device-card:hover {
    border-color: #FFA31D;
    background: #252540;
}

body.dark-theme .tool-device-title {
    color: #ffffff !important;
}

body.dark-theme .tool-device-desc {
    color: #b8b8b8 !important;
}

body.dark-theme .tool-device-cta {
    color: #FFA31D !important;
}

/* Tool mini features - Dark theme */
body.dark-theme .tool-mini-feature {
    color: rgba(255, 255, 255, 0.9);
}

/* Tool hero badge - Dark theme */
body.dark-theme .tool-hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Archive/Category pages - Dark theme */
body.dark-theme .archive-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-theme .archive-header .section-title,
body.dark-theme .archive-header h1 {
    color: #ffffff !important;
}

body.dark-theme article {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 30px 40px 40px;
    margin-top: 20px;
}

body.dark-theme article h2,
body.dark-theme article h2 a,
body.dark-theme .entry-title,
body.dark-theme .entry-title a {
    color: #ffffff !important;
}

body.dark-theme .entry-content,
body.dark-theme .entry-excerpt,
body.dark-theme article p {
    color: #d1d5db !important;
}

/* Page title spacing - Dark theme */
body.dark-theme h1.page-title {
    margin-top: 10px;
    margin-bottom: 40px;
    color: #ffffff !important;
}

body.dark-theme .page-content {
    margin-top: 30px;
    background: #1a1a2e !important;
    padding: 30px 20px !important;
    border-radius: 16px;
}

@media (max-width: 768px) {
    body.dark-theme h1.page-title {
        margin-bottom: 25px;
    }

    body.dark-theme article {
        padding: 25px 25px 30px;
        border-radius: 12px;
    }

    body.dark-theme .page-content {
        margin-top: 20px;
        padding: 20px 15px !important;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    body.dark-theme h1.page-title {
        margin-bottom: 20px;
    }

    body.dark-theme article {
        padding: 20px 16px 25px;
        border-radius: 10px;
    }

    body.dark-theme .page-content {
        margin-top: 15px;
        padding: 15px 12px !important;
        border-radius: 10px;
    }
}

body.dark-theme .page-content h2 {
    color: #ffffff !important;
}

body.dark-theme .page-content h3 {
    color: #ffffff !important;
    background: #252540 !important;
}

body.dark-theme .page-content p {
    color: #d1d5db !important;
}

body.dark-theme .page-content ol li {
    background: #252540 !important;
    color: #d1d5db !important;
}

body.dark-theme .page-content ol li strong {
    color: #ffffff !important;
}

body.dark-theme .page-content h3 + p {
    background: #1f1f35 !important;
    color: #d1d5db !important;
}

/* Info section - Dark theme */
body.dark-theme .info-section {
    background: #1a2a3a !important;
    border-left-color: #3498db;
}

body.dark-theme .info-section h2 {
    color: #ffffff !important;
}

body.dark-theme .info-section p {
    color: #d1d5db !important;
}

/* All content areas - Dark theme */
body.dark-theme .content-area h1,
body.dark-theme .content-area h2,
body.dark-theme .content-area h3,
body.dark-theme .content-area h4 {
    color: #ffffff !important;
}

body.dark-theme .content-area p,
body.dark-theme .content-area li {
    color: #d1d5db !important;
}

/* ===================================
   SITE SEARCH SECTION (below banner)
   =================================== */
.site-search-section {
    padding: 20px 0 30px;
    background: var(--light-gray);
}

.site-search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.site-search-form:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 4px 20px rgba(255, 155, 14, 0.2);
}

.site-search-input {
    flex: 1;
    padding: 14px 24px;
    border: none;
    font-size: 16px;
    background: transparent;
    outline: none;
}

.site-search-input::placeholder {
    color: var(--text-gray);
}

.site-search-submit {
    background: var(--primary-orange);
    border: none;
    padding: 14px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.site-search-submit:hover {
    background: var(--secondary-orange);
}

.site-search-submit svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

/* Hide old header search */
.header-search-wrapper {
    display: none;
}

/* ===================================
   MOBILE FIXES
   =================================== */
@media (max-width: 768px) {
    /* Header layout */
    .header-content {
        position: relative;
    }

    .site-logo {
        flex: 1;
    }

    /* Theme switch mobile */
    .theme-switch {
        margin-left: 8px;
        margin-right: 8px;
    }

    .theme-switch-btn {
        padding: 6px;
    }

    .theme-switch-btn svg {
        width: 18px;
        height: 18px;
    }

    .menu-toggle {
        order: 3;
    }

    /* Mobile menu - full screen overlay below header */
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 999;
        padding: 20px;
        overflow-y: auto;
    }

    .main-navigation.active {
        display: block;
    }

    /* Search section mobile */
    .site-search-section {
        padding: 15px 0 20px;
    }

    .site-search-input {
        padding: 12px 20px;
        font-size: 14px;
    }

    .site-search-submit {
        padding: 12px 18px;
    }

    .site-search-submit svg {
        width: 20px;
        height: 20px;
    }
}

/* ===================================
   GTRANSLATE LANGUAGE SELECTOR
   =================================== */
.gtranslate_wrapper {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.gt_switcher {
    z-index: 999999 !important;
    display: block !important;
    visibility: visible !important;
}

.gt_float_switcher {
    position: fixed !important;
    z-index: 999999 !important;
    display: block !important;
    visibility: visible !important;
}

/* ===================================
   LANGUAGE SELECTOR - Custom Design
   =================================== */
.language-selector {
    position: relative;
    margin-right: 10px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--dark-black);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    min-height: 44px;
}

.lang-btn:hover {
    background: var(--light-gray);
    border-color: var(--primary-orange);
}

.lang-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--text-gray);
}

.lang-code {
    font-weight: 600;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    min-width: 150px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 10000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 12px 16px;
    color: var(--dark-black);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-gray);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover,
.lang-option.active {
    background: var(--light-gray);
    color: var(--primary-orange);
}

.lang-option.active {
    font-weight: 600;
}

/* Dark theme support */
body.dark-theme .lang-btn {
    color: #eaeaea;
    border-color: #333;
}

body.dark-theme .lang-btn:hover {
    background: #2a2a2a;
}

body.dark-theme .lang-btn svg {
    fill: #b8b8b8;
}

body.dark-theme .lang-dropdown {
    background: #1a1a2e;
    border-color: #333;
}

body.dark-theme .lang-option {
    color: #eaeaea;
    border-color: #333;
}

body.dark-theme .lang-option:hover,
body.dark-theme .lang-option.active {
    background: #2a2a2a;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-selector {
        margin-right: 8px;
    }
    
    .lang-btn {
        padding: 8px 10px;
    }
    
    .lang-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .lang-code {
        font-size: 12px;
    }
    
    .lang-dropdown {
        right: -20px;
        min-width: 140px;
    }
}

/* Hide Google Translate banner */
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}


/* ===================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   =================================== */

/* Mobile Base - 480px and below */
@media (max-width: 480px) {
    /* Container padding */
    .container {
        padding: 0 12px !important;
    }
    
    /* Typography scaling */
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }
    
    /* Hero sections */
    .hero-section {
        padding: 40px 0 30px !important;
    }
    
    .hero-content {
        padding: 25px 16px !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-description {
        font-size: 14px !important;
    }
    
    /* Tool hero */
    .tool-hero {
        padding: 100px 0 60px !important;
    }
    
    .tool-hero-title {
        font-size: 1.5rem !important;
        margin-top: 15px !important;
    }
    
    .tool-hero-subtitle {
        font-size: 14px !important;
        margin-bottom: 25px !important;
    }
    
    .tool-hero-badge {
        padding: 8px 14px !important;
        font-size: 11px !important;
    }
    
    .tool-converter-box {
        padding: 15px 12px !important;
        margin: 0 -5px !important;
        border-radius: 12px !important;
    }
    
    .tool-hero-features {
        gap: 8px !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .tool-mini-feature {
        font-size: 12px !important;
    }
    
    /* Device pages */
    .device-hero {
        padding: 100px 0 40px !important;
    }
    
    .device-hero-title {
        font-size: 1.5rem !important;
    }
    
    .device-content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .device-main-content {
        padding: 20px 15px !important;
    }
    
    .device-step {
        padding-left: 50px !important;
    }
    
    .device-step-number {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
    
    /* Feature boxes */
    .feature-box {
        padding: 20px 15px !important;
    }
    
    .feature-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .feature-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .feature-title {
        font-size: 16px !important;
    }
    
    .feature-description {
        font-size: 13px !important;
    }
    
    /* Steps */
    .step-item {
        padding: 20px !important;
    }
    
    .step-number {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
    
    /* FAQ */
    .faq-item {
        padding: 16px !important;
    }
    
    .faq-question {
        font-size: 14px !important;
    }
    
    /* Sections */
    .features-section,
    .how-it-works-section,
    .faq-section,
    .page-features,
    .how-to-section,
    .info-section {
        padding: 40px 0 !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .section-description {
        font-size: 14px !important;
    }
    
    /* Footer */
    .site-footer {
        padding: 40px 0 20px !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        text-align: left !important;
    }

    .footer-widget.footer-brand p {
        max-width: 100% !important;
    }

    .footer-widget h3 {
        font-size: 14px !important;
    }

    .footer-widget.footer-brand h3 {
        font-size: 18px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 6px !important;
    }
    
    /* Page content */
    .page-content {
        padding: 15px 10px 30px !important;
    }
    
    .page-title {
        font-size: 1.5rem !important;
        margin-top: 80px !important;
    }
    
    /* Article */
    article {
        padding: 15px !important;
    }
    
    /* CTA sections */
    .device-bottom-cta {
        padding: 40px 0 !important;
    }
    
    .device-bottom-cta-content h2 {
        font-size: 1.25rem !important;
    }
    
    .device-bottom-cta-btn {
        padding: 14px 24px !important;
        font-size: 16px !important;
    }
    
    /* Grids */
    .features-grid,
    .steps-container,
    .features-list,
    .tool-features-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Buttons */
    .convert-btn,
    .download-btn {
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
    
    /* Search */
    .site-search-input {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
}

/* Tablet - 768px and below */
@media (max-width: 768px) {
    /* Ensure no horizontal overflow */
    body {
        overflow-x: hidden !important;
    }
    
    /* Navigation mobile menu */
    .main-navigation {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--white) !important;
        padding: 20px !important;
        display: none !important;
        z-index: 999 !important;
    }
    
    .main-navigation.active {
        display: block !important;
    }
    
    .nav-menu {
        flex-direction: column !important;
    }
    
    .menu-toggle {
        display: flex !important;
    }
    
    /* Converter wrapper */
    .yt-converter-wrapper {
        padding: 10px !important;
    }
    
    .yt-converter-container {
        padding: 20px 15px !important;
    }
    
    /* Quality buttons */
    .quality-selector {
        justify-content: center !important;
        gap: 6px !important;
    }
    
    .quality-btn {
        padding: 10px 12px !important;
        font-size: 12px !important;
        min-width: auto !important;
    }
    
    /* Video preview */
    .video-preview {
        flex-direction: column !important;
    }
    
    .video-thumbnail {
        width: 100% !important;
        max-height: 200px !important;
    }
    
    /* Sidebar */
    .device-sidebar {
        display: none !important;
    }
    
    /* Cookie banner */
    .cookie-consent-banner {
        padding: 15px !important;
    }
    
    .cookie-consent-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .cookie-btn {
        width: 100% !important;
    }
}

/* Large mobile - 576px */
@media (max-width: 576px) {
    /* Archive/blog cards */
    .archive-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Post navigation */
    .post-navigation {
        grid-template-columns: 1fr !important;
    }
    
    /* Tables */
    table {
        display: block !important;
        overflow-x: auto !important;
    }
    
    /* Embedded content */
    iframe,
    video,
    embed,
    object {
        max-width: 100% !important;
    }
}

/* Dark theme mobile fixes */
@media (max-width: 768px) {
    body.dark-theme .main-navigation {
        background: #1a1a2e !important;
    }
    
    body.dark-theme .main-navigation a {
        color: #ffffff !important;
    }
    
    body.dark-theme article {
        padding: 20px 15px !important;
    }
    
    body.dark-theme .page-content {
        padding: 20px 12px !important;
    }
}

/* Fix images on mobile */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* Prevent text overflow */
p, h1, h2, h3, h4, h5, h6, span, a, li {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Fix long URLs/text */
a {
    word-break: break-word !important;
}

/* ============================================
   CONVERTER RESULT SECTION STYLES
   (Migrated from Customizer Additional CSS)
   ============================================ */

/* Fix Result Section Card */
.yt-converter-wrapper .result-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%) !important;
    border: 2px solid #E5E5E5 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-top: 30px !important;
}

/* Video Preview Card */
.yt-converter-wrapper .video-preview {
    display: flex !important;
    gap: 20px !important;
    padding: 20px !important;
    background: #FFFFFF !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 24px !important;
}

.yt-converter-wrapper .video-preview:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Thumbnail Styling */
.yt-converter-wrapper .video-thumbnail {
    width: 180px !important;
    height: 101px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Video Info Section */
.yt-converter-wrapper .video-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Video Title */
.yt-converter-wrapper .video-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0F0F0F !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Metadata Badges */
.yt-converter-wrapper .video-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.yt-converter-wrapper .meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    color: #606060 !important;
    padding: 8px 14px !important;
    background: #F5F5F5 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.yt-converter-wrapper .meta-item svg {
    width: 16px !important;
    height: 16px !important;
    fill: #FF9B0E !important;
}

/* Download Button - Green gradient */
.yt-converter-wrapper .download-btn {
    width: 100% !important;
    padding: 18px 32px !important;
    background: linear-gradient(135deg, #4CAF50 0%, #45A049 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
    transition: all 0.3s ease !important;
}

.yt-converter-wrapper .download-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4) !important;
    background: linear-gradient(135deg, #45A049 0%, #3D8B40 100%) !important;
}

.yt-converter-wrapper .download-btn svg {
    width: 24px !important;
    height: 24px !important;
    fill: #FFFFFF !important;
}

/* Result Section Mobile Responsive */
@media (max-width: 768px) {
    .yt-converter-wrapper .video-preview {
        flex-direction: column !important;
    }

    .yt-converter-wrapper .video-thumbnail {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
    }

    .yt-converter-wrapper .video-title {
        font-size: 16px !important;
    }

    .yt-converter-wrapper .meta-item {
        font-size: 13px !important;
        padding: 6px 10px !important;
    }
}

/* Result Section Animation */
.yt-converter-wrapper .result-section.show {
    display: block !important;
    animation: slideUp 0.4s ease-out !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Site Title Branding */
.site-title a {
    color: #f6a023;
    font-family: system-ui;
    font-size: 30px;
}

/* Hide TranslatePress flags (using Flavor Translator instead) */
.trp-flag-image {
    height: auto !important;
    display: none !important;
}

