/*
Theme Name: Reddit Downloader
Theme URI: https://www.tikidownload.com/
Author: Tikidownload Team
Author URI: https://www.tikidownload.com/
Description: A professional, high-performance Reddit Downloader using client-side FFmpeg WebAssembly.
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, dark, responsive-layout, translation-ready, media-converter
Text Domain: wptt
*/

:root {
  --primary-color: #337ab7;
  --secondary-color: #23527c;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-color: #fafafa;
  --card-bg: #ffffff;
  --border-radius: 4px;
  --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --error-color: #e74c3c;
  --success-color: #337ab7;
  --gradient-primary: linear-gradient(135deg, #337ab7 0%, #23527c 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Single Post Specific Styles */
.single-post-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

.single-post-wrapper .breadcrumb {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.single-post-wrapper .breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.single-post-wrapper .breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.single-post-wrapper .breadcrumb .separator {
  color: #555;
  font-size: 0.8rem;
}

.single-post-wrapper .entry-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 30px;
  color: #fff;
  line-height: 1.2;
}

.single-post-wrapper .post-thumbnail {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.single-post-wrapper .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post-wrapper .entry-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #eaeaea;
  text-align: left;
  margin: 0 auto;
  max-width: 650px;
}

.single-post-wrapper .entry-content a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.single-post-wrapper .entry-content a:hover {
  color: #fff;
  text-decoration: underline;
}

.single-post-wrapper .entry-content p {
  margin-bottom: 20px;
}

.single-post-wrapper .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.site-header {
  background: var(--bg-color);
  border-bottom: 1px solid #111;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: visible;
  /* Changed from hidden to visible for dropdowns */
}

.site-header .header-container {
  display: flex;
  justify-content: space-between;
  /* Push logo to left, menu to right */
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.site-header .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
  gap: 0px;
  /* Spacing between logo and title */
}

.site-header .site-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.site-header .logo-link img.header-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-header .site-branding {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}



@media (min-width: 768px) {
  header.site-header {
    height: 70px;
    max-height: 70px;
  }

  .site-header .header-container {
    max-width: 1200px;
    /* Wider spacing to push nav further away */
  }

  .site-header .logo-link img.header-logo-img {
    height: 48px;
    /* Increased from 42px for better visibility */
    width: auto;
  }

  .site-header .site-title {
    font-size: 1.35rem;
    /* Larger on desktop */
  }
}

#site-navigation,
.main-navigation,
.header-menu,
#primary-menu,
.header-menu-list {
  display: none;
}

/* Desktop Menu Styles */
@media (min-width: 992px) {

  .desktop-menu,
  #site-navigation,
  .main-navigation,
  #primary-menu,
  .header-menu-list {
    display: flex;
    align-items: center;
  }
}

.header-menu-list,
#primary-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.header-menu-list li,
#primary-menu li {
  display: inline-flex;
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {

  #primary-menu,
  .header-menu-list {
    gap: 35px;
  }

  .header-logo-icon {
    font-size: 60px;
    /* Ultra-bold desktop presence */
  }
}

#primary-menu a,
.header-menu-list li a,
.header-menu a {
  color: #00f2fe;
  /* TikTok Cyan */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 768px) {

  #primary-menu a,
  .header-menu-list li a,
  .header-menu a {
    font-size: 0.95rem;
  }
}

#primary-menu a:hover,
.header-menu-list li a:hover,
.header-menu a:hover {
  color: #fff;
  /* White hover */
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* Base Mobile Toggle Hidden Structure */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1001;
  /* Ensure it stays above everything */
}

/* Base Mobile Nav Structure */
.mobile-navigation {
  display: none;
  /* Hidden on desktop by default */
}

.site-branding {
  display: flex;
  align-items: center;
}

/* Main Content */
.site-content {
  flex: 1;
  padding: 0 0 60px;
  /* Removed top padding on mobile */
}

@media (min-width: 768px) {
  .site-content {
    padding: 60px 0;
  }
}

/* Hero Section - Minimized to focus on downloader */
.hero-section {
  text-align: center;
  margin-bottom: 0;
  background-color: transparent;
  color: var(--text-main);
  padding: 0;
  position: relative;
  overflow: hidden;
}



.hero-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  /* Fluid typography */
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.2;
}

.hero-subtitle {
  margin: 0 auto;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 600px;
}

/* Downloader Area */
.downloader-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 16px;
  max-width: 760px;
  margin: 0 auto 0px;
  /* Removed bottom margin on mobile to bring focus up */
  box-shadow: none;
}

@media (min-width: 768px) {
  .downloader-box {
    padding: 0 20px;
  }
}

@media (min-width: 1024px) {
  .downloader-box {
    margin-top: 80px;
  }
}


/* Input Field */
.url-input-wrap {
  position: relative;
  margin-bottom: 25px;
}

.url-input-wrap i.fa-link {
  position: absolute;
  left: 20px;
  right: auto;
  top: 32px;
  transform: translateY(-50%);
  color: #666;
  font-size: 1.2rem;
  z-index: 5;
}

.clear-input-icon,
.paste-input-icon {
  position: absolute;
  right: 20px;
  left: auto;
  top: 32px;
  transform: translateY(-50%);
  color: #888;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-input-icon:hover,
.paste-input-icon:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.url-input {
  width: 100%;
  height: 64px;
  padding: 0 54px 0 54px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 16px;
  color: #fff;
  font-size: 1.1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.url-input::placeholder {
  color: #555;
}

.url-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.1);
}

.download-btn-large {
  width: 100%;
  height: 64px;
  background: var(--primary-color);
  color: #000;
  border: none;
  border-radius: 16px;
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.download-btn-large:hover {
  opacity: 0.9;
}

.download-btn-large:active {
  transform: translateY(1px);
}

/* Results Area */
.result-area {
  display: none;
  margin-top: 30px;
  padding-top: 30px;
  background: transparent;
}

.result-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: transparent;
  padding: 0;
}

@media (min-width: 768px) {
  .result-card {
    flex-direction: row;
  }
}

.video-thumb-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.video-thumb,
.video-player {
  width: 100%;
  height: auto;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.8);
  /* Glassy White */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #010101;
  /* Dark icon for contrast */
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.video-thumb-container:hover .play-overlay {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-title {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
  word-break: break-all;
  color: var(--text-main);
}

.video-author {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: auto;
}

.btn-download-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-download-option:hover {
  background: #1a1a1a;
  border-color: #333;
  color: var(--text-main);
}

.btn-download-option.primary {
  background: #1a1a1a;
  color: #ccc;
  border-color: #333;
}

.btn-download-option.primary:hover {
  background: #222;
  color: #fff;
  border-color: #444;
  transform: none;
  box-shadow: none;
}

/* FAQ Accordion Active States */
.faq-item.active {
  border-color: var(--primary-color);
  background: rgba(51, 122, 183, 0.05);
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

.faq-item.active .fa-chevron-down {
  transform: rotate(180deg);
  color: var(--primary-color);
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alerts */
.alert {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: none;
  font-weight: 500;
}

.alert-error {
  color: #e74c3c;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 15px;
  display: none;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.3s ease;
  background: none;
  border-left: none;
  padding: 0;
  text-align: center;
  justify-content: center;
}

.alert-error::before {
  content: '!';
  font-family: inherit;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Custom Validation Message */
.validation-error {
  color: #e74c3c;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: fadeIn 0.3s ease;
}



@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* How to Download Section */
.how-to-section {
  padding: 60px 0;
  max-width: 900px;
  margin: 60px auto 0;
}

.how-to-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.how-to-step {
  position: relative;
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid #222;
  transition: all 0.3s ease;
}

.how-to-step:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #e74c3c;
  /* Forces TikTok Pink */
  color: #fff;
  /* Pure White digits for clarity */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(254, 44, 85, 0.3);
  pointer-events: none;
  /* Disables hover/interaction on the number itself */
}

/* Ensure no hover interaction from parent card affects the step number */
.how-to-step:hover .step-number {
  background: #e74c3c;
  color: #fff;
  transform: translateX(-50%);
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features grid */
.downloader-section {
  padding: 0 0 60px 0;
  /* Removed top padding on mobile */
  background: var(--bg-darker);
}

@media (min-width: 768px) {
  .downloader-section {
    padding: 60px 0;
  }
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  /* Fluid typography */
  margin-bottom: 40px;
  color: #fff;
  /* Pure white as requested */
  font-weight: 500;
  /* Normal weight as requested */
  display: block;
  /* Ensure it occupies space */
  visibility: visible;
  letter-spacing: -0.02em;
  padding: 0 10px;
}

/* Show default page title on standard pages */
.page-template-default .entry-header,
.page-template-default h1.entry-title {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Features grid removed from templates */


/* FAQ Section */
.faq-section {
  padding: 60px 20px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: transparent;
  border: 1px solid #222;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #444;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: #1a1a1a;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px 25px;
  border-top: 1px solid #222;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Footer */
.footer-navigation {
  margin-bottom: 10px;
}


.footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-menu a,
.footer-navigation a {
  color: #00f2fe;
  /* TikTok Cyan */
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-menu a:hover,
.footer-navigation a:hover {
  color: #fff;
  /* White hover */
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

.site-footer {
  background: #000000;
  color: #888;
  padding: 20px 0 10px;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid #222;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 60px 0;
  }

  .mobile-app-section {
    margin-bottom: 15px;
  }

  .footer-navigation {
    margin-bottom: 15px;
  }


}


.footer-text {
  color: #666;
  font-size: 0.9rem;
}

/* Footer Styles */
.footer-navigation {
  margin: 10px 0 10px;
}



.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-menu a {
  color: #00f2fe;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

@media (min-width: 640px) {
  .footer-menu {
    gap: 30px;
  }
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Mobile App Section */
.mobile-app-section {
  padding: 0;
  background: transparent;
  text-align: center;
}

.mobile-app-section .app-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.mobile-app-section .section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 15px;
  color: #fff;
}

.mobile-app-section .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.app-btn.coming-soon {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #111827;
  /* Darker Slate */
  padding: 0 32px;
  height: 64px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  width: auto;
  min-width: 220px;
  text-align: left;
  cursor: default;
  transition: all 0.3s ease;
}

.app-btn.coming-soon:hover {
  background: #2d3748;
  border-color: #4a5568;
  transform: translateY(-2px);
}

.app-btn.coming-soon i {
  font-size: 2.2rem;
  color: #fff;
}

.app-btn.coming-soon .btn-text {
  display: flex;
  flex-direction: column;
}

.app-btn.coming-soon .badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #9ca3af;
  /* Light grey */
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.app-btn.coming-soon strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .mobile-app-section {
    padding: 0;
  }

  .app-buttons {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .app-btn.coming-soon {
    width: fit-content;
    min-width: 0;
    height: auto;
    padding: 10px 14px;
    gap: 8px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .app-btn.coming-soon i {
    font-size: 1.3rem;
  }

  .app-btn.coming-soon svg {
    width: 22px;
    height: 22px;
  }

  .app-btn.coming-soon .badge {
    font-size: 0.55rem;
  }

  .app-btn.coming-soon strong {
    font-size: 0.85rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .site-content {
    padding: 40px 0;
  }

  .hero-section {
    padding: 40px 20px;
    margin-bottom: 30px;
  }



  .downloader-box {
    padding: 15px 12px;
    border-radius: 16px;
  }

  .url-input {
    font-size: 1rem;
    height: 56px;
    padding: 0 48px;
  }

  .url-input-wrap i.fa-link {
    left: 16px;
    right: auto;
    top: 28px;
  }

  .clear-input-icon,
  .paste-input-icon {
    right: 16px;
    left: auto;
    top: 28px;
  }

  .download-btn-large {
    height: 56px;
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .header-container {
    flex-direction: row;
    /* Keep logo and hamburger on one line */
    justify-content: space-between;
    text-align: left;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-navigation {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    max-height: 0;
    /* Initially hidden */
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .mobile-navigation.active {
    max-height: 80px;
    /* Height for single horizontal row */
    opacity: 1;
    visibility: visible;
  }

  .mobile-header-menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 15px 20px;
    list-style: none;
    overflow-x: auto;
    /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    margin: 0;
  }

  .mobile-header-menu::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
  }

  .mobile-header-menu li {
    flex: 0 0 auto;
    width: auto;
  }

  .mobile-header-menu a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    color: #00f2fe;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  .mobile-header-menu a:hover,
  .mobile-header-menu a:active {
    background: rgba(0, 242, 254, 0.1);
    border-color: #00f2fe;
    color: #fff;
  }

  .download-form {
    flex-direction: column;
  }


  .hero-title {
    font-size: 1.5rem;
  }

  .site-title {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Static Content Pages (Block Compatible) */
.page-template-default .site-main {
  padding: 80px 0;
}

.page-template-default .entry-content {
  padding: 0;
  min-height: 60vh;
}

.block-page-article {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 80px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.block-page-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.block-page-article h1.premium-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 50px;
  text-align: center;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.page-content h2,
.entry-content h2 {
  font-size: 2.4rem;
  margin: 80px 0 40px;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-weight: 700;
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  text-align: left;
  /* Keep H2 left aligned with border */
}

.page-content auto,
.entry-content p {
  color: #ffffff;
}

.page-content h3,
.entry-content h3 {
  font-size: 1.8rem;
  margin: 60px 0 30px;
  color: var(--primary-light);
  font-weight: 600;
}

.page-content p,
.entry-content p {
  line-height: 2.1;
  color: var(--text-muted);
  margin-bottom: 35px;
  font-size: 1.15rem;
}

.page-content .lead,
.entry-content .lead {
  font-size: 1.6rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 60px;
  text-align: center;
}

.page-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

/* How to Steps */

/* How to Steps */
.how-to-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 15px 0 40px;
}

.how-to-steps .step {
  text-align: center;
  background: #111;
  padding: 30px 20px;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .how-to-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* Platform Tips */

@media (max-width: 768px) {

  @media (max-width: 768px) {
    .page-article {
      background: var(--primary-dark);
      padding: 25px;
    }

    .page-title {
      font-size: 2rem;
    }
  }

  /* ----------------------------------------
   Error Handling & Alerts
---------------------------------------- */
  .alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
  }

  .alert-error {
    background: rgba(254, 44, 85, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(254, 44, 85, 0.2);
  }

  .alert-error::before {
    content: '!';
    font-weight: 900;
    font-size: 1.1rem;
  }

  @keyframes rotate {
    100% {
      transform: rotate(360deg);
    }
  }

}

/* End of @media (max-width: 768px) */

/* FAQ Accordion */
.faq-section {
  padding: 60px 0;
}

.faq-item {
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
}

.faq-item.active .faq-answer {
  display: block;
  animation: slideDownFAQ 0.3s ease-out;
}

.faq-item.active .fa-chevron-down {
  transform: rotate(180deg);
  color: var(--primary-color);
}

@keyframes slideDownFAQ {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Site Branding - High Specificity Fix for Montserrat 900 & Uppercase */
.navbar-default .navbar-brand,
.navbar-default .navbar-brand span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.navbar-default .navbar-brand {
  display: flex;
  align-items: center;
  padding: 10px 15px;
}