/* neuroscientific.shop styles */

/* ============================================================================
   FONTS
   ========================================================================= */

@font-face {
  font-family: 'Sen';
  src: url('fonts/Sen/static/Sen-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sen';
  src: url('fonts/Sen/static/Sen-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sen';
  src: url('fonts/Sen/static/Sen-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sen';
  src: url('fonts/Sen/static/Sen-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================================================
   BASE
   ========================================================================= */

:root {
  --header-h: 88px;
  --color-bg: #222;
  --color-surface: #333;
  --color-text: #fff;
  --color-muted: #999;
  --color-accent-pink: #EE2B7B;
  --color-accent-orange: #F7931A;
  --color-accent-red: #F25C4E;
  --color-accent-green: #4CAF50;
  --color-accent-blue: #2F80ED;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Sen', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

body::-webkit-scrollbar {
  display: none;
}

/* ============================================================================
   NAVIGATION
   ========================================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(34, 34, 34, 0.95);
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-chip {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-block;
  overflow: hidden;
}

.brand-logo-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #EE2B7B, #F25C4E, #F7931A, #4CAF50, #2F80ED, #EE2B7B, #F25C4E, #F7931A, #4CAF50, #2F80ED, #EE2B7B, #F25C4E, #F7931A, #4CAF50, #2F80ED, #EE2B7B);
  background-size: 300% 100%;
  animation: gradient 4s linear infinite;
}

.brand-logo-stencil {
  position: absolute;
  inset: 0;
  background-image: url('assets/intomind_logo_stencil_222.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nav-links {
  display: none;
  gap: 24px;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-accent-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none !important;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(34, 34, 34, 0.98);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 10px 0;
    font-size: 1.1rem;
  }
}

/* ============================================================================
   HERO SECTION
   ========================================================================= */

.page {
  padding-top: var(--header-h);
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.hero-content {
  max-width: 700px;
  text-align: center;
}

.hero-tag {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px 0;
  color: #666;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px 0;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.hero-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.price-presale {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent-pink);
}

.price-context {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.price-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent-pink);
}

.price-retail {
  font-size: 1rem;
  color: #666;
}

.cta-btn {
  display: inline-block;
  padding: 16px 48px;
  font-family: 'Sen', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent-pink);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background: var(--color-accent-red);
  transform: scale(1.02);
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ============================================================================
   PRODUCT DESCRIPTION
   ========================================================================= */

.product-description {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px 24px;
  text-align: left;
}

.product-description p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ccc;
  margin: 0 0 16px 0;
}

.contact-line {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  font-size: 0.9rem;
  color: var(--color-muted);
  text-align: center;
}

.contact-line a {
  color: var(--color-accent-blue);
  text-decoration: none;
}

.contact-line a:hover {
  color: var(--color-text);
}

/* ============================================================================
   PRODUCT VIEWER
   ========================================================================= */

.product-viewer {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.viewer-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
}

.viewer-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-muted);
  font-family: 'Sen', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.viewer-btn:first-child {
  border-radius: 4px 0 0 4px;
}

.viewer-btn:last-child {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.viewer-btn:hover {
  color: var(--color-text);
}

.viewer-btn.active {
  color: var(--color-text);
  border-color: var(--color-accent-blue);
  background: rgba(47, 128, 237, 0.1);
}

.viewer-panel {
  display: none;
}

.viewer-panel.active {
  display: block;
}

#stl-canvas {
  width: 100%;
  height: 50vh;
  display: block;
  border-radius: 8px;
}

.photo-gallery {
  width: 100%;
}

.photo-main {
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  overflow: hidden;
}

.photo-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.photo-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

.thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.thumb:hover {
  opacity: 0.8;
}

.thumb.active {
  opacity: 1;
}

.viewer-disclosure {
  margin-top: 12px;
  font-size: 0.75rem;
  color: #666;
  text-align: center;
}

/* ============================================================================
   PRODUCT DETAILS — TABS
   ========================================================================= */

.product-details {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.tab {
  background: none;
  border: none;
  color: var(--color-muted);
  font-family: 'Sen', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 24px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.tab:hover {
  color: var(--color-text);
}

.tab.active {
  color: var(--color-text);
}

.tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--color-accent-blue);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.product-details h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.spec-list {
  list-style: none;
  padding: 0;
}

.spec-list li {
  position: relative;
  padding-left: 1.5em;
  margin: 12px 0;
  font-size: 1rem;
  color: #ccc;
}

.spec-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--color-accent-blue);
  font-weight: 700;
}

.warnings {
  margin-top: 40px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--color-accent-orange);
  border-radius: 4px;
}

.warnings p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ============================================================================
   TERMS
   ========================================================================= */

.terms {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.terms h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.terms p {
  color: #ccc;
  margin-bottom: 16px;
}

.terms ol {
  padding-left: 1.5em;
  color: #ccc;
}

.terms ol li {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ============================================================================
   FOOTER
   ========================================================================= */

.site-footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ============================================================================
   ANIMATION (logo scroller only)
   ========================================================================= */

@keyframes gradient {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
