/*
Theme Name: InventPro
Theme URI: https://inventpro.com
Author: InventPro Team
Author URI: https://inventpro.com
Description: A modern, professional inventory management business theme with glassmorphism design, light UI, smooth animations, and full WooCommerce compatibility. Perfect for retail, wholesale, and multi-store businesses.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, business, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, translation-ready, blog, e-commerce
Text Domain: inventpro

/* ===================================================
   DESIGN SYSTEM
=================================================== */
:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-bg: #eef2ff;
  --secondary: #7c3aed;
  --accent: #0891b2;
  --success: #059669;
  --danger: #dc2626;
  --warning: #d97706;
  --bg: #f8f9fc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-full: 9999px;
  --grad: linear-gradient(135deg, #4f46e5, #7c3aed);
  --transition: all .28s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-white);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}
p { color: var(--text-2); line-height: 1.75; }
button, input, select, textarea { font-family: var(--font); }

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section spacing */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ===================================================
   HEADER & NAV
=================================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(79,70,229,.35);
  flex-shrink: 0;
}
.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo-text span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-logo img { height: 40px; width: auto; }

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation ul li a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--primary);
  background: var(--primary-bg);
}

/* Sub-menu */
.main-navigation ul li { position: relative; }
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 6px;
  flex-direction: column;
  gap: 0;
}
.main-navigation ul li:hover > ul { display: flex; }
.main-navigation ul ul li a { padding: 9px 14px; white-space: nowrap; }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  font-family: var(--font);
}
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 4px 14px rgba(79,70,229,.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(79,70,229,.5);
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-subtle);
  color: var(--text);
  border-color: var(--primary);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ===================================================
   HERO
=================================================== */
.hero-section {
  background: linear-gradient(160deg, #f8f9fc 0%, #eef2ff 55%, #faf5ff 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-blob-1 { width: 550px; height: 550px; background: rgba(99,102,241,.08); top: -200px; right: -100px; }
.hero-blob-2 { width: 380px; height: 380px; background: rgba(124,58,237,.07); bottom: -100px; left: -80px; }

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-left {}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-bg);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}
.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-chip 2s infinite;
}
@keyframes pulse-chip { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 36px;
}
.hstat-n { font-size: 24px; font-weight: 800; color: var(--primary); }
.hstat-l { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.hero-right {
  position: relative;
}
.hero-visual {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.hv-topbar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hv-dot { width: 11px; height: 11px; border-radius: 50%; }
.hv-body { padding: 20px; }
.hv-title { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.hv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}
.hv-row-name { font-weight: 600; color: var(--text); }
.hv-row-amt { font-weight: 700; color: var(--primary); }
.hv-total {
  background: var(--grad);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  color: white;
}
.hv-total-lbl { font-size: 12px; opacity: .8; }
.hv-total-amt { font-size: 18px; font-weight: 800; }

/* ===================================================
   FEATURES
=================================================== */
.features-section { background: white; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--primary-bg);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}
.section-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: var(--transition);
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d2fe;
}
.feat-card:hover::before { opacity: 1; }
.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 18px;
  transition: var(--transition);
}
.feat-card:hover .feat-icon {
  background: var(--grad);
  color: white;
}
.feat-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feat-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ===================================================
   HOW IT WORKS
=================================================== */
.steps-section {
  background: linear-gradient(135deg, #f8f9fc 0%, #eef2ff 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 2px;
  background: linear-gradient(90deg, #c7d2fe, #ddd6fe, #c7d2fe);
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: white;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 18px rgba(79,70,229,.4);
}
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ===================================================
   PRICING
=================================================== */
.pricing-section { background: white; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition);
  position: relative;
}
.price-card.featured {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(79,70,229,.4);
  transform: scale(1.03);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--warning);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.price-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.price-card.featured h3, .price-card.featured p, .price-card.featured ul li { color: white; }
.price-card.featured .price-amount { color: white; }
.price-card.featured .price-per { color: rgba(255,255,255,.75); }
.price-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin: 16px 0 4px;
}
.price-per { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.price-card ul { margin-bottom: 28px; }
.price-card ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-2);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.price-card.featured ul li { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.1); }
.price-card ul li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-bg, #ecfdf5);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.price-card.featured ul li::before { background: rgba(255,255,255,.2); color: white; }
.btn-price {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid;
  transition: var(--transition);
  text-decoration: none;
}
.btn-price-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-price-outline:hover { background: var(--primary); color: white; }
.btn-price-white {
  border-color: white;
  background: white;
  color: var(--primary);
}
.btn-price-white:hover { background: rgba(255,255,255,.9); color: var(--secondary); }

/* ===================================================
   TESTIMONIALS
=================================================== */
.testimonials-section { background: linear-gradient(135deg, #f8f9fc 0%, #eef2ff 100%); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stars { color: #f59e0b; font-size: 14px; margin-bottom: 14px; }
.testi-text { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 700; color: white; flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--text-3); }

/* ===================================================
   CTA SECTION
=================================================== */
.cta-section {
  background: var(--grad);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  top: -200px; right: -100px;
}
.cta-section h2 { font-size: clamp(28px,4vw,42px); font-weight: 800; color: white; letter-spacing: -1.5px; margin-bottom: 14px; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: rgba(255,255,255,.9); color: var(--secondary); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.btn-white-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); }
.btn-white-outline:hover { background: rgba(255,255,255,.1); border-color: white; color: white; }

/* ===================================================
   FOOTER
=================================================== */
#site-footer { background: #0f172a; color: rgba(255,255,255,.7); }
.footer-main { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 13px; line-height: 1.75; margin: 14px 0 22px; color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 14px; transition: var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: white; }

.footer-col h4 { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-col ul li a:hover { color: white; }

.footer-newsletter h4 { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 8px; }
.footer-newsletter p { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 10px 14px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  color: white; font-size: 13px; font-family: var(--font); outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button {
  padding: 10px 16px; background: var(--grad); color: white;
  border: none; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--transition); font-family: var(--font);
}
.newsletter-form button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,70,229,.4); }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.35); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ===================================================
   CONTACT PAGE
=================================================== */
.page-hero {
  background: linear-gradient(135deg, #f8f9fc, #eef2ff);
  padding: 72px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px,4vw,44px); margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--text-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--grad);
  border-radius: 20px;
  padding: 36px;
  color: white;
}
.contact-info-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; color: white; }
.contact-info-card p { color: rgba(255,255,255,.75); margin-bottom: 32px; }
.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.cinfo-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.cinfo-text strong { display: block; font-size: 13px; margin-bottom: 2px; }
.cinfo-text span { font-size: 13px; color: rgba(255,255,255,.7); }

.contact-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 20px; margin-bottom: 24px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { margin-bottom: 18px; }
.cf-group label { display: block; font-size: 12px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 7px; }
.cf-group input, .cf-group select, .cf-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 9px;
  font-size: 14px; font-family: var(--font); color: var(--text);
  background: var(--bg-subtle); outline: none; transition: var(--transition);
}
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus {
  border-color: var(--primary); background: white;
  box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.cf-group textarea { resize: vertical; min-height: 120px; }
.wpcf7-submit, .cf-submit {
  width: 100%; padding: 13px;
  background: var(--grad); color: white; border: none; border-radius: 9px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 14px rgba(79,70,229,.35); transition: var(--transition); font-family: var(--font);
}
.wpcf7-submit:hover, .cf-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(79,70,229,.5); }

/* ===================================================
   BLOG / POSTS
=================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.post-thumb { height: 200px; overflow: hidden; background: var(--bg-subtle); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 22px; }
.post-cat {
  display: inline-block; padding: 3px 10px;
  background: var(--primary-bg); color: var(--primary);
  border-radius: var(--radius-full); font-size: 11px; font-weight: 700;
  margin-bottom: 10px;
}
.post-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--primary); }
.post-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 16px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-3); }

/* Single post */
.single-content { max-width: 720px; margin: 0 auto; padding: 60px 24px; }
.single-content h1 { font-size: clamp(24px,3.5vw,38px); margin-bottom: 16px; }
.single-content .post-meta { margin-bottom: 32px; }
.single-content p { font-size: 16px; color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }
.single-content h2, .single-content h3 { margin: 32px 0 12px; }
.single-content img { border-radius: var(--radius); margin: 24px 0; }

/* ===================================================
   SIDEBAR & WIDGETS
=================================================== */
.with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.widget { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.widget-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-bg); }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.widget ul li:last-child { border: none; }
.widget ul li a { color: var(--text-2); }
.widget ul li a:hover { color: var(--primary); }

/* ===================================================
   COMMENTS
=================================================== */
.comments-area { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border); }
.comment-list { list-style: none; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-author { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.comment-content { font-size: 14px; color: var(--text-2); }
.comment-reply-link { font-size: 12px; color: var(--primary); font-weight: 600; }

/* ===================================================
   FORMS (WooCommerce / WP default)
=================================================== */
.woocommerce-form-login input,
.woocommerce form .input-text,
input[type="text"], input[type="email"], input[type="password"], input[type="search"],
select, textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-subtle);
  outline: none;
  width: 100%;
  transition: var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.1);
  background: white;
}

/* ===================================================
   SCROLL TO TOP
=================================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--grad);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79,70,229,.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 500;
  border: none;
  font-size: 16px;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(79,70,229,.5); }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
}
@media (max-width: 768px) {
  .main-navigation, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .main-navigation.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }
  .main-navigation.open ul { flex-direction: column; width: 100%; }
  .main-navigation.open .header-cta { display: flex; margin-top: 12px; }
  .features-grid, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid .price-card.featured { transform: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid, .with-sidebar { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .section { padding: 64px 0; }
  .hero-section { padding: 64px 0 48px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   ANIMATIONS
=================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-up {
  opacity: 0;
  animation: fadeInUp .7s ease forwards;
}
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ===================================================
   WORDPRESS SPECIFIC ALIGNMENTS
=================================================== */
.alignleft { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption-text { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 6px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link { position: absolute; top: -100px; left: 0; padding: 8px 14px; background: var(--primary); color: white; z-index: 9999; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { top: 0; }
