/* ============================================================
   Nicasoph — Global Design System (Native HTML5 / CSS3)
   Premium Dark Theme with Glassmorphism
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* --- CSS Custom Properties --- */
:root {
  --ns-bg-primary: #0A1628;
  --ns-bg-secondary: #0F172A;
  --ns-bg-card: rgba(15, 23, 42, 0.6);
  --ns-bg-card-hover: rgba(15, 23, 42, 0.8);
  --ns-border-glass: rgba(59, 130, 246, 0.15);
  --ns-border-glass-hover: rgba(59, 130, 246, 0.35);
  --ns-text-primary: #F1F5F9;
  --ns-text-secondary: #94A3B8;
  --ns-text-muted: #64748B;
  --ns-gradient-blue: linear-gradient(135deg, #3B82F6, #06B6D4);
  --ns-gradient-purple: linear-gradient(135deg, #8B5CF6, #3B82F6);
  --ns-gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.15));
  --ns-shadow-glow: 0 0 30px rgba(59, 130, 246, 0.12);
  --ns-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --ns-radius: 16px;
  --ns-radius-sm: 10px;
  --ns-radius-lg: 24px;
  --ns-font-display: 'Outfit', sans-serif;
  --ns-font-body: 'Inter', sans-serif;
  --ns-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--ns-font-body);
  background: var(--ns-bg-primary);
  color: var(--ns-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

/* --- Typography --- */
.ns-display {
  font-family: var(--ns-font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ns-display-xl {
  font-family: var(--ns-font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.ns-display-lg {
  font-family: var(--ns-font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ns-display-md {
  font-family: var(--ns-font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.ns-subtitle {
  font-family: var(--ns-font-body);
  font-weight: 400;
  color: var(--ns-text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.ns-section-title {
  font-family: var(--ns-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
}

.ns-section-subtitle {
  font-family: var(--ns-font-body);
  font-weight: 400;
  color: var(--ns-text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* --- Gradient Text --- */
.ns-gradient-text {
  background: var(--ns-gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ns-gradient-text-purple {
  background: var(--ns-gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Glassmorphism --- */
.ns-glass {
  background: var(--ns-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--ns-border-glass);
  border-radius: var(--ns-radius);
  transition: var(--ns-transition);
}

.ns-glass:hover {
  background: var(--ns-bg-card-hover);
  border-color: var(--ns-border-glass-hover);
  box-shadow: var(--ns-shadow-glow);
  transform: translateY(-4px);
}

.ns-glass-static {
  background: var(--ns-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--ns-border-glass);
  border-radius: var(--ns-radius);
}

/* --- Buttons --- */
.ns-btn-primary {
  background: var(--ns-gradient-blue);
  color: white !important;
  border: none;
  border-radius: var(--ns-radius-sm);
  padding: 12px 32px;
  font-family: var(--ns-font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--ns-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ns-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
  color: white !important;
}

.ns-btn-outline {
  background: transparent;
  color: var(--ns-text-primary) !important;
  border: 1.5px solid var(--ns-border-glass-hover);
  border-radius: var(--ns-radius-sm);
  padding: 12px 32px;
  font-family: var(--ns-font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--ns-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ns-btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3B82F6;
  transform: translateY(-2px);
  color: var(--ns-text-primary) !important;
}

/* --- Layout Utilities --- */
.ns-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.ns-section {
  padding: 100px 0;
  position: relative;
}

.ns-gradient-border {
  position: relative;
}

.ns-gradient-border::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--ns-gradient-blue);
  border-radius: 2px;
}

/* --- Animated Background Mesh --- */
.ns-mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ns-mesh-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  animation: ns-float 15s ease-in-out infinite;
}

.ns-mesh-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  animation: ns-float 18s ease-in-out infinite reverse;
}

@keyframes ns-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes ns-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ns-animate-in {
  animation: ns-fade-in-up 0.6s ease-out forwards;
  opacity: 0;
}

.ns-delay-1 { animation-delay: 0.1s; }
.ns-delay-2 { animation-delay: 0.2s; }
.ns-delay-3 { animation-delay: 0.3s; }
.ns-delay-4 { animation-delay: 0.4s; }
.ns-delay-5 { animation-delay: 0.5s; }
.ns-delay-6 { animation-delay: 0.6s; }

/* --- Icons and Containers --- */
.material-icons, .material-symbols-outlined {
  font-size: 24px;
  vertical-align: middle;
  line-height: 1;
}

.ns-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ns-gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ns-icon-wrap .material-icons,
.ns-icon-wrap .material-symbols-outlined {
  font-size: 28px;
  background: var(--ns-gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Scroll Reveal Animations --- */
.ns-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ns-reveal.ns-visible {
  opacity: 1;
  transform: translateY(0);
}

.ns-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ns-reveal-left.ns-visible {
  opacity: 1;
  transform: translateX(0);
}

.ns-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ns-reveal-right.ns-visible {
  opacity: 1;
  transform: translateX(0);
}

.ns-reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ns-reveal-scale.ns-visible {
  opacity: 1;
  transform: scale(1);
}

.ns-reveal-delay-1 { transition-delay: 0.1s; }
.ns-reveal-delay-2 { transition-delay: 0.2s; }
.ns-reveal-delay-3 { transition-delay: 0.3s; }
.ns-reveal-delay-4 { transition-delay: 0.4s; }
.ns-reveal-delay-5 { transition-delay: 0.5s; }
.ns-reveal-delay-6 { transition-delay: 0.6s; }

/* --- Typing Cursor --- */
.ns-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: #3B82F6;
  margin-left: 4px;
  animation: ns-blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes ns-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Shimmer Effect --- */
.ns-shimmer {
  position: relative;
  overflow: hidden;
}

.ns-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.08),
    transparent
  );
  animation: ns-shimmer-anim 3s ease-in-out infinite;
}

@keyframes ns-shimmer-anim {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* --- Floating Particles --- */
.ns-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ns-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5), 0 0 24px rgba(59, 130, 246, 0.2);
  animation: ns-particle-float linear infinite;
}

.ns-particle:nth-child(odd) {
  background: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.5), 0 0 24px rgba(6, 182, 212, 0.2);
}

@keyframes ns-particle-float {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(25px, -30px) scale(1.2); }
  50% { transform: translate(-20px, 40px) scale(0.8); }
  75% { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

/* --- Counter --- */
.ns-counter {
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Header & Navbar
   ============================================================ */
.ns-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--ns-transition);
}

.ns-header--scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ns-border-glass);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.ns-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.ns-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ns-text-primary);
}

.ns-logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.ns-logo:hover .ns-logo-mark {
  transform: scale(1.05);
}

.ns-logo-text {
  font-family: var(--ns-font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.ns-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ns-nav-link {
  text-decoration: none;
  color: var(--ns-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--ns-transition);
}

.ns-nav-link:hover {
  color: var(--ns-text-primary);
  background: rgba(59, 130, 246, 0.08);
}

.ns-nav-link--active {
  color: #3B82F6 !important;
  background: rgba(59, 130, 246, 0.12);
}

.ns-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ns-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--ns-transition);
}

.ns-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 868px) {
  .ns-nav, .ns-header-actions .ns-btn-primary {
    display: none;
  }
  .ns-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- Mobile Drawer --- */
.ns-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ns-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ns-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--ns-bg-secondary);
  border-left: 1px solid var(--ns-border-glass);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.ns-drawer.active {
  right: 0;
}

.ns-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ns-border-glass);
  margin-bottom: 24px;
}

.ns-drawer-close {
  background: transparent;
  border: none;
  color: var(--ns-text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--ns-transition);
}

.ns-drawer-close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.ns-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ns-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--ns-text-secondary);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--ns-radius-sm);
  transition: var(--ns-transition);
}

.ns-drawer-link:hover, .ns-drawer-link.active {
  color: var(--ns-text-primary);
  background: rgba(59, 130, 246, 0.12);
}

.ns-drawer-link .material-icons {
  color: #3B82F6;
}

/* ============================================================
   Page Header (Internal Pages)
   ============================================================ */
.ns-page-header {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
}

.ns-page-header-content {
  position: relative;
  z-index: 1;
}

.ns-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--ns-text-muted);
}

.ns-breadcrumb a {
  color: var(--ns-text-secondary);
  text-decoration: none;
  transition: var(--ns-transition);
}

.ns-breadcrumb a:hover {
  color: #3B82F6;
}

.ns-breadcrumb .material-icons {
  font-size: 16px;
  color: var(--ns-text-muted);
}

/* ============================================================
   Hero Section (Homepage)
   ============================================================ */
.ns-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.ns-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

.ns-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.ns-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #66BB6A;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.ns-hero-badge .material-icons {
  font-size: 16px;
}

.ns-hero-subtitle {
  max-width: 640px;
  margin: 24px auto 0;
}

.ns-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.ns-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 64px;
  padding: 24px 40px;
  border-radius: var(--ns-radius);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--ns-border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ns-stat {
  text-align: center;
}

.ns-stat-value {
  display: block;
  font-family: var(--ns-font-display);
  font-weight: 800;
  font-size: 1.75rem;
  background: var(--ns-gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ns-stat-label {
  font-size: 0.85rem;
  color: var(--ns-text-secondary);
  margin-top: 4px;
}

.ns-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--ns-border-glass);
}

@media (max-width: 600px) {
  .ns-hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  .ns-stat-divider {
    width: 60%;
    height: 1px;
  }
}

.ns-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.ns-scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.ns-scroll-wheel {
  width: 4px;
  height: 10px;
  background: #3B82F6;
  border-radius: 2px;
  animation: ns-scroll-anim 1.5s ease-in-out infinite;
}

@keyframes ns-scroll-anim {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================================
   Marquee / Trust Badges
   ============================================================ */
.ns-marquee-section {
  padding: 0 !important;
  overflow: hidden;
}

.ns-marquee-wrap {
  padding: 20px 0;
  border-top: 1px solid var(--ns-border-glass);
  border-bottom: 1px solid var(--ns-border-glass);
  background: rgba(15, 23, 42, 0.3);
}

.ns-marquee {
  display: flex;
  animation: ns-marquee-scroll 35s linear infinite;
  width: max-content;
}

.ns-marquee-inner {
  display: flex;
  gap: 48px;
  padding: 0 24px;
}

.ns-marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ns-text-secondary);
  white-space: nowrap;
  font-size: 0.95rem;
}

.ns-marquee-item .material-icons {
  color: #3B82F6;
  font-size: 18px;
}

@keyframes ns-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Products Grid & Cards
   ============================================================ */
.ns-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1100px) {
  .ns-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ns-products-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.ns-product-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.ns-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.1);
}

.ns-product-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  padding: 4px 40px;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(35deg);
}

.ns-product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  color: white;
}

.ns-product-card:hover .ns-product-icon {
  transform: scale(1.1) rotate(-5deg);
}

.ns-product-icon .material-icons {
  font-size: 32px;
}

.ns-product-name {
  font-family: var(--ns-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.ns-product-tagline {
  color: var(--ns-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.ns-product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.ns-product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--ns-text-secondary);
  font-size: 0.9rem;
}

.ns-product-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--ns-transition);
}

.ns-product-cta:hover {
  gap: 12px;
}

.ns-product-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: var(--ns-transition);
}

.ns-product-card:hover .ns-product-accent {
  opacity: 1;
}

/* ============================================================
   Product Detail Page
   ============================================================ */
.ns-detail-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.ns-detail-hero-content {
  position: relative;
  z-index: 1;
}

.ns-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: white;
}

.ns-detail-icon .material-icons {
  font-size: 48px;
}

.ns-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .ns-detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.ns-hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ns-hero-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 20px;
  animation: ns-img-float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

@keyframes ns-img-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.ns-detail-tagline {
  font-family: var(--ns-font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ns-text-secondary);
  margin: 4px 0 16px;
}

.ns-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .ns-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ns-features-grid {
    grid-template-columns: 1fr;
  }
}

.ns-feature-card {
  padding: 32px;
}

.ns-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
}

.ns-feature-icon .material-icons {
  font-size: 28px;
}

.ns-feature-title {
  font-family: var(--ns-font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ns-feature-desc {
  color: var(--ns-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.ns-highlights-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .ns-highlights-layout {
    grid-template-columns: 1fr;
  }
}

.ns-highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--ns-radius-sm);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--ns-border-glass);
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: var(--ns-transition);
}

.ns-highlight-item:hover {
  border-color: var(--ns-border-glass-hover);
  background: rgba(15, 23, 42, 0.6);
}

.ns-highlight-check {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.ns-highlight-check .material-icons {
  font-size: 18px;
}

.ns-tech-banner {
  padding: 48px;
  text-align: center;
  background: var(--ns-gradient-glow) !important;
}

.ns-tech-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.ns-tech-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--ns-border-glass);
  font-weight: 500;
}

.ns-related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .ns-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ns-related-grid {
    grid-template-columns: 1fr;
  }
}

.ns-related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  text-decoration: none;
  color: inherit;
  transition: var(--ns-transition);
}

.ns-related-card:hover {
  transform: translateY(-4px);
  border-color: var(--ns-border-glass-hover);
}

.ns-related-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: white;
}

.ns-related-name {
  font-family: var(--ns-font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.ns-related-tagline {
  color: var(--ns-text-secondary);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   Products Catalog Row Layout (ProductsPage)
   ============================================================ */
.ns-product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 100px;
}

.ns-product-row--reversed {
  direction: rtl;
}

.ns-product-row--reversed > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .ns-product-row {
    grid-template-columns: 1fr;
    direction: ltr !important;
    margin-bottom: 64px;
  }
}

.ns-product-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  margin-bottom: 16px;
}

.ns-product-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ns-product-badge-row .ns-product-badge-pill {
  margin-bottom: 0;
}

/* Botón de Ayuda espectacular (ayuda → modo fácil, pestaña nueva) */
.ns-help-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: #fff;
  text-decoration: none;
  transform: translateZ(0);
  animation: ns-help-pulse 2.4s ease-in-out infinite;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.ns-help-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 0;
  pointer-events: none;
  animation: ns-help-ping 2.4s ease-out infinite;
}

.ns-help-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  background-size: 300% 100%;
  background-position: 130% 0;
  z-index: 2;
  pointer-events: none;
  animation: ns-help-shine 2.6s ease-in-out infinite;
}

.ns-help-btn-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ns-help-btn:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.1);
}

.ns-help-btn:hover::after {
  animation-duration: 1.2s;
}

@keyframes ns-help-pulse {
  0%, 100% {
    box-shadow: 0 6px 14px rgba(255, 255, 255, 0.12);
  }
  50% {
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
  }
}

@keyframes ns-help-ping {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  80%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes ns-help-shine {
  0% {
    background-position: 130% 0;
  }
  60%, 100% {
    background-position: -60% 0;
  }
}

.ns-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ns-tech-tag {
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.15);
  color: var(--ns-text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

.ns-product-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ns-feature-mini {
  padding: 24px;
}

.ns-feature-mini h4 {
  font-family: var(--ns-font-display);
  font-weight: 600;
  margin: 12px 0 6px;
  font-size: 0.95rem;
}

.ns-feature-mini p {
  color: var(--ns-text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   Software Libre & Why Us Section
   ============================================================ */
.ns-libre-section {
  position: relative;
}

.ns-libre-card {
  padding: 64px 48px;
  background: var(--ns-gradient-glow) !important;
}

@media (max-width: 768px) {
  .ns-libre-card {
    padding: 40px 24px;
  }
}

.ns-libre-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .ns-libre-grid {
    grid-template-columns: 1fr;
  }
}

.ns-libre-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #66BB6A;
}

.ns-libre-icon .material-icons {
  font-size: 48px;
}

.ns-libre-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.ns-libre-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--ns-text-secondary);
  font-size: 0.95rem;
}

.ns-libre-list li strong {
  color: var(--ns-text-primary);
}

.ns-libre-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 480px) {
  .ns-libre-badge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ns-libre-tech {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ns-libre-tech:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

.ns-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .ns-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ns-why-grid {
    grid-template-columns: 1fr;
  }
}

.ns-why-card {
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ns-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

.ns-why-card .ns-icon-wrap {
  margin: 0 auto 16px;
}

.ns-why-title {
  font-family: var(--ns-font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ns-why-desc {
  color: var(--ns-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============================================================
   About Page
   ============================================================ */
.ns-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .ns-about-grid {
    grid-template-columns: 1fr;
  }
}

.ns-about-card {
  padding: 40px 32px;
  text-align: center;
}

.ns-about-card .ns-icon-wrap {
  margin: 0 auto 20px;
}

.ns-card-title {
  font-family: var(--ns-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.ns-card-desc {
  color: var(--ns-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.ns-presence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 600px) {
  .ns-presence-grid {
    grid-template-columns: 1fr;
  }
}

.ns-presence-card {
  padding: 40px 32px;
}

.ns-presence-flag {
  margin-bottom: 16px;
}

.ns-presence-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--ns-border-glass);
  font-size: 0.85rem;
  font-weight: 500;
}

.ns-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 600px) {
  .ns-services-grid {
    grid-template-columns: 1fr;
  }
}

.ns-service-card {
  padding: 36px;
}

.ns-service-num {
  font-family: var(--ns-font-display);
  font-weight: 800;
  font-size: 2.5rem;
  background: var(--ns-gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 12px;
}

.ns-philosophy {
  padding: 64px 48px;
  background: var(--ns-gradient-glow) !important;
}

@media (max-width: 600px) {
  .ns-philosophy {
    padding: 40px 24px;
  }
}

.ns-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.ns-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--ns-border-glass);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ============================================================
   Contact Page & Form
   ============================================================ */
.ns-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .ns-contact-grid {
    grid-template-columns: 1fr;
  }
}

.ns-contact-form {
  padding: 40px;
}

.ns-form-title {
  font-family: var(--ns-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.ns-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .ns-form-row {
    grid-template-columns: 1fr;
  }
}

.ns-form-group {
  margin-bottom: 20px;
}

.ns-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ns-text-secondary);
  margin-bottom: 6px;
}

.ns-input, .ns-select, .ns-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--ns-border-glass);
  border-radius: var(--ns-radius-sm);
  color: var(--ns-text-primary);
  font-family: var(--ns-font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--ns-transition);
}

.ns-input:focus, .ns-select:focus, .ns-textarea:focus {
  border-color: #3B82F6;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.ns-input::placeholder, .ns-textarea::placeholder {
  color: var(--ns-text-muted);
}

.ns-select option {
  background: var(--ns-bg-secondary);
  color: var(--ns-text-primary);
}

.ns-textarea {
  resize: vertical;
  min-height: 120px;
}

.ns-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ns-info-card {
  padding: 24px;
}

.ns-info-card h4 {
  font-family: var(--ns-font-display);
  font-weight: 600;
  margin: 12px 0 4px;
}

.ns-info-card p {
  color: var(--ns-text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.ns-demo-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  background: var(--ns-gradient-glow) !important;
}

.ns-demo-cta .material-icons {
  color: #3B82F6;
  font-size: 40px;
}

.ns-demo-cta h4 {
  font-family: var(--ns-font-display);
  font-weight: 600;
  margin: 0 0 4px;
}

.ns-demo-cta p {
  color: var(--ns-text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   Toast Notification (Native Vanilla JS)
   ============================================================ */
.ns-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.ns-toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: var(--ns-radius-sm);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--ns-border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ns-text-primary);
  font-size: 0.9rem;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ns-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.ns-toast--success {
  border-left: 4px solid #10B981;
}

.ns-toast--success .material-icons {
  color: #10B981;
}

.ns-toast--error {
  border-left: 4px solid #EF4444;
}

.ns-toast--error .material-icons {
  color: #EF4444;
}

/* ============================================================
   Legal Pages Styles (Privacy, Terms, Data Deletion)
   ============================================================ */
.ns-legal-page {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.ns-legal-hero {
  text-align: center;
  margin-bottom: 56px;
}

.ns-legal-icon {
  font-size: 56px;
  color: #3B82F6;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.3));
}

.ns-legal-title {
  font-family: var(--ns-font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ns-text-primary);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.ns-legal-subtitle {
  color: var(--ns-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.ns-legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.ns-legal-section {
  margin-bottom: 48px;
}

.ns-legal-section h2 {
  font-family: var(--ns-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ns-text-primary);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ns-border-glass);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ns-legal-section p {
  color: var(--ns-text-secondary);
  line-height: 1.75;
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.ns-legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.ns-legal-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  color: var(--ns-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ns-legal-section ul li:last-child {
  border-bottom: none;
}

.ns-legal-section ul li .material-icons {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 18px;
}

.ns-legal-callout {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(59, 130, 246, 0.08);
  border-left: 3px solid #3B82F6;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
}

.ns-legal-callout .material-icons {
  flex-shrink: 0;
  color: #3B82F6;
  margin-top: 2px;
}

.ns-legal-callout p {
  margin: 0;
  color: var(--ns-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.ns-legal-callout--success {
  background: rgba(34, 197, 94, 0.08);
  border-left-color: #22C55E;
}

.ns-legal-callout--success .material-icons {
  color: #22C55E;
}

.ns-legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .ns-legal-grid {
    grid-template-columns: 1fr;
  }
}

.ns-legal-grid-card {
  background: var(--ns-bg-card);
  border: 1px solid var(--ns-border-glass);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: var(--ns-transition);
}

.ns-legal-grid-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.ns-legal-grid-card .material-icons {
  margin-bottom: 12px;
  font-size: 32px;
  color: #3B82F6;
}

.ns-legal-grid-card h4 {
  font-family: var(--ns-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ns-text-primary);
  margin: 0 0 8px;
}

.ns-legal-grid-card p {
  color: var(--ns-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.ns-legal-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0;
}

.ns-legal-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ns-legal-step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ns-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.ns-legal-step-content {
  flex: 1;
}

.ns-legal-step-content h4 {
  font-family: var(--ns-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ns-text-primary);
  margin: 0 0 8px;
}

.ns-legal-step-content p {
  color: var(--ns-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 10px;
}

.ns-legal-step-content ul {
  padding-left: 20px;
  list-style: disc;
}

.ns-legal-step-content ul li {
  display: list-item;
  padding: 4px 0;
  border-bottom: none;
  font-size: 0.9rem;
}

.ns-legal-timeline {
  position: relative;
  padding-left: 32px;
  margin: 24px 0;
}

.ns-legal-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #3B82F6, #8B5CF6);
  border-radius: 2px;
}

.ns-legal-timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.ns-legal-timeline-item:last-child {
  padding-bottom: 0;
}

.ns-legal-timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3B82F6;
  border: 3px solid var(--ns-bg-primary);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.ns-legal-timeline-content h4 {
  font-family: var(--ns-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ns-text-primary);
  margin: 0 0 6px;
}

.ns-legal-timeline-content p {
  color: var(--ns-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 6px;
}

.ns-legal-timeline-time {
  font-size: 0.8rem;
  color: #3B82F6;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

.ns-legal-contact-card {
  background: var(--ns-bg-card);
  border: 1px solid var(--ns-border-glass);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ns-legal-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ns-text-secondary);
  font-size: 0.95rem;
}

.ns-legal-contact-row .material-icons {
  color: #3B82F6;
  font-size: 20px;
}

.ns-legal-link {
  color: #3B82F6;
  text-decoration: none;
  font-weight: 500;
  transition: var(--ns-transition);
}

.ns-legal-link:hover {
  color: #60A5FA;
  text-decoration: underline;
}

/* ============================================================
   Footer
   ============================================================ */
.ns-footer {
  background: var(--ns-bg-secondary);
  padding: 64px 0 24px;
  border-top: 1px solid var(--ns-border-glass);
  margin-top: auto;
}

.ns-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .ns-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .ns-footer-grid {
    grid-template-columns: 1fr;
  }
}

.ns-footer-desc {
  color: var(--ns-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ns-footer-social {
  display: flex;
  gap: 12px;
}

.ns-social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-text-secondary);
  transition: var(--ns-transition);
  text-decoration: none;
}

.ns-social-link:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #3B82F6;
  transform: translateY(-2px);
}

.ns-footer-col-title {
  font-family: var(--ns-font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ns-text-primary);
  margin-bottom: 16px;
}

.ns-footer-link {
  display: block;
  color: var(--ns-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--ns-transition);
}

.ns-footer-link:hover {
  color: #3B82F6;
  padding-left: 4px;
}

.ns-footer-separator {
  height: 1px;
  background: var(--ns-border-glass);
  margin: 32px 0 24px;
}

.ns-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ns-text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.ns-footer-tech {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ns-footer-tech .material-icons {
  color: #EF4444;
  font-size: 14px;
}
