/* ============================================================
   MrAbazari.ir — استایل اصلی (style.css)
   نسخه Multi-Page با انیمیشن‌های بهبود یافته
============================================================ */

/* ============================================================
   ریست و متغیرها
============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* پالت رنگی */
  --sage:       #5a7a5a;
  --forest:     #2d5a27;
  --leaf:       #4a8c3f;
  --mint:       #a8d5a2;
  --lime:       #c8e6c2;
  --earth:      #8b6914;
  --gold:       #d4a843;
  --cream:      #f7f5f0;
  --paper:      #fdfcf9;
  --smoke:      #f0ede8;
  --txt-dark:   #1e2d1e;
  --txt-mid:    #4a6045;
  --txt-light:  #8aa08a;
  --white:      #ffffff;

  /* جلوه شیشه‌ای */
  --glass-white:  rgba(255, 255, 255, 0.72);
  --glass-light:  rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 8px 32px rgba(45, 90, 39, 0.15);

  /* انیمیشن — بهینه‌شده برای نرمی بیشتر */
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-elastic: 0.7s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  
  /* اندازه‌ها */
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  40px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--paper);
  color: var(--txt-dark);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

/* اسکرول‌بار */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { 
  background: var(--mint); 
  border-radius: 3px; 
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover { background: var(--sage); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.text-center { text-align: center; }

/* ============================================================
   HEADER — با انیمیشن نرم
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(90, 122, 90, 0.12);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(45, 90, 39, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* لوگو با انیمیشن hover */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.03);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--forest), var(--leaf));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: all var(--transition-bounce);
}

.logo:hover .logo-icon {
  transform: rotate(10deg) scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.3px;
}

.logo-text span {
  font-size: 11px;
  color: var(--txt-light);
  font-weight: 400;
}

/* منوی اصلی */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2px;
}

.nav-menu > li > a,
.nav-menu > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: var(--txt-mid);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* انیمیشن hover نرم */
.nav-menu > li > a::before,
.nav-menu > li > button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(74, 140, 63, 0.08);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: -1;
}

.nav-menu > li > a:hover::before,
.nav-menu > li > button:hover::before {
  opacity: 1;
}

.nav-menu > li > a:hover,
.nav-menu > li > button:hover {
  color: var(--forest);
  transform: translateY(-1px);
}

.nav-menu > li > a.active {
  color: var(--forest);
  background: rgba(74, 140, 63, 0.1);
  font-weight: 600;
}

/* دکمه CTA */
.nav-cta {
  background: linear-gradient(135deg, var(--forest), var(--leaf)) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(45, 90, 39, 0.3);
  transition: all var(--transition-smooth) !important;
}

.nav-cta::before {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4) !important;
}

/* ============================================================
   MEGA MENU — با انیمیشن نرم
============================================================ */
.has-mega {
  position: static;
}

.mega-trigger::after {
  content: "▾";
  font-size: 10px;
  margin-right: 2px;
  transition: transform var(--transition-smooth);
  display: inline-block;
}

.has-mega:hover .mega-trigger::after,
.has-mega:focus-within .mega-trigger::after {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(90, 122, 90, 0.1);
  box-shadow: 0 20px 60px rgba(45, 90, 39, 0.15);
  padding: 32px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: all var(--transition-smooth);
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mega-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.mega-group h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lime);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-group ul {
  list-style: none;
}

.mega-group ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--txt-mid);
  text-decoration: none;
  font-size: 13.5px;
  transition: all var(--transition-smooth);
  border-radius: 6px;
}

.mega-group ul li a:hover {
  color: var(--forest);
  padding-right: 6px;
}

.mega-group ul li a .bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  transition: all var(--transition-bounce);
}

.mega-group ul li a:hover .bullet {
  background: var(--leaf);
  transform: scale(1.6);
}

/* ============================================================
   MOBILE MENU
============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  transition: background var(--transition-smooth);
}

.hamburger:hover {
  background: rgba(74, 140, 63, 0.08);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 45, 30, 0.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  backdrop-filter: blur(4px);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 88vw);
  height: 100dvh;
  background: var(--paper);
  z-index: 1200;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--forest), var(--leaf));
}

.mobile-nav-head .logo-white {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-head .logo-white span {
  color: white;
  font-size: 15px;
  font-weight: 700;
}

.mobile-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.mobile-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

.mobile-links {
  list-style: none;
  padding: 14px 0;
}

.mobile-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  color: var(--txt-dark);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: all var(--transition-smooth);
}

.mobile-links li a:hover {
  background: rgba(74, 140, 63, 0.06);
  color: var(--forest);
  padding-right: 26px;
}

.mobile-links .icon-wrap {
  width: 32px;
  height: 32px;
  background: rgba(74, 140, 63, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: all var(--transition-bounce);
}

.mobile-links li a:hover .icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

/* ============================================================
   HERO — انیمیشن‌های بهبود یافته
============================================================ */
.hero {
  min-height: 100dvh;
  padding-top: 70px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 50%, rgba(74, 140, 63, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 100% 20%, rgba(45, 90, 39, 0.12) 0%, transparent 70%),
    linear-gradient(160deg, #e8f5e3 0%, #f4f9f0 40%, #fdfcf9 80%, #f7f5f0 100%);
  z-index: 0;
  animation: heroGradient 20s ease infinite;
}

@keyframes heroGradient {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 213, 162, 0.2) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 140, 63, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

/* انیمیشن‌های ورودی نرم */
.fade-in {
  animation: fadeIn 0.8s var(--transition-smooth) both;
}

.fade-in-up {
  animation: fadeInUp 0.8s var(--transition-smooth) both;
}

.delay-100 { animation-delay: 0.1s; }
.delay-150 { animation-delay: 0.15s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74, 140, 63, 0.1);
  border: 1px solid rgba(74, 140, 63, 0.2);
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 900;
  color: var(--txt-dark);
  line-height: 1.25;
  margin-bottom: 18px;
  word-break: keep-all;
}

.hero-text h1 .highlight {
  color: var(--forest);
  position: relative;
  display: inline-block;
}

.hero-text h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--gold));
  border-radius: 2px;
  animation: highlightGrow 1.2s ease-in-out 0.5s both;
}

@keyframes highlightGrow {
  from { transform: scaleX(0); transform-origin: right; }
  to { transform: scaleX(1); transform-origin: right; }
}

.hero-text p {
  font-size: 16px;
  color: var(--txt-mid);
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* کارت‌های hero */
.hero-card-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card {
  background: var(--glass-white);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-smooth);
  box-shadow: var(--glass-shadow);
}

.hero-card:hover {
  transform: translateX(-8px) translateY(-4px);
  box-shadow: 0 16px 48px rgba(45, 90, 39, 0.25);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all var(--transition-bounce);
}

.hero-card:hover .hero-card-icon {
  transform: scale(1.15) rotate(-5deg);
}

.hero-card-icon.green  { background: linear-gradient(135deg, #d4edda, #a8d5a2); }
.hero-card-icon.teal   { background: linear-gradient(135deg, #d0ece7, #a3d3cb); }
.hero-card-icon.gold   { background: linear-gradient(135deg, #fef3cd, #f0c040); }
.hero-card-icon.earthy { background: linear-gradient(135deg, #e8d5b0, #d4a843); }

.hero-card-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--txt-dark);
  margin-bottom: 4px;
}

.hero-card-text p {
  font-size: 12.5px;
  color: var(--txt-light);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   BUTTONS — با انیمیشن نرم
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--forest), var(--leaf));
  color: white;
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(45, 90, 39, 0.45);
}

.btn-glass {
  background: var(--glass-white);
  color: var(--forest);
  border: 1.5px solid rgba(74, 140, 63, 0.3);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(74, 140, 63, 0.1);
  transform: translateY(-2px);
}

.btn-glass-white {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-glass-white:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid rgba(74, 140, 63, 0.4);
}

.btn-ghost:hover {
  background: rgba(74, 140, 63, 0.06);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

/* ============================================================
   SECTIONS — هدر بخش‌ها
============================================================ */
section {
  padding: 96px 0;
}

.sec-header {
  text-align: center;
  margin-bottom: 60px;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74, 140, 63, 0.08);
  border: 1px solid rgba(74, 140, 63, 0.18);
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.sec-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--txt-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.sec-header p {
  font-size: 15.5px;
  color: var(--txt-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ============================================================
   STATS STRIP
============================================================ */
.stats-strip {
  background: linear-gradient(135deg, var(--forest) 0%, var(--leaf) 50%, #5da552 100%);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-6px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

.stat-item .num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: white;
  margin-bottom: 4px;
}

.stat-item .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ============================================================
   SCROLL REVEAL — انیمیشن اسکرول
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--transition-smooth);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FEATURES SECTION
============================================================ */
.features-section {
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(90, 122, 90, 0.08);
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(45, 90, 39, 0.15);
  border-color: var(--mint);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
  transition: all var(--transition-bounce);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(-5deg);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--txt-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--txt-mid);
  line-height: 1.8;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, rgba(74, 140, 63, 0.08), rgba(168, 213, 162, 0.12));
  border: 2px solid rgba(74, 140, 63, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
}

.cta-box h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 15px;
  color: var(--txt-mid);
  margin-bottom: 24px;
}

/* ============================================================
   BLOG PREVIEW
============================================================ */
.blog-preview-section {
  background: var(--paper);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-preview-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(90, 122, 90, 0.08);
  transition: all var(--transition-smooth);
}

.blog-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(45, 90, 39, 0.12);
}

.blog-preview-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #d4edda, #a8d5a2);
  transition: all var(--transition-smooth);
}

.blog-preview-card:hover .blog-preview-thumb {
  transform: scale(1.05);
}

.blog-preview-body {
  padding: 20px;
}

.blog-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--forest);
  background: rgba(74, 140, 63, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.blog-preview-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color var(--transition-smooth);
}

.blog-preview-card:hover h3 {
  color: var(--forest);
}

.blog-preview-body p {
  font-size: 13px;
  color: var(--txt-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--txt-light);
  padding-top: 12px;
  border-top: 1px solid rgba(90, 122, 90, 0.07);
}

.read-more {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-smooth);
}

.read-more:hover {
  transform: translateX(-4px);
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--forest) 0%, #3d7a35 50%, var(--leaf) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  animation: float 20s ease-in-out infinite;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-text {
  flex: 1;
}

.cta-text h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #0f1f0f;
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .f-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .f-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--forest), var(--leaf));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition-bounce);
}

.footer-brand .f-logo:hover .f-logo-icon {
  transform: rotate(10deg) scale(1.1);
}

.footer-brand .f-logo strong {
  font-size: 16px;
  color: white;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.9;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13.5px;
  transition: all var(--transition-smooth);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--mint);
  transform: translateX(-4px);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all var(--transition-smooth);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-4px) rotate(5deg);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   BACK TO TOP
============================================================ */
.back-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--forest), var(--leaf));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(45, 90, 39, 0.4);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.5);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-card {
    flex: 1;
    min-width: 220px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-card-group {
    gap: 10px;
  }

  .hero-card {
    flex: 1 1 45%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    flex: 1 1 100%;
  }

  .cta-btns {
    flex-direction: column;
    width: 100%;
  }

  .cta-btns .btn {
    width: 100%;
    justify-content: center;
  }
}
