/* ══════════════════════════════════════════════════════════════════
   NOTEPAY — PROFESSIONAL 3D PRODUCT SHOWCASE (2026 FINTECH EDITION)
   "Calm Depth, Precision Motion & Authentic Product Showcase"
   ══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  /* NotePay Studio Design Tokens (Dark Mode Default) */
  --np-bg: #090D16;
  --np-bg-alt: #0F172A;
  --np-bg-card: #111827;
  --np-card-glass: rgba(17, 24, 39, 0.92);
  --np-glass-border: rgba(255, 255, 255, 0.09);
  --np-glass-border-hover: rgba(59, 130, 246, 0.4);
  
  --np-primary: #1A4E8C;
  --np-primary-electric: #3B82F6;
  --np-primary-glow: #60A5FA;
  
  --np-emerald: #10B981;
  --np-emerald-glow: #34D399;
  --np-emerald-bg: rgba(16, 185, 129, 0.12);
  
  --np-rose: #EF4444;
  --np-rose-glow: #F87171;
  --np-rose-bg: rgba(239, 68, 68, 0.12);
  
  --np-amber: #F59E0B;
  --np-amber-bg: rgba(245, 158, 11, 0.12);

  --np-text-heading: #F8FAFC;
  --np-text-body: #94A3B8;
  --np-text-muted: #64748B;
  --np-text-light: #CBD5E1;

  --np-surface: #0B0F19;
  --np-surface-2: #111827;
  --np-surface-3: #1E293B;
  --np-input-bg: #0F172A;
  --np-input-border: rgba(255, 255, 255, 0.1);

  --np-chat-bubble-out-bg: rgba(59, 130, 246, 0.16);
  --np-chat-bubble-out-border: rgba(59, 130, 246, 0.3);
  --np-chat-bubble-out-text: #F8FAFC;
  --np-chat-bubble-in-bg: #1E293B;
  --np-chat-bubble-in-border: rgba(255, 255, 255, 0.08);
  --np-chat-bubble-in-text: #F8FAFC;

  --np-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --np-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --np-font-mono: 'JetBrains Mono', monospace;

  --np-nav-bg: rgba(9, 13, 22, 0.85);
  --np-nav-border: rgba(255, 255, 255, 0.08);

  --np-radius-sm: 6px;
  --np-radius-md: 10px;
  --np-radius-lg: 16px;
  --np-radius-xl: 20px;
  --np-radius-full: 9999px;

  --np-shadow-3d: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --np-shadow-subtle: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

html.light {
  /* NotePay Studio Design Tokens (Light Mode Clean Studio) */
  --np-bg: #F8FAFC;
  --np-bg-alt: #F1F5F9;
  --np-bg-card: #FFFFFF;
  --np-card-glass: rgba(255, 255, 255, 0.96);
  --np-glass-border: rgba(15, 23, 42, 0.08);
  --np-glass-border-hover: rgba(37, 99, 235, 0.35);
  
  --np-primary: #1A4E8C;
  --np-primary-electric: #2563EB;
  --np-primary-glow: #3B82F6;
  
  --np-emerald: #059669;
  --np-emerald-glow: #10B981;
  --np-emerald-bg: rgba(5, 150, 105, 0.09);
  
  --np-rose: #DC2626;
  --np-rose-glow: #EF4444;
  --np-rose-bg: rgba(220, 38, 38, 0.08);
  
  --np-amber: #D97706;
  --np-amber-bg: rgba(217, 119, 6, 0.08);

  --np-text-heading: #0F172A;
  --np-text-body: #334155;
  --np-text-muted: #64748B;
  --np-text-light: #1E293B;

  --np-surface: #FFFFFF;
  --np-surface-2: #F8FAFC;
  --np-surface-3: #F1F5F9;
  --np-input-bg: #F8FAFC;
  --np-input-border: rgba(15, 23, 42, 0.12);

  --np-chat-bubble-out-bg: #EFF6FF;
  --np-chat-bubble-out-border: #BFDBFE;
  --np-chat-bubble-out-text: #0F172A;
  --np-chat-bubble-in-bg: #F1F5F9;
  --np-chat-bubble-in-border: #E2E8F0;
  --np-chat-bubble-in-text: #0F172A;

  --np-nav-bg: rgba(248, 250, 252, 0.92);
  --np-nav-border: rgba(15, 23, 42, 0.08);

  --np-shadow-3d: 0 20px 45px -12px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --np-shadow-subtle: 0 8px 20px -4px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

/* ── Base Styles ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--np-bg);
  color: var(--np-text-body);
  font-family: var(--np-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  background: var(--np-bg);
  transition: background-color 0.25s ease, color 0.25s ease;
  width: 100%;
}

::selection {
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
}

/* ── Typography Utilities ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--np-font-heading);
  color: var(--np-text-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #FFFFFF 0%, #93C5FD 45%, #3B82F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

html.light .gradient-text-blue {
  background: linear-gradient(135deg, #0F172A 0%, #1A4E8C 55%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── Micro-Animated Vector Icon Utilities ── */
.np-icon-anim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.np-icon-anim svg {
  width: 100%;
  height: 100%;
}

.np-icon-box:hover .np-icon-anim,
.np-use-case-card:hover .np-icon-anim,
.np-sec-box:hover .np-icon-anim {
  transform: translateY(-2px);
}

/* ── Studio Ambient Light (Clean Studio Atmosphere) ── */
.studio-ambient-light {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: radial-gradient(circle at 50% 25%, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

html.light .studio-ambient-light {
  background: radial-gradient(circle at 50% 25%, rgba(37, 99, 235, 0.04) 0%, transparent 65%);
}

/* ── Navigation Bar ── */
.np-navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 1200px;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.np-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--np-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--np-nav-border);
  border-radius: var(--np-radius-full);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

.np-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--np-text-heading);
  font-family: var(--np-font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.np-brand-logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26, 78, 140, 0.4) 0%, rgba(59, 130, 246, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(26, 78, 140, 0.2);
  overflow: hidden;
}

.np-brand-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.np-nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.np-nav-link {
  color: var(--np-text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.np-nav-link:hover {
  color: var(--np-text-heading);
}

.np-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.np-theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--np-glass-border);
  color: var(--np-text-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.np-theme-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--np-text-heading);
}

.np-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  background: linear-gradient(135deg, #1A4E8C 0%, #2563EB 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  font-family: var(--np-font-heading);
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--np-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.np-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.np-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--np-text-heading) !important;
  text-decoration: none;
  font-family: var(--np-font-heading);
  font-weight: 600;
  font-size: 13.5px;
  border-radius: var(--np-radius-full);
  border: 1px solid var(--np-glass-border);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.np-btn-outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--np-glass-border-hover);
  transform: translateY(-2px);
}

/* ── Section Structure ── */
.np-section {
  position: relative;
  z-index: 10;
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.np-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px auto;
}

.np-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--np-radius-full);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--np-font-mono);
  color: var(--np-primary-glow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.np-tag-pulse {
  width: 5px;
  height: 5px;
  background: var(--np-primary-electric);
  border-radius: 50%;
}

.np-section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 12px;
  line-height: 1.18;
}

.np-section-subtitle {
  font-size: clamp(15px, 1.5vw, 16.5px);
  color: var(--np-text-body);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   HERO 3D SECTION
   ══════════════════════════════════════════════════════════════════ */
.np-hero-section {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 20px 50px 20px;
  text-align: center;
  position: relative;
  width: 100%;
}

.np-hero-announcement {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--np-radius-full);
  color: var(--np-text-heading);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  backdrop-filter: blur(12px);
  max-width: 95vw;
}

html.light .np-hero-announcement {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.08);
}

.np-hero-badge-live {
  background: #10B981;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.np-hero-headline {
  font-size: clamp(32px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 860px;
  margin-bottom: 16px;
}

.np-hero-description {
  font-size: clamp(15px, 1.7vw, 17.5px);
  color: var(--np-text-body);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.np-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.np-hero-cta-group .np-btn-primary {
  padding: 12px 28px;
  font-size: 15px;
}

.np-hero-cta-group .np-btn-outline {
  padding: 12px 24px;
  font-size: 15px;
}

/* ── 3D Product Stage (Restrained Depth) ── */
.np-hero-3d-stage {
  width: 100%;
  max-width: 880px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1);
  will-change: transform;
  margin: 0 auto;
}

.np-hero-3d-stage::after {
  content: '';
  position: absolute;
  bottom: -28px;
  left: 8%;
  width: 84%;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

html.light .np-hero-3d-stage::after {
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.12) 0%, transparent 70%);
}

.np-context-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--np-radius-full);
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--np-text-heading);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 20;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

html.light .np-context-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.1);
}

.np-badge-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

.np-ledger-glass-card {
  width: 100%;
  background: var(--np-card-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-xl);
  box-shadow: var(--np-shadow-3d);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-align: left;
}

/* Authentic NotePay App Header inside Mockup */
.np-app-header-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--np-glass-border);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.np-app-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.np-app-back-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--np-text-heading);
  border: 1px solid var(--np-glass-border);
}

.np-app-title-wrap h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--np-text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.np-app-title-wrap p {
  font-size: 11.5px;
  color: var(--np-text-muted);
  font-weight: 600;
}

/* Authentic NotePay Event Tab Heading Bar */
.np-tab-bar-mock {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--np-glass-border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
  position: relative;
  gap: 4px;
}

html.light .np-tab-bar-mock {
  background: rgba(15, 23, 42, 0.04);
}

.np-tab-btn-mock {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--np-text-muted);
  font-family: var(--np-font-heading);
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.np-tab-btn-mock.active {
  background: var(--np-primary-electric);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

/* Authentic Summary Metric Strip */
.np-summary-grid-mock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-lg);
  padding: 16px 20px;
  margin-bottom: 18px;
}

html.light .np-summary-grid-mock {
  background: rgba(15, 23, 42, 0.02);
}

.np-sum-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.np-sum-label {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--np-text-muted);
}

.np-sum-val {
  font-family: var(--np-font-heading);
  font-size: 21px;
  font-weight: 900;
  color: var(--np-text-heading);
  letter-spacing: -0.02em;
}

.np-sum-val.green { color: var(--np-emerald-glow); }
.np-sum-val.rose  { color: var(--np-rose-glow); }

/* Authentic Spreadsheet Mock Body */
.np-tbl-search-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.np-srch-box-mock {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--np-input-bg);
  border: 1px solid var(--np-input-border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--np-text-muted);
}

.np-tbl-list-mock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.np-tbl-row-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  transition: background 0.15s ease;
}

html.light .np-tbl-row-mock {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.np-tbl-row-mock:hover {
  background: rgba(255, 255, 255, 0.04);
}

html.light .np-tbl-row-mock:hover {
  background: rgba(15, 23, 42, 0.04);
}

.np-row-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.np-status-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.np-status-tag.paid {
  background: var(--np-emerald-bg);
  color: var(--np-emerald-glow);
}

.np-status-tag.expense {
  background: var(--np-rose-bg);
  color: var(--np-rose-glow);
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 2: PROBLEM VS SOLUTION
   ══════════════════════════════════════════════════════════════════ */
.np-problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.np-chaos-card, .np-solution-card {
  padding: 30px 26px;
  border-radius: var(--np-radius-xl);
  background: var(--np-bg-card);
  border: 1px solid var(--np-glass-border);
  box-shadow: var(--np-shadow-subtle);
  position: relative;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.np-chaos-card:hover, .np-solution-card:hover {
  transform: translateY(-2px);
}

.np-chaos-card {
  border-top: 3px solid var(--np-rose);
}

.np-solution-card {
  border-top: 3px solid var(--np-emerald);
}

.np-card-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.np-chaos-icon {
  background: rgba(239, 68, 68, 0.12);
  color: var(--np-rose);
}

.np-solution-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--np-emerald);
}

.np-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}

.np-feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.np-item-text strong {
  display: block;
  font-size: 14px;
  color: var(--np-text-heading);
  margin-bottom: 2px;
}

.np-item-text p {
  font-size: 13px;
  color: var(--np-text-body);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 3: REAL-TIME COLLABORATION TOPOLOGY
   ══════════════════════════════════════════════════════════════════ */
.np-collab-stage {
  width: 100%;
  background: var(--np-bg-card);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-xl);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--np-shadow-subtle);
}

#collab-canvas {
  width: 100%;
  height: 320px;
  display: block;
}

.np-collab-nodes-overlay {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.np-node-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-md);
  padding: 12px 10px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

html.light .np-node-card {
  background: rgba(15, 23, 42, 0.02);
}

.np-node-card:hover, .np-node-card.active {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--np-primary-electric);
  transform: translateY(-2px);
}

.np-node-role {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--np-primary-glow);
}

.np-node-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--np-text-heading);
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 4: AI SMART RECEIPT VISION
   ══════════════════════════════════════════════════════════════════ */
.np-ai-receipt-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.np-receipt-scanner-frame {
  background: var(--np-bg-card);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-xl);
  padding: 20px;
  position: relative;
  box-shadow: var(--np-shadow-subtle);
  overflow: hidden;
  text-align: left;
}

.np-scan-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3B82F6, #60A5FA, #3B82F6, transparent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
  z-index: 20;
  animation: scan-vertical 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scan-vertical {
  0%   { top: 5%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 92%; opacity: 0; }
}

.np-receipt-inner-doc {
  background: #FFFFFF;
  color: #0F172A;
  border-radius: var(--np-radius-md);
  padding: 20px;
  font-family: var(--np-font-mono);
}

.np-receipt-upi-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px dashed #E2E8F0;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.np-extracted-pin {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--np-emerald);
  border-radius: 6px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #065F46;
}

.np-ai-features-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.np-ai-feature-card {
  background: var(--np-bg-card);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-lg);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.np-ai-feature-card:hover {
  border-color: var(--np-primary-electric);
  transform: translateY(-2px);
}

.np-ai-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--np-primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 5: AUTHENTIC NOTEPAY PRODUCT UI SHOWCASE
   ══════════════════════════════════════════════════════════════════ */
.np-showcase-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.np-product-3d-card {
  background: var(--np-bg-card);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--np-shadow-subtle);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.np-product-3d-card:hover {
  transform: translateY(-4px);
  border-color: var(--np-glass-border-hover);
  box-shadow: var(--np-shadow-3d);
}

.np-product-mock-frame {
  width: 100%;
  background: var(--np-surface);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-md);
  margin-top: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.np-mock-browser-bar {
  height: 24px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
  border-bottom: 1px solid var(--np-glass-border);
}

html.light .np-mock-browser-bar {
  background: #F1F5F9;
}

.np-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.np-dot.red { background: #EF4444; }
.np-dot.yellow { background: #F59E0B; }
.np-dot.green { background: #10B981; }

.np-mock-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

/* Chat Bubbles High Contrast Styles in Dark & Light Modes */
.np-chat-bubble-outgoing {
  background: var(--np-chat-bubble-out-bg);
  border: 1px solid var(--np-chat-bubble-out-border);
  border-radius: 8px;
  padding: 7px 10px;
  align-self: flex-end;
  max-width: 85%;
}

.np-chat-bubble-incoming {
  background: var(--np-chat-bubble-in-bg);
  border: 1px solid var(--np-chat-bubble-in-border);
  border-radius: 8px;
  padding: 7px 10px;
  align-self: flex-start;
  max-width: 90%;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 6: SECURITY MATRIX
   ══════════════════════════════════════════════════════════════════ */
.np-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.np-sec-box {
  background: var(--np-bg-card);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-lg);
  padding: 24px 20px;
  text-align: left;
  transition: all 0.2s ease;
}

.np-sec-box:hover {
  border-color: var(--np-primary-electric);
  transform: translateY(-2px);
}

.np-sec-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  color: var(--np-primary-glow);
  margin-bottom: 14px;
}

.np-sec-box h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.np-sec-box p {
  font-size: 13px;
  color: var(--np-text-body);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 7: COMMUNITY USE CASES
   ══════════════════════════════════════════════════════════════════ */
.np-use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.np-use-case-card {
  background: var(--np-bg-card);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-xl);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  text-align: left;
}

.np-use-case-card:hover {
  transform: translateY(-2px);
  border-color: var(--np-glass-border-hover);
}

.np-use-case-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 8: FAQ ACCORDION
   ══════════════════════════════════════════════════════════════════ */
.np-faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.np-faq-item {
  background: var(--np-bg-card);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.np-faq-item.active {
  border-color: var(--np-glass-border-hover);
}

.np-faq-trigger {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--np-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--np-text-heading);
  cursor: pointer;
  gap: 12px;
}

.np-faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--np-text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.np-faq-item.active .np-faq-chevron {
  transform: rotate(180deg);
  color: var(--np-primary-glow);
}

.np-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 20px;
  text-align: left;
}

.np-faq-item.active .np-faq-content {
  padding-bottom: 18px;
}

.np-faq-content p {
  color: var(--np-text-body);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 9: FINAL CTA BANNER
   ══════════════════════════════════════════════════════════════════ */
.np-cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.15), transparent 70%), var(--np-bg-card);
  border: 1px solid var(--np-glass-border);
  border-radius: var(--np-radius-xl);
  padding: 50px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--np-shadow-subtle);
}

.np-cta-banner h2 {
  font-size: clamp(26px, 3.8vw, 44px);
  margin-bottom: 14px;
}

.np-cta-banner p {
  font-size: clamp(14.5px, 1.5vw, 17px);
  color: var(--np-text-body);
  max-width: 560px;
  margin: 0 auto 26px auto;
  line-height: 1.6;
}

/* ── Footer ── */
.np-footer {
  border-top: 1px solid var(--np-glass-border);
  padding: 36px 20px 44px 20px;
  background: var(--np-bg);
  position: relative;
  z-index: 10;
}

.np-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.np-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.np-footer-links a {
  color: var(--np-text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.np-footer-links a:hover {
  color: var(--np-text-heading);
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE & TABLET RESPONSIVE ENGINE (< 1024px, < 768px, < 480px)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .np-nav-menu { display: none; }
  .np-problem-solution-grid { grid-template-columns: 1fr; }
  .np-ai-receipt-showcase { grid-template-columns: 1fr; }
  .np-showcase-container { grid-template-columns: 1fr; }
  .np-security-grid { grid-template-columns: 1fr 1fr; }
  .np-use-case-grid { grid-template-columns: 1fr 1fr; }
  .np-collab-nodes-overlay { grid-template-columns: 1fr 1fr; }
  .np-summary-grid-mock { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .np-navbar {
    top: 6px;
    width: calc(100% - 16px);
  }
  .np-nav-inner {
    padding: 6px 12px;
  }
  .np-brand {
    font-size: 15px;
    gap: 8px;
  }
  .np-brand-logo-badge {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }
  .np-theme-btn {
    width: 30px;
    height: 30px;
  }
  .np-btn-primary {
    padding: 6px 14px;
    font-size: 12px;
  }
  .np-btn-outline {
    padding: 6px 12px;
    font-size: 12px;
  }

  .np-hero-section {
    padding: 64px 12px 28px 12px;
    min-height: auto;
  }
  .np-hero-announcement {
    font-size: 11.5px;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  .np-hero-headline {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .np-hero-description {
    font-size: 13.5px;
    margin-bottom: 18px;
  }
  .np-hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-bottom: 22px;
  }
  .np-hero-cta-group .np-btn-primary,
  .np-hero-cta-group .np-btn-outline {
    width: 100%;
    max-width: 280px;
  }
  .np-hero-3d-stage {
    max-width: 100%;
    transform: none !important;
  }
  .np-hero-3d-stage::after {
    display: none;
  }
  .np-context-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 12px;
    align-self: center;
  }
  .np-ledger-glass-card {
    padding: 14px 12px;
    border-radius: var(--np-radius-md);
    transform: none !important;
  }
  .np-app-header-mock {
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .np-app-title-wrap h3 {
    font-size: 13.5px;
  }
  .np-summary-grid-mock {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    margin-bottom: 12px;
  }
  .np-sum-val {
    font-size: 16px;
  }
  .np-tab-bar-mock {
    overflow-x: auto;
    gap: 2px;
    margin-bottom: 12px;
  }
  .np-tab-btn-mock {
    font-size: 11px;
    padding: 6px 8px;
  }
  .np-section {
    padding: 44px 12px;
  }
  .np-section-header {
    margin-bottom: 24px;
  }
  .np-section-title {
    font-size: 22px;
  }
  .np-security-grid {
    grid-template-columns: 1fr;
  }
  .np-use-case-grid {
    grid-template-columns: 1fr;
  }
  .np-collab-stage {
    padding: 14px 10px;
  }
  #collab-canvas {
    height: 240px;
  }
  .np-collab-nodes-overlay {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .np-node-card {
    padding: 8px 6px;
  }
  .np-node-role {
    font-size: 9px;
  }
  .np-node-name {
    font-size: 11px;
  }
  .np-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .np-footer-links {
    justify-content: center;
    gap: 14px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   ACCESSIBILITY: REDUCED MOTION SUPPORT
   ══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .np-hero-3d-stage, .np-product-3d-card, .np-icon-anim {
    transform: none !important;
    animation: none !important;
  }
  #collab-canvas {
    display: none !important;
  }
}
