
/* ============================================
   WifPros LLC — Blog Post Styles
   Brand Kit: Forest Green, Oswald+Inter
   ============================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --forest: #2D5A3D;
  --forest-dark: #1a3a26;
  --forest-light: #eaf3ed;
  --forest-bright: #4a9e6b;
  --dark: #1a1a1a;
  --dark-secondary: #2a2a2a;
  --light: #ffffff;
  --light-secondary: #f5f5f5;
  --light-tertiary: #ebebeb;
  --text-dark: #1a1a1a;
  --text-body: #555555;
  --text-light: rgba(255,255,255,0.7);
  --ease: cubic-bezier(0.25,0.46,0.45,0.94);
}

html { }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--text-body);
  background: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; z-index: 9990;
  background: linear-gradient(90deg, var(--forest), var(--forest-bright));
  width: 0%; transition: none;
  box-shadow: 0 0 10px rgba(74,158,107,0.5);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity var(--dur-slow) var(--ease-out), visibility var(--dur-slow) var(--ease-out);
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
body.loading { overflow: hidden; }
.preloader-logo {
  font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700;
  letter-spacing: 4px; color: #fff; text-transform: uppercase; margin-bottom: 24px;
}
.preloader-logo .green { color: var(--forest-bright); }
.preloader-bar {
  width: 120px; height: 2px; background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden;
}
.preloader-bar-inner {
  width: 0; background: linear-gradient(90deg, var(--forest), var(--forest-bright));
  height: 100%; animation: preloaderBar var(--dur-slow) var(--ease-out) forwards;
}
@keyframes preloaderBar { from { width: 0; } to { width: 100%; } }

/* ===== LINKS ===== */
a { text-decoration: none; color: inherit; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== WORD REVEAL ===== */
.word-reveal .word {
  display: inline-block; opacity: 0; transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.word-reveal.visible .word { opacity: 1; transform: translateY(0); }
.cta-banner h2.word-reveal .word { opacity: 1 !important; transform: none !important; }

/* ===== SECTION LINE ===== */
.section-line {
  width: 0; height: 2px; margin: 0 auto 56px;
  background: linear-gradient(90deg, transparent, var(--forest-bright), transparent);
  transition: none;
}
.section-line.visible { width: 120px; }

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,90,61,0.08), transparent 70%);
  pointer-events: none; z-index: 9; opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity var(--dur-slow) var(--ease-out);
}
.cursor-glow.active { opacity: 1; }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--forest-bright); }

/* ===== GRAIN OVERLAY ===== */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 20px 0;
  background: transparent;
  transition: var(--dur-slow) var(--ease-out);transition-property:var(--tp);
}
.navbar.scrolled {
  background: rgba(26,26,26,0.98);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.nav-logo {
  font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 700;
  letter-spacing: 3px; color: #fff;
 flex-shrink: 0; }
.nav-logo .llc { color: var(--forest-bright); font-size: 0.75rem; letter-spacing: 4px; margin-left: 8px; }
.nav-logo .green { color: var(--forest-bright); font-size: inherit; letter-spacing: inherit; margin-left: 0; }
.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: nowrap; }
.nav-links a {
  font-family: 'Oswald', sans-serif; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 3px; color: rgba(255,255,255,0.6);
  transition: color var(--dur-med) var(--ease-out); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--forest-bright); transition: none;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; padding: 10px 16px;
  background: var(--forest); color: #fff !important;
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 2px; border-radius: 4px;
  transition: var(--dur-med) var(--ease-out);transition-property:var(--tp);
}
.nav-cta:hover { background: var(--forest-bright); transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 25px rgba(45,90,61,0.4); }

.nav-hamburger { display: none; flex-direction: column; gap: 6px; padding: 8px; cursor: pointer; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--dur-med) var(--ease-out);transition-property:var(--tp); }
.mobile-menu {
  display: none; position: fixed; inset: 0; background: rgba(26,26,26,0.98);
  backdrop-filter: blur(12px); z-index: 100;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Oswald', sans-serif; font-size: 2rem; text-transform: uppercase;
  letter-spacing: 4px; color: rgba(255,255,255,0.7); transition: color var(--dur-med) var(--ease-out);
}
.mobile-menu a:hover { color: var(--forest-bright); }
.mobile-close {
  position: absolute; top: 20px; right: 24px; background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer;
}

@media (max-width: 1259px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

.blueprint-grid {
  background-image:
    linear-gradient(rgba(45,90,61,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,90,61,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== BLOG HERO ===== */
.blog-hero {
  position: relative; min-height: 50vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 50%, #1a3a26 100%); overflow: hidden; text-align: center;
  padding: 140px 20px 80px;
}
.blog-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none; z-index: 1;
}
.blog-hero .glow-1 {
  position: absolute; top: 20%; right: 20%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45,90,61,0.15), transparent 70%);
  border-radius: 50%; z-index: 0;
}
.blog-hero-content {
  position: relative; z-index: 2; max-width: 900px;
}
.blog-hero .breadcrumb {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 400;
  letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 24px;
}
.blog-hero .breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.3s var(--ease-out); }
.blog-hero .breadcrumb a:hover { color: var(--forest-bright); }
.blog-hero .breadcrumb .sep { margin: 0 10px; }
.blog-hero .blog-tag {
  display: inline-block; font-family: 'Oswald', sans-serif; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 4px; color: #fff;
  padding: 10px 20px; background: transparent; border: 1px solid rgba(74,158,107,0.4);
  margin-bottom: 24px;
}
.blog-hero h1 {
  font-family: 'Oswald', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: #fff; line-height: 1.2; margin-bottom: 24px;
}
.blog-meta {
  display: flex; justify-content: center; gap: 32px;
  color: rgba(255,255,255,0.6); font-size: 0.95rem;
  margin-bottom: 32px;
}
.blog-meta strong { color: var(--forest-bright); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--forest); color: #fff;
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 2px; border-radius: 4px;
  transition: var(--dur-med) var(--ease-out);transition-property:var(--tp); position: relative; overflow: hidden;
}
.btn-primary:hover { background: var(--forest-bright); transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 35px rgba(74,158,107,0.5), 0 0 20px rgba(74,158,107,0.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: transparent; color: #fff;
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 2px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2); transition: var(--dur-med) var(--ease-out);transition-property:var(--tp);
}
.btn-secondary:hover { border-color: var(--forest-bright); color: var(--forest-bright); transform: translateY(-3px); }

.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.15); animation: rippleAnim var(--dur-slow) var(--ease-out); pointer-events: none; }
@keyframes rippleAnim { from { transform: scale(0); opacity: 1; } to { transform: scale(2.5); opacity: 0; } }

/* ===== ARTICLE CONTENT ===== */
.article-wrapper {
  padding: 80px 20px;
  background: var(--light);
}
.article-container {
  max-width: 720px; margin: 0 auto;
}
.article-content {
  color: var(--text-body);
  line-height: 1.9;
  font-size: 1.1rem;
}
.article-content h2 {
  font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark);
  margin: 48px 0 28px 0; line-height: 1.2;
}
.article-content h3 {
  font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark);
  margin: 32px 0 18px 0; line-height: 1.2;
}
.article-content p {
  margin-bottom: 20px;
  color: var(--text-body);
}
.article-content ul, .article-content ol {
  margin-bottom: 24px; margin-left: 24px;
}
.article-content li {
  margin-bottom: 12px; color: var(--text-body);
}

/* Cost Breakdown Grid */
.cost-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 24px; margin: 32px 0;
}
.cost-card {
  background: var(--light-secondary); border-left: 4px solid var(--forest-bright);
  padding: 28px; border-radius: 6px;
}
.cost-card h4 {
  font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--forest);
  margin-bottom: 12px;
}
.cost-card .price {
  font-size: 1.3rem; font-weight: 600; color: var(--forest-bright);
  margin-bottom: 16px;
}
.cost-card p {
  font-size: 0.95rem; margin-bottom: 12px;
}

/* Callout Box */
.callout {
  background: rgba(74,158,107,0.08); border-left: 4px solid var(--forest-bright);
  padding: 24px; border-radius: 6px; margin: 32px 0;
  color: var(--text-body);
}
.callout p { margin: 0; }

/* ===== AUTHOR SECTION ===== */
.author-section {
  margin: 64px 0 48px 0; padding: 32px 0;
  border-top: 1px solid var(--light-tertiary); border-bottom: 1px solid var(--light-tertiary);
}
.author-info {
  display: flex; align-items: center; gap: 20px;
}
.author-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--forest); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700;
  flex-shrink: 0;
}
.author-text h3 {
  font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark);
  margin: 0 0 4px 0;
}
.author-text p {
  font-size: 0.9rem; color: var(--text-body); margin: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--dark); padding: 100px 20px;
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Oswald', sans-serif; font-size: 2.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: #fff;
  margin-bottom: 24px;
}
.cta-banner p {
  font-size: 1.4rem; color: rgba(255,255,255,0.85);
  margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.cta-buttons {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.cta-buttons .btn-primary {
  padding: 18px 40px; font-size: 0.9rem; min-width: 260px; justify-content: center;
}

.cta-buttons .btn-primary:hover {
  background: var(--forest-bright);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 60px 20px 40px;
  margin-top: 0;
}
.footer .inner {
  max-width: 1280px; margin: 0 auto;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px; margin-bottom: 48px;
}
.footer-grid h3, .footer-grid h4 {
  font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; color: #fff;
  margin-bottom: 16px;
}
.footer-grid p {
  font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px;
}
.footer-grid ul {
  list-style: none; padding: 0; margin: 0;
}
.footer-grid li {
  margin-bottom: 12px;
}
.footer-grid a {
  color: rgba(255,255,255,0.6); transition: color var(--dur-med) var(--ease-out);
}
.footer-grid a:hover {
  color: var(--forest-bright);
}
.badge {
  display: inline-block; padding: 8px 16px;
  background: rgba(74,158,107,0.15); border: 1px solid rgba(74,158,107,0.3);
  border-radius: 4px; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 2px; color: var(--forest-bright); margin-right: 8px; margin-bottom: 8px;
}

.footer-socials { display: flex; gap: 16px; margin-top: 16px; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; transition: var(--dur-med) var(--ease-out);transition-property:var(--tp); text-decoration: none; }
.footer-socials a:hover { transform: translateY(-2px); opacity: 0.8; }
.footer-socials a svg { width: 32px; height: 32px; }
.footer-socials .fs-fb { background: #1877F2; border-radius: 50%; }
.footer-socials .fs-fb svg { fill: #fff; }
.footer-socials .fs-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-radius: 8px; }
.footer-socials .fs-ig svg { fill: #fff; }
.footer-socials .fs-goog { background: transparent; }
.footer-socials .fs-tt { background: transparent; }
.footer-payments {
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 32px 0;
  margin-bottom: 32px;
  text-align: center;
}
.pay-label {
  font-family: 'Oswald', sans-serif; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.pay-icons {
  display: flex; gap: 32px; flex-wrap: wrap; align-items: center; justify-content: center;
}
.pay-icon {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 1px;
}
.pay-icon svg, .pay-icon img {
  width: 32px; height: 32px; color: rgba(255,255,255,0.7);
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px; padding-top: 24px;
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--dur-med) var(--ease-out); }
.footer-bottom a:hover { color: var(--forest-bright); }

@media (max-width: 768px) {
  .blog-hero { padding: 120px 20px 60px; }
  .blog-hero h1 { font-size: 1.8rem; }
  .blog-meta { flex-direction: column; gap: 12px; }
  .article-wrapper { padding: 60px 20px; }
  .article-content h2 { font-size: 1.5rem; margin-top: 32px; }
  .article-content h3 { font-size: 1.2rem; }
  .cta-banner h2 { font-size: 1.8rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn-primary, .cta-buttons .btn-secondary {
    width: 100%;
  }
  .author-info { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .pay-icons { justify-content: center; }
}
