/* =========================================================
   NUVELO AGENCY - main.css
   Pure CSS4 | No framework | World-class performance
   ========================================================= */

/* 1. CSS Custom Properties */
:root {
  --bg:          #0a0a08;
  --surface:     #131311;
  --surface-2:   #1a1a18;
  --lime:        #b8ff3c;
  --lime-dim:    #9cdb2e;
  --electric:    #00e5ff;
  --text:        #ffffff;
  --text-muted:  #9ca3af;
  --text-dim:    #6b7280;
  --border:      rgba(255,255,255,0.08);
  --border-lime: rgba(184,255,60,0.3);
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --shadow-lime: 0 0 40px rgba(184,255,60,0.15);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --font:        "Inter", system-ui, -apple-system, sans-serif;
  --max-w:       1200px;
  --nav-h:       72px;
}

/* 2. Reset */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px;-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,video,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
input,textarea,select{font-family:inherit}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{line-height:1.15;font-weight:800}

/* 3. Typography */
.text-xs   { font-size: 0.75rem  }
.text-sm   { font-size: 0.875rem }
.text-base { font-size: 1rem     }
.text-lg   { font-size: 1.125rem }
.text-xl   { font-size: 1.25rem  }
.text-2xl  { font-size: 1.5rem   }
.text-3xl  { font-size: 1.875rem }
.text-4xl  { font-size: 2.25rem  }
.text-5xl  { font-size: 3rem     }
.text-6xl  { font-size: 3.75rem  }
.text-7xl  { font-size: 4.5rem   }
.font-light    { font-weight: 300 }
.font-normal   { font-weight: 400 }
.font-semibold { font-weight: 600 }
.font-bold     { font-weight: 800 }
.text-lime     { color: var(--lime) }
.text-electric { color: var(--electric) }
.text-muted    { color: var(--text-muted) }

/* 4. Layout */
.container { width:100%; max-width:var(--max-w); margin-inline:auto; padding-inline:clamp(1rem,4vw,2.5rem) }
.section   { padding-block: clamp(5rem,10vw,8rem) }
.grid-2    { display:grid; grid-template-columns: repeat(2,1fr); gap:2rem }
.grid-3    { display:grid; grid-template-columns: repeat(3,1fr); gap:2rem }
.grid-4    { display:grid; grid-template-columns: repeat(4,1fr); gap:1.5rem }
.flex      { display:flex }
.flex-col  { flex-direction:column }
.items-center   { align-items:center }
.justify-center { justify-content:center }
.justify-between{ justify-content:space-between }
.gap-1  { gap:0.5rem  }
.gap-2  { gap:1rem    }
.gap-3  { gap:1.5rem  }
.gap-4  { gap:2rem    }
.text-center { text-align:center }

/* 5. Buttons */
.btn {
  display: inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  padding: 0.85rem 1.75rem; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em;
  transition: all var(--transition); white-space: nowrap; position:relative; overflow:hidden;
}
.btn::after {
  content:""; position:absolute; inset:0;
  background:rgba(255,255,255,0.08); opacity:0; transition: opacity var(--transition);
}
.btn:hover::after { opacity:1 }
.btn-primary {
  background: var(--lime); color: #0a0a08;
  box-shadow: 0 0 0 0 rgba(184,255,60,0.4);
}
.btn-primary:hover {
  background: var(--lime-dim); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184,255,60,0.35);
}
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3); transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem }

/* 6. Navigation */
.site-nav {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  height: var(--nav-h);
  transition: all var(--transition);
  display: flex; align-items:center;
}
.site-nav.scrolled {
  background: rgba(10,10,8,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  display:flex; align-items:center; justify-content:space-between;
  width:100%; max-width:var(--max-w); margin-inline:auto; padding-inline:clamp(1rem,4vw,2.5rem);
}
.nav-logo { display:flex; align-items:center; gap:0.75rem; font-weight:800; font-size:1.25rem }
.nav-logo svg { width:36px; height:36px; flex-shrink:0 }
.nav-links { display:flex; align-items:center; gap:0.25rem }
.nav-links a {
  padding: 0.5rem 0.875rem; font-size:0.9375rem; color:var(--text-muted);
  border-radius: var(--radius-sm); transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color:var(--text); background:rgba(255,255,255,0.06) }
.nav-cta { margin-left:0.75rem }
.hamburger {
  display:none; flex-direction:column; gap:5px; width:32px;
  padding:4px; border-radius:var(--radius-sm);
  background:transparent; cursor:pointer;
}
.hamburger span {
  display:block; height:2px; background:var(--text);
  border-radius:2px; transition:all var(--transition);
  transform-origin:center;
}
.hamburger.active span:nth-child(1) { transform:translateY(7px) rotate(45deg) }
.hamburger.active span:nth-child(2) { opacity:0; transform:scaleX(0) }
.hamburger.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg) }
.mobile-menu {
  display:none; position:fixed; inset:0; z-index:999; padding-top:var(--nav-h);
  background: rgba(10,10,8,0.97); backdrop-filter:blur(24px);
  flex-direction:column; align-items:center; justify-content:center; gap:0.5rem;
}
.mobile-menu.open { display:flex }
.mobile-menu a {
  font-size:1.5rem; font-weight:600; padding:0.75rem 2rem;
  color:var(--text-muted); transition:color var(--transition);
}
.mobile-menu a:hover { color:var(--lime) }
.mobile-menu .btn { margin-top:1.5rem; font-size:1rem }

/* 7. Hero */
.hero {
  position:relative; min-height:100svh; display:flex; align-items:center;
  overflow:hidden; padding-top:var(--nav-h);
}
.hero-bg {
  position:absolute; inset:0; z-index:0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(184,255,60,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 85% 50%, rgba(0,229,255,0.07) 0%, transparent 55%),
              var(--bg);
}
.hero-grid-overlay {
  position:absolute; inset:0; z-index:0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content {
  position:relative; z-index:2;
  width:100%; max-width:var(--max-w); margin-inline:auto;
  padding-inline:clamp(1rem,4vw,2.5rem);
  display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:0.5rem;
  padding:0.4rem 0.875rem; border-radius:100px;
  border:1px solid var(--border-lime);
  background:rgba(184,255,60,0.07);
  font-size:0.8125rem; font-weight:600; color:var(--lime);
  margin-bottom:1.75rem; width:fit-content;
}
.hero-badge-dot { width:6px; height:6px; background:var(--lime); border-radius:50%; animation:pulse 2s infinite }
.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight:800; line-height:1.08; letter-spacing:-0.03em;
  margin-bottom:1.5rem;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--lime) 0%, var(--electric) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-sub {
  font-size: clamp(1rem,1.8vw,1.1875rem); font-weight:300;
  color:var(--text-muted); max-width:520px; margin-bottom:2.5rem; line-height:1.7;
}
.hero-actions { display:flex; align-items:center; gap:1rem; flex-wrap:wrap }
.hero-social-proof {
  display:flex; align-items:center; gap:0.75rem; margin-top:2.5rem;
  font-size:0.875rem; color:var(--text-dim);
}
.hero-avatars { display:flex }
.hero-avatars span {
  width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:0.75rem; font-weight:600; border:2px solid var(--bg); margin-left:-8px;
}
.hero-avatars span:first-child { margin-left:0 }
.hero-visual { position:relative; display:flex; align-items:center; justify-content:center }
.hero-score-card {
  background: var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:2rem; width:100%; max-width:400px;
  box-shadow: var(--shadow-card), var(--shadow-lime);
  animation: float 6s ease-in-out infinite;
}
.score-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.5rem }
.score-label { font-size:0.8125rem; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.08em }
.score-tag {
  font-size:0.75rem; font-weight:600; padding:0.25rem 0.625rem; border-radius:100px;
  background:rgba(184,255,60,0.12); color:var(--lime);
}
.score-row { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:1rem; margin-bottom:1.5rem }
.score-box {
  background:var(--surface-2); border-radius:var(--radius); padding:1.25rem; text-align:center;
  border:1px solid var(--border);
}
.score-num {
  font-size:2.5rem; font-weight:800; line-height:1;
  margin-bottom:0.25rem;
}
.score-num.bad  { color:#ef4444 }
.score-num.good { color:var(--lime) }
.score-num.great{ color:var(--electric) }
.score-arrow { font-size:1.5rem; color:var(--lime); text-align:center }
.score-metric { display:flex; flex-direction:column; gap:0.625rem }
.metric-bar {
  display:flex; align-items:center; gap:0.75rem; font-size:0.8125rem;
}
.metric-name { width:80px; color:var(--text-muted); flex-shrink:0 }
.metric-track { flex:1; height:6px; background:rgba(255,255,255,0.08); border-radius:3px; overflow:hidden }
.metric-fill { height:100%; border-radius:3px; transition:width 1.5s cubic-bezier(0.4,0,0.2,1) }
.metric-val { width:40px; text-align:right; font-weight:600 }
.score-badge-float {
  position:absolute; top:-1rem; right:-1rem;
  background:var(--lime); color:#0a0a08;
  border-radius:var(--radius); padding:0.875rem 1.125rem; text-align:center;
  box-shadow: 0 8px 24px rgba(184,255,60,0.4);
  animation: float 4s ease-in-out infinite reverse;
}
.score-badge-float .num { font-size:1.75rem; font-weight:800; line-height:1 }
.score-badge-float .lbl { font-size:0.7rem; font-weight:600; text-transform:uppercase; letter-spacing:0.05em }

/* 8. Stats Bar */
.stats-bar {
  background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding-block:3rem;
}
.stats-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--border);
  border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden;
}
.stat-item {
  background:var(--surface); padding:2rem; text-align:center;
  transition:background var(--transition);
}
.stat-item:hover { background:var(--surface-2) }
.stat-number {
  font-size:clamp(2rem,4vw,3rem); font-weight:800; line-height:1;
  background: linear-gradient(135deg, var(--lime) 0%, var(--electric) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text; margin-bottom:0.5rem;
}
.stat-label { font-size:0.9375rem; color:var(--text-muted); font-weight:400 }

/* 9. Section Headers */
.section-label {
  display:inline-flex; align-items:center; gap:0.5rem;
  font-size:0.8125rem; font-weight:600; color:var(--lime); text-transform:uppercase; letter-spacing:0.1em;
  margin-bottom:1rem;
}
.section-label::before {
  content:""; display:block; width:24px; height:2px; background:var(--lime); border-radius:1px;
}
.section-title {
  font-size:clamp(2rem,4vw,3rem); font-weight:800; letter-spacing:-0.02em;
  margin-bottom:1rem; max-width:640px;
}
.section-sub {
  font-size:clamp(1rem,1.5vw,1.125rem); color:var(--text-muted); max-width:560px; line-height:1.7;
}
.section-header { margin-bottom:3.5rem }
.section-header.centered { text-align:center }
.section-header.centered .section-label { margin-inline:auto }
.section-header.centered .section-title,
.section-header.centered .section-sub { margin-inline:auto }

/* 10. Services */
.services { background:var(--bg) }
.services-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.5rem;
}
.service-card {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:2rem; transition:all var(--transition); position:relative; overflow:hidden;
  cursor:default;
}
.service-card::before {
  content:""; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(184,255,60,0.06) 0%, transparent 60%);
  opacity:0; transition:opacity var(--transition);
}
.service-card:hover { transform:translateY(-6px); border-color:var(--border-lime); box-shadow:var(--shadow-lime) }
.service-card:hover::before { opacity:1 }
.service-icon {
  width:52px; height:52px; border-radius:var(--radius); margin-bottom:1.5rem;
  background:rgba(184,255,60,0.1); display:flex; align-items:center; justify-content:center;
  transition:background var(--transition);
}
.service-card:hover .service-icon { background:rgba(184,255,60,0.18) }
.service-icon svg { width:26px; height:26px; stroke:var(--lime); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round }
.service-name { font-size:1.125rem; font-weight:600; margin-bottom:0.5rem }
.service-price { font-size:0.8125rem; color:var(--lime); font-weight:600; margin-bottom:0.875rem }
.service-desc { font-size:0.9375rem; color:var(--text-muted); line-height:1.65 }
.service-features { margin-top:1.25rem; display:flex; flex-direction:column; gap:0.5rem }
.service-feature {
  display:flex; align-items:center; gap:0.5rem; font-size:0.875rem; color:var(--text-dim);
}
.service-feature::before { content:"¹3"; color:var(--lime); font-weight:700; flex-shrink:0; font-size:1.1em; line-height:1 }

/* 11. How It Works */
.how-it-works { background:var(--surface) }
.steps-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative;
}
.steps-grid::before {
  content:""; position:absolute; top:2.5rem; left:16.67%; right:16.67%; height:2px;
  background:linear-gradient(90deg, var(--lime), var(--electric));
  z-index:0;
}
.step { text-align:center; padding:1rem 2rem; position:relative; z-index:1 }
.step-num {
  width:52px; height:52px; border-radius:50%; background:var(--lime); color:#0a0a08;
  display:flex; align-items:center; justify-content:center; font-size:1.125rem; font-weight:800;
  margin:0 auto 1.5rem; box-shadow:0 0 0 8px var(--surface), 0 0 0 9px var(--border-lime);
}
.step-title { font-size:1.125rem; font-weight:600; margin-bottom:0.5rem }
.step-desc { font-size:0.9375rem; color:var(--text-muted); line-height:1.65 }

/* 12. Why Nuvelo */
.why-nuvelo { background:var(--bg) }
.why-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center }
.why-features { display:flex; flex-direction:column; gap:1.5rem; margin-top:2rem }
.why-feature { display:flex; gap:1rem }
.why-feature-icon {
  width:40px; height:40px; flex-shrink:0; border-radius:var(--radius-sm);
  background:rgba(184,255,60,0.1); display:flex; align-items:center; justify-content:center;
}
.why-feature-icon svg { width:20px; height:20px; stroke:var(--lime); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round }
.why-feature-text h4 { font-size:1rem; font-weight:600; margin-bottom:0.25rem }
.why-feature-text p { font-size:0.9375rem; color:var(--text-muted); line-height:1.6 }
.score-comparison {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-xl);
  padding:2.5rem; position:relative; overflow:hidden;
}
.score-comparison::after {
  content:""; position:absolute; bottom:-50px; right:-50px;
  width:200px; height:200px; border-radius:50%;
  background:radial-gradient(circle, rgba(184,255,60,0.08) 0%, transparent 70%);
}
.comp-title { font-size:0.8125rem; color:var(--text-dim); text-transform:uppercase; letter-spacing:0.1em; font-weight:600; margin-bottom:1.5rem }
.comp-bars { display:flex; flex-direction:column; gap:1.25rem }
.comp-bar { display:flex; align-items:center; gap:1rem }
.comp-bar-label { width:72px; font-size:0.875rem; color:var(--text-muted); flex-shrink:0 }
.comp-bar-track { flex:1; height:10px; background:rgba(255,255,255,0.06); border-radius:5px; overflow:hidden }
.comp-bar-fill {
  height:100%; border-radius:5px;
  transition:width 2s cubic-bezier(0.4,0,0.2,1) 0.5s;
}
.comp-bar-fill.before { background:#ef4444; width:0 }
.comp-bar-fill.after  { background:linear-gradient(90deg,var(--lime),var(--electric)); width:0 }
.comp-bar.animated .comp-bar-fill.before { width:38% }
.comp-bar.animated .comp-bar-fill.after  { width:91% }
.comp-bar-val { width:36px; text-align:right; font-size:0.875rem; font-weight:600 }
.comp-result {
  margin-top:2rem; padding:1.25rem; border-radius:var(--radius);
  background:rgba(184,255,60,0.08); border:1px solid var(--border-lime);
  display:flex; align-items:center; gap:0.875rem;
}
.comp-result-num { font-size:2rem; font-weight:800; color:var(--lime); line-height:1 }
.comp-result-text { font-size:0.875rem; color:var(--text-muted); line-height:1.5 }

/* 13. Testimonials */
.testimonials { background:var(--surface) }
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem }
.testimonial-card {
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-lg); padding:2rem;
  transition:all var(--transition); position:relative;
}
.testimonial-card:hover { border-color:var(--border-lime); transform:translateY(-4px); box-shadow:var(--shadow-lime) }
.testimonial-stars { display:flex; gap:0.25rem; margin-bottom:1.25rem }
.star { color:var(--lime); font-size:1rem }
.testimonial-quote {
  font-size:1rem; line-height:1.7; color:var(--text-muted); margin-bottom:1.5rem; font-style:italic;
  position:relative;
}
.testimonial-quote::before {
  content:'"'; font-size:4rem; line-height:0.5; color:rgba(184,255,60,0.2);
  font-family:Georgia,serif; display:block; margin-bottom:0.5rem;
}
.testimonial-author { display:flex; align-items:center; gap:0.875rem }
.testimonial-avatar {
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:0.875rem; font-weight:700; flex-shrink:0; border:2px solid var(--border-lime);
}
.testimonial-name { font-size:0.9375rem; font-weight:600 }
.testimonial-company { font-size:0.8125rem; color:var(--text-dim) }

/* 14. CTA Section */
.cta-section {
  position:relative; overflow:hidden;
  background:linear-gradient(135deg, #0d1a00 0%, var(--bg) 50%, #001a1f 100%);
  padding-block:clamp(5rem,10vw,9rem);
}
.cta-section::before {
  content:""; position:absolute; top:-50%; left:50%; transform:translateX(-50%);
  width:800px; height:600px; border-radius:50%;
  background:radial-gradient(ellipse, rgba(184,255,60,0.1) 0%, transparent 70%);
  pointer-events:none;
}
.cta-content { text-align:center; position:relative; z-index:1 }
.cta-title {
  font-size:clamp(2.25rem,5vw,3.75rem); font-weight:800; letter-spacing:-0.03em;
  max-width:780px; margin-inline:auto; margin-bottom:1.5rem; line-height:1.1;
}
.cta-sub { font-size:clamp(1rem,1.5vw,1.125rem); color:var(--text-muted); max-width:520px; margin-inline:auto; margin-bottom:2.5rem; line-height:1.7 }
.cta-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap }
.cta-guarantee { margin-top:1.5rem; font-size:0.875rem; color:var(--text-dim) }
.cta-guarantee span { color:var(--lime) }

/* 15. Contact Form */
.contact-section { background:var(--surface) }
.contact-grid { display:grid; grid-template-columns:1fr 1.5fr; gap:5rem; align-items:start }
.contact-info h3 { font-size:1.5rem; margin-bottom:1rem }
.contact-info p { color:var(--text-muted); line-height:1.7; margin-bottom:2rem }
.contact-detail { display:flex; align-items:center; gap:0.75rem; margin-bottom:1rem; font-size:0.9375rem; color:var(--text-muted) }
.contact-detail svg { width:18px; height:18px; stroke:var(--lime); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0 }
.form-group { margin-bottom:1.25rem }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem }
.form-label { display:block; font-size:0.875rem; font-weight:600; color:var(--text-muted); margin-bottom:0.5rem }
.form-input {
  width:100%; padding:0.875rem 1rem; border-radius:var(--radius);
  background:var(--surface-2); border:1.5px solid var(--border);
  color:var(--text); font-size:0.9375rem; font-family:var(--font);
  transition:border-color var(--transition), box-shadow var(--transition);
  outline:none;
}
.form-input::placeholder { color:var(--text-dim) }
.form-input:focus { border-color:rgba(184,255,60,0.5); box-shadow:0 0 0 3px rgba(184,255,60,0.08) }
textarea.form-input { resize:vertical; min-height:130px }
.form-submit { width:100%; margin-top:0.5rem }
.form-status { margin-top:1rem; padding:0.875rem 1rem; border-radius:var(--radius); font-size:0.9375rem; display:none }
.form-status.success { display:block; background:rgba(184,255,60,0.1); border:1px solid var(--border-lime); color:var(--lime) }
.form-status.error { display:block; background:rgba(239,68,68,0.1); border:1px solid rgba(239,68,68,0.3); color:#f87171 }

/* 16. Footer */
.site-footer {
  background:var(--bg); border-top:1px solid var(--border); padding-top:4rem; padding-bottom:2rem;
}
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:3rem; margin-bottom:3rem;
}
.footer-brand .footer-logo { display:flex; align-items:center; gap:0.625rem; font-size:1.125rem; font-weight:800; margin-bottom:1rem }
.footer-brand .footer-logo svg { width:32px; height:32px }
.footer-brand p { font-size:0.9375rem; color:var(--text-muted); line-height:1.7; max-width:280px; margin-bottom:1.5rem }
.footer-socials { display:flex; gap:0.75rem }
.footer-social {
  width:40px; height:40px; border-radius:var(--radius-sm); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; transition:all var(--transition);
}
.footer-social:hover { border-color:var(--border-lime); background:rgba(184,255,60,0.08) }
.footer-social svg { width:18px; height:18px; stroke:var(--text-muted); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:stroke var(--transition) }
.footer-social:hover svg { stroke:var(--lime) }
.footer-col h4 { font-size:0.875rem; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-dim); margin-bottom:1.25rem }
.footer-col ul { display:flex; flex-direction:column; gap:0.625rem }
.footer-col ul a { font-size:0.9375rem; color:var(--text-muted); transition:color var(--transition) }
.footer-col ul a:hover { color:var(--lime) }
.footer-contact-item { display:flex; flex-direction:column; gap:0.25rem; margin-bottom:0.75rem }
.footer-contact-item span:first-child { font-size:0.75rem; font-weight:600; color:var(--text-dim); text-transform:uppercase; letter-spacing:0.06em }
.footer-contact-item span:last-child { font-size:0.9375rem; color:var(--text-muted) }
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem;
  padding-top:2rem; border-top:1px solid var(--border);
  font-size:0.875rem; color:var(--text-dim);
}
.footer-bottom a { color:var(--text-dim); transition:color var(--transition) }
.footer-bottom a:hover { color:var(--lime) }
.footer-bottom-links { display:flex; gap:1.5rem }

/* 17. Page Templates */
.page-hero { padding-top:calc(var(--nav-h) + 4rem); padding-bottom:4rem; border-bottom:1px solid var(--border) }
.page-hero h1 { font-size:clamp(2rem,5vw,3.5rem); margin-bottom:1rem }
.page-content { padding-block:5rem }
.page-content .prose { max-width:720px; margin-inline:auto; font-size:1.0625rem; line-height:1.8; color:var(--text-muted) }
.prose h2,.prose h3 { color:var(--text); margin-top:2rem; margin-bottom:0.75rem }
.prose p { margin-bottom:1rem }
.prose a { color:var(--lime); text-decoration:underline; text-underline-offset:3px }
.prose ul { list-style:disc; padding-left:1.5rem; color:var(--text-muted) }
.prose ul li { margin-bottom:0.5rem }

/* 18. 404 */
.error-page { min-height:100svh; display:flex; align-items:center; justify-content:center; text-align:center; padding:2rem }
.error-code { font-size:clamp(6rem,15vw,10rem); font-weight:800; line-height:1; color:rgba(255,255,255,0.05); margin-bottom:-2rem }
.error-title { font-size:clamp(1.5rem,3vw,2.25rem); margin-bottom:1rem }
.error-desc { color:var(--text-muted); margin-bottom:2rem; max-width:400px; margin-inline:auto }

/* 19. Scroll Reveal */
.reveal { opacity:0; transform:translateY(32px); transition:opacity 0.7s ease, transform 0.7s ease }
.reveal.visible { opacity:1; transform:none }
.reveal-left { opacity:0; transform:translateX(-32px); transition:opacity 0.7s ease, transform 0.7s ease }
.reveal-left.visible { opacity:1; transform:none }
.reveal-right { opacity:0; transform:translateX(32px); transition:opacity 0.7s ease, transform 0.7s ease }
.reveal-right.visible { opacity:1; transform:none }
.reveal-scale { opacity:0; transform:scale(0.93); transition:opacity 0.7s ease, transform 0.7s ease }
.reveal-scale.visible { opacity:1; transform:none }
.delay-100 { transition-delay:0.1s }
.delay-200 { transition-delay:0.2s }
.delay-300 { transition-delay:0.3s }
.delay-400 { transition-delay:0.4s }
.delay-500 { transition-delay:0.5s }

/* 20. Keyframes */
@keyframes float {
  0%,100% { transform:translateY(0) }
  50%      { transform:translateY(-12px) }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1) }
  50%      { opacity:0.6; transform:scale(0.8) }
}
@keyframes spin-slow {
  from { transform:rotate(0deg) }
  to   { transform:rotate(360deg) }
}
@keyframes fadeIn {
  from { opacity:0; transform:translateY(16px) }
  to   { opacity:1; transform:none }
}
@keyframes blink {
  0%,100% { opacity:1 }
  50%     { opacity:0 }
}
.cursor-blink::after {
  content:"|"; color:var(--lime); animation:blink 1s step-end infinite;
}

/* 21. Responsive */
@media (max-width:1024px) {
  .hero-content { grid-template-columns:1fr; gap:3rem }
  .hero-visual { order:-1 }
  .hero-score-card { max-width:360px }
  .why-grid { grid-template-columns:1fr }
  .contact-grid { grid-template-columns:1fr }
  .footer-grid { grid-template-columns:1fr 1fr }
  .steps-grid::before { display:none }
  .steps-grid { gap:2rem }
}
@media (max-width:768px) {
  .nav-links,.nav-cta { display:none }
  .hamburger { display:flex }
  .stats-grid { grid-template-columns:repeat(2,1fr) }
  .services-grid { grid-template-columns:1fr }
  .steps-grid { grid-template-columns:1fr }
  .testimonials-grid { grid-template-columns:1fr }
  .footer-grid { grid-template-columns:1fr }
  .footer-bottom { flex-direction:column; text-align:center }
  .form-row { grid-template-columns:1fr }
  .hero-actions { flex-direction:column; align-items:flex-start }
}
@media (max-width:480px) {
  .stats-grid { grid-template-columns:1fr }
  .score-row { grid-template-columns:1fr auto 1fr; gap:0.5rem }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important }
  .reveal,.reveal-left,.reveal-right,.reveal-scale { opacity:1; transform:none }
}

/* ==========================================================
   NUVELO v1.1 — Page Template Additions
   ========================================================== */

/* Blog post pagination */
.page-numbers{display:inline-flex;align-items:center;gap:0.5rem;list-style:none;margin-top:3rem;flex-wrap:wrap}
.page-numbers li a,.page-numbers li span{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--radius);border:1px solid var(--border);font-size:0.9rem;font-weight:600;color:var(--text-muted);transition:all var(--transition)}
.page-numbers li a:hover,.page-numbers li span.current{background:var(--lime);color:#0a0a08;border-color:var(--lime)}
.page-numbers li span.dots{border:none;width:auto;padding:0 0.25rem}

/* Single post */
.single-post-hero{padding-top:calc(var(--nav-h) + 4rem);padding-bottom:3rem;border-bottom:1px solid var(--border)}
.single-post-content{padding-block:4rem}
.single-post-content .prose{max-width:740px;margin-inline:auto;font-size:1.0625rem;line-height:1.85;color:var(--text-muted)}
.single-post-content .prose h2{font-size:1.75rem;color:var(--text);margin-top:2.5rem;margin-bottom:0.875rem}
.single-post-content .prose h3{font-size:1.375rem;color:var(--text);margin-top:2rem;margin-bottom:0.75rem}
.single-post-content .prose p{margin-bottom:1.25rem}
.single-post-content .prose strong{color:var(--text);font-weight:700}
.single-post-content .prose a{color:var(--lime);text-decoration:underline;text-underline-offset:3px}
.single-post-content .prose ul,.single-post-content .prose ol{padding-left:1.5rem;margin-bottom:1.25rem}
.single-post-content .prose li{margin-bottom:0.5rem}
.single-post-content .prose blockquote{border-left:4px solid var(--lime);padding:1rem 1.5rem;margin:1.5rem 0;background:rgba(184,255,60,0.04);border-radius:0 var(--radius) var(--radius) 0;color:var(--text);font-style:italic}
.post-meta-bar{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;font-size:0.875rem;color:var(--text-dim);margin-bottom:2rem}
.post-tag{background:rgba(184,255,60,0.1);color:var(--lime);padding:0.25rem 0.75rem;border-radius:100px;font-size:0.8rem;font-weight:600}

/* Responsive grid adjustments */
@media (max-width:900px){
  .service-card{min-width:unset}
}
@media (max-width:768px){
  [style*="grid-template-columns:1fr 1fr"]:not(.stats-grid):not(.form-row){grid-template-columns:1fr!important}
  [style*="grid-template-columns:1fr 1.4fr"]{grid-template-columns:1fr!important}
  [style*="grid-template-columns:1fr 1.5fr"]{grid-template-columns:1fr!important}
  [style*="grid-template-columns:repeat(auto-fit,minmax(340px,1fr))"]{grid-template-columns:1fr!important}
}

/* Table responsive */
@media(max-width:640px){
  table{font-size:0.8125rem}
  th,td{padding:0.625rem 0.5rem!important}
}


/* ================================================================
   NUVELO MOBILE CRITICAL FIXES
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100vw; }

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; background: #0a0a08; z-index: 9999; padding: 88px 32px 48px; gap: 4px; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; font-weight: 700; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); min-height: 44px; display: flex; align-items: center; color: #ffffff; }
  .hamburger { display: flex !important; }
  .nav-cta { display: none; }
  .nav-dropdown { position: static; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 8px; margin: 4px 0 8px 0; }
  .nav-dropdown-menu a { padding: 12px 16px; border-bottom: none !important; border-radius: 8px; min-height: 44px; font-size: 1rem !important; }
  .mobile-menu { display: flex !important; }
  .mobile-menu a { padding: 16px 0; font-size: 1.125rem; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; min-height: 52px; }
  .hero { padding: 120px 16px 60px; text-align: center; min-height: auto; }
  .hero-content { display: flex; flex-direction: column; gap: 40px; align-items: center; max-width: 100%; }
  .hero-text { max-width: 100%; }
  .hero-title, .hero h1 { font-size: clamp(2rem, 8vw, 3.5rem) !important; line-height: 1.1; word-wrap: break-word; overflow-wrap: break-word; }
  .hero-sub { font-size: clamp(1rem, 3.5vw, 1.2rem); margin-inline: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 16px 24px; }
  .hero-visual { display: none; }
  .hero-social-proof { justify-content: center; }
  .hero-badge { justify-content: center; display: flex; }
  section { padding: 60px 16px; }
  .section { padding: 60px 16px; }
  .container { padding-left: 16px; padding-right: 16px; max-width: 100%; }
  .section-title { font-size: clamp(1.75rem, 6vw, 2.5rem) !important; }
  .section-sub { font-size: clamp(0.9rem, 3vw, 1.1rem); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-item { text-align: center; }
  .services-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .service-card { padding: 24px; margin: 0; }
  .service-card .btn { width: 100%; justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .step { text-align: center; }
  .step-num { margin-inline: auto; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .score-comparison { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { flex-direction: column; grid-template-columns: 1fr !important; }
  input, textarea, select { width: 100% !important; font-size: 16px !important; -webkit-appearance: none; }
  .form-input { font-size: 16px; }
  .form-group { width: 100%; }
  textarea { min-height: 120px; }
  .btn { min-height: 44px; padding: 14px 20px; font-size: 0.9375rem; touch-action: manipulation; }
  .btn-lg { padding: 16px 24px; font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 16px 32px; }
  .cta-section { padding: 60px 16px; }
  .cta-title { font-size: clamp(1.75rem, 6vw, 2.75rem) !important; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .page-hero { padding-left: 16px; padding-right: 16px; }
  .page-hero h1 { font-size: clamp(1.75rem, 6vw, 2.75rem) !important; }
  h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
  h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
  .nav-inner { padding: 0 16px; }
  .nav-logo span { font-size: 20px; }
}

@media (max-width: 480px) {
  .hero-title, .hero h1 { font-size: clamp(1.75rem, 7.5vw, 2.25rem) !important; }
  .hero { padding: 100px 12px 48px; }
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .stat-number { font-size: clamp(2rem, 10vw, 3rem); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  section { padding: 48px 12px; }
  .container { padding-left: 12px; padding-right: 12px; }
  .nav-logo span { font-size: 18px; }
  .service-card { padding: 20px; }
  .testimonial-card { padding: 20px; }
  h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  h3 { font-size: clamp(1.125rem, 5vw, 1.5rem); }
  .btn { padding: 14px 18px; font-size: 0.875rem; }
  .cta-title { font-size: clamp(1.5rem, 7vw, 2rem) !important; }
  #billing-toggle { flex-direction: column; border-radius: 12px; gap: 4px; }
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover { transform: none; }
  .service-card:hover { transform: none; }
  a, button { min-height: 44px; }
  .mobile-menu { -webkit-overflow-scrolling: touch; }
}
