/*
Theme Name: VLNtech
Theme URI: https://vlntech.com
Author: VLNtech
Author URI: https://vlntech.com
Description: A bold, AI-forward dark theme for VLNtech. Features a sitewide animated code background, hero, pricing matrix, portfolio section, and full custom layout. All styles and scripts are namespaced with "nw-" to prevent conflicts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vlntech
Tags: dark, one-column, custom-colors, custom-menu, featured-images, full-width-template, theme-options
*/

/* ============ RESET (scoped to .nw-root, won't break wp-admin) ============ */
.nw-root *, .nw-root *::before, .nw-root *::after { box-sizing: border-box; }
.nw-root { margin: 0; padding: 0; }

/* ============ TOKENS ============ */
:root {
  --nw-bg: #020509;
  --nw-surface: #060d18;
  --nw-surface2: #081120;
  --nw-border: rgba(56,140,230,0.12);
  --nw-border-bright: rgba(56,140,230,0.28);
  --nw-accent: #4FA8F5;
  --nw-accent-bright: #6BBEFF;
  --nw-accent-dim: rgba(79,168,245,0.15);
  --nw-text: #E8F0FA;
  --nw-muted: rgba(180,210,245,0.45);
  --nw-muted-soft: rgba(180,210,245,0.5);
  --nw-font-head: 'Syne', sans-serif;
  --nw-font-body: 'Space Grotesk', sans-serif;
  --nw-font-mono: 'Share Tech Mono', monospace;
}

html { scroll-behavior: smooth; }

body.nw-body {
  background: var(--nw-bg);
  color: var(--nw-text);
  font-family: var(--nw-font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

/* ============ SITEWIDE CODE-RAIN BACKGROUND ============ */
#nw-code-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}
.nw-root {
  position: relative;
  z-index: 1;
}

/* ============ NAV ============ */
.nw-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(2,5,9,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--nw-border-bright);
  position: sticky; top: 0;
  z-index: 50;
}
.nw-logo { font-family: var(--nw-font-head); font-size: 1.1rem; font-weight: 800; letter-spacing: 0.04em; color: var(--nw-text); text-decoration: none; }
.nw-logo span { color: var(--nw-accent-bright); }
.nw-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nw-nav ul li { margin: 0; }
.nw-nav ul a { text-decoration: none; color: var(--nw-muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
.nw-nav ul a:hover { color: var(--nw-accent-bright); }
.nw-nav-cta {
  background: transparent;
  color: var(--nw-accent-bright);
  font-family: var(--nw-font-head);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 1.2rem; border-radius: 3px;
  border: 0.5px solid var(--nw-accent);
  text-decoration: none;
  transition: background 0.2s;
}
.nw-nav-cta:hover { background: var(--nw-accent-dim); }

/* ============ HERO ============ */
.nw-hero {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
}
.nw-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(79,168,245,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(79,168,245,0.04) 1px, transparent 1px); background-size: 48px 48px; }
.nw-grid-fade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 30%, var(--nw-bg) 80%); }
.nw-scan-line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--nw-accent), transparent); animation: nw-scan 4s ease-in-out infinite; opacity: 0.4; }
@keyframes nw-scan { 0%,100% { transform: translateY(0); opacity: 0; } 10% { opacity: 0.4; } 90% { opacity: 0.4; } 50% { transform: translateY(200px); } }

.nw-hero-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--nw-accent); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.7rem; position: relative; }
.nw-hero-label::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--nw-accent); }

.nw-h1 { font-family: var(--nw-font-head); font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 800; line-height: 1.05; max-width: 740px; margin: 0 0 0.9rem; position: relative; color: var(--nw-text); }
.nw-h1 em { font-style: normal; color: var(--nw-accent-bright); }

.nw-hero-sub { color: var(--nw-muted); font-size: 0.98rem; max-width: 480px; margin-bottom: 1.5rem; line-height: 1.75; position: relative; }
.nw-hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; position: relative; }

.nw-btn-primary { background: var(--nw-accent); color: #020509; font-family: var(--nw-font-head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.75rem 1.75rem; border-radius: 3px; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s, transform 0.18s; display: inline-block; }
.nw-btn-primary:hover { opacity: 0.88; transform: translateY(-2px); color: #020509; }
.nw-btn-ghost { background: transparent; color: var(--nw-text); font-family: var(--nw-font-head); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.75rem 1.75rem; border-radius: 3px; text-decoration: none; border: 0.5px solid var(--nw-border-bright); cursor: pointer; transition: border-color 0.2s, transform 0.18s, color 0.2s; display: inline-block; }
.nw-btn-ghost:hover { border-color: var(--nw-accent-bright); color: var(--nw-accent-bright); transform: translateY(-2px); }

.nw-status-bar { display: flex; gap: 1.25rem; margin-top: 1.25rem; position: relative; flex-wrap: wrap; }
.nw-status-item { display: flex; align-items: center; gap: 0.45rem; font-size: 0.72rem; color: var(--nw-muted); letter-spacing: 0.05em; }
.nw-status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--nw-accent); animation: nw-pulse 2s ease-in-out infinite; }
@keyframes nw-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.nw-status-dot.nw-delay { animation-delay: 0.7s; }
.nw-status-dot.nw-delay2 { animation-delay: 1.4s; }

/* ============ TICKER ============ */
.nw-ticker-wrap { overflow: hidden; border-top: 0.5px solid var(--nw-border-bright); border-bottom: 0.5px solid var(--nw-border-bright); padding: 0.75rem 0; background: var(--nw-surface); }
.nw-ticker-track { display: flex; gap: 3rem; animation: nw-ticker 24s linear infinite; width: max-content; }
.nw-ticker-track span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nw-muted); white-space: nowrap; }
.nw-ticker-track span em { font-style: normal; color: var(--nw-accent); margin-right: 0.4rem; }
@keyframes nw-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ GENERIC SECTIONS ============ */
.nw-section { padding: 4rem 2.5rem; position: relative; }
.nw-section-label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--nw-accent); margin-bottom: 0.6rem; }
.nw-h2 { font-family: var(--nw-font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.08; margin: 0 0 2rem; max-width: 560px; color: var(--nw-text); }

/* ============ FEATURE CARDS ("What We Do") ============ */
.nw-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--nw-border-bright); border: 0.5px solid var(--nw-border-bright); border-radius: 6px; overflow: hidden; }
.nw-cards .nw-card { background: var(--nw-surface); padding: 1.5rem; transition: background 0.25s; position: relative; overflow: hidden; }
.nw-cards .nw-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--nw-accent), transparent); opacity: 0; transition: opacity 0.3s; }
.nw-cards .nw-card:hover { background: var(--nw-surface2); }
.nw-cards .nw-card:hover::before { opacity: 0.6; }
.nw-cards .nw-card-num { font-family: var(--nw-font-head); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--nw-accent); margin-bottom: 0.75rem; }
.nw-cards .nw-card h3 { font-family: var(--nw-font-head); font-size: 1rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--nw-text); }
.nw-cards .nw-card p { font-size: 0.84rem; color: var(--nw-muted); line-height: 1.7; margin: 0; }

/* ============ PROCESS STEPS ============ */
.nw-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.nw-step { padding-left: 1rem; border-left: 1px solid var(--nw-border-bright); }
.nw-step-num { font-family: var(--nw-font-head); font-size: 2rem; font-weight: 800; color: rgba(79,168,245,0.1); line-height: 1; margin-bottom: 0.4rem; }
.nw-step h4 { font-family: var(--nw-font-head); font-size: 0.9rem; font-weight: 700; margin: 0 0 0.4rem; color: var(--nw-accent-bright); }
.nw-step p { font-size: 0.82rem; color: var(--nw-muted); margin: 0; }

/* ============ DOMAIN STRIP ============ */
.nw-domain-strip { background: var(--nw-surface); border-top: 0.5px solid var(--nw-border-bright); border-bottom: 0.5px solid var(--nw-border-bright); padding: 3rem 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; position: relative; }
.nw-domain-inner { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; }
.nw-domain-text { flex: 1; min-width: 240px; }
.nw-domain-text h3 { font-family: var(--nw-font-head); font-size: 1.3rem; font-weight: 800; margin: 0 0 0.5rem; color: var(--nw-text); }
.nw-domain-text p { color: var(--nw-muted); font-size: 0.86rem; max-width: 360px; line-height: 1.7; margin: 0; }
.nw-domain-search { display: flex; flex: 1; min-width: 260px; max-width: 420px; background: rgba(79,168,245,0.04); border: 0.5px solid var(--nw-border-bright); border-radius: 4px; overflow: hidden; align-self: center; }
.nw-domain-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--nw-text); font-family: var(--nw-font-body); font-size: 0.9rem; padding: 0.8rem 1rem; }
.nw-domain-search input::placeholder { color: var(--nw-muted); }
.nw-domain-search button { background: var(--nw-accent); color: #020509; font-family: var(--nw-font-head); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.07em; text-transform: uppercase; border: none; padding: 0 1.2rem; cursor: pointer; transition: opacity 0.2s; }
.nw-domain-search button:hover { opacity: 0.85; }
.nw-domain-result { font-size: 0.84rem; color: var(--nw-accent-bright); padding-left: 0.2rem; min-height: 1.2em; letter-spacing: 0.03em; margin: 0; }

/* ============ CTA / FOOTER ============ */
.nw-cta-section { padding: 4.5rem 2.5rem; text-align: center; position: relative; overflow: hidden; }
.nw-cta-orb { position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(79,168,245,0.07) 0%, transparent 65%); pointer-events: none; }
.nw-cta-section .nw-h2 { margin: 0 auto 0.75rem; }
.nw-cta-section .nw-cta-copy { color: var(--nw-muted); margin: 0 auto 2rem; max-width: 440px; font-size: 0.95rem; }

.nw-footer { border-top: 0.5px solid var(--nw-border); padding: 1.5rem 2.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; position: relative; background: var(--nw-bg); }
.nw-footer p { font-size: 0.76rem; color: var(--nw-muted); margin: 0; }
.nw-footer-logo { font-family: var(--nw-font-head); font-size: 0.95rem; font-weight: 800; color: var(--nw-text); }
.nw-footer-logo span { color: var(--nw-accent-bright); }

.nw-fade-up { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.nw-fade-up.nw-visible { opacity: 1; transform: translateY(0); }

/* ============ PRICING SECTION ============ */
.nw-pricing-section { position: relative; padding: 3.5rem 2rem; overflow: hidden; border-top: 0.5px solid var(--nw-border-bright); border-bottom: 0.5px solid var(--nw-border-bright); }
.nw-services-wrap { position: relative; z-index: 1; }

.nw-section-head { text-align: center; margin-bottom: 2.5rem; position: relative; }
.nw-scan-bar { position: absolute; top: 0; left: -2rem; right: -2rem; height: 1px; background: linear-gradient(90deg, transparent, var(--nw-accent), transparent); animation: nw-scanh 3s ease-in-out infinite; opacity: 0.5; }
@keyframes nw-scanh { 0%,100% { opacity: 0; transform: translateY(0); } 10% { opacity: 0.5; } 90% { opacity: 0.5; } 50% { transform: translateY(80px); } }

.nw-sys-label { font-family: var(--nw-font-mono); font-size: 0.65rem; color: var(--nw-accent); letter-spacing: 0.18em; margin-bottom: 0.5rem; opacity: 0.8; }
.nw-section-head .nw-h2 { font-family: var(--nw-font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.1; color: var(--nw-text); margin: 0 auto; max-width: none; }
.nw-section-head .nw-h2 em { font-style: italic; color: var(--nw-accent-bright); display: block; }

.nw-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--nw-border-bright);
  border: 0.5px solid var(--nw-border-bright);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.nw-pcard {
  background: var(--nw-surface);
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.nw-pcard:hover { background: var(--nw-surface2); }

.nw-card-rain {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; opacity: 0; transition: opacity 0.4s;
  overflow: hidden;
}
.nw-pcard:hover .nw-card-rain { opacity: 1; }
.nw-rain-col {
  position: absolute; top: -100%;
  font-family: var(--nw-font-mono);
  font-size: 10px; color: var(--nw-accent); line-height: 1.4;
  writing-mode: vertical-rl; letter-spacing: 2px;
  animation: nw-rainfall linear infinite;
  opacity: 0.18;
  white-space: nowrap;
}
@keyframes nw-rainfall { from { transform: translateY(-20%); } to { transform: translateY(120%); } }

.nw-pcard::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--nw-accent-bright), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.nw-pcard:hover::after { opacity: 0.8; }

.nw-card-corner { position: absolute; top: 8px; right: 8px; width: 10px; height: 10px; border-top: 1px solid var(--nw-accent); border-right: 1px solid var(--nw-accent); opacity: 0.4; }
.nw-card-corner-bl { position: absolute; bottom: 8px; left: 8px; width: 10px; height: 10px; border-bottom: 1px solid var(--nw-accent); border-left: 1px solid var(--nw-accent); opacity: 0.4; }

.nw-card-top { display: flex; align-items: flex-start; justify-content: flex-end; margin-bottom: 0.75rem; }
.nw-card-num-mono { font-family: var(--nw-font-mono); font-size: 0.65rem; color: var(--nw-accent); opacity: 0.6; letter-spacing: 0.1em; }
.nw-card-tag { font-family: var(--nw-font-mono); font-size: 0.58rem; color: var(--nw-accent); background: rgba(79,168,245,0.08); border: 0.5px solid var(--nw-border-bright); padding: 2px 7px; border-radius: 2px; letter-spacing: 0.1em; }

.nw-pcard h3 { font-family: var(--nw-font-head); font-size: 0.97rem; font-weight: 700; margin: 0 0 0.55rem; color: var(--nw-text); line-height: 1.3; position: relative; }
.nw-pcard p { font-size: 0.81rem; color: var(--nw-muted-soft); line-height: 1.72; flex: 1; position: relative; margin: 0; }

.nw-card-footer { margin-top: 1.1rem; position: relative; }
.nw-price-row { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.85rem; }
.nw-price-label { font-family: var(--nw-font-mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nw-accent); }
.nw-price-amount { font-family: var(--nw-font-head); font-size: 1.5rem; font-weight: 800; color: var(--nw-text); }

.nw-included-list { margin-bottom: 0.85rem; }
.nw-included-label { font-family: var(--nw-font-mono); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--nw-accent); margin-bottom: 0.45rem; }
.nw-included-row { display: flex; justify-content: space-between; align-items: center; padding: 0.28rem 0; border-bottom: 0.5px solid var(--nw-border); }
.nw-included-row:last-child { border-bottom: none; }
.nw-included-row span { font-size: 0.74rem; color: var(--nw-muted-soft); }
.nw-included-row strong { font-size: 0.74rem; font-weight: 600; color: var(--nw-accent-bright); font-family: var(--nw-font-mono); }

.nw-add-btn {
  display: block; width: 100%; text-align: center;
  background: transparent;
  color: var(--nw-accent-bright);
  font-family: var(--nw-font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.65rem 1rem; border-radius: 3px;
  border: 0.5px solid var(--nw-border-bright);
  cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none; position: relative; overflow: hidden;
}
.nw-add-btn::before {
  content: ''; position: absolute; left: -100%; top: 0; bottom: 0; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(79,168,245,0.12), transparent);
  transition: left 0.4s;
}
.nw-add-btn:hover::before { left: 100%; }
.nw-add-btn:hover { border-color: var(--nw-accent); color: var(--nw-accent-bright); }

.nw-glitch { position: relative; display: inline-block; }
.nw-glitch::before, .nw-glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; opacity: 0; }
.nw-section-head:hover .nw-glitch::before { color: #4FA8F5; left: 2px; opacity: 0.4; animation: nw-glitch1 0.3s steps(2) 1; }
.nw-section-head:hover .nw-glitch::after { color: #6BBEFF; left: -2px; opacity: 0.3; animation: nw-glitch2 0.3s steps(2) 1; }
@keyframes nw-glitch1 { 0%,100% { clip-path: inset(0 0 80% 0); } 50% { clip-path: inset(40% 0 20% 0); } }
@keyframes nw-glitch2 { 0%,100% { clip-path: inset(60% 0 10% 0); } 50% { clip-path: inset(10% 0 60% 0); } }

.nw-hud-line { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.2rem; font-family: var(--nw-font-mono); font-size: 0.58rem; color: rgba(79,168,245,0.35); letter-spacing: 0.1em; }
.nw-hud-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--nw-accent); animation: nw-pulse 1.8s ease-in-out infinite; }
.nw-hud-dot.nw-d2 { animation-delay: 0.6s; }
.nw-hud-dot.nw-d3 { animation-delay: 1.2s; }

/* ============ PORTFOLIO / OUR WORK ============ */
.nw-portfolio { position: relative; }
.nw-portfolio-intro {
	color: var(--nw-muted);
	max-width: 580px;
	margin: -1.25rem 0 2.5rem;
	font-size: 0.95rem;
	line-height: 1.75;
}

.nw-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1px;
	background: var(--nw-border-bright);
	border: 0.5px solid var(--nw-border-bright);
	border-radius: 6px;
	overflow: hidden;
}

.nw-portfolio-card {
	background: var(--nw-surface);
	padding: 1.5rem 1.4rem 1.6rem;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--nw-text);
	position: relative;
	overflow: hidden;
	transition: background 0.3s, transform 0.25s;
}
.nw-portfolio-card:hover { background: var(--nw-surface2); }
.nw-portfolio-card::after {
	content: '';
	position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--nw-accent-bright), transparent);
	opacity: 0; transition: opacity 0.3s;
}
.nw-portfolio-card:hover::after { opacity: 0.8; }

.nw-portfolio-card-corner {
	position: absolute; top: 8px; right: 8px;
	width: 10px; height: 10px;
	border-top: 1px solid var(--nw-accent);
	border-right: 1px solid var(--nw-accent);
	opacity: 0.4;
}
.nw-portfolio-card-corner-bl {
	position: absolute; bottom: 8px; left: 8px;
	width: 10px; height: 10px;
	border-bottom: 1px solid var(--nw-accent);
	border-left: 1px solid var(--nw-accent);
	opacity: 0.4;
}

/* Light-tile container so logos with white backgrounds read well on dark cards */
.nw-portfolio-logo-wrap {
	background: #FAFAF8;
	border-radius: 4px;
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	margin-bottom: 1rem;
	overflow: hidden;
	transition: transform 0.35s ease;
}
.nw-portfolio-card:hover .nw-portfolio-logo-wrap {
	transform: scale(1.02);
}
.nw-portfolio-logo-wrap img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

/* Text-only placeholder for clients without a logo file yet */
.nw-portfolio-logo-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #FAFAF8 0%, #F0EEE8 100%);
	border-radius: 3px;
	padding: 1rem;
	text-align: center;
}
.nw-portfolio-logo-placeholder span {
	font-family: var(--nw-font-head);
	font-size: 1.05rem;
	font-weight: 800;
	color: #1a1a1a;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.nw-portfolio-card-body { display: flex; flex-direction: column; flex: 1; }
.nw-portfolio-tag {
	font-family: var(--nw-font-mono);
	font-size: 0.58rem;
	color: var(--nw-accent);
	background: rgba(79,168,245,0.08);
	border: 0.5px solid var(--nw-border-bright);
	padding: 2px 7px;
	border-radius: 2px;
	letter-spacing: 0.1em;
	margin-bottom: 0.6rem;
	align-self: flex-start;
}
.nw-portfolio-card h3 {
	font-family: var(--nw-font-head);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.4rem;
	color: var(--nw-text);
	line-height: 1.25;
}
.nw-portfolio-card p {
	font-size: 0.82rem;
	color: var(--nw-muted-soft);
	line-height: 1.65;
	margin: 0 0 0.85rem;
	flex: 1;
}
.nw-portfolio-link {
	font-family: var(--nw-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	color: var(--nw-accent-bright);
	text-transform: lowercase;
	display: inline-flex;
	align-items: center;
	transition: color 0.2s, letter-spacing 0.2s;
}
.nw-portfolio-card:hover .nw-portfolio-link {
	letter-spacing: 0.12em;
}

/* ============ RESULTS / TRACK RECORD ============ */
.nw-results { position: relative; }
.nw-results-intro {
	color: var(--nw-muted);
	max-width: 580px;
	margin: -1.25rem 0 2.5rem;
	font-size: 0.95rem;
	line-height: 1.75;
}

.nw-results-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 1.75rem;
}

.nw-result-card {
	background: var(--nw-bg);
	border: 0.5px solid var(--nw-border-bright);
	border-radius: 6px;
	padding: 1.5rem 1.4rem;
	position: relative;
	transition: border-color 0.3s, transform 0.25s;
	overflow: hidden;
}
.nw-result-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 2px; height: 100%;
	background: linear-gradient(180deg, var(--nw-accent), transparent);
	opacity: 0.6;
}
.nw-result-card:hover {
	border-color: var(--nw-accent);
	transform: translateY(-2px);
}

.nw-result-corner {
	position: absolute;
	top: 8px; right: 8px;
	width: 8px; height: 8px;
	border-top: 1px solid var(--nw-accent);
	border-right: 1px solid var(--nw-accent);
	opacity: 0.45;
}

.nw-result-value {
	font-family: var(--nw-font-head);
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1;
	color: var(--nw-accent-bright);
	margin-bottom: 0.5rem;
	letter-spacing: -0.02em;
}

.nw-result-label {
	font-family: var(--nw-font-head);
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--nw-text);
	margin-bottom: 0.4rem;
	letter-spacing: 0.01em;
}

.nw-result-desc {
	font-size: 0.78rem;
	color: var(--nw-muted-soft);
	line-height: 1.55;
}

.nw-results-note {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--nw-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	color: var(--nw-muted);
	padding-top: 1rem;
	border-top: 0.5px solid var(--nw-border);
}
.nw-results-note-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--nw-accent);
	animation: nw-pulse 2s ease-in-out infinite;
}

/* ============ SECTION LINKS ROW (after What We Do) ============ */
.nw-section-links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 1.75rem;
}

/* ============ WHY US ============ */
.nw-whyus { position: relative; }
.nw-whyus-intro {
	color: var(--nw-muted);
	max-width: 580px;
	margin: -1.25rem 0 2.5rem;
	font-size: 0.95rem;
	line-height: 1.75;
}

.nw-whyus-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1px;
	background: var(--nw-border-bright);
	border: 0.5px solid var(--nw-border-bright);
	border-radius: 6px;
	overflow: hidden;
}

.nw-whyus-card {
	background: var(--nw-bg);
	padding: 1.7rem 1.5rem;
	position: relative;
	overflow: hidden;
	transition: background 0.3s;
}
.nw-whyus-card:hover { background: var(--nw-surface); }
.nw-whyus-card::after {
	content: '';
	position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--nw-accent-bright), transparent);
	opacity: 0; transition: opacity 0.3s;
}
.nw-whyus-card:hover::after { opacity: 0.7; }

.nw-whyus-corner {
	position: absolute; top: 10px; right: 10px;
	width: 10px; height: 10px;
	border-top: 1px solid var(--nw-accent);
	border-right: 1px solid var(--nw-accent);
	opacity: 0.4;
}
.nw-whyus-corner-bl {
	position: absolute; bottom: 10px; left: 10px;
	width: 10px; height: 10px;
	border-bottom: 1px solid var(--nw-accent);
	border-left: 1px solid var(--nw-accent);
	opacity: 0.4;
}

.nw-whyus-tag {
	display: inline-block;
	font-family: var(--nw-font-mono);
	font-size: 0.58rem;
	color: var(--nw-accent);
	background: rgba(79,168,245,0.08);
	border: 0.5px solid var(--nw-border-bright);
	padding: 2px 7px;
	border-radius: 2px;
	letter-spacing: 0.1em;
	margin-bottom: 0.85rem;
}

.nw-whyus-card h3 {
	font-family: var(--nw-font-head);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.6rem;
	color: var(--nw-text);
	line-height: 1.3;
}

.nw-whyus-card p {
	font-size: 0.85rem;
	color: var(--nw-muted-soft);
	line-height: 1.7;
	margin: 0;
}

/* ============ CONTENT WRAP ============ */
.nw-content-wrap { max-width: 820px; margin: 0 auto; padding: 4rem 2rem; position: relative; }
.nw-content-wrap h1, .nw-content-wrap h2, .nw-content-wrap h3, .nw-content-wrap h4 { font-family: var(--nw-font-head); color: var(--nw-text); margin-top: 2rem; margin-bottom: 0.75rem; }
.nw-content-wrap h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.nw-content-wrap h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.nw-content-wrap p, .nw-content-wrap li { color: var(--nw-muted); line-height: 1.75; }
.nw-content-wrap a { color: var(--nw-accent-bright); text-decoration: underline; text-decoration-color: rgba(107,190,255,0.4); }
.nw-content-wrap a:hover { text-decoration-color: var(--nw-accent-bright); }
.nw-content-wrap img { max-width: 100%; height: auto; border-radius: 4px; }
.nw-content-wrap blockquote { border-left: 2px solid var(--nw-accent); padding-left: 1rem; margin: 1.5rem 0; color: var(--nw-text); font-style: italic; }
.nw-content-wrap code { font-family: var(--nw-font-mono); background: var(--nw-surface); padding: 2px 6px; border-radius: 3px; font-size: 0.88em; color: var(--nw-accent-bright); }
.nw-content-wrap pre { background: var(--nw-surface); border: 0.5px solid var(--nw-border-bright); border-radius: 4px; padding: 1rem; overflow-x: auto; }
.nw-content-wrap pre code { background: transparent; padding: 0; }
.nw-page-title { font-family: var(--nw-font-head); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.05; margin: 0 0 1.5rem; color: var(--nw-text); }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nw-nav { padding: 0.85rem 1.25rem; flex-wrap: wrap; gap: 0.75rem; }
  .nw-nav ul { gap: 1rem; order: 3; width: 100%; justify-content: flex-start; }
  .nw-hero { padding: 2.5rem 1.25rem; }
  .nw-section, .nw-cta-section { padding: 3rem 1.25rem; }
  .nw-domain-strip { padding: 2.5rem 1.25rem; }
  .nw-pricing-section { padding: 3rem 1rem; }
  .nw-footer { padding: 1.25rem; flex-direction: column; align-items: flex-start; }
  .nw-content-wrap { padding: 2.5rem 1.25rem; }
}
