/*
Theme Name: Lahdod
Theme URI: https://lahdod.com
Author: Lahdod Team
Author URI: https://lahdod.com
Description: قالب ووردبريس احترافي مظلم لمتاجر المنتجات الرقمية — إضافات، قوالب، وسكربتات. يدعم RTL بالكامل مع تصميم SaaS/Tech عصري.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lahdod
Domain Path: /languages
Tags: rtl-language-support, e-commerce, dark-mode, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==============================================
   LAHDOD — Dark Tech SaaS WordPress Theme
   ============================================== */

:root {
  --lhd-bg: #020617;
  --lhd-bg-alt: #0a1128;
  --lhd-bg-tertiary: #111936;
  --lhd-bg-card: rgba(10, 17, 40, 0.55);
  --lhd-accent: #00f2ff;
  --lhd-accent-rgb: 0, 242, 255;
  --lhd-accent-2: #7b5cff;
  --lhd-accent-2-rgb: 123, 92, 255;
  --lhd-gradient: linear-gradient(135deg, #00f2ff, #7b5cff);
  --lhd-text: #e8edf5;
  --lhd-text-dim: #8892a8;
  --lhd-text-muted: #4a5568;
  --lhd-border: rgba(0, 242, 255, 0.08);
  --lhd-border-hover: rgba(0, 242, 255, 0.25);
  --lhd-glass-blur: blur(20px) saturate(1.3);
  --lhd-radius: 20px;
  --lhd-radius-md: 14px;
  --lhd-radius-sm: 10px;
  --lhd-font-ar: 'Cairo', 'Tajawal', sans-serif;
  --lhd-font-en: 'Outfit', 'DM Sans', sans-serif;
  --lhd-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --lhd-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--lhd-font-ar);
  background-color: var(--lhd-bg);
  color: var(--lhd-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--lhd-accent);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: #fff; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

::selection {
  background: rgba(var(--lhd-accent-rgb), 0.2);
  color: #fff;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--lhd-bg); }
::-webkit-scrollbar-thumb { background: rgba(var(--lhd-accent-rgb), 0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--lhd-accent-rgb), 0.3); }

/* === AMBIENT BACKGROUNDS === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 600px at 20% 10%, rgba(var(--lhd-accent-rgb), 0.04), transparent),
    radial-gradient(ellipse 700px 500px at 80% 80%, rgba(var(--lhd-accent-2-rgb), 0.04), transparent);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.02;
  background-image:
    linear-gradient(rgba(var(--lhd-accent-rgb), 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--lhd-accent-rgb), 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* === LAYOUT === */
.lhd-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.lhd-section {
  padding: 100px 0;
}

.lhd-section-alt {
  background: rgba(var(--lhd-accent-rgb), 0.01);
}

/* === TYPOGRAPHY === */
.lhd-label {
  font-family: var(--lhd-font-mono);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lhd-accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lhd-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--lhd-accent);
}

.lhd-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--lhd-text);
}

.lhd-subtitle {
  font-size: 1.1rem;
  color: var(--lhd-text-dim);
  max-width: 600px;
  line-height: 1.8;
}

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

/* === GLASS MORPHISM === */
.lhd-glass {
  background: var(--lhd-bg-card);
  backdrop-filter: var(--lhd-glass-blur);
  -webkit-backdrop-filter: var(--lhd-glass-blur);
  border: 1px solid var(--lhd-border);
  border-radius: var(--lhd-radius);
  transition: var(--lhd-transition);
}

.lhd-glass:hover {
  border-color: var(--lhd-border-hover);
  box-shadow: 0 8px 40px rgba(var(--lhd-accent-rgb), 0.06),
              inset 0 1px 0 rgba(var(--lhd-accent-rgb), 0.08);
  transform: translateY(-4px);
}

/* === BUTTONS === */
.lhd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--lhd-radius-sm);
  font-family: var(--lhd-font-ar);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--lhd-transition);
  line-height: 1;
}

.lhd-btn-primary {
  background: var(--lhd-gradient);
  color: var(--lhd-bg);
  box-shadow: 0 4px 24px rgba(var(--lhd-accent-rgb), 0.2);
}
.lhd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--lhd-accent-rgb), 0.35);
  color: var(--lhd-bg);
}

.lhd-btn-ghost {
  background: transparent;
  color: var(--lhd-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lhd-btn-ghost:hover {
  border-color: var(--lhd-accent);
  color: var(--lhd-accent);
  background: rgba(var(--lhd-accent-rgb), 0.05);
}

.lhd-btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* === HEADER / NAV === */
.lhd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(var(--lhd-accent-rgb), 0.05);
  transition: padding 0.3s, border-color 0.3s;
}

.lhd-header.scrolled {
  padding: 10px 0;
  border-bottom-color: rgba(var(--lhd-accent-rgb), 0.1);
}

.lhd-header .lhd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lhd-logo {
  font-family: var(--lhd-font-en);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--lhd-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.lhd-logo:hover {
  -webkit-text-fill-color: transparent;
}

.lhd-logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--lhd-accent);
  border-radius: 50%;
  margin-inline-end: 4px;
  box-shadow: 0 0 12px var(--lhd-accent);
  vertical-align: middle;
}

/* Main Nav */
.lhd-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.lhd-nav .menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lhd-nav .menu li a {
  color: var(--lhd-text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
  padding: 4px 0;
}

.lhd-nav .menu li a:hover,
.lhd-nav .menu li.current-menu-item a,
.lhd-nav .menu li.current_page_item a {
  color: var(--lhd-accent);
}

.lhd-nav .menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--lhd-accent);
  transition: width 0.3s;
}
.lhd-nav .menu li a:hover::after,
.lhd-nav .menu li.current-menu-item a::after {
  width: 100%;
}

/* Sub-menus */
.lhd-nav .menu li {
  position: relative;
}
.lhd-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  padding: 12px;
  background: var(--lhd-bg-card);
  backdrop-filter: var(--lhd-glass-blur);
  border: 1px solid var(--lhd-border);
  border-radius: var(--lhd-radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  flex-direction: column;
  gap: 4px;
  z-index: 100;
}
.lhd-nav .menu li:hover > .sub-menu {
  display: flex;
}
.lhd-nav .sub-menu li a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
}
.lhd-nav .sub-menu li a:hover {
  background: rgba(var(--lhd-accent-rgb), 0.06);
}

/* Mobile Toggle */
.lhd-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.lhd-mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--lhd-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === HERO === */
.lhd-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
}

.lhd-hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.lhd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: 100px;
  background: rgba(var(--lhd-accent-rgb), 0.06);
  border: 1px solid rgba(var(--lhd-accent-rgb), 0.12);
  font-size: 0.8rem;
  color: var(--lhd-accent);
  margin-bottom: 28px;
  font-weight: 500;
}

.lhd-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--lhd-accent);
  border-radius: 50%;
  animation: lhd-pulse-dot 2s ease-in-out infinite;
}

@keyframes lhd-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--lhd-accent-rgb), 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(var(--lhd-accent-rgb), 0); }
}

.lhd-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
}

.lhd-hero .lhd-hero-desc {
  font-size: 1.15rem;
  color: var(--lhd-text-dim);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 560px;
}

.lhd-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.lhd-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lhd-hero-stat h3 {
  font-family: var(--lhd-font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--lhd-accent);
  line-height: 1.2;
}
.lhd-hero-stat p {
  font-size: 0.85rem;
  color: var(--lhd-text-muted);
}

/* Hero Visual */
.lhd-hero-visual {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 520px;
  aspect-ratio: 1;
  pointer-events: none;
}

.lhd-hero-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(var(--lhd-accent-rgb), 0.12), rgba(var(--lhd-accent-2-rgb), 0.08), transparent 70%);
  filter: blur(60px);
  animation: lhd-orb-float 8s ease-in-out infinite;
}

@keyframes lhd-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}

.lhd-hero-ring {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px solid rgba(var(--lhd-accent-rgb), 0.08);
  animation: lhd-ring-spin 30s linear infinite;
}
.lhd-hero-ring:nth-child(2) { inset: 25%; animation-duration: 40s; animation-direction: reverse; border-color: rgba(var(--lhd-accent-2-rgb), 0.06); }
.lhd-hero-ring:nth-child(3) { inset: 35%; animation-duration: 50s; border-color: rgba(var(--lhd-accent-rgb), 0.04); }

@keyframes lhd-ring-spin { to { transform: rotate(360deg); } }

/* === FEATURE CARDS === */
.lhd-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.lhd-feature-card {
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.lhd-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(var(--lhd-accent-rgb), 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}
.lhd-feature-card:hover::before { opacity: 1; }

.lhd-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--lhd-radius-md);
  background: rgba(var(--lhd-accent-rgb), 0.07);
  border: 1px solid rgba(var(--lhd-accent-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--lhd-transition);
}
.lhd-feature-card:hover .lhd-feature-icon {
  background: rgba(var(--lhd-accent-rgb), 0.12);
  box-shadow: 0 0 24px rgba(var(--lhd-accent-rgb), 0.15);
  border-color: var(--lhd-border-hover);
}

.lhd-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.lhd-feature-card p {
  font-size: 0.9rem;
  color: var(--lhd-text-dim);
  line-height: 1.8;
}

/* === PRODUCT GRID === */
.lhd-product-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.lhd-product-tab {
  padding: 10px 24px;
  border-radius: var(--lhd-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--lhd-text-dim);
  font-family: var(--lhd-font-ar);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.lhd-product-tab.active,
.lhd-product-tab:hover {
  background: rgba(var(--lhd-accent-rgb), 0.08);
  border-color: rgba(var(--lhd-accent-rgb), 0.2);
  color: var(--lhd-accent);
}

.lhd-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.lhd-product-card {
  overflow: hidden;
  position: relative;
}

.lhd-product-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--lhd-bg-tertiary), var(--lhd-bg-alt));
  position: relative;
  overflow: hidden;
  border-radius: var(--lhd-radius) var(--lhd-radius) 0 0;
}

.lhd-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.lhd-product-card:hover .lhd-product-thumb img {
  transform: scale(1.05);
}

.lhd-product-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.8), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.lhd-product-card:hover .lhd-product-thumb-overlay { opacity: 1; }

.lhd-product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
}
.lhd-product-tag.plugin { background: rgba(var(--lhd-accent-rgb), 0.12); color: var(--lhd-accent); border: 1px solid rgba(var(--lhd-accent-rgb), 0.2); }
.lhd-product-tag.theme { background: rgba(var(--lhd-accent-2-rgb), 0.12); color: var(--lhd-accent-2); border: 1px solid rgba(var(--lhd-accent-2-rgb), 0.2); }
.lhd-product-tag.script { background: rgba(255,187,36,0.12); color: #fbbf24; border: 1px solid rgba(255,187,36,0.2); }

.lhd-product-info {
  padding: 24px;
}
.lhd-product-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.lhd-product-info h3 a {
  color: var(--lhd-text);
  text-decoration: none;
}
.lhd-product-info h3 a:hover {
  color: var(--lhd-accent);
}
.lhd-product-info p {
  font-size: 0.85rem;
  color: var(--lhd-text-dim);
  margin-bottom: 16px;
  line-height: 1.7;
}

.lhd-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lhd-product-price {
  font-family: var(--lhd-font-en);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lhd-accent);
}
.lhd-product-price .period {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--lhd-text-muted);
}

.lhd-product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #fbbf24;
}

/* === PRICING === */
.lhd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

.lhd-pricing-card {
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.lhd-pricing-card.featured {
  border-color: rgba(var(--lhd-accent-rgb), 0.2);
  background: rgba(var(--lhd-accent-rgb), 0.04);
  box-shadow: 0 0 60px rgba(var(--lhd-accent-rgb), 0.05);
}
.lhd-pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lhd-gradient);
}

.lhd-pricing-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--lhd-gradient);
  color: var(--lhd-bg);
  letter-spacing: 0.5px;
}

.lhd-pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lhd-pricing-desc {
  font-size: 0.85rem;
  color: var(--lhd-text-dim);
  margin-bottom: 24px;
}

.lhd-pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 32px;
}

.lhd-pricing-amount .currency {
  font-family: var(--lhd-font-en);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--lhd-text-dim);
}
.lhd-pricing-amount .value {
  font-family: var(--lhd-font-en);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}
.lhd-pricing-amount .period {
  font-size: 0.85rem;
  color: var(--lhd-text-muted);
}

.lhd-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.lhd-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--lhd-text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.lhd-pricing-features li:last-child { border-bottom: none; }

.lhd-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(var(--lhd-accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--lhd-accent);
}

.lhd-pricing-card .lhd-btn {
  width: 100%;
  justify-content: center;
}

/* === CTA === */
.lhd-cta {
  text-align: center;
  padding: 100px 0;
  position: relative;
}
.lhd-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(var(--lhd-accent-rgb), 0.06), transparent);
  pointer-events: none;
}
.lhd-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.lhd-cta p {
  color: var(--lhd-text-dim);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.lhd-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
.lhd-footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.lhd-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.lhd-footer-brand p {
  color: var(--lhd-text-dim);
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.8;
  max-width: 300px;
}

.lhd-footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--lhd-text);
}

.lhd-footer-col .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lhd-footer-col .menu li a {
  display: block;
  color: var(--lhd-text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 5px 0;
  transition: color 0.3s;
}
.lhd-footer-col .menu li a:hover { color: var(--lhd-accent); }

.lhd-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: var(--lhd-text-muted);
}

/* === SCROLL REVEAL === */
.lhd-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lhd-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes lhd-fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === SINGLE PRODUCT PAGE === */
.lhd-single-product {
  padding: 120px 0 80px;
}

.lhd-single-product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.lhd-single-product-image {
  border-radius: var(--lhd-radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--lhd-bg-tertiary), var(--lhd-bg-alt));
  border: 1px solid var(--lhd-border);
  aspect-ratio: 16/10;
}
.lhd-single-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lhd-single-product-details h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.lhd-single-product-details .lhd-product-price {
  font-size: 2rem;
  margin-bottom: 24px;
}

.lhd-product-description {
  color: var(--lhd-text-dim);
  line-height: 1.9;
  margin-bottom: 32px;
}

/* === ARCHIVE / SHOP === */
.lhd-archive-header {
  padding: 120px 0 40px;
  text-align: center;
}

/* === PAGINATION === */
.lhd-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.lhd-pagination a,
.lhd-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--lhd-radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--lhd-text-dim);
  font-family: var(--lhd-font-en);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.lhd-pagination a:hover {
  border-color: var(--lhd-accent);
  color: var(--lhd-accent);
}
.lhd-pagination .current {
  background: var(--lhd-gradient);
  color: var(--lhd-bg);
  border-color: transparent;
}

/* === 404 === */
.lhd-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0;
}
.lhd-404 h1 {
  font-family: var(--lhd-font-en);
  font-size: 8rem;
  font-weight: 900;
  background: var(--lhd-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

/* === FORMS (General) === */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--lhd-radius-sm);
  color: var(--lhd-text);
  padding: 12px 16px;
  font-family: var(--lhd-font-ar);
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--lhd-accent);
  box-shadow: 0 0 0 3px rgba(var(--lhd-accent-rgb), 0.1);
}

/* === WooCommerce / EDD Overrides === */
.edd_downloads_list .edd_download {
  background: var(--lhd-bg-card) !important;
  backdrop-filter: var(--lhd-glass-blur);
  border: 1px solid var(--lhd-border) !important;
  border-radius: var(--lhd-radius) !important;
  transition: var(--lhd-transition);
  overflow: hidden;
}
.edd_downloads_list .edd_download:hover {
  border-color: var(--lhd-border-hover) !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(var(--lhd-accent-rgb), 0.06);
}

.edd-submit,
.edd-add-to-cart,
a.edd-add-to-cart,
#edd-purchase-button,
input.edd-submit {
  background: var(--lhd-gradient) !important;
  color: var(--lhd-bg) !important;
  border: none !important;
  border-radius: var(--lhd-radius-sm) !important;
  padding: 14px 32px !important;
  font-family: var(--lhd-font-ar) !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: var(--lhd-transition);
  box-shadow: 0 4px 24px rgba(var(--lhd-accent-rgb), 0.2);
}
.edd-submit:hover,
.edd-add-to-cart:hover,
#edd-purchase-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--lhd-accent-rgb), 0.35) !important;
}

#edd_checkout_form_wrap {
  background: var(--lhd-bg-card);
  backdrop-filter: var(--lhd-glass-blur);
  border: 1px solid var(--lhd-border);
  border-radius: var(--lhd-radius);
  padding: 40px;
}

.edd_price {
  color: var(--lhd-accent) !important;
  font-family: var(--lhd-font-en) !important;
  font-weight: 700 !important;
}

.edd-sl-license-key {
  font-family: var(--lhd-font-mono) !important;
  background: rgba(var(--lhd-accent-rgb), 0.05) !important;
  border: 1px solid rgba(var(--lhd-accent-rgb), 0.12) !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  color: var(--lhd-accent) !important;
  direction: ltr;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .lhd-hero-visual { display: none; }
  .lhd-nav { display: none; }
  .lhd-mobile-toggle { display: flex; }
  .lhd-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(2,6,23,0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--lhd-border);
    padding: 24px;
    gap: 16px;
  }
  .lhd-nav.active .menu {
    flex-direction: column;
    gap: 8px;
  }
  .lhd-nav.active .menu li a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
  }
  .lhd-nav.active .menu li a:hover { background: rgba(var(--lhd-accent-rgb), 0.06); }
  .lhd-nav.active .sub-menu {
    position: static;
    display: flex;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 20px;
  }
  .lhd-footer-grid { grid-template-columns: 1fr 1fr; }
  .lhd-single-product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .lhd-section { padding: 64px 0; }
  .lhd-hero-stats { flex-direction: column; gap: 20px; }
  .lhd-hero-actions { flex-direction: column; }
  .lhd-hero-actions .lhd-btn { width: 100%; justify-content: center; }
  .lhd-footer-grid { grid-template-columns: 1fr; }
  .lhd-pricing-grid { grid-template-columns: 1fr; }
  .lhd-products-grid { grid-template-columns: 1fr; }
  .lhd-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
