/* =========================
   NovaScripts / NovaKeys — Premium Neon Dark Theme
   - Glassmorphism cards, neon glows, gradient background
   - Smooth reveals, hover/tilt, responsive grid
   - Mobile-first, utility-ish classes to avoid repetition
   ========================= */

:root{
  --nav-h: 64px; /* your nav height */
  --logo-size: clamp(160px, 22vw, 240px);
}

/* Ensure intro + hero logos are identical sizes */
.logo-hero,
.intro-logo{ width: var(--logo-size) }


/* Dark native controls everywhere */
:root { color-scheme: dark; }

/* Tiny wordmark (logo + text) */
.brand{
  display:inline-flex; align-items:center; gap:10px;
  font: 800 22px/1.1 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.brand img{ width:32px; height:32px; border-radius:8px; display:block }
.brand .name{ letter-spacing:.2px }


/* Themed inputs/selects */
.nova-input,
.nova-select{
  width:100%;
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding:12px 14px;
  color:var(--text);
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nova-input::placeholder{ color: var(--muted); }
.nova-input:focus,
.nova-select:focus{
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 0 3px rgba(138,92,255,.22), var(--glow-violet);
}

/* Custom arrow for the select */
.nova-select{
  padding-right:42px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat:no-repeat;
  background-position: right 12px center;
  background-size:18px;
}
.nova-select::-ms-expand{ display:none; } /* old Edge */

/* Dropdown list tone (supported in most modern browsers) */
.nova-select option{ background:#0b0b1e; color:var(--text); }

/* === Pill-shaped dropdown with neon hover hue === */
.nova-select,
.nova-input{
  border-radius: 999px;          /* circular edges (pill) */
  min-height: 44px;
  padding-left: 16px;
  padding-right: 42px;           /* room for arrow */
  cursor: pointer;
}

/* Keep arrow + add overlay gradients as separate layers so we can hue on hover */
.nova-select{
  background-color: rgba(255,255,255,.06);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>"),
    radial-gradient(120% 120% at 80% -20%, rgba(41,231,255,0), transparent 40%),
    radial-gradient(120% 120% at -20% 120%, rgba(138,92,255,0), transparent 40%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: right 12px center, 0 0, 0 0;
  background-size: 18px, 100% 100%, 100% 100%;
  transition: background-image .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nova-select:hover{
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 3px rgba(138,92,255,.18), 0 0 18px rgba(138,92,255,.28);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>"),
    radial-gradient(120% 120% at 80% -20%, rgba(41,231,255,.12), transparent 40%),
    radial-gradient(120% 120% at -20% 120%, rgba(138,92,255,.12), transparent 40%);
}

.nova-select:focus{
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 0 4px rgba(138,92,255,.22), 0 0 22px rgba(41,231,255,.25);
}

/* Dark popup sheet (supported on modern browsers) */
.nova-select option{
  background: #0b0b1e;
  color: var(--text);
}


/* Filter animation for cards */
.product-card{
  opacity:1;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .18s ease;
}
.product-card.hide{
  opacity:0; transform: translateY(6px) scale(.98); pointer-events:none;
}

/* --- Stock UI (status only) --- */
.stock-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 12px; border-radius:999px; font-size:12px; font-weight:700;
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
}
.stock-pill.in{ border-color: rgba(41,231,255,.45); color: #b9f7ff; box-shadow: 0 0 12px rgba(41,231,255,.25) inset }
.stock-pill.oos{ border-color: rgba(255,122,122,.55); color:#ffb3b3; background: rgba(255,0,0,.06) }

.btn[disabled], .btn.disabled{ opacity:.6; filter:grayscale(.35); cursor:not-allowed; }

.product-card.oos{ position:relative }
.product-card.oos::after{
  content:'OUT OF STOCK'; position:absolute; top:12px; right:-36px; transform: rotate(12deg);
  background: linear-gradient(90deg, #ff63c3, #8a5cff); color:#fff; padding:6px 14px; border-radius:10px;
  box-shadow: var(--glow-violet); font-weight:800; letter-spacing:.6px; opacity:.92
}



/* Small helper text */
.note{ color:var(--muted); font-size:14px }


:root{
  --bg-0: #070714;            /* base */
  --bg-1: #0b0b1e;            /* elevated bg */
  --text: #e7e7f2;
  --muted: #a8a8c7;

  --violet: #8a5cff;          /* primary accent */
  --aqua:   #29e7ff;          /* secondary accent */
  --pink:   #ff63c3;

  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.14);

  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 6px 18px rgba(0,0,0,.25);
  --shadow-md: 0 12px 30px rgba(0,0,0,.35);

  --glow-violet: 0 0 12px rgba(138,92,255,.6), 0 0 24px rgba(138,92,255,.35);
  --glow-aqua:   0 0 12px rgba(41,231,255,.6), 0 0 24px rgba(41,231,255,.35);

  --container: 1200px;
}

/* Reset-ish */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; color:var(--text); background: var(--bg-0);
  font: 500 16px/1.6 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  min-height:100dvh; display:flex; flex-direction:column;
  background-image:
     radial-gradient(1000px 600px at -10% -10%, rgba(138,92,255,.23), transparent 55%),
     radial-gradient(800px 500px at 110% 10%, rgba(41,231,255,.18), transparent 60%),
     radial-gradient(600px 400px at 50% 120%, rgba(255,99,195,.14), transparent 60%);
  background-attachment: fixed,fixed,fixed;
  animation: bgShift 26s linear infinite;
}
@keyframes bgShift{
  0%{background-position: 0 0, 0 0, 0 0}
  50%{background-position: 10% 6%, -6% 8%, 0% -8%}
  100%{background-position: 0 0, 0 0, 0 0}
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
button{font:inherit}

.container{width:100%; max-width:var(--container); margin-inline:auto; padding-inline:20px}

.section{padding:64px 0}
.section-tight{padding:36px 0}
.section-title{
  font-weight:800; font-size: clamp(24px, 4.4vw, 42px); line-height:1.1; margin:0 0 14px;
  letter-spacing:.2px;
}
.lede{color:var(--muted); margin:0 0 22px; font-size: clamp(14px, 2.6vw, 18px)}

.text-gradient{
  background: linear-gradient(92deg, var(--aqua), var(--violet) 55%, var(--pink));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* NAV */
:root{
  --nav-h: 64px;           /* consistent navbar height */
  --logo-nav-size: 28px;   /* one logo size everywhere */
}

/* NAV — unified across all pages */
.nav{
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(10,10,22,.85), rgba(10,10,22,.55));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  height: var(--nav-h); padding: 0; /* no per-page drift */
}
.nav a.logo{
  display:inline-flex; align-items:center; gap:10px; font-weight:800; line-height:1;
}
.nav a.logo img{
  width: var(--logo-nav-size); height: var(--logo-nav-size); display:block; /* kill baseline wiggle */
}

/* Keep links perfectly centered vertically and identically padded everywhere */
.nav .links{
  display:flex; align-items:center; gap:18px; flex-wrap: nowrap; /* no wrap = no height jump */
}
.nav .links a{
  display:inline-flex; align-items:center; justify-content:center;
  height: 40px; padding: 0 10px; border-radius:10px; line-height:1; /* identical hitbox */
  opacity:.9;
}
@media (max-width: 640px){
  .nav .links{ gap:10px; flex-wrap: wrap; } /* allow wrap only on small screens */
}

.nav .links a.active,
.nav .links a:hover{opacity:1; background:rgba(255,255,255,.06)}


/* HERO */
.hero{position:relative; padding:86px 0 56px}
.hero-grid{display:grid; gap:28px; grid-template-columns:1fr}
.hero-badge{display:inline-flex; align-items:center; gap:8px; padding:6px 10px; font-size:12px; border-radius:999px;
  background: rgba(255,255,255,.06); border:1px solid var(--glass-border)}
.hero h1{margin:10px 0}
.typewriter{
  position:relative; white-space:nowrap; overflow:hidden; border-right:2px solid var(--aqua); padding-right:6px;
}

/* CARDS / GLASS */
.card{
  background: var(--glass); border:1px solid var(--glass-border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.card.pad{padding:22px}
.card:hover{border-color: rgba(255,255,255,.22)}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius: 14px; border:1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor:pointer; user-select:none; text-decoration:none;
}
.btn:active{transform: translateY(1px)}
.btn.primary{
  background: linear-gradient(90deg, var(--violet), #6b40ff 60%);
  color:white; box-shadow: var(--glow-violet);
}
.btn.primary:hover{box-shadow: 0 0 0 3px rgba(138,92,255,.25), var(--glow-violet)}
.btn.ghost{
  background: rgba(255,255,255,.06); color:var(--text);
  border-color: rgba(255,255,255,.18);
}
.btn.ghost:hover{border-color: rgba(255,255,255,.35)}
.btn.aqua{
  background: linear-gradient(90deg, var(--aqua), #02b9ce 60%); color:#001217; box-shadow: var(--glow-aqua)
}
.badge{
  display:inline-block; font-size:12px; padding:6px 10px; border-radius:999px;
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14)
}

/* PRODUCT GRID */
.products-grid{
  display:grid; gap:18px; grid-template-columns:1fr;
}
.product-card{
  position:relative; overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card .media{aspect-ratio: 16 / 9; overflow:hidden; border-radius:12px; margin-bottom:12px}
.product-card .media img{width:100%; height:100%; object-fit:cover; transform: scale(1.02)}
.product-card .meta{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:6px}
.product-card .title{font-weight:700; font-size:18px; margin:0}
.product-card .price{font-weight:800; letter-spacing:.3px}
.product-card .actions{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}
.product-card:hover{transform: translateY(-4px)}
/* Fancy product card hover */
.product-card {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.product-card .media img {
  transition: transform .4s ease;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 0 20px rgba(138,92,255,.4),
    0 0 40px rgba(41,231,255,.25);
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(18px);
}
.product-card:hover .media img {
  transform: scale(1.08) rotateZ(.5deg);
}
.product-card:hover .badge {
  box-shadow: 0 0 8px rgba(138,92,255,.6);
}
/* 3D tilt surface */
.tilt{transform-style: preserve-3d; will-change: transform; perspective: 800px}
.tilt > *{transform: translateZ(0.01px)} /* preserve crispness */

/* REVIEWS */
.carousel{position:relative}
.carousel-track{display:grid; grid-template-columns: repeat(3, 1fr); gap:18px}
.review-card{padding:18px}
.stars{letter-spacing:2px; font-size:14px; color:#ffd76c}
.carousel .arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
  width:44px; height:44px; border-radius:12px; display:grid; place-items:center; cursor:pointer;
}
.carousel .arrow:hover{border-color: rgba(255,255,255,.35)}
.carousel .arrow.prev{left:-6px}
.carousel .arrow.next{right:-6px}

/* FAQ (support) */
.faq{display:grid; gap:12px}
.faq details{border-radius:12px; border:1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); padding:12px 14px}
.faq summary{cursor:pointer; font-weight:700}
.faq p{color:var(--muted); margin:10px 0 0}

/* HOME FOOTER */
body.home .footer-inner{
    display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px; /* space between brand and links */
}

body.home .footer-inner .muted{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}


/* FOOTER */
.footer{margin-top:auto; border-top: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03)}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 0; color:var(--muted); flex-wrap:wrap}


/* REVEAL ANIMATIONS (scroll) */
.reveal{opacity:0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform}
.reveal.in-view{opacity:1; transform: none}
.fade-in{opacity:0; animation: fadeIn .8s ease forwards}
@keyframes fadeIn{to{opacity:1}}

/* UTILITIES */
.grid-2{display:grid; gap:18px; grid-template-columns:1fr}
.grid-3{display:grid; gap:18px; grid-template-columns:1fr}
.center{display:grid; place-items:center}
.muted{color:var(--muted)}
.mt-2{margin-top:12px} .mt-3{margin-top:18px} .mt-4{margin-top:26px} .mt-6{margin-top:40px}
.mb-0{margin-bottom:0}

/* RESPONSIVE */
@media (min-width: 680px){
  .hero-grid{grid-template-columns: 1.2fr .8fr; align-items:center}
  .grid-2{grid-template-columns: repeat(2,1fr)}
  .grid-3{grid-template-columns: repeat(3,1fr)}
  .products-grid{grid-template-columns: repeat(2,1fr)}
  .carousel-track{grid-template-columns: repeat(3, 1fr)}
}
@media (min-width: 1024px){
  .products-grid{grid-template-columns: repeat(3,1fr)}
}

/* PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  body{animation:none; background-attachment: scroll}
  .reveal{transition:none}
}

/* TABLES / TERMS */
.table{width:100%; border-collapse: collapse}
.table th,.table td{padding:10px 12px; border-bottom:1px dashed rgba(255,255,255,.12); text-align:left}

/* Support page tweaks */
.btn.lg{padding:16px 22px; font-size:18px; border-radius:16px}
.btn.block{width:100%}
.btn.outline{background:transparent; border:1px solid rgba(255,255,255,.18)}
.btn.outline:hover{border-color:rgba(255,255,255,.35)}
.back-link{display:inline-flex; gap:8px; align-items:center; padding:8px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.18)}
.back-link:hover{border-color:rgba(255,255,255,.35)}
.faq details{padding:14px 16px}
.faq details + details{margin-top:10px}
.faq summary{list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"▾"; float:right; opacity:.7; transition:transform .2s ease}
details[open] summary::after{transform:rotate(180deg)}
