/* ============================================================
   NOWRECAP — Complete Design System
   Color palette: Charcoal / Emerald / Warm White
   Light + Dark mode, fully responsive
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES — Dark mode (default)
   ============================================================ */
:root {
  /* Brand */
  --brand-primary:   #10b981;   /* emerald-500 */
  --brand-secondary: #6366f1;   /* indigo-500  */
  --brand-gradient:  linear-gradient(135deg, #10b981 0%, #6366f1 100%);
  --brand-glow:      rgba(16, 185, 129, 0.25);
  --brand-glow-sm:   rgba(16, 185, 129, 0.15);

  /* Surfaces - dark */
  --surface-0: #0d0f14;
  --surface-1: #13161d;
  --surface-2: #1a1e28;
  --surface-3: #222734;
  --surface-glass: rgba(255,255,255,0.04);
  --surface-glass-hover: rgba(255,255,255,0.07);

  /* Text - dark */
  --text-primary:   #f0f2f7;
  --text-secondary: #8b93a8;
  --text-tertiary:  #555e72;
  --text-inverse:   #0d0f14;

  /* Borders - dark */
  --border-subtle:  rgba(255,255,255,0.07);
  --border-default: rgba(255,255,255,0.12);
  --border-strong:  rgba(255,255,255,0.2);
  --border-brand:   rgba(16,185,129,0.4);

  /* Semantic - dark */
  --success-bg:  rgba(16,185,129,0.1);
  --success-fg:  #34d399;
  --warning-bg:  rgba(245,158,11,0.1);
  --warning-fg:  #fbbf24;
  --error-bg:    rgba(239,68,68,0.1);
  --error-fg:    #f87171;
  --info-bg:     rgba(99,102,241,0.1);
  --info-fg:     #818cf8;

  /* Radius */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.6);
  --shadow-brand: 0 8px 32px rgba(16,185,129,0.25);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-med:  0.25s ease;
  --t-slow: 0.4s ease;

  /* CRM alias (preserve old classes) */
  --ip-bg:         var(--surface-0);
  --ip-card:       var(--surface-glass);
  --ip-line:       var(--border-subtle);
  --ip-ink:        var(--text-primary);
  --ip-dim:        var(--text-secondary);
  --ip-accent:     var(--brand-primary);
  --ip-accent-ink: #ffffff;
}

/* ============================================================
   LIGHT MODE OVERRIDE
   ============================================================ */
[data-theme="light"] {
  --surface-0: #f5f7fa;
  --surface-1: #ffffff;
  --surface-2: #eef1f7;
  --surface-3: #e4e8f2;
  --surface-glass: rgba(0,0,0,0.03);
  --surface-glass-hover: rgba(0,0,0,0.05);

  --text-primary:   #111827;
  --text-secondary: #6b7280;
  --text-tertiary:  #9ca3af;
  --text-inverse:   #ffffff;

  --border-subtle:  rgba(0,0,0,0.07);
  --border-default: rgba(0,0,0,0.12);
  --border-strong:  rgba(0,0,0,0.22);
  --border-brand:   rgba(16,185,129,0.4);

  --success-bg:  rgba(16,185,129,0.08);
  --success-fg:  #059669;
  --warning-bg:  rgba(245,158,11,0.08);
  --warning-fg:  #d97706;
  --error-bg:    rgba(239,68,68,0.08);
  --error-fg:    #dc2626;
  --info-bg:     rgba(99,102,241,0.08);
  --info-fg:     #4f46e5;

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.15);
  --shadow-brand: 0 8px 32px rgba(16,185,129,0.2);

  --ip-bg:   var(--surface-0);
  --ip-card: var(--surface-1);
  --ip-line: var(--border-subtle);
  --ip-ink:  var(--text-primary);
  --ip-dim:  var(--text-secondary);
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--surface-0);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

/* ============================================================
   UTILITY
   ============================================================ */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.spin { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes float-y {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}
@keyframes float-rotate {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--brand-glow); }
  50% { box-shadow: 0 0 30px 8px var(--brand-glow); }
}
@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(300%) rotate(30deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mic-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes orbit {
  0% { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

/* ============================================================
   LANDING PAGE LAYOUT
   ============================================================ */
.landing-page {
  min-height: 100vh;
  background: var(--surface-0);
}

/* Ambient bg blobs */
.landing-page::before {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.landing-page::after {
  content: '';
  position: fixed;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nr-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(13,15,20,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-med);
}

[data-theme="light"] .nr-nav {
  background: rgba(245,247,250,0.88);
}

.nr-nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  cursor: pointer;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nr-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nr-nav-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  display: none;
}
@media (min-width: 640px) { .nr-nav-link { display: inline-block; } }
.nr-nav-link:hover { color: var(--text-primary); background: var(--surface-glass-hover); }

.nr-theme-btn {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-default);
  background: var(--surface-glass);
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
  margin-right: 8px;
}

.nr-mobile-menu-wrapper {
  display: none;
  align-items: center;
  gap: 8px;
}
@media (max-width: 639px) {
  .nr-nav-links { display: none !important; }
  .nr-mobile-menu-wrapper { display: flex !important; }
}
.nr-theme-btn:hover { color: var(--text-primary); background: var(--surface-glass-hover); }

.nr-cta-nav {
  background: var(--brand-gradient);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: var(--shadow-brand);
}
.nr-cta-nav:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 12px 40px rgba(16,185,129,0.35); }

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.nr-section {
  position: relative;
  z-index: 1;
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.nr-section-full {
  position: relative;
  z-index: 1;
  padding: 100px 5%;
}
.nr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--success-bg);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--r-pill);
  color: var(--success-fg);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.nr-section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 16px;
  text-align: center;
}
.nr-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  text-align: center;
}
.nr-section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 64px;
  text-align: center;
  line-height: 1.7;
}

/* ============================================================
   HERO
   ============================================================ */
.nr-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 100px 5% 80px;
  position: relative;
  overflow: hidden;
}
/* Beautiful animated background grid and orbs */
.nr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  z-index: -2;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
  animation: orb-float 10s ease-in-out infinite alternate;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: var(--brand-primary);
  top: -100px; left: -100px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: var(--brand-secondary);
  bottom: -100px; right: -100px;
  animation-delay: -5s;
}
@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}
.nr-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: var(--surface-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--r-pill);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.nr-hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
  animation: pulse-glow 2s ease-in-out infinite;
  flex-shrink: 0;
}
.nr-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text-primary);
  max-width: 850px;
}
.nr-hero h1 .highlight {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nr-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 44px;
}
.nr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 80px;
}

/* Big primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-gradient);
  color: white;
  border: none;
  padding: 16px 34px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3s ease-in-out infinite;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(16,185,129,0.4); }
.btn-primary:active { transform: translateY(-1px); }

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  padding: 16px 34px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-glass-hover); border-color: var(--border-strong); transform: translateY(-2px); }

/* Hero visual */
.nr-hero-visual {
  width: 100%;
  max-width: 920px;
  position: relative;
}
.nr-hero-mockup {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border-subtle), 0 40px 100px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  animation: float-y 6s ease-in-out infinite;
  transition: all var(--t-med);
}
.nr-hero-mockup:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--brand-primary), 0 50px 120px rgba(16, 185, 129, 0.2);
}
.nr-hero-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--brand-gradient);
}
.nr-mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
}
.nr-mockup-bar-title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.nr-mockup-bar-event {
  font-size: 0.78rem;
  color: var(--brand-primary);
  font-weight: 600;
  background: var(--success-bg);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.nr-mockup-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  transition: background var(--t-fast);
}
.nr-mockup-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.nr-mockup-info { flex: 1; min-width: 0; }
.nr-mockup-name { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.nr-mockup-role { font-size: 0.78rem; color: var(--text-secondary); margin-top: 2px; }
.nr-mockup-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
.badge-connected { background: var(--success-bg); color: var(--success-fg); }
.badge-pending   { background: var(--warning-bg); color: var(--warning-fg); }
.badge-saved     { background: var(--info-bg);    color: var(--info-fg);    }

/* Floating stat chips */
.nr-hero-stats {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nr-hero-stats.left { left: -120px; top: 30%; }
.nr-hero-stats.right { right: -120px; top: 20%; }
@media (max-width: 1000px) {
  .nr-hero-stats { display: none; }
}
.nr-stat-chip {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: 12px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: float-rotate 5s ease-in-out infinite;
}
.nr-stat-chip:nth-child(2) { animation-delay: -2.5s; }
.nr-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nr-stat-label { font-size: 0.72rem; color: var(--text-secondary); font-weight: 600; margin-top: 2px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.nr-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.nr-how-step {
  padding: 36px 28px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  position: relative;
  transition: all var(--t-med);
}
.nr-how-step:hover {
  border-color: var(--border-brand);
  box-shadow: 0 0 0 1px var(--border-brand), var(--shadow-md);
  transform: translateY(-6px);
}
.nr-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.nr-step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}
.nr-how-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.nr-how-step p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================================
   FEATURES
   ============================================================ */
.nr-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.nr-feature-card {
  padding: 32px 28px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  transition: all var(--t-med);
  cursor: default;
}
.nr-feature-card:hover {
  background: var(--surface-2);
  border-color: var(--border-brand);
  transform: translateY(-8px);
  box-shadow: var(--shadow-brand);
}
.nr-feature-icon-wrap {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: var(--success-bg);
  border: 1px solid rgba(16,185,129,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.nr-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.nr-feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.nr-testimonials-bg {
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.nr-marquee-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.nr-marquee-row {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-marquee 40s linear infinite;
}
.nr-marquee-row.reverse {
  animation: scroll-marquee-reverse 40s linear infinite;
}
.nr-marquee-row:hover {
  animation-play-state: paused;
}
@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}
@keyframes scroll-marquee-reverse {
  0% { transform: translateX(calc(-50% - 12px)); }
  100% { transform: translateX(0); }
}

.nr-testi-card {
  width: 420px;
  min-height: 160px;
  padding: 24px;
  background: var(--surface-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  transition: all var(--t-med);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
[data-theme="light"] .nr-testi-card { background: var(--surface-1); }
.nr-testi-card:hover { border-color: var(--border-brand); box-shadow: var(--shadow-brand); transform: translateY(-2px); }
.nr-testi-stars { color: #fbbf24; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 16px; }
.nr-testi-text { font-size: 0.95rem; color: var(--text-primary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.nr-testi-author { display: flex; align-items: center; gap: 12px; }
.nr-testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-gradient);
  color: white; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.nr-testi-name { font-size: 0.88rem; font-weight: 700; }
.nr-testi-role { font-size: 0.78rem; color: var(--text-secondary); }

/* Testimonials Logos Bar */
.testi-logos-bar {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
.testi-logos-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: block;
}
.testi-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--t-med);
}
.testi-logos:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.testi-logo-chip {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   PRICING
   ============================================================ */
.nr-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.nr-pricing-toggle span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.nr-pricing-toggle span.active { color: var(--text-primary); }

.nr-toggle-switch {
  position: relative;
  width: 56px; height: 30px;
  background: var(--surface-3);
  border-radius: var(--r-pill);
  cursor: pointer;
  border: 1px solid var(--border-default);
  transition: background var(--t-fast);
}
.nr-toggle-switch.on { background: var(--brand-primary); border-color: var(--brand-primary); }
.nr-toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  transition: transform var(--t-med);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nr-toggle-switch.on .nr-toggle-knob { transform: translateX(26px); }

.nr-save-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--success-bg);
  color: var(--success-fg);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-left: 6px;
}

.nr-pricing-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.nr-pricing-card {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all var(--t-med);
}
.nr-pricing-card.featured {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-brand);
}
.nr-pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand-gradient);
}
.nr-pricing-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--success-bg);
  color: var(--success-fg);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}
.nr-pricing-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.nr-pricing-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }
.nr-pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.nr-price-big { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.nr-price-per { font-size: 1rem; color: var(--text-secondary); font-weight: 500; }
.nr-pricing-note { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 32px; }
.nr-pricing-note .highlight { color: var(--success-fg); font-weight: 600; }
.nr-pricing-features { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.nr-pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text-primary);
}
.nr-pricing-features li .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--success-fg);
  font-size: 0.7rem;
  flex-shrink: 0;
  font-weight: 800;
}

/* ============================================================
   CONTACT / CTA SECTION
   ============================================================ */
.nr-contact-section {
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
}
.nr-contact-card {
  background: var(--surface-0);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .nr-contact-card { background: var(--surface-2); }
.nr-contact-card::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow-sm), transparent 70%);
}
.nr-contact-card h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.nr-contact-card p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 36px; line-height: 1.7; }
.nr-contact-input-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.nr-contact-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  background: var(--surface-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--r-pill);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--t-fast);
}
.nr-contact-input::placeholder { color: var(--text-tertiary); }
.nr-contact-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.12);
  background: var(--surface-1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.nr-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.nr-footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nr-footer-copy { font-size: 0.85rem; color: var(--text-tertiary); }
.nr-footer-links { display: flex; gap: 20px; }
.nr-footer-link {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--t-fast);
}
.nr-footer-link:hover { color: var(--text-primary); }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.nr-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  background: var(--surface-0);
}
.nr-login-page::before {
  content: '';
  position: fixed; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.nr-login-back {
  position: fixed;
  top: 24px; left: 24px;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  backdrop-filter: blur(8px);
}
.nr-login-back:hover { color: var(--text-primary); border-color: var(--border-strong); }

.nr-login-card {
  background: var(--surface-0);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 52px 44px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border-subtle), 0 40px 100px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  transition: all var(--t-med);
}
.nr-login-card:hover {
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--brand-primary), 0 50px 120px rgba(16, 185, 129, 0.15);
}
.nr-login-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand-gradient);
}
.nr-login-logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.nr-login-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.nr-login-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}
.nr-login-btn {
  width: 100%;
  padding: 15px 24px;
  background: #0077B5;
  color: white;
  border: none;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: all var(--t-fast);
  box-shadow: 0 8px 24px rgba(0,119,181,0.3);
}
.nr-login-btn:hover {
  background: #006097;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,119,181,0.4);
}
.nr-login-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}
.nr-login-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 28px 0;
  color: var(--text-tertiary);
  font-size: 0.82rem;
}
.nr-login-divider::before,
.nr-login-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border-subtle);
}

/* ============================================================
   CRM APP — ip-root container (Full-width dashboard)
   ============================================================ */
.ip-root {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--surface-0);
}

/* Subtle ambient background for CRM */
.ip-root::before {
  content: '';
  position: fixed;
  top: -15%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.ip-root::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Inner content wrapper for CRM pages */
.crm-content-wrap {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

.ip-centered {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* ============================================================
   CRM EVENT BAR (Sticky header)
   ============================================================ */
.ip-eventbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,20,0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}
[data-theme="light"] .ip-eventbar {
  background: rgba(245,247,250,0.92);
}
.ip-eventhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}
.ip-eventpick {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  background: var(--surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  transition: all var(--t-fast);
  gap: 8px;
}
.ip-eventpick:hover { background: var(--surface-glass-hover); border-color: var(--border-default); }
.ip-eventpick.empty { color: var(--brand-primary); border-color: var(--border-brand); }
.ip-eventlabel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.ip-avatar-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-default);
  flex-shrink: 0;
}
.ip-avatar-initials {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ip-signout {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.ip-signout:hover { color: var(--error-fg); border-color: var(--error-fg); background: var(--error-bg); }

.ip-eventmenu {
  padding: 14px 28px;
  background: rgba(13,15,20,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  animation: slideDownBanner 0.2s ease;
  position: relative;
  z-index: 199;
}
[data-theme="light"] .ip-eventmenu {
  background: rgba(245,247,250,0.97);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ip-eventmenu-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ip-eventrow { display: flex; gap: 10px; align-items: center; }
.ip-recents { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   BOTTOM TABS
   ============================================================ */
.ip-tabs {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: center;
  background: rgba(13,15,20,0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 8px 0;
  padding-bottom: max(env(safe-area-inset-bottom), 8px);
  z-index: 100;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.04);
}
[data-theme="light"] .ip-tabs {
  background: rgba(245,247,250,0.95);
  border-top: 1px solid rgba(0,0,0,0.07);
}
.ip-tabs-inner {
  display: flex;
  justify-content: center;
  max-width: 400px;
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  gap: 4px;
}
.ip-tabs button {
  flex: 1;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 8px 4px;
  font-family: inherit;
  transition: all var(--t-fast);
  border-radius: var(--r-sm);
  letter-spacing: 0.3px;
  text-transform: uppercase;

}
.ip-tabs button:hover { color: var(--text-primary); }
.ip-tabs button.on { color: var(--brand-primary); }
.ip-tabs button .tab-emoji {
  font-size: 1.3rem;
  line-height: 1;
  transition: transform var(--t-fast);
}
.ip-tabs button.on .tab-emoji { transform: scale(1.15); }

/* ============================================================
   SCREENS
   ============================================================ */
.ip-screen {
  flex: 1;
  padding: 24px 0 100px;
  overflow-y: auto;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* ============================================================
   MODE SWITCH SEGMENT
   ============================================================ */
.ip-seg {
  display: flex;
  gap: 4px;
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border-subtle);
}
.ip-seg button {
  flex: 1;
  border: 0;
  background: none;
  padding: 11px 8px;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-tertiary);
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  cursor: pointer;
  font-family: inherit;
}
.ip-seg button.on {
  background: var(--surface-1);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

/* ============================================================
   INPUTS
   ============================================================ */
.ip-input, .ip-area {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: inherit;
  min-height: 52px;
  transition: all var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.ip-input::placeholder, .ip-area::placeholder { color: var(--text-tertiary); }
.ip-input:focus, .ip-area:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.12), var(--shadow-sm);
  background: var(--surface-0);
}
[data-theme="light"] .ip-input:focus,
[data-theme="light"] .ip-area:focus {
  background: var(--surface-1);
}
.ip-area { resize: vertical; line-height: 1.5; }

.ip-microw { display: flex; gap: 8px; align-items: stretch; }
.ip-mic {
  flex-shrink: 0;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--t-fast);
}
.ip-mic:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.ip-mic.on {
  background: var(--error-bg);
  border-color: var(--error-fg);
  color: var(--error-fg);
  animation: mic-pulse 1.2s ease-in-out infinite;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.ip-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  min-height: 52px;
  transition: all var(--t-fast);
}
.ip-btn:hover { background: var(--surface-3); border-color: var(--border-strong); transform: translateY(-1px); }
.ip-btn:active { transform: scale(0.98); }
.ip-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.ip-btn.primary {
  background: var(--brand-gradient);
  color: white;
  border: none;
  box-shadow: var(--shadow-brand);
}
.ip-btn.primary:hover { box-shadow: 0 12px 36px rgba(16,185,129,0.4); transform: translateY(-2px); }

.ip-btn.ghost { background: transparent; border-color: transparent; }
.ip-btn.ghost:hover { background: var(--surface-glass); border-color: transparent; }

.ip-btn.sm { padding: 10px 14px; font-size: 0.82rem; min-height: 40px; border-radius: var(--r-sm); }
.ip-btn.block { width: 100%; }

.ip-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.ip-actions-row { display: flex; gap: 10px; }
.ip-actions-row .ip-btn { flex: 1; }

/* ============================================================
   CHIPS
   ============================================================ */
.ip-chip, .ip-type-chip {
  display: inline-flex; align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.ip-chip:hover, .ip-type-chip:hover {
  background: var(--surface-3);
  color: var(--text-primary);
  border-color: var(--border-default);
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-3);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-med);
  z-index: 9999;
  border: 1px solid var(--border-default);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================================
   CRM NAVBAR (Redesigned — full-width glassmorphism)
   ============================================================ */
.nr-crm-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 68px;
  background: rgba(13, 15, 20, 0.82);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.25);
  width: 100%;
}
[data-theme="light"] .nr-crm-nav {
  background: rgba(245, 247, 250, 0.88);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8), 0 4px 24px rgba(0,0,0,0.08);
}

.nr-crm-nav-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.nr-crm-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
}

.nr-crm-nav-center {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 380px;
  width: 100%;
}

.nr-crm-nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nr-crm-profile-wrapper {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.nr-crm-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--t-fast);
  z-index: 200;
  overflow: hidden;
}

.nr-crm-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nr-crm-dropdown-header {
  padding: 16px;
  background: var(--surface-1);
}

.nr-crm-dropdown-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.nr-crm-dropdown-email {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nr-crm-dropdown-divider {
  height: 1px;
  background: var(--border-default);
}

.nr-crm-dropdown-item {
  width: 100%;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: background var(--t-fast), color var(--t-fast);
}

.nr-crm-dropdown-item:hover {
  background: var(--surface-glass-hover);
  color: var(--text-primary);
}

.nr-crm-dropdown-icon {
  margin-right: 12px;
  font-size: 1.1rem;
}

.text-danger {
  color: var(--error-fg) !important;
}

.text-danger:hover {
  background: var(--error-bg) !important;
  color: var(--error-fg) !important;
}

/* ============================================================
   TRIAL NOTIFICATION BANNER
   ============================================================ */
.crm-trial-banner {
  background: linear-gradient(135deg, rgba(245,158,11,0.15) 0%, rgba(239,68,68,0.12) 100%);
  border: 1px solid rgba(245,158,11,0.3);
  border-left: 4px solid #f59e0b;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  backdrop-filter: blur(8px);
  animation: slideDownBanner 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.crm-trial-banner-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  animation: pulse-glow 2s ease-in-out infinite;
}
.crm-trial-banner-text {
  flex: 1;
  line-height: 1.4;
}
.crm-trial-banner-text strong {
  color: #f59e0b;
  display: block;
  font-size: 0.9rem;
}
.crm-trial-banner-cta {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  border: none;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
  white-space: nowrap;
}
.crm-trial-banner-cta:hover { transform: scale(1.04); opacity: 0.9; }
.crm-trial-banner-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px;
  border-radius: 50%;
  transition: all var(--t-fast);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crm-trial-banner-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

/* ============================================================
   PAYWALL / PLAN SELECTION CARDS
   ============================================================ */
.paywall-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--surface-0);
  position: relative;
  overflow: hidden;
}
.paywall-page::before {
  content: '';
  position: fixed;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.paywall-page::after {
  content: '';
  position: fixed;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.paywall-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.paywall-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  display: block;
}
.paywall-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.paywall-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.6;
}
.paywall-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  width: 100%;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .paywall-cards-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}
.paywall-plan-card {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-med);
  cursor: default;
  display: flex;
  flex-direction: column;
}
.paywall-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.paywall-plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--surface-3);
}
.paywall-plan-card.featured {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-brand), 0 0 0 1px rgba(16,185,129,0.2);
  background: linear-gradient(135deg, rgba(16,185,129,0.05) 0%, rgba(99,102,241,0.05) 100%), var(--surface-1);
}
.paywall-plan-card.featured::before {
  background: var(--brand-gradient);
}
.paywall-plan-card.featured:hover {
  box-shadow: var(--shadow-brand), 0 0 0 1px rgba(16,185,129,0.4), var(--shadow-lg);
}
.paywall-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
  width: fit-content;
}
.paywall-plan-badge.monthly {
  background: var(--info-bg);
  color: var(--info-fg);
  border: 1px solid rgba(99,102,241,0.25);
}
.paywall-plan-badge.yearly {
  background: var(--success-bg);
  color: var(--success-fg);
  border: 1px solid rgba(16,185,129,0.3);
}
.paywall-plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.paywall-plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}
.paywall-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.paywall-price-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}
.paywall-price-period {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.paywall-plan-note {
  font-size: 0.8rem;
  color: var(--success-fg);
  font-weight: 600;
  margin-bottom: 28px;
}
.paywall-plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.paywall-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.paywall-plan-features li .pf-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-fg);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(16,185,129,0.25);
}
.paywall-plan-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.paywall-plan-btn.monthly-btn {
  background: var(--surface-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(8px);
}
.paywall-plan-btn.monthly-btn:hover {
  background: var(--surface-glass-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.paywall-plan-btn.yearly-btn {
  background: var(--brand-gradient);
  color: white;
  box-shadow: var(--shadow-brand);
}
.paywall-plan-btn.yearly-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(16,185,129,0.4);
}
.paywall-back-btn {
  position: fixed;
  top: 24px; left: 24px;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.paywall-back-btn:hover { color: var(--text-primary); border-color: var(--border-strong); }
.paywall-trust {
  margin-top: 28px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-tertiary);
  position: relative;
  z-index: 1;
}

/* ============================================================
   RESPONSIVE FIXES FOR EXTREME SMALL SCREENS
   ============================================================ */
@media (max-width: 360px) {
  .nr-how-grid, .nr-features-grid, .nr-pricing-grid {
    grid-template-columns: 1fr !important;
  }
}

.ip-chip.on, .ip-type-chip.on {
  background: var(--success-bg);
  color: var(--success-fg);
  border-color: rgba(16,185,129,0.35);
  font-weight: 700;
}
.ip-type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }

/* ============================================================
   CARDS & LIST ITEMS
   ============================================================ */
.ip-person {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.ip-person-left { flex: 1; min-width: 0; }
.ip-person-name { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); }
.ip-person-sub { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }
.ip-person-status { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }

.ip-rowitem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: left;
  min-height: 60px;
}
.ip-rowitem:hover {
  background: var(--surface-2);
  border-color: var(--border-brand);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.ip-row-main { flex: 1; min-width: 0; }
.ip-row-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.ip-row-sub { font-size: 0.82rem; color: var(--text-secondary); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-row-meta { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.ip-status-badge, .ip-connect-badge {
  display: inline-flex; align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ip-status-pending  { background: var(--warning-bg); color: var(--warning-fg); border: 1px solid rgba(245,158,11,0.25); }
.ip-status-saved    { background: var(--info-bg);    color: var(--info-fg);    border: 1px solid rgba(99,102,241,0.25); }
.ip-status-contacted { background: var(--success-bg); color: var(--success-fg); border: 1px solid rgba(16,185,129,0.25); }
.ip-connect-badge.on  { background: var(--success-bg); color: var(--success-fg); border: 1px solid rgba(16,185,129,0.25); }
.ip-connect-badge.off { background: var(--error-bg);   color: var(--error-fg);   border: 1px solid rgba(239,68,68,0.25); }

/* ============================================================
   THREAD / MESSAGES
   ============================================================ */
.ip-thread {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-top: 12px;
}
.ip-threadrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* ============================================================
   LABELS / TYPOGRAPHY HELPERS
   ============================================================ */
.ip-lbl {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.ip-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 16px;
  transition: opacity var(--t-fast);
}
.ip-back:hover { opacity: 0.7; }

.ip-disclosure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  margin: 12px 0;
  padding: 0;
  transition: opacity var(--t-fast);
}
.ip-disclosure:hover { opacity: 0.7; }

/* ============================================================
   VIEW TOGGLES & FILTER SECTION
   ============================================================ */
.ip-view-toggle {
  display: flex;
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
  gap: 4px;
}
.ip-view-toggle button {
  flex: 1;
  border: 0;
  background: none;
  padding: 10px 8px;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-tertiary);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--t-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ip-view-toggle button.on {
  background: var(--surface-1);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.ip-listhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ip-listcount { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.ip-list { display: flex; flex-direction: column; }

/* ============================================================
   MISC / NOTICE CARDS
   ============================================================ */
.ip-notice {
  background: var(--info-bg);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--info-fg);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--r-md);
  text-align: center;
  margin-bottom: 20px;
}
.ip-tag-filter-section {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
}

/* ============================================================
   RELATIONSHIPS HEADER
   ============================================================ */
.ip-relationships-header { margin-bottom: 20px; }
.ip-relationships-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.ip-relationships-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .nr-section { padding: 72px 5%; }
  .nr-hero { padding: 120px 5% 60px; }
  .nr-pricing-card { padding: 32px 24px; }
  .nr-contact-card { padding: 40px 24px; }
  .nr-login-card { padding: 36px 24px; }
  .nr-hero h1 { letter-spacing: -0.5px; }
  .ip-screen { padding: 16px 16px 100px; }
  .nr-crm-nav { padding: 0 16px; }
  .crm-trial-banner { padding: 10px 16px; flex-wrap: wrap; }
  .crm-trial-banner-cta { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .nr-footer { flex-direction: column; text-align: center; }
  .nr-hero-actions { flex-direction: column; width: 100%; }
  .nr-hero-actions .btn-primary,
  .nr-hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .ip-tabs-inner { padding: 0 8px; }
  .paywall-plan-card { padding: 28px 24px; }
  .paywall-page { padding: 80px 16px 40px; }
}
