/* ============================================================
   NPLINKUP 2026 — Complete Design System
   Drop this file into /var/www/nplinkup/public/css/npl-2026.css
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --npl-green:       #006B3C;
  --npl-green-light: #008A4D;
  --npl-green-dark:  #004D2B;
  --npl-gold:        #D4A843;
  --npl-gold-light:  #E8C06B;
  --npl-dark:        #1A1A2E;
  --npl-dark-2:      #16213E;
  --npl-cream:       #FAF9F7;
  --npl-white:       #FFFFFF;
  --npl-gray-1:      #F8F8F6;
  --npl-gray-2:      #E8E8E4;
  --npl-gray-3:      #999990;
  --npl-text:        #2C2C2C;
  --npl-text-light:  #666660;
  --npl-radius:      16px;
  --npl-radius-sm:   10px;
  --npl-shadow:      0 8px 40px rgba(0,0,0,0.10);
  --npl-shadow-card: 0 4px 24px rgba(0,107,60,0.10);
  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Inter', system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.npl-landing {
  font-family: var(--font-body);
  background: var(--npl-cream);
  color: var(--npl-text);
  margin: 0; padding: 0;
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.npl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.3s ease;
}
.npl-nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  padding: 14px 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.npl-nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.npl-nav-logo img { height: 38px; }
.npl-nav-logo-text {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700;
  color: var(--npl-green);
  letter-spacing: -0.5px;
}
.npl-nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
.npl-nav-links a {
  font-size: 15px; font-weight: 500;
  color: var(--npl-dark); text-decoration: none;
  transition: color 0.2s;
}
.npl-nav-links a:hover { color: var(--npl-green); }
.npl-nav-cta {
  display: flex; gap: 12px; align-items: center;
}
.npl-btn-outline-nav {
  padding: 10px 24px; border-radius: 50px;
  border: 2px solid var(--npl-green);
  color: var(--npl-green); font-weight: 600; font-size: 14px;
  text-decoration: none; transition: all 0.2s;
  font-family: var(--font-body);
}
.npl-btn-outline-nav:hover {
  background: var(--npl-green); color: white;
}
.npl-btn-primary-nav {
  padding: 10px 24px; border-radius: 50px;
  background: var(--npl-green); color: white;
  font-weight: 600; font-size: 14px;
  text-decoration: none; transition: all 0.2s;
  font-family: var(--font-body);
}
.npl-btn-primary-nav:hover {
  background: var(--npl-green-dark); color: white; transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,107,60,0.3);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.npl-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 40px 80px;
}
.npl-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a2e1a 0%, #006B3C 50%, #1a4a2e 100%);
}
.npl-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.npl-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  width: 100%;
}
.npl-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.4);
  border-radius: 50px; padding: 8px 18px;
  margin-bottom: 28px;
}
.npl-hero-badge span {
  font-size: 13px; font-weight: 600;
  color: var(--npl-gold-light); letter-spacing: 0.5px;
}
.npl-hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--npl-gold); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.npl-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800; line-height: 1.1;
  color: white; margin: 0 0 24px;
  letter-spacing: -1px;
}
.npl-hero h1 em {
  color: var(--npl-gold); font-style: normal;
  display: block;
}
.npl-hero-sub {
  font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,0.80);
  margin: 0 0 40px;
  font-weight: 400;
}
.npl-hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.npl-btn-hero-primary {
  padding: 18px 40px; border-radius: 50px;
  background: var(--npl-gold);
  color: var(--npl-dark); font-weight: 700; font-size: 16px;
  text-decoration: none; transition: all 0.25s;
  font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(212,168,67,0.4);
}
.npl-btn-hero-primary:hover {
  background: var(--npl-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212,168,67,0.5);
  color: var(--npl-dark);
}
.npl-btn-hero-secondary {
  padding: 18px 40px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.35);
  color: white; font-weight: 600; font-size: 16px;
  text-decoration: none; transition: all 0.25s;
  font-family: var(--font-body);
}
.npl-btn-hero-secondary:hover {
  border-color: white; background: rgba(255,255,255,0.1); color: white;
}
.npl-hero-stats {
  display: flex; gap: 40px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15);
}
.npl-hero-stat-num {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 700; color: var(--npl-gold);
}
.npl-hero-stat-label {
  font-size: 13px; color: rgba(255,255,255,0.65);
  margin-top: 2px; font-weight: 500;
}

/* Hero Right — Phone Mockup Cards */
.npl-hero-visual {
  position: relative; display: flex;
  justify-content: center; align-items: center;
}
.npl-profile-card {
  background: white; border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  width: 280px; overflow: hidden;
  position: relative; z-index: 2;
}
.npl-profile-card-img {
  width: 100%; height: 320px; object-fit: cover;
  background: linear-gradient(160deg, #e8f5e9, #c8e6c9);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}
.npl-profile-card-body {
  padding: 20px;
}
.npl-profile-card-name {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700; color: var(--npl-dark);
  margin: 0 0 4px;
}
.npl-profile-card-info {
  font-size: 14px; color: var(--npl-text-light); margin: 0 0 14px;
}
.npl-matchiq-badge {
  background: linear-gradient(135deg, #006B3C, #008A4D);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.npl-matchiq-label {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 1px;
}
.npl-matchiq-score {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 700; color: white;
}
.npl-matchiq-reasons {
  margin-top: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.npl-matchiq-reason {
  font-size: 12px; color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 6px;
}
.npl-matchiq-reason::before { content: '✓'; font-weight: 700; }

.npl-profile-card-actions {
  display: flex; gap: 10px; margin-top: 14px;
}
.npl-action-pass {
  flex: 1; padding: 12px; border-radius: 12px;
  border: 2px solid var(--npl-gray-2);
  background: transparent; cursor: pointer;
  font-size: 18px; transition: all 0.2s;
}
.npl-action-pass:hover { border-color: #ef5350; background: #fff5f5; }
.npl-action-like {
  flex: 1; padding: 12px; border-radius: 12px;
  background: var(--npl-green); border: none;
  cursor: pointer; font-size: 18px; transition: all 0.2s;
}
.npl-action-like:hover { background: var(--npl-green-dark); transform: scale(1.05); }

/* Floating card behind */
.npl-profile-card-back {
  position: absolute;
  width: 260px; height: 380px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  top: 20px; right: -30px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.npl-section {
  padding: 100px 40px;
}
.npl-section-inner {
  max-width: 1200px; margin: 0 auto;
}
.npl-section-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--npl-green);
  margin-bottom: 12px;
}
.npl-section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; color: var(--npl-dark);
  margin: 0 0 16px; line-height: 1.15;
  letter-spacing: -0.5px;
}
.npl-section-sub {
  font-size: 18px; color: var(--npl-text-light);
  max-width: 520px; line-height: 1.7;
  margin: 0 0 60px;
}
.npl-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.npl-step {
  text-align: center;
}
.npl-step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--npl-green), var(--npl-green-light));
  color: white; font-family: var(--font-heading);
  font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0,107,60,0.3);
}
.npl-step-title {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700; color: var(--npl-dark);
  margin: 0 0 10px;
}
.npl-step-text {
  font-size: 15px; color: var(--npl-text-light);
  line-height: 1.65;
}

/* ============================================================
   MATCHIQ AI SECTION
   ============================================================ */
.npl-ai-section {
  background: var(--npl-dark);
  padding: 100px 40px;
}
.npl-ai-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.npl-ai-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--npl-gold);
  margin-bottom: 12px;
}
.npl-ai-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; color: white;
  margin: 0 0 20px; line-height: 1.15;
}
.npl-ai-sub {
  font-size: 17px; color: rgba(255,255,255,0.7);
  line-height: 1.7; margin: 0 0 40px;
}
.npl-ai-features {
  display: flex; flex-direction: column; gap: 20px;
}
.npl-ai-feature {
  display: flex; gap: 16px; align-items: flex-start;
}
.npl-ai-feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0,107,60,0.3); border: 1px solid rgba(0,107,60,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.npl-ai-feature-title {
  font-weight: 600; color: white; margin-bottom: 4px; font-size: 16px;
}
.npl-ai-feature-text {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.5;
}

/* AI Visual — Score display */
.npl-ai-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; padding: 36px;
}
.npl-ai-visual-title {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px;
}
.npl-score-ring {
  display: flex; align-items: center; gap: 24px; margin-bottom: 28px;
}
.npl-score-circle {
  width: 100px; height: 100px; border-radius: 50%;
  background: conic-gradient(var(--npl-green) 312deg, rgba(255,255,255,0.1) 0deg);
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.npl-score-circle-inner {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--npl-dark-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.npl-score-num {
  font-family: var(--font-heading);
  font-size: 26px; font-weight: 700; color: white; line-height: 1;
}
.npl-score-pct { font-size: 11px; color: var(--npl-green); font-weight: 600; }
.npl-score-details { flex: 1; }
.npl-score-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.npl-score-detail-label { font-size: 13px; color: rgba(255,255,255,0.65); }
.npl-score-detail-bar {
  width: 100px; height: 6px; background: rgba(255,255,255,0.1);
  border-radius: 3px; overflow: hidden;
}
.npl-score-detail-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--npl-green), var(--npl-gold));
}
.npl-match-reasons {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}
.npl-match-reason-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,0.8);
}
.npl-match-reason-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--npl-green); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.npl-features-section {
  background: var(--npl-gray-1);
  padding: 100px 40px;
}
.npl-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 60px;
}
.npl-feature-card {
  background: white; border-radius: var(--npl-radius);
  padding: 36px 32px;
  box-shadow: var(--npl-shadow-card);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.npl-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--npl-green);
  box-shadow: 0 20px 60px rgba(0,107,60,0.15);
}
.npl-feature-icon {
  font-size: 40px; margin-bottom: 20px; display: block;
}
.npl-feature-title {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700; color: var(--npl-dark);
  margin: 0 0 10px;
}
.npl-feature-text {
  font-size: 14px; color: var(--npl-text-light);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.npl-testimonials {
  padding: 100px 40px;
  background: white;
}
.npl-testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 60px;
}
.npl-testimonial-card {
  background: var(--npl-gray-1); border-radius: var(--npl-radius);
  padding: 32px 28px;
  border-left: 4px solid var(--npl-green);
}
.npl-testimonial-text {
  font-size: 15px; line-height: 1.7; color: var(--npl-text);
  margin: 0 0 24px; font-style: italic;
}
.npl-testimonial-author {
  display: flex; align-items: center; gap: 14px;
}
.npl-testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--npl-green), var(--npl-gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.npl-testimonial-name {
  font-weight: 700; color: var(--npl-dark); font-size: 15px;
}
.npl-testimonial-loc {
  font-size: 13px; color: var(--npl-text-light);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.npl-cta {
  background: linear-gradient(135deg, var(--npl-green-dark), var(--npl-green));
  padding: 100px 40px; text-align: center;
}
.npl-cta-inner { max-width: 680px; margin: 0 auto; }
.npl-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700; color: white; margin: 0 0 20px;
  line-height: 1.15;
}
.npl-cta p {
  font-size: 18px; color: rgba(255,255,255,0.8);
  margin: 0 0 40px; line-height: 1.6;
}
.npl-cta-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.npl-btn-cta-primary {
  padding: 18px 44px; border-radius: 50px;
  background: white; color: var(--npl-green);
  font-weight: 700; font-size: 16px;
  text-decoration: none; transition: all 0.25s;
  font-family: var(--font-body);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.npl-btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  color: var(--npl-green-dark);
}
.npl-store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.4);
  color: white; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.25s;
}
.npl-store-badge:hover { background: rgba(255,255,255,0.1); color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
.npl-footer {
  background: var(--npl-dark); padding: 60px 40px 32px;
}
.npl-footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.npl-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.npl-footer-brand-name {
  font-family: var(--font-heading);
  font-size: 24px; font-weight: 700; color: var(--npl-green);
  margin-bottom: 12px;
}
.npl-footer-brand-text {
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 1.7; margin-bottom: 20px;
}
.npl-footer-col-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.npl-footer-col ul {
  list-style: none; padding: 0; margin: 0;
}
.npl-footer-col li { margin-bottom: 10px; }
.npl-footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.2s;
}
.npl-footer-col a:hover { color: var(--npl-green); }
.npl-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px; display: flex;
  justify-content: space-between; align-items: center;
}
.npl-footer-copy {
  font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ============================================================
   INTERNAL APP — REDESIGN (logged-in screens)
   ============================================================ */

/* Override the dark sidebar with clean modern nav */
.lw-page-bg { background: var(--npl-gray-1) !important; }

/* Profile Cards in encounter */
.lw-encounter-card {
  border-radius: 20px !important;
  box-shadow: var(--npl-shadow) !important;
  overflow: hidden !important;
  border: none !important;
}

/* Match score overlay badge */
.npl-match-score-overlay {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,107,60,0.92);
  backdrop-filter: blur(8px);
  border-radius: 12px; padding: 10px 14px;
  color: white; text-align: center;
  z-index: 10;
}
.npl-match-score-overlay .score { font-size: 22px; font-weight: 700; }
.npl-match-score-overlay .label { font-size: 10px; opacity: 0.8; }

/* Button redesign for app screens */
.btn-primary {
  background: var(--npl-green) !important;
  border-color: var(--npl-green) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.btn-primary:hover {
  background: var(--npl-green-dark) !important;
  border-color: var(--npl-green-dark) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .npl-hero-content { grid-template-columns: 1fr; gap: 48px; }
  .npl-hero-visual { display: none; }
  .npl-steps { grid-template-columns: 1fr; gap: 32px; }
  .npl-ai-inner { grid-template-columns: 1fr; gap: 48px; }
  .npl-features-grid { grid-template-columns: repeat(2, 1fr); }
  .npl-testimonials-grid { grid-template-columns: 1fr; }
  .npl-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .npl-nav { padding: 16px 20px; }
  .npl-nav-links { display: none; }
  .npl-hero { padding: 100px 20px 60px; }
  .npl-section { padding: 60px 20px; }
  .npl-features-grid { grid-template-columns: 1fr; }
  .npl-footer-grid { grid-template-columns: 1fr; }
  .npl-hero-stats { flex-direction: column; gap: 20px; }
}
