/*
Theme Name: FADLIVE
Theme URI: https://www.fadlive.com
Author: FADLIVE
Author URI: https://www.fadlive.com
Description: FADLIVE — Desktop Aesthetics & Micro-Trend Custom Electronics. Dark tech-themed WordPress theme for the US market, featuring product customization showcase, custom quote system, and Google SEO optimization.
Version: 1.0.0
License: GPL v2 or later
Text Domain: fadlive
Domain Path: /languages

FADLIVE WordPress Theme, (C) 2026 FADLIVE
*/

/* ============================================================
   GLOBAL STYLES
   ============================================================ */
:root {
  --color-black: #0a0a0f;
  --color-dark: #111118;
  --color-surface: #1a1a24;
  --color-surface-hover: #222230;
  --color-border: #2a2a3a;
  --color-primary: #a78bfa;
  --color-primary-glow: #8b5cf6;
  --color-accent: #22d3ee;
  --color-accent-glow: #06b6d4;
  --color-text: #e2e8f0;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-success: #34d399;
  --color-warning: #fbbf24;
  --color-danger: #f87171;
  --gradient-primary: linear-gradient(135deg, #8b5cf6, #6366f1);
  --gradient-accent: linear-gradient(135deg, #22d3ee, #3b82f6);
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
}

/* Sanitize */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--color-black);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--color-accent-glow);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */
body.admin-bar #site-header {
  top: 32px !important;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  transition: all 0.3s ease;
}
#site-header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.header-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-logo .logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent-glow);
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.header-nav ul li {
  position: relative;
}

.header-nav ul li a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.header-nav ul li a:hover,
.header-nav ul li.current-menu-item > a,
.header-nav ul li.current_page_item > a {
  color: #fff;
  background: rgba(139, 92, 246, 0.1);
}

/* Dropdown */
.header-nav ul li.dropdown > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  flex-direction: column;
  gap: 0;
}
.header-nav ul li.dropdown:hover > ul,
.header-nav ul li.dropdown.open > ul {
  display: flex;
}
.header-nav ul li.dropdown > ul li a {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Custom Quote CTA button in nav */
.nav-cta {
  margin-left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: var(--gradient-primary);
  color: #fff !important;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.site-main {
  min-height: 100vh;
}

.page-content {
  padding-top: 72px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--color-dark);
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col li {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  color: var(--color-text-secondary);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* ============================================================
   HERO SECTION (home page)
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 8rem 1.5rem 6rem;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
  animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-content h1 .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--gradient-primary);
  color: #fff !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: 1px solid var(--color-border);
  color: var(--color-text) !important;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--color-accent);
  background: rgba(34, 211, 238, 0.05);
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section {
  padding: 6rem 1.5rem;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.category-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.category-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   FEATURE / ADVANTAGE GRID
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PRODUCT SHOWCASE GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.product-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 50px;
  font-size: 0.7rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.product-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-card .btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--color-primary);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}
.product-card .btn-sm:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--color-primary);
}

/* ============================================================
   STATS / COUNTER SECTION
   ============================================================ */
.stats-section {
  background: var(--color-dark);
  padding: 4rem 1.5rem;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
}

/* ============================================================
   TESTIMONIAL / CASE CARDS
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.case-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.case-card .case-stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.case-card .case-quote {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.case-card .case-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.case-card .case-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
}

.case-card .case-author-info strong {
  display: block;
  font-size: 0.875rem;
  color: #fff;
  font-weight: 600;
}

.case-card .case-author-info span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: var(--gradient-hero);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.about-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 2.5rem 0 1rem;
}

.about-content p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.about-value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.about-value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.about-value-card p {
  font-size: 0.85rem;
}

/* ============================================================
   FLOATING QUOTE BUTTON
   ============================================================ */
.floating-quote-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}
.floating-quote-btn:hover {
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.6);
  transform: translateY(-3px);
  color: #fff;
}

/* ============================================================
   CUSTOM QUOTE PAGE
   ============================================================ */
.quote-hero {
  background: var(--gradient-hero);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}

.quote-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.quote-hero p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.quote-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.quote-product-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.quote-product-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.quote-product-checkbox:hover {
  border-color: rgba(139, 92, 246, 0.3);
}
.quote-product-checkbox input[type="checkbox"] {
  width: auto;
  accent-color: var(--color-primary);
}
.quote-product-checkbox .check-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.quote-product-checkbox .check-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: block;
}

.quote-submit-row {
  text-align: center;
  margin-top: 1rem;
}

/* ============================================================
   PRODUCT SINGLE PAGE
   ============================================================ */
.product-single-hero {
  padding: 8rem 1.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.product-single-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-single-gallery {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.product-single-gallery img {
  width: 100%;
  display: block;
}

.product-single-info h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.product-single-category {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.product-single-desc {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.product-single-features {
  list-style: none;
  margin-bottom: 2rem;
}

.product-single-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}
.product-single-features li::before {
  content: '\2713';
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.product-single-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--gradient-primary);
  color: #fff !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
}
.product-single-cta:hover {
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

/* ============================================================
   ARTICLE / BLOG SINGLE
   ============================================================ */
.single-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 7rem 1.5rem 2rem;
}

.single-article .article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.single-article .article-cat {
  padding: 0.25rem 0.85rem;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
}

.single-article .article-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.single-article h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 2rem;
}

/* Article TOC (auto-generated) */
.article-toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.article-toc h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-toc ul {
  list-style: none;
}

.article-toc ul li {
  padding: 0.3rem 0;
}

.article-toc ul li a {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.article-toc ul li a:hover {
  color: var(--color-accent);
}

.article-toc ul li.toc-h3 {
  padding-left: 1.5rem;
}

/* Article body typography */
.article-body {
  color: var(--color-text);
  line-height: 1.9;
  font-size: 1.05rem;
}

.article-body h2 {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 2.5rem 0 1rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid rgba(139, 92, 246, 0.2) !important;
}

.article-body h3 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 2rem 0 0.75rem !important;
}

.article-body h4 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #e2e8f0 !important;
  margin: 1.5rem 0 0.5rem !important;
}

.article-body p {
  color: var(--color-text) !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.9 !important;
}

.article-body strong {
  color: #fff !important;
}

.article-body a {
  color: var(--color-accent) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.25rem !important;
  padding-left: 1.5rem !important;
}

.article-body li {
  color: var(--color-text) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.8 !important;
}

.article-body blockquote {
  border-left: 3px solid var(--color-primary) !important;
  padding: 1rem 1.5rem !important;
  margin: 1.5rem 0 !important;
  background: rgba(139, 92, 246, 0.05) !important;
  border-radius: 0 12px 12px 0 !important;
  font-style: italic !important;
  color: var(--color-text-secondary) !important;
}

.article-body img {
  border-radius: 12px !important;
  margin: 1.5rem 0 !important;
  max-width: 100% !important;
  height: auto !important;
}

.article-body table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1.5rem 0 !important;
}

.article-body th, .article-body td {
  padding: 0.75rem 1rem !important;
  border: 1px solid var(--color-border) !important;
  text-align: left !important;
}

.article-body th {
  background: var(--color-surface) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.article-body td {
  color: var(--color-text-secondary) !important;
}

.article-body pre {
  background: var(--color-surface) !important;
  padding: 1.25rem !important;
  border-radius: 12px !important;
  overflow-x: auto !important;
  margin: 1.5rem 0 !important;
  border: 1px solid var(--color-border) !important;
}

.article-body code {
  background: rgba(139, 92, 246, 0.1) !important;
  padding: 0.15rem 0.4rem !important;
  border-radius: 4px !important;
  font-size: 0.9em !important;
  color: var(--color-primary) !important;
}

.article-body pre code {
  background: none !important;
  padding: 0 !important;
  color: var(--color-text) !important;
}

/* Related Posts */
.related-posts {
  max-width: 800px;
  margin: 3rem auto 1rem;
  padding: 0 1.5rem;
}

.related-posts h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.related-post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.related-post-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
}
.related-post-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.related-post-card .rp-body {
  padding: 0.85rem;
}
.related-post-card .rp-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.related-post-card .rp-body .rp-date {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* ============================================================
   BLOG ARCHIVE / LISTING
   ============================================================ */
.blog-archive-hero {
  background: var(--gradient-hero);
  padding: 8rem 1.5rem 3rem;
  text-align: center;
}

.blog-archive-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
}

.blog-archive-hero p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
}

.blog-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.blog-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-cat {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 50px;
  font-size: 0.7rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card h2 a {
  color: #fff;
}
.blog-card h2 a:hover {
  color: var(--color-accent);
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem 4rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ============================================================
   PAGE HERO (generic pages)
   ============================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
}

/* ============================================================
   PAGE CONTENT (generic)
   ============================================================ */
.generic-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.generic-page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.generic-page-content p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ============================================================
   CONTACT INFO CARDS
   ============================================================ */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}
.contact-info-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

.contact-info-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ============================================================
   MARKET BADGES
   ============================================================ */
.market-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.market-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ============================================================
   404 / SEARCH
   ============================================================ */
.error-page,
.no-results-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}

.error-page h1,
.no-results-page h1 {
  font-size: 5rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page p,
.no-results-page p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .category-grid,
  .product-grid,
  .case-grid,
  .blog-grid,
  .related-posts-grid,
  .quote-product-checkboxes {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-single-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-dark);
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.25rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .header-nav.open {
    right: 0;
  }
  .header-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }
  .header-nav ul li.dropdown > ul {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 8px;
    margin-top: 0.25rem;
    padding-left: 0.5rem;
  }
  .header-nav ul li.dropdown.open > ul {
    display: flex;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }
  .category-grid,
  .product-grid,
  .case-grid,
  .blog-grid,
  .related-posts-grid,
  .quote-product-checkboxes,
  .feature-grid,
  .process-steps,
  .stats-grid,
  .footer-inner,
  .contact-info-grid,
  .about-values {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* TOC fixed sidebar for desktop */
.toc-sidebar {
  position: fixed;
  left: max(1.5rem, calc((100vw - 1250px) / 2));
  top: 120px;
  width: 220px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  z-index: 100;
  padding: 1rem;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: none;
}
.toc-sidebar h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.toc-sidebar ul {
  list-style: none;
}
.toc-sidebar ul li a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: all 0.15s;
}
.toc-sidebar ul li a:hover,
.toc-sidebar ul li a.active {
  color: var(--color-accent);
  border-left-color: var(--color-accent);
}
.toc-sidebar ul li.toc-h3 a {
  padding-left: 1.5rem;
  font-size: 0.75rem;
}

@media (min-width: 1400px) {
  .toc-sidebar {
    display: block;
  }
}
