/* ═══════════════════════════════════════════
   DESIGN SYSTEM — J-SPOT Product Page
   ═══════════════════════════════════════════ */
:root {
  --bg: #030712; /* Deep cyber dark */
  --surface: rgba(17, 24, 39, 0.6); /* Glassmorphic card surface */
  --surface-hover: rgba(31, 41, 55, 0.8);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(37, 99, 235, 0.4);
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --purple: #7c3aed;
  --green: #22c55e;
  --green-light: #4ade80;
  --cyan: #06b6d4;
  --radius: 20px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

body {
  font-family: 'Sora', sans-serif;
  background-color: var(--bg);
  color: var(--text-muted);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
  position: relative;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, opacity 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

body:has(a:hover) .cursor-ring {
  width: 60px;
  height: 60px;
  background: rgba(96, 165, 250, 0.08);
  border-color: transparent;
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-light), var(--cyan));
  z-index: 10000;
  transform-origin: left;
  transform: scaleX(0);
  width: 100%;
}

/* ═══════════════════════════════════════════
   NOISE & GRID BACKGROUND
   ═══════════════════════════════════════════ */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 50%, transparent 95%);
  pointer-events: none;
}

/* Animated gradient orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.25;
}

.bg-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -100px;
  left: -150px;
  animation: orbFloat1 25s ease-in-out infinite;
}

.bg-orb--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  bottom: -150px;
  right: -200px;
  animation: orbFloat2 30s ease-in-out infinite;
}

.bg-orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: 40%;
  right: 10%;
  animation: orbFloat3 22s ease-in-out infinite;
  opacity: 0.15;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, 40px) scale(1.1); }
  66% { transform: translate(-30px, -20px) scale(0.9); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -50px) scale(1.05); }
  66% { transform: translate(40px, 60px) scale(0.95); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.15); }
}

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.jspot-section {
  position: relative;
  padding: 0 24px 96px;
  z-index: 1;
}

.jspot-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* ═══════════════════════════════════════════
   REVEAL SYSTEM
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   COMPONENTS
   ═══════════════════════════════════════════ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 0;
  margin-top: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.back-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-muted);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.back-link:hover {
  color: var(--accent-light);
  transform: translateX(-4px);
}

.back-link:hover::after {
  background: var(--accent-light);
  transform: scaleX(1);
  transform-origin: left;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.jspot-hero {
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}

.jspot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.jspot-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.jspot-wordmark {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 16px;
}

.jspot-wordmark span {
  color: var(--accent-light);
}

.jspot-headline {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
}

.jspot-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.jspot-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.jspot-sub strong {
  color: var(--text);
  font-weight: 600;
}

/* CTAs */
.jspot-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.jspot-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
}

.jspot-cta:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.35);
}

.jspot-cta-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.jspot-cta-demo:hover {
  border-color: var(--accent-light);
  background: rgba(96, 165, 250, 0.06);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   MASCOT - JOTA
   ═══════════════════════════════════════════ */
.mascote-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mascote-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

.mascote-svg {
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 32px rgba(37, 99, 235, 0.25));
  transition: filter 0.3s;
}

.mascote-svg:hover {
  filter: drop-shadow(0 16px 40px rgba(34, 197, 94, 0.35));
}

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

@keyframes signal-pulse {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes eye-blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.05); }
}

@keyframes antenna-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; filter: drop-shadow(0 0 6px #60a5fa); }
}

.mascote-eye {
  animation: eye-blink 5s ease-in-out infinite;
  transform-origin: center;
}

.mascote-eye-r {
  animation: eye-blink 5s 0.2s ease-in-out infinite;
  transform-origin: center;
}

.mascote-antenna {
  animation: antenna-glow 2s ease-in-out infinite;
}

.signal-1 { animation: signal-pulse 1.8s 0s ease-in-out infinite; }
.signal-2 { animation: signal-pulse 1.8s 0.3s ease-in-out infinite; }
.signal-3 { animation: signal-pulse 1.8s 0.6s ease-in-out infinite; }

/* ═══════════════════════════════════════════
   SECTION LABELS
   ═══════════════════════════════════════════ */
.jspot-section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 64px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.jspot-section-label::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.2), transparent);
}

/* ═══════════════════════════════════════════
   PROOF STATS
   ═══════════════════════════════════════════ */
.jspot-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.proof-stat {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s ease;
}

.proof-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.05);
}

.proof-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Space Mono', monospace;
}

.proof-number span {
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ═══════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════ */
.jspot-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.06);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

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

/* ═══════════════════════════════════════════
   CHECKLIST
   ═══════════════════════════════════════════ */
.jspot-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--green-light);
}

/* ═══════════════════════════════════════════
   TECH PILLS
   ═══════════════════════════════════════════ */
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 64px;
}

.tech-pill {
  font-size: 0.8rem;
  font-family: 'Space Mono', monospace;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.04);
  transition: all 0.3s ease;
  cursor: default;
}

.tech-pill:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */
.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  margin-bottom: 64px;
}

.pricing-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.pricing-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 6px;
}

.pricing-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.pricing-price {
  text-align: right;
}

.pricing-from {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.pricing-value sup {
  font-size: 1.1rem;
  vertical-align: top;
  margin-top: 4px;
  color: var(--accent-light);
}

.pricing-value sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--green-light);
  font-size: 0.72rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pricing-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features-list li i {
  color: var(--green);
  font-size: 0.75rem;
}

.pricing-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   FOOTER BAR
   ═══════════════════════════════════════════ */
.jspot-footer-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.jspot-footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jspot-footer-logo {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.05em;
}

.jspot-footer-logo span {
  color: var(--accent-light);
}

.jspot-footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
  position: relative;
  z-index: 10;
  padding: 48px 24px;
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--border);
  background: var(--bg);
  opacity: 0.8;
}

footer a {
  color: var(--accent-light);
  text-decoration: none;
  transition: opacity 0.2s;
}

footer a:hover {
  opacity: 0.8;
}

/* ═══════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .jspot-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  .mascote-wrap {
    display: none; /* Hide mascot on mobile to save space */
  }

  .pricing-card {
    padding: 24px;
  }

  .pricing-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-price {
    text-align: left;
  }
}
