/* =============================================
   NIFTYNYLON — MAIN STYLESHEET
   Aesthetic: Dark luxury editorial with warm accents
   ============================================= */

/* --- ROOT VARIABLES --- */
:root {
  --bg:         #0D0D0B;
  --bg2:        #141410;
  --bg3:        #1C1C17;
  --surface:    #232320;
  --surface2:   #2A2A26;
  --border:     rgba(255,255,255,0.07);
  --border2:    rgba(255,255,255,0.12);

  --text:       #F0EDE6;
  --text2:      #A8A49A;
  --text3:      #605C55;

  --gold:       #E8B86D;
  --gold2:      #F5D08A;
  --gold-dim:   rgba(232,184,109,0.12);
  --coral:      #D4614A;
  --coral-dim:  rgba(212,97,74,0.12);
  --green:      #4CAF82;

  --nav-h:      68px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(13,13,11,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.site-header.scrolled { background: rgba(13,13,11,0.97); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 0;
  padding: 0 28px;
}
.site-logo {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.5px; color: var(--text);
  flex-shrink: 0;
}
.site-logo span { color: var(--gold); }
.site-logo small {
  display: block; font-size: 9px; font-weight: 400;
  color: var(--text3); letter-spacing: 2px; text-transform: uppercase;
  line-height: 1; margin-top: 2px;
}
.main-nav {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0 auto 0 40px;
}
.main-nav a {
  color: var(--text2); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.main-nav a:hover { color: var(--text); background: var(--surface); }
.main-nav a.current { color: var(--gold); }
.nav-cta {
  margin-left: auto;
  background: var(--gold); color: #0D0D0B;
  font-size: 13px; font-weight: 700;
  padding: 9px 20px; border-radius: 100px;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; margin-left: auto; border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: var(--surface); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg2); z-index: 190;
  display: flex; flex-direction: column; padding: 24px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block; padding: 15px 18px; font-size: 20px;
  font-weight: 600; color: var(--text2); border-radius: var(--radius);
  transition: all 0.2s; border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--gold); background: var(--surface); }

/* =============================================
   HERO SECTION — ANIMATED
   ============================================= */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: var(--nav-h) 28px 0;
}

/* Canvas background */
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.6;
}

/* Radial glow overlay */
.hero-glow {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,184,109,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(212,97,74,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(76,175,130,0.06) 0%, transparent 60%);
}

/* Grain texture */
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0.04;
  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");
  background-size: 256px;
}

/* Floating tool icons */
.hero-floats {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
}
.hero-float {
  position: absolute;
  font-size: 28px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 12px;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: floatIn 1s var(--ease-out) forwards, floatBob 6s ease-in-out infinite;
}
.hero-float:nth-child(1)  { top:18%; left:7%;   animation-delay:0.4s, 1.4s; --bob-offset:14px; }
.hero-float:nth-child(2)  { top:30%; right:8%;  animation-delay:0.6s, 1.6s; --bob-offset:10px; }
.hero-float:nth-child(3)  { top:62%; left:5%;   animation-delay:0.8s, 1.8s; --bob-offset:18px; }
.hero-float:nth-child(4)  { top:70%; right:6%;  animation-delay:0.5s, 1.5s; --bob-offset:12px; }
.hero-float:nth-child(5)  { top:50%; left:14%;  animation-delay:0.7s, 1.7s; --bob-offset:16px; }
.hero-float:nth-child(6)  { top:20%; right:15%; animation-delay:0.9s, 1.9s; --bob-offset:8px;  }
.hero-float:nth-child(7)  { top:80%; left:20%;  animation-delay:1.0s, 2.0s; --bob-offset:20px; }
.hero-float:nth-child(8)  { top:15%; left:30%;  animation-delay:0.3s, 1.3s; --bob-offset:11px; }

@keyframes floatIn {
  from { opacity:0; transform:translateY(24px) scale(0.8); }
  to   { opacity:0.75; transform:translateY(0) scale(1); }
}
@keyframes floatBob {
  0%,100% { transform:translateY(0); }
  50%     { transform:translateY(calc(-1 * var(--bob-offset, 12px))); }
}

/* Hero content */
.hero-content {
  position: relative; z-index: 10;
  text-align: center; max-width: 820px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(232,184,109,0.25);
  border-radius: 100px; padding: 6px 16px;
  font-size: 12px; font-weight: 600; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.2s forwards;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:0.4; transform:scale(0.7); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(46px, 8vw, 88px);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -3px; color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeSlideUp 1s var(--ease-out) 0.4s forwards;
}
.hero-title .line-1 { display: block; }
.hero-title .line-2 {
  display: block; color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  text-stroke: 1.5px var(--gold);
}
.hero-title .highlight {
  position: relative; color: var(--gold);
  -webkit-text-stroke: 0;
}
.hero-title .highlight::after {
  content: '';
  position: absolute; left: 0; bottom: 4px; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px); font-weight: 300;
  color: var(--text2); max-width: 520px; margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeSlideUp 1s var(--ease-out) 0.6s forwards;
}

.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeSlideUp 1s var(--ease-out) 0.8s forwards;
}
.btn-gold {
  background: var(--gold); color: #0D0D0B;
  font-size: 15px; font-weight: 700;
  padding: 14px 32px; border-radius: 100px;
  letter-spacing: 0.3px; border: none;
  transition: all 0.25s var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(232,184,109,0.3); }
.btn-ghost {
  background: transparent; color: var(--text);
  font-size: 15px; font-weight: 500;
  padding: 13px 28px; border-radius: 100px;
  border: 1px solid var(--border2);
  transition: all 0.25s var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: var(--surface); border-color: var(--text3); transform: translateY(-1px); }

.hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeSlideUp 1s var(--ease-out) 1.0s forwards;
}
.hero-stat-item span {
  display: block; font-family: var(--font-head);
  font-size: 34px; font-weight: 800; color: var(--gold); line-height: 1;
  letter-spacing: -1px;
}
.hero-stat-item small {
  font-size: 12px; color: var(--text3); text-transform: uppercase;
  letter-spacing: 1px; margin-top: 4px; display: block;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s ease 1.8s forwards;
}
.hero-scroll span { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 2px; }
.scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop { 0%{transform:scaleY(0);transform-origin:top;} 50%{transform:scaleY(1);transform-origin:top;} 51%{transform:scaleY(1);transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

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

/* =============================================
   SEARCH BAR
   ============================================= */
.search-section { padding: 0 28px; margin-top: -1px; }
.search-wrap {
  max-width: 640px; margin: 0 auto; position: relative;
}
.search-wrap input {
  width: 100%; padding: 18px 56px 18px 24px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-xl); font-size: 16px; color: var(--text);
  outline: none; transition: all 0.25s;
}
.search-wrap input::placeholder { color: var(--text3); }
.search-wrap input:focus { border-color: var(--gold); background: var(--bg3); box-shadow: 0 0 0 3px rgba(232,184,109,0.1); }
.search-wrap .search-icon {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--text3); font-size: 18px; pointer-events: none;
}

/* =============================================
   SECTIONS SHARED
   ============================================= */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 28px; }
.section-sm { padding: 48px 28px; }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.section-label {
  display: block; font-size: 11px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 8px;
}
.section-header h2 {
  font-family: var(--font-head); font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
}
.section-header p { font-size: 15px; color: var(--text2); margin-top: 6px; }
.view-all {
  font-size: 13px; color: var(--gold); font-weight: 600;
  display: flex; align-items: center; gap: 4px; flex-shrink: 0;
  transition: gap 0.2s;
}
.view-all:hover { gap: 8px; }

/* =============================================
   AD SLOTS
   ============================================= */
.ad-banner {
  width: 100%; max-width: 728px; margin: 0 auto;
  min-height: 90px; background: var(--surface);
  border: 1px dashed var(--border2); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase;
}
.ad-square {
  width: 300px; height: 250px;
  background: var(--surface); border: 1px dashed var(--border2);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; color: var(--text3); font-size: 12px;
  text-transform: uppercase; letter-spacing: 1px; flex-shrink: 0;
}

/* =============================================
   CATEGORY FILTER
   ============================================= */
.cat-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
}
.cat-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text2); font-size: 13px; font-weight: 500;
  padding: 8px 18px; border-radius: 100px;
  transition: all 0.2s; cursor: pointer;
}
.cat-btn:hover { border-color: var(--border2); color: var(--text); }
.cat-btn.active { background: var(--gold); color: #0D0D0B; border-color: var(--gold); font-weight: 700; }

/* =============================================
   TOOLS GRID & CARDS
   ============================================= */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.tool-card {
  display: block;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 20px;
  transition: all 0.3s var(--ease-out); cursor: pointer;
  text-decoration: none; position: relative; overflow: hidden;
}
.tool-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,184,109,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.tool-card:hover {
  border-color: rgba(232,184,109,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.tool-card:hover::before { opacity: 1; }
.tool-icon {
  font-size: 32px; display: block; margin-bottom: 14px;
  transition: transform 0.3s var(--ease-out);
}
.tool-card:hover .tool-icon { transform: scale(1.15) rotate(-5deg); }
.tool-card h3 {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 6px; letter-spacing: -0.3px;
}
.tool-card p { font-size: 13px; color: var(--text2); line-height: 1.55; }
.tool-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px; margin-top: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-free    { background: rgba(76,175,130,0.15); color: var(--green); }
.badge-popular { background: var(--coral-dim); color: #E07060; }
.badge-new     { background: var(--gold-dim); color: var(--gold); }

/* =============================================
   BLOG GRID & CARDS
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: all 0.3s var(--ease-out); cursor: pointer; display: block;
}
.blog-card:hover {
  border-color: var(--border2); transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.blog-thumb {
  aspect-ratio: 16/9; display: flex; align-items: center;
  justify-content: center; font-size: 64px;
  background: var(--surface2); position: relative; overflow: hidden;
}
.blog-thumb img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
.blog-body { padding: 22px; }
.blog-cat {
  font-size: 10px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.blog-card h3 {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--text); line-height: 1.35; margin-bottom: 8px; letter-spacing: -0.4px;
}
.blog-card p { font-size: 14px; color: var(--text2); line-height: 1.6; }
.blog-meta {
  display: flex; gap: 16px; margin-top: 16px;
  font-size: 12px; color: var(--text3); padding-top: 16px;
  border-top: 1px solid var(--border);
}
.blog-meta span { display: flex; align-items: center; gap: 4px; }

/* =============================================
   TOOL DETAIL PAGE
   ============================================= */
.tool-page { max-width: 900px; margin: 0 auto; padding: 120px 28px 80px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text3); margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb-sep { color: var(--text3); }
.tool-header { margin-bottom: 36px; }
.tool-header .tool-icon-lg { font-size: 52px; margin-bottom: 16px; }
.tool-header h1 {
  font-family: var(--font-head); font-size: clamp(32px, 5vw, 50px);
  font-weight: 800; letter-spacing: -2px; margin-bottom: 10px;
}
.tool-header p { font-size: 17px; color: var(--text2); }

.tool-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px 30px; margin-bottom: 24px;
}
.tool-box label {
  display: block; font-size: 11px; font-weight: 700; color: var(--text3);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px;
}
.tool-input {
  width: 100%; padding: 14px 18px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 15px; color: var(--text);
  outline: none; transition: all 0.2s; resize: vertical;
}
.tool-input:focus { border-color: var(--gold); background: var(--bg3); box-shadow: 0 0 0 3px rgba(232,184,109,0.1); }
.tool-input::placeholder { color: var(--text3); }
textarea.tool-input { min-height: 160px; }

.result-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px; margin-top: 20px;
}
.result-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 14px; text-align: center;
}
.result-card .val {
  display: block; font-family: var(--font-head);
  font-size: 24px; font-weight: 800; color: var(--gold); letter-spacing: -1px;
}
.result-card .lbl { font-size: 11px; color: var(--text3); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.tool-result {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  font-size: 16px; margin-top: 16px; min-height: 56px;
  color: var(--text2);
}
.tool-result strong { color: var(--gold); }

.tool-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: #0D0D0B;
  font-size: 14px; font-weight: 700; padding: 11px 22px;
  border-radius: 100px; border: none;
  transition: all 0.2s; letter-spacing: 0.2px;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface2); color: var(--text2);
  font-size: 14px; font-weight: 500; padding: 10px 20px;
  border-radius: 100px; border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--bg3); color: var(--text); border-color: var(--border2); }

.select-row {
  display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap;
}
.select-row > div { flex: 1; min-width: 100px; }
.tool-input-sm { padding: 11px 14px; font-size: 14px; }
select.tool-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23605C55' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }

/* =============================================
   BLOG SINGLE PAGE
   ============================================= */
.blog-single { max-width: 760px; margin: 0 auto; padding: 120px 28px 80px; }
.blog-single .blog-cat { font-size: 12px; letter-spacing: 2px; margin-bottom: 16px; }
.blog-single h1 {
  font-family: var(--font-head); font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px;
}
.blog-single .meta-row {
  display: flex; gap: 20px; font-size: 13px; color: var(--text3);
  padding-bottom: 28px; border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.blog-single .featured-thumb {
  width: 100%; aspect-ratio: 16/9; background: var(--surface);
  border-radius: var(--radius-xl); display: flex; align-items: center;
  justify-content: center; font-size: 100px; margin-bottom: 40px;
  border: 1px solid var(--border); overflow: hidden;
}
.blog-single .post-content h2 {
  font-family: var(--font-head); font-size: 26px; font-weight: 700;
  letter-spacing: -0.8px; color: var(--text); margin: 36px 0 14px;
}
.blog-single .post-content h3 { font-size: 20px; color: var(--text); margin: 28px 0 10px; }
.blog-single .post-content p { color: var(--text2); font-size: 16px; line-height: 1.85; margin-bottom: 18px; }
.blog-single .post-content ul, .blog-single .post-content ol {
  color: var(--text2); padding-left: 22px; margin-bottom: 18px; line-height: 1.9;
}
.blog-single .post-content a { color: var(--gold); text-decoration: underline; }
.blog-single .post-content blockquote {
  border-left: 3px solid var(--gold); padding: 12px 20px;
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0; font-style: italic; color: var(--text2);
}

/* Related Posts */
.related-posts { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-posts h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

/* =============================================
   STATIC PAGES (Privacy, About, etc.)
   ============================================= */
.static-page { max-width: 780px; margin: 0 auto; padding: 120px 28px 80px; }
.static-page h1 {
  font-family: var(--font-head); font-size: clamp(36px, 6vw, 58px);
  font-weight: 800; letter-spacing: -2.5px; margin-bottom: 8px;
}
.page-updated { font-size: 13px; color: var(--text3); margin-bottom: 40px; display: block; }
.static-page h2 {
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
  color: var(--text); margin: 36px 0 12px; letter-spacing: -0.5px;
  padding-left: 14px; border-left: 3px solid var(--gold);
}
.static-page p { color: var(--text2); line-height: 1.85; font-size: 15.5px; margin-bottom: 16px; }
.static-page ul, .static-page ol { color: var(--text2); padding-left: 22px; line-height: 1.9; margin-bottom: 16px; font-size: 15.5px; }
.static-page a { color: var(--gold); text-decoration: underline; }
.static-page strong { color: var(--text); }

/* Contact Form */
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 12px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 15px; color: var(--text);
  outline: none; transition: all 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); background: var(--bg3); box-shadow: 0 0 0 3px rgba(232,184,109,0.1); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px; padding: 64px 28px 36px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .site-logo { font-size: 24px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--text2); line-height: 1.75; margin-top: 4px; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; color: var(--text3);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text2);
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-divider { height: 1px; background: var(--border); margin-bottom: 28px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--text3); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* =============================================
   TOAST
   ============================================= */
#nn-toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 14px 20px;
  font-size: 14px; color: var(--text);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s var(--ease-out);
  pointer-events: none; display: flex; align-items: center; gap: 10px;
}
#nn-toast.show { transform: translateY(0); opacity: 1; }
#nn-toast .toast-icon { font-size: 18px; }

/* =============================================
   REVEAL ANIMATIONS (scroll-triggered)
   ============================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-float { display: none; }
  .hero-float:nth-child(1), .hero-float:nth-child(2) { display: block; font-size: 22px; padding: 10px; }
}
@media(max-width: 768px) {
  .main-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-section { min-height: 90vh; }
  .hero-title { letter-spacing: -1.5px; }
  .hero-stats { gap: 24px; }
  .section { padding: 56px 20px; }
  .tools-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .select-row { flex-direction: column; }
}
@media(max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 20px; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   WP ALIGNMENT HELPERS
   ============================================= */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin: 0 auto 16px; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text3); text-align: center; margin-top: 6px; }
