/* =============================================================================
   NoSkip Portal — Core Design System
   Brand: NoSkip by Visora Media
   Theme: Black + Red Accent
============================================================================= */

/* ── Custom Properties ────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --ns-bg:           #080808;
  --ns-bg-alt:       #0f0f0f;
  --ns-bg-raised:    #141414;
  --ns-bg-card:      rgba(255, 255, 255, 0.030);
  --ns-bg-card-hover:rgba(255, 255, 255, 0.055);

  --ns-text:         #ffffff;
  --ns-text-muted:   rgba(255, 255, 255, 0.55);
  --ns-text-dim:     rgba(255, 255, 255, 0.30);
  --ns-text-xdim:    rgba(255, 255, 255, 0.15);

  --ns-red:          #e8001a;
  --ns-red-dark:     #8b0000;
  --ns-red-mid:      #c41e3a;
  --ns-red-bright:   #ff1744;
  --ns-red-glow:     rgba(232, 0, 26, 0.35);
  --ns-red-subtle:   rgba(232, 0, 26, 0.10);
  --ns-red-border:   rgba(232, 0, 26, 0.28);

  --ns-border:       rgba(255, 255, 255, 0.07);
  --ns-border-soft:  rgba(255, 255, 255, 0.04);
  --ns-border-med:   rgba(255, 255, 255, 0.12);

  /* Gradients */
  --ns-gradient:     linear-gradient(135deg, #8b0000 0%, #c41e3a 45%, #ff1744 80%, #e8001a 100%);
  --ns-gradient-v:   linear-gradient(180deg, #8b0000 0%, #e8001a 100%);
  --ns-gradient-glow:radial-gradient(ellipse at 50% 0%, rgba(232,0,26,0.22) 0%, transparent 65%);
  --ns-gradient-fade:linear-gradient(180deg, transparent 0%, var(--ns-bg) 100%);

  /* Typography */
  --ns-font:         'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --ns-space-xs:     0.5rem;
  --ns-space-sm:     1rem;
  --ns-space-md:     2rem;
  --ns-space-lg:     4rem;
  --ns-space-xl:     8rem;

  /* Layout */
  --ns-container:    1440px;
  --ns-padding:      clamp(1.25rem, 4vw, 3.5rem);

  /* Radii */
  --ns-r-sm:         4px;
  --ns-r-md:         8px;
  --ns-r-lg:         14px;
  --ns-r-xl:         22px;
  --ns-r-full:       999px;

  /* Easing */
  --ns-ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ns-ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --ns-tf:           0.18s var(--ns-ease);
  --ns-tm:           0.38s var(--ns-ease);
  --ns-ts:           0.65s var(--ns-ease);

  /* Z-index */
  --ns-z-topbar:     100;
  --ns-z-panel:      200;
  --ns-z-modal:      300;
  --ns-z-cursor:     9999;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ns-font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ns-text);
  background: var(--ns-bg);
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ── Typography ───────────────────────────────────────────────────────────── */
.ns-display {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.ns-h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ns-h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.ns-h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.ns-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ns-red);
}
.ns-body { font-size: 1rem; line-height: 1.7; color: var(--ns-text-muted); }
.ns-small { font-size: 0.875rem; color: var(--ns-text-muted); }
.ns-xs { font-size: 0.75rem; color: var(--ns-text-dim); }

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

/* ── Layout ───────────────────────────────────────────────────────────────── */
.ns-container {
  max-width: var(--ns-container);
  margin: 0 auto;
  padding: 0 var(--ns-padding);
}
.ns-section {
  padding: var(--ns-space-xl) 0;
}
.ns-section-sm {
  padding: var(--ns-space-lg) 0;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.ns-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--ns-r-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--ns-tf), box-shadow var(--ns-tf), background var(--ns-tf), border-color var(--ns-tf);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.ns-btn:hover { transform: translateY(-2px); }
.ns-btn:active { transform: translateY(0); }

.ns-btn-primary {
  background: var(--ns-gradient);
  color: #fff;
  box-shadow: 0 0 24px var(--ns-red-glow);
}
.ns-btn-primary:hover {
  box-shadow: 0 0 40px var(--ns-red-glow), 0 8px 24px rgba(232,0,26,0.4);
}

.ns-btn-outline {
  background: transparent;
  color: var(--ns-text);
  border: 1px solid var(--ns-border-med);
}
.ns-btn-outline:hover {
  border-color: var(--ns-red-border);
  background: var(--ns-red-subtle);
  color: #fff;
}

.ns-btn-ghost {
  background: transparent;
  color: var(--ns-text-muted);
  padding: 0.6rem 1rem;
}
.ns-btn-ghost:hover { color: var(--ns-text); background: var(--ns-bg-card); }

.ns-btn-red-outline {
  background: transparent;
  color: var(--ns-red);
  border: 1px solid var(--ns-red-border);
}
.ns-btn-red-outline:hover {
  background: var(--ns-red-subtle);
  border-color: var(--ns-red);
  box-shadow: 0 0 20px var(--ns-red-glow);
}

.ns-btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--ns-r-md);
  justify-content: center;
}

.ns-btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.ns-btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* Magnetic class — JS handles actual movement */
.ns-magnetic { transition: transform 0.4s var(--ns-ease); }

/* ── Glass ────────────────────────────────────────────────────────────────── */
.ns-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid var(--ns-border);
}
.ns-glass-dark {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--ns-border);
}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.ns-card {
  background: var(--ns-bg-card);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-r-lg);
  padding: var(--ns-space-md);
  transition: border-color var(--ns-tm), background var(--ns-tm), transform var(--ns-tm), box-shadow var(--ns-tm);
}
.ns-card:hover {
  background: var(--ns-bg-card-hover);
  border-color: var(--ns-red-border);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px var(--ns-red-subtle);
}

/* ── Badges / Pills ───────────────────────────────────────────────────────── */
.ns-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--ns-r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.ns-badge-red {
  background: var(--ns-red-subtle);
  color: var(--ns-red-bright);
  border: 1px solid var(--ns-red-border);
}
.ns-badge-glass {
  background: rgba(255,255,255,0.08);
  color: var(--ns-text-muted);
  border: 1px solid var(--ns-border);
}

/* Credits badge */
/* Credits wrapper — same pattern as cart (div wrapper + button trigger) */
.ns-credits-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.ns-credits-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--ns-red-subtle);
  border: 1px solid var(--ns-red-border);
  border-radius: var(--ns-r-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ns-red-bright);
  cursor: pointer;
  transition: background var(--ns-tf), border-color var(--ns-tf), box-shadow var(--ns-tf);
}
.ns-credits-badge:hover { background: rgba(232,0,26,0.16); box-shadow: 0 0 0 3px rgba(232,0,26,0.08); }
.ns-credits-badge i { font-size: 0.75rem; }
/* Aufladen-Popover — premium dropdown style */
.ns-credits-pop {
  position: absolute; top: calc(100% + 0.65rem); right: 0;
  width: 320px; padding: 1.1rem 1.1rem 1rem;
  background: var(--ns-bg-raised); border: 1px solid var(--ns-border-med);
  border-radius: var(--ns-r-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity var(--ns-tf), transform var(--ns-tf);
  z-index: calc(var(--ns-z-topbar) + 5);
  color: var(--ns-text);
  font-weight: 400;
  cursor: default;
  text-align: left;
}
.ns-credits-wrap.is-open .ns-credits-pop {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.ns-credits-pop::before {
  content: ''; position: absolute;
  top: -6px; right: 1.5rem;
  width: 12px; height: 12px;
  background: var(--ns-bg-raised);
  border-left: 1px solid var(--ns-border-med);
  border-top: 1px solid var(--ns-border-med);
  transform: rotate(45deg);
}
/* Credits pop hero — profile link + big icon */
.ns-credits-pop-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ns-border);
}
.ns-credits-pop-link:hover .ns-credits-pop-arrow { opacity: 1; transform: translateX(0); }
.ns-credits-pop-hero {
  display: flex; align-items: center;
  gap: 1rem;
}
.ns-credits-pop-bigicon {
  font-size: 2.6rem;
  color: var(--ns-red-bright);
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(232,0,26,0.4));
  line-height: 1;
}
.ns-credits-pop-info {
  flex: 1;
}
.ns-credits-pop-info strong {
  display: block; font-size: 1.7rem; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; color: var(--ns-text);
}
.ns-credits-pop-sub {
  display: block; font-size: 0.72rem;
  color: var(--ns-text-dim);
  margin-top: 0.2rem;
}
.ns-credits-pop-arrow {
  color: var(--ns-text-dim); font-size: 0.75rem;
  opacity: 0; transform: translateX(-4px);
  transition: opacity var(--ns-tf), transform var(--ns-tf);
  flex-shrink: 0;
}
/* Rate as sentence (replaces pill) */
.ns-credits-pop-sentence {
  font-size: 0.75rem;
  color: var(--ns-text-dim);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.ns-credits-pop-points {
  display: flex; flex-direction: column; gap: 0.45rem;
  margin: 0.85rem 0 1rem;
}
.ns-credits-pop-point {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.81rem; color: var(--ns-text-muted);
  line-height: 1.4;
}
.ns-credits-pop-point i {
  width: 18px; flex-shrink: 0; text-align: center;
  color: var(--ns-red-bright); font-size: 0.78rem;
}

.ns-credits-pop-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ns-text-xdim);
  margin-bottom: 0.5rem;
}
.ns-credits-wrap.is-open .ns-credits-badge { background: rgba(232,0,26,0.16); }
.ns-credits-chevron {
  transition: transform 0.2s ease;
  font-size: 0.62rem !important;
}
.ns-credits-wrap.is-open .ns-credits-chevron { transform: rotate(180deg); }

.ns-credits-quickbtns {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem;
}
.ns-credits-quickbtns .ns-btn {
  padding: 0.6rem 0; justify-content: center;
  font-size: 0.9rem; font-weight: 700;
}

/* ── Inputs / Forms ───────────────────────────────────────────────────────── */
.ns-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--ns-border-med);
  border-radius: var(--ns-r-md);
  padding: 0.85rem 1rem;
  color: var(--ns-text);
  font-size: 0.95rem;
  transition: border-color var(--ns-tf), box-shadow var(--ns-tf), background var(--ns-tf);
  outline: none;
}
.ns-input::placeholder { color: var(--ns-text-dim); }
.ns-input:hover { border-color: rgba(255,255,255,0.18); }
.ns-input:focus {
  border-color: var(--ns-red);
  background: rgba(232,0,26,0.04);
  box-shadow: 0 0 0 3px rgba(232,0,26,0.15);
}

.ns-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ns-text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ns-field { margin-bottom: 1.25rem; position: relative; }

/* Validation error state */
.ns-input.is-error {
  border-color: var(--ns-red) !important;
  background: rgba(232,0,26,0.06) !important;
  box-shadow: 0 0 0 3px rgba(232,0,26,0.18) !important;
  animation: ns-shake 0.35s ease;
}
.ns-field-error {
  font-size: 0.75rem;
  color: var(--ns-red-bright);
  margin-top: 0.3rem;
  display: none;
}
.ns-field.has-error .ns-field-error { display: block; }
.ns-field.has-error .ns-input { border-color: var(--ns-red); background: rgba(232,0,26,0.05); }
@keyframes ns-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  40%      { transform: translateX(5px); }
  60%      { transform: translateX(-3px); }
  80%      { transform: translateX(3px); }
}

.ns-input-icon {
  position: relative;
}
.ns-input-icon .ns-input { padding-left: 2.75rem; }
.ns-input-icon .ns-field-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ns-text-dim);
  font-size: 0.9rem;
  pointer-events: none;
  transition: color var(--ns-tf);
}
.ns-input-icon:focus-within .ns-field-icon { color: var(--ns-red); }

/* ── Divider ──────────────────────────────────────────────────────────────── */
.ns-divider {
  height: 1px;
  background: var(--ns-border);
  border: none;
}

/* ── Navigation / Topbar ─────────────────────────────────────────────────── */
.ns-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--ns-z-topbar);
  padding: 1.25rem var(--ns-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--ns-tm), border-color var(--ns-tm), padding var(--ns-tm);
}
.ns-topbar.is-scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--ns-border);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.ns-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ns-text);
}
.ns-logo-mark {
  height: 27px;
  width: auto;
  display: block;
  flex-shrink: 0;
  opacity: 0.95;
}
.ns-logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--ns-text-dim);
  display: block;
  letter-spacing: 0.06em;
  line-height: 1;
}

.ns-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.ns-nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--ns-r-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ns-text-muted);
  transition: color var(--ns-tf), background var(--ns-tf);
}
.ns-nav-link:hover { color: var(--ns-text); background: var(--ns-bg-card); }
.ns-nav-link.is-active { color: var(--ns-text); }

.ns-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger */
.ns-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ns-bg-card);
  border: 1px solid var(--ns-border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background var(--ns-tf), border-color var(--ns-tf);
}
.ns-burger:hover { border-color: var(--ns-red-border); background: var(--ns-red-subtle); }
.ns-burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ns-text);
  border-radius: 2px;
  transition: transform var(--ns-tm), opacity var(--ns-tm), width var(--ns-tm);
}
.ns-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ns-burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.ns-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.ns-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--ns-z-topbar) - 1);
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ns-tm);
}
.ns-mobile-menu.is-open { opacity: 1; pointer-events: all; }
.ns-mobile-link {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ns-text-muted);
  letter-spacing: -0.02em;
  padding: 0.5rem 1rem;
  transition: color var(--ns-tf);
  opacity: 0;
  transform: translateY(20px);
}
.ns-mobile-link:hover { color: var(--ns-text); }
.ns-mobile-menu.is-open .ns-mobile-link {
  opacity: 1;
  transform: translateY(0);
}

/* ── Custom Cursor ────────────────────────────────────────────────────────── */
.ns-cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--ns-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--ns-z-cursor);
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ns-ease), height 0.3s var(--ns-ease), background 0.3s;
  mix-blend-mode: normal;
}
.ns-cursor.is-hovering {
  width: 40px; height: 40px;
  background: var(--ns-red-glow);
  border: 1px solid var(--ns-red);
}
.ns-cursor.is-clicking {
  width: 6px; height: 6px;
  background: var(--ns-red-bright);
}

/* ── Section Components ───────────────────────────────────────────────────── */
.ns-section-head {
  margin-bottom: var(--ns-space-md);
}
.ns-section-head.is-center { text-align: center; }
.ns-section-head .ns-kicker { margin-bottom: 0.75rem; }
.ns-section-head .ns-h2 { margin-bottom: 1rem; }
.ns-section-head p { max-width: 560px; color: var(--ns-text-muted); }
.ns-section-head.is-center p { margin: 0 auto; }

/* ── Glow Shapes ──────────────────────────────────────────────────────────── */
.ns-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.ns-glow-red {
  background: radial-gradient(circle, rgba(232,0,26,0.4) 0%, transparent 70%);
}

/* ── Scroll Reveal Base ───────────────────────────────────────────────────── */
.ns-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.ns-reveal.is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ── Separator Lines ──────────────────────────────────────────────────────── */
.ns-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ns-border), transparent);
  border: none;
}

/* ── Tag Pills ────────────────────────────────────────────────────────────── */
.ns-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--ns-r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: var(--ns-text-dim);
  border: 1px solid var(--ns-border);
  transition: background var(--ns-tf), color var(--ns-tf), border-color var(--ns-tf);
}
.ns-tag:hover, .ns-tag.is-active {
  background: var(--ns-red-subtle);
  color: var(--ns-red-bright);
  border-color: var(--ns-red-border);
}

/* ── Toast ────────────────────────────────────────────────────────────────── */
.ns-toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: calc(var(--ns-z-modal) + 10);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.ns-toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: var(--ns-bg-raised);
  border: 1px solid var(--ns-border-med);
  border-radius: var(--ns-r-lg);
  font-size: 0.88rem;
  font-weight: 500;
  max-width: 340px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: all;
}
.ns-toast.is-visible { opacity: 1; transform: translateY(0); }
.ns-toast.is-success { border-color: rgba(0,230,80,0.3); }
.ns-toast.is-error { border-color: var(--ns-red-border); }
.ns-toast.is-success i { color: #00e650; }
.ns-toast.is-error i { color: var(--ns-red); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.ns-footer {
  border-top: 1px solid var(--ns-border);
  padding: var(--ns-space-lg) 0 var(--ns-space-md);
  background: var(--ns-bg-alt);
}
.ns-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--ns-space-md);
}
.ns-footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ns-text-dim);
  max-width: 260px;
  line-height: 1.6;
}
.ns-footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ns-text-dim);
  margin-bottom: 1rem;
}
.ns-footer-col ul li + li { margin-top: 0.5rem; }
.ns-footer-col a {
  font-size: 0.875rem;
  color: var(--ns-text-muted);
  transition: color var(--ns-tf);
}
.ns-footer-col a:hover { color: var(--ns-text); }
.ns-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--ns-space-sm);
  border-top: 1px solid var(--ns-border-soft);
  font-size: 0.8rem;
  color: var(--ns-text-xdim);
}
.ns-footer-social {
  display: flex;
  gap: 0.75rem;
}
.ns-footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--ns-r-md);
  background: var(--ns-bg-card);
  border: 1px solid var(--ns-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--ns-text-dim);
  transition: color var(--ns-tf), border-color var(--ns-tf), background var(--ns-tf);
}
.ns-footer-social a:hover {
  color: var(--ns-red);
  border-color: var(--ns-red-border);
  background: var(--ns-red-subtle);
}

/* ── Keyframes ────────────────────────────────────────────────────────────── */
@keyframes ns-pulse-red {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--ns-red-glow); }
  50%       { opacity: 0.7; box-shadow: 0 0 28px var(--ns-red-glow); }
}
@keyframes ns-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ns-bounce-in {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes ns-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes ns-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes ns-glow-pulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.7; }
}

/* Shimmer skeleton */
.ns-skeleton {
  background: linear-gradient(90deg, var(--ns-bg-card) 25%, rgba(255,255,255,0.06) 50%, var(--ns-bg-card) 75%);
  background-size: 200% 100%;
  animation: ns-shimmer 1.4s infinite;
  border-radius: var(--ns-r-md);
}

/* ── Spinner ──────────────────────────────────────────────────────────────── */
.ns-spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--ns-border-med);
  border-top-color: var(--ns-red);
  border-radius: 50%;
  animation: ns-spin 0.7s linear infinite;
  display: inline-block;
}

/* ── Responsive Breakpoints ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ns-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ns-nav-links { display: none; }
  .ns-burger { display: flex; }
  /* Mobile: only logo + round burger visible — buttons move into the menu */
  .ns-nav-actions .ns-btn { display: none; }
}
@media (max-width: 640px) {
  .ns-footer-grid { grid-template-columns: 1fr; }
  .ns-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .ns-section { padding: var(--ns-space-lg) 0; }
}

/* ── Landing Page Styles ──────────────────────────────────────────────────── */

/* Hero */
.ns-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ns-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.ns-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(232,0,26,0.08) 0%, transparent 65%),
              linear-gradient(180deg, rgba(8,8,8,0) 60%, var(--ns-bg) 100%);
  pointer-events: none;
}
.ns-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 var(--ns-padding);
}
.ns-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(232,0,26,0.10);
  border: 1px solid var(--ns-red-border);
  border-radius: var(--ns-r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ns-red-bright);
  margin-bottom: 1.5rem;
}
.ns-hero-badge span.dot {
  width: 6px; height: 6px;
  background: var(--ns-red);
  border-radius: 50%;
  animation: ns-pulse-red 2s ease-in-out infinite;
}
.ns-hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin-bottom: 1.5rem;
}
.ns-hero-title .ns-line-word {
  display: inline-block;
  overflow: hidden;
}
.ns-hero-title .ns-line-word span {
  display: inline-block;
  will-change: transform, opacity;
}
.ns-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ns-text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
}
.ns-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}
.ns-hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: ns-float 3s ease-in-out infinite;
}
.ns-hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ns-text-dim);
}
.ns-hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--ns-red) 0%, transparent 100%);
}

/* Features Section */
.ns-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: var(--ns-space-md);
}
.ns-feature-card {
  background: var(--ns-bg-card);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-r-xl);
  padding: 2rem;
  transition: border-color var(--ns-tm), background var(--ns-tm), transform var(--ns-tm), box-shadow var(--ns-tm);
}
.ns-feature-card:hover {
  border-color: var(--ns-red-border);
  background: var(--ns-bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px var(--ns-red-subtle);
}
.ns-feature-icon {
  width: 52px; height: 52px;
  background: var(--ns-red-subtle);
  border: 1px solid var(--ns-red-border);
  border-radius: var(--ns-r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--ns-red);
  margin-bottom: 1.25rem;
}
.ns-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.ns-feature-card p { font-size: 0.9rem; color: var(--ns-text-muted); line-height: 1.65; }

/* Workflow Steps */
.ns-workflow {
  position: relative;
}
.ns-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: var(--ns-space-md);
}
.ns-workflow-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 1px;
  background: linear-gradient(90deg, var(--ns-red-border), var(--ns-red-border) 33%, var(--ns-red-border) 66%, var(--ns-red-border));
  z-index: 0;
}
.ns-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.ns-step-num {
  width: 56px; height: 56px;
  background: var(--ns-bg-raised);
  border: 1px solid var(--ns-red-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ns-red);
  margin: 0 auto 1.25rem;
  position: relative;
  box-shadow: 0 0 20px var(--ns-red-subtle);
}
.ns-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.ns-step p { font-size: 0.85rem; color: var(--ns-text-muted); }

/* Catalog Preview */
.ns-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: var(--ns-space-md);
}
.ns-preview-card {
  position: relative;
  border-radius: var(--ns-r-xl);
  overflow: hidden;
  background: var(--ns-bg-raised);
  border: 1px solid var(--ns-border);
  transition: border-color var(--ns-tm), box-shadow var(--ns-tm), transform var(--ns-tm);
  cursor: pointer;
}
.ns-preview-card:hover {
  border-color: var(--ns-red-border);
  box-shadow: 0 0 40px var(--ns-red-subtle);
  transform: translateY(-4px);
}
.ns-preview-video-wrap {
  aspect-ratio: 4864 / 384;
  overflow: hidden;
  background: #111;
}
.ns-preview-video-wrap video,
.ns-preview-video-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ns-preview-info {
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ns-preview-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.ns-preview-meta {
  font-size: 0.78rem;
  color: var(--ns-text-dim);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ns-preview-price {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ns-red-bright);
  padding: 0.3rem 0.8rem;
  background: var(--ns-red-subtle);
  border: 1px solid var(--ns-red-border);
  border-radius: var(--ns-r-full);
  white-space: nowrap;
}

/* Pricing */
.ns-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: var(--ns-space-md);
}
.ns-price-card {
  background: var(--ns-bg-card);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-r-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color var(--ns-tm), transform var(--ns-tm), box-shadow var(--ns-tm);
  position: relative;
  overflow: hidden;
}
.ns-price-card.is-featured {
  border-color: var(--ns-red-border);
  background: rgba(232,0,26,0.04);
  box-shadow: 0 0 60px var(--ns-red-subtle);
}
.ns-price-card.is-featured::before {
  content: 'Beliebt';
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.2rem 0.75rem;
  background: var(--ns-gradient);
  border-radius: var(--ns-r-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.ns-price-card:hover { transform: translateY(-6px); }
.ns-price-credits {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ns-text);
  margin-bottom: 0.25rem;
}
.ns-price-credits span { font-size: 1.2rem; font-weight: 400; color: var(--ns-text-dim); }
.ns-price-amount {
  font-size: 1.1rem;
  color: var(--ns-red);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.ns-price-per {
  font-size: 0.8rem;
  color: var(--ns-text-dim);
  margin-bottom: 2rem;
}
.ns-price-card ul { text-align: left; margin-bottom: 2rem; }
.ns-price-card ul li {
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--ns-text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ns-price-card ul li::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--ns-red-subtle);
  border: 1px solid var(--ns-red-border);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23e8001a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* FAQ */
.ns-faq { max-width: 720px; margin: 0 auto; }
.ns-faq-list { margin-top: var(--ns-space-md); }
.ns-faq-item {
  border-bottom: 1px solid var(--ns-border);
}
.ns-faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ns-text);
  cursor: pointer;
  gap: 1rem;
  transition: color var(--ns-tf);
}
.ns-faq-q:hover { color: var(--ns-red-bright); }
.ns-faq-q i {
  font-size: 0.85rem;
  color: var(--ns-red);
  transition: transform var(--ns-tm);
  flex-shrink: 0;
}
.ns-faq-item.is-open .ns-faq-q i { transform: rotate(180deg); }
.ns-faq-a {
  overflow: hidden;
  height: 0;
  transition: height var(--ns-tm);
}
.ns-faq-a-inner {
  padding: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--ns-text-muted);
  line-height: 1.7;
}

/* CTA Section */
.ns-cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: var(--ns-space-xl) 0;
}
.ns-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,0,26,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.ns-cta-section h2 { margin-bottom: 1rem; }
.ns-cta-section p {
  color: var(--ns-text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

/* Stat Numbers */
.ns-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ns-border);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-r-xl);
  overflow: hidden;
  margin-top: var(--ns-space-md);
}
.ns-stat {
  background: var(--ns-bg-alt);
  padding: 2rem;
  text-align: center;
}
.ns-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--ns-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ns-stat p { font-size: 0.85rem; color: var(--ns-text-dim); margin-top: 0.25rem; }

/* ── Responsive Landing ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ns-features-grid { grid-template-columns: repeat(2, 1fr); }
  .ns-workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .ns-workflow-steps::before { display: none; }
  .ns-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ns-preview-grid { grid-template-columns: 1fr; }
  .ns-stats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ns-features-grid { grid-template-columns: 1fr; }
  .ns-workflow-steps { grid-template-columns: 1fr; }
  .ns-pricing-grid { grid-template-columns: 1fr; }
  .ns-hero-cta { flex-direction: column; align-items: center; }
}

/* =============================================================================
   v2 — Apple-style Nav, 3D Coin, Credit Info, Confirm Modal, Smoothness
============================================================================= */

/* ── Performance / Smoothness ─────────────────────────────────────────────── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* (ns-reveal base + .is-in defined in Scroll Reveal Base section above) */
/* Anti-jank: promote animated layers */
.ns-feature-card, .ns-price-card, .ns-preview-card, .ns-video-card, .ns-step {
  transform: translateZ(0);
}

/* ── Floating Apple-style Nav ─────────────────────────────────────────────── */
.ns-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--ns-z-topbar);
  padding: 0.9rem var(--ns-padding);
  transition: padding var(--ns-tm);
}
.ns-nav-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem 0.55rem 1.1rem;
  border-radius: var(--ns-r-full);
  border: 1px solid transparent;
  transition: background var(--ns-tm), border-color var(--ns-tm), box-shadow var(--ns-tm), backdrop-filter var(--ns-tm);
}
.ns-nav.is-scrolled .ns-nav-inner {
  background: rgba(12, 10, 11, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-color: var(--ns-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Center menu */
.ns-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.ns-nav-item { position: relative; }
.ns-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--ns-r-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ns-text-muted);
  transition: color var(--ns-tf), background var(--ns-tf);
  cursor: pointer;
}
.ns-nav-trigger i { font-size: 0.62rem; transition: transform var(--ns-tm); opacity: 0.7; }
.ns-nav-trigger:hover { color: var(--ns-text); background: rgba(255,255,255,0.06); }
.ns-nav-item.is-open .ns-nav-trigger { color: #fff; background: rgba(255,255,255,0.06); }
.ns-nav-item.is-open .ns-nav-trigger i { transform: rotate(180deg); }

/* Dropdown panel */
.ns-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.98);
  width: 420px;
  background: rgba(10, 9, 10, 0.97);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--ns-r-xl);
  padding: 0.6rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.07);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ns-ease), transform 0.28s var(--ns-ease), visibility 0.28s;
}
.ns-nav-item.is-open .ns-dropdown {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0) scale(1);
}
.ns-dropdown::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(10,9,10,0.97);
  border-left: 1px solid rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.ns-dd-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--ns-r-lg);
  transition: background var(--ns-tf);
}
.ns-dd-link:hover { background: rgba(232,0,26,0.10); }
.ns-dd-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: var(--ns-r-md);
  background: var(--ns-red-subtle);
  border: 1px solid var(--ns-red-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ns-red);
  font-size: 0.9rem;
  transition: transform var(--ns-tm);
}
.ns-dd-link:hover .ns-dd-icon { transform: scale(1.08) translateY(-1px); }
.ns-dd-text strong { display: block; font-size: 0.88rem; font-weight: 600; color: #fff; }
.ns-dd-text span { font-size: 0.78rem; color: var(--ns-text-dim); }

/* Nav actions */
.ns-nav-actions { display: flex; align-items: center; gap: 0.6rem; }

/* ── 3D Coin ──────────────────────────────────────────────────────────────── */
.ns-coin {
  width: 100%;
  aspect-ratio: 1;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
  cursor: grab;
}
.ns-coin canvas { width: 100% !important; height: 100% !important; }
.ns-coin-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,0,26,0.45) 0%, transparent 65%);
  filter: blur(40px);
  z-index: -1;
  animation: ns-glow-pulse 4s ease-in-out infinite;
}

/* CSS fallback coin */
.ns-coin-css { perspective: 800px; display: flex; align-items: center; justify-content: center; }
.ns-coin-css-inner {
  position: relative;
  width: 62%; aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: ns-coin-spin 6s linear infinite;
}
.ns-coin-css-face {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ff4d63 0%, #e8001a 45%, #6b0000 100%);
  border: 6px solid rgba(255,180,180,0.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 800; color: #fff;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.4), 0 0 40px var(--ns-red-glow);
  backface-visibility: hidden;
}
.ns-coin-css-face span { font-size: 0.55rem; letter-spacing: 0.15em; margin-top: 0.3rem; opacity: 0.85; }
.ns-coin-css-back { transform: rotateY(180deg); }
@keyframes ns-coin-spin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

/* ── Credit Info Section ──────────────────────────────────────────────────── */
.ns-credit-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ns-credit-info-visual { position: relative; }
.ns-credit-points { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.ns-credit-point { display: flex; gap: 1rem; align-items: flex-start; }
.ns-credit-point-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--ns-r-md);
  background: var(--ns-red-subtle);
  border: 1px solid var(--ns-red-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ns-red); font-size: 1rem;
}
.ns-credit-point h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.2rem; }
.ns-credit-point p { font-size: 0.88rem; color: var(--ns-text-muted); line-height: 1.6; }
.ns-credit-rate {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0.6rem 1.1rem;
  background: var(--ns-red-subtle);
  border: 1px solid var(--ns-red-border);
  border-radius: var(--ns-r-full);
  font-size: 0.9rem; font-weight: 700; color: var(--ns-red-bright);
}

/* ── Confirm Modal (double-confirm checkout) ──────────────────────────────── */
.ns-confirm-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: var(--ns-z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--ns-tm);
}
.ns-confirm-backdrop.is-open { opacity: 1; pointer-events: all; }
.ns-confirm {
  position: relative;
  width: 100%; max-width: 460px;
  background: var(--ns-bg-raised);
  border: 1px solid var(--ns-border-med);
  border-radius: var(--ns-r-xl);
  padding: 2rem;
  text-align: center;
  transform: scale(0.92) translateY(10px);
  transition: transform var(--ns-tm);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.ns-confirm-backdrop.is-open .ns-confirm { transform: scale(1) translateY(0); }

/* Corner close button for confirm-style modals (round, top-right) */
.ns-confirm-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ns-bg-card);
  border: 1px solid var(--ns-border);
  color: var(--ns-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--ns-tf), color var(--ns-tf), border-color var(--ns-tf);
  z-index: 2;
}
.ns-confirm-close:hover { background: var(--ns-red-subtle); color: var(--ns-red); border-color: var(--ns-red-border); }

/* Inline alert (hidden until .is-visible) — fixes stray X icon showing centered */
.ns-alert {
  display: none;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  padding: 0.6rem 0.85rem;
  border-radius: var(--ns-r-md);
  font-size: 0.82rem;
  line-height: 1.4;
}
.ns-alert.is-visible { display: flex; }
.ns-alert-error { background: var(--ns-red-subtle); border: 1px solid var(--ns-red-border); color: var(--ns-red-bright); }
.ns-alert-error i { color: var(--ns-red); flex-shrink: 0; }
.ns-confirm-icon {
  width: 60px; height: 60px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--ns-red-subtle);
  border: 1px solid var(--ns-red-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--ns-red);
  animation: ns-pulse-red 2s ease-in-out infinite;
}
.ns-confirm h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.ns-confirm p { font-size: 0.9rem; color: var(--ns-text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.ns-confirm-summary {
  background: var(--ns-bg-card);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-r-lg);
  padding: 1rem 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
  max-height: 180px; overflow-y: auto;
}
.ns-confirm-line { display: flex; justify-content: space-between; font-size: 0.85rem; padding: 0.3rem 0; }
.ns-confirm-line.total { border-top: 1px solid var(--ns-border); margin-top: 0.4rem; padding-top: 0.6rem; font-weight: 800; color: var(--ns-red-bright); }
.ns-confirm-check {
  display: flex; align-items: flex-start; gap: 0.6rem; text-align: left;
  margin-bottom: 1.25rem; font-size: 0.82rem; color: var(--ns-text-muted);
}
.ns-confirm-check input { margin-top: 2px; accent-color: var(--ns-red); width: 16px; height: 16px; flex-shrink: 0; }
.ns-confirm-actions { display: flex; gap: 0.75rem; }
.ns-confirm-actions .ns-btn { flex: 1; justify-content: center; }

/* LED size mini-fields */
.ns-led-fields { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.5rem; align-items: center; margin-bottom: 1.25rem; }
.ns-led-fields .ns-input { text-align: center; padding: 0.6rem; }
.ns-led-x { color: var(--ns-text-dim); font-weight: 700; }

@media (max-width: 900px) {
  .ns-credit-info { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 1024px) {
  .ns-nav-menu { display: none; }
}

/* =============================================================================
   3D Sections, Custom Order, Tilt — Landing enhancements
============================================================================= */

/* ── 3D Tilt utility ──────────────────────────────────────────────────────── */
.ns-tilt {
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.16,1,0.3,1), box-shadow var(--ns-tm), border-color var(--ns-tm), background var(--ns-tm);
  will-change: transform;
}

/* ── 3D Objects Showcase (real WebGL) ─────────────────────────────────────── */
.ns-scene3d-section { position: relative; }
.ns-scene3d-glow {
  position: absolute; top: 50%; left: 30%;
  width: 600px; height: 600px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232,0,26,0.16) 0%, transparent 60%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}
.ns-scene3d-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem; align-items: center;
}
.ns-scene3d-stage { position: relative; }
.ns-scene3d-mount {
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  cursor: grab;
}
.ns-scene3d-mount canvas { width: 100% !important; height: 100% !important; }
/* CSS fallback orb */
.ns-scene3d-css { display: flex; align-items: center; justify-content: center; }
.ns-scene3d-orb {
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ff4d63 0%, #e8001a 45%, #6b0000 100%);
  box-shadow: 0 0 80px var(--ns-red-glow), inset 0 0 40px rgba(0,0,0,0.4);
  animation: ns-float 5s ease-in-out infinite;
}
.ns-scene3d-copy .ns-h2 { margin-bottom: 0; }
.ns-scene3d-points { display: flex; flex-direction: column; gap: 1.1rem; }
.ns-scene3d-point { display: flex; gap: 0.85rem; align-items: flex-start; }
.ns-scene3d-point > span {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: var(--ns-r-md);
  background: var(--ns-red-subtle); border: 1px solid var(--ns-red-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ns-red); font-size: 1rem;
}
.ns-scene3d-point strong { display: block; font-size: 0.98rem; font-weight: 700; margin-bottom: 0.15rem; }
.ns-scene3d-point p { font-size: 0.85rem; color: var(--ns-text-muted); line-height: 1.5; }

/* ── Marquee strip (3D depth band) ────────────────────────────────────────── */
.ns-marquee {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--ns-border); border-bottom: 1px solid var(--ns-border);
  background: var(--ns-bg);
  padding: 1.6rem 0;
  transform: perspective(600px) rotateX(2deg);
}
.ns-marquee-track {
  display: flex; gap: 3rem; width: max-content;
  animation: ns-marquee-scroll 28s linear infinite;
}
.ns-marquee:hover .ns-marquee-track { animation-play-state: paused; }
.ns-marquee-item {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: clamp(1.1rem, 2.4vw, 1.8rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--ns-text-dim);
  white-space: nowrap;
}
.ns-marquee-item i { color: var(--ns-red); font-size: 0.7em; }
@keyframes ns-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Custom Order Section ─────────────────────────────────────────────────── */
.ns-custom-order {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--ns-bg-alt) 0%, var(--ns-bg) 100%);
  border-top: 1px solid var(--ns-border); border-bottom: 1px solid var(--ns-border);
}
.ns-custom-order-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ns-custom-order-bg::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 50%; height: 80%;
  background: radial-gradient(ellipse, rgba(232,0,26,0.08) 0%, transparent 65%);
  border-radius: 50%;
}
.ns-co-deco { position: absolute; border: 1px solid rgba(232,0,26,0.15); border-radius: 10px; animation: ns-float 10s ease-in-out infinite; }
.ns-co-deco-1 { width: 84px; height: 84px; top: 12%; right: 8%; transform: rotate(28deg); }
.ns-co-deco-2 { width: 52px; height: 52px; bottom: 18%; left: 5%; transform: rotate(-18deg); animation-delay: -4s; }
.ns-co-deco-3 { width: 38px; height: 38px; top: 56%; right: 16%; transform: rotate(12deg); animation-delay: -7s; opacity: 0.6; }
.ns-co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ns-co-info .ns-h2 { margin-bottom: 1.25rem; line-height: 1.05; }
.ns-co-info > p { color: var(--ns-text-muted); line-height: 1.7; margin-bottom: 1.75rem; max-width: 480px; }
.ns-co-benefits { display: flex; flex-direction: column; gap: 0.7rem; }
.ns-co-benefits li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.92rem; color: var(--ns-text-muted); }
.ns-co-benefits li i { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ns-red); font-size: 0.72rem; }
.ns-co-form-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--ns-border-med);
  border-radius: var(--ns-r-xl);
  padding: 2.25rem;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,0,26,0.05);
}
.ns-co-form-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; }
.ns-co-form-card > p { font-size: 0.84rem; color: var(--ns-text-muted); margin-bottom: 1.5rem; }
.ns-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ns-form-grp { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.ns-form-grp:last-child { margin-bottom: 0; }
.ns-form-grp .ns-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ns-text-muted); }
.ns-co-success { text-align: center; padding: 2rem 1rem; display: none; }
.ns-co-success i { font-size: 2.5rem; color: #00e650; margin-bottom: 0.75rem; display: block; }
.ns-co-success h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.ns-co-success p { font-size: 0.88rem; color: var(--ns-text-muted); }
.ns-co-error { font-size: 0.83rem; color: var(--ns-red); margin-bottom: 0.75rem; display: none; }

@media (max-width: 900px) {
  .ns-co-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ns-form-row-2 { grid-template-columns: 1fr; }
  .ns-co-deco { display: none; }
  .ns-scene3d-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ns-scene3d-stage { order: -1; }
  .ns-scene3d-mount { max-width: 360px; }
}
