/* ========================================================================
   KLARVISTA — Klinik Hassasiyet
   Design tokens
   ------------------------------------------------------------------------
   Palette: obsidian ink + clinical paper + one optical-blue accent.
   Type: Inter (display + body) paired with JetBrains Mono for spec numerals.
   Signature: microscope reticle motif + mono spec strings.
   ======================================================================== */

:root {
  /* colors */
  --ink:       #0d0d0f;   /* deep near-black */
  --ink-2:     #1c1c1e;   /* elevated dark surface */
  --paper:     #fbfbfd;   /* clinical white */
  --fog:       #f5f5f7;   /* neutral gray surface */
  --mist:      #86868b;   /* mid gray text */
  --line:      #e5e5e7;   /* hairline dividers */
  --optical:   #0055ff;   /* signature accent - deeper than Apple blue */
  --wa:        #25d366;   /* WhatsApp brand */
  --wa-dark:   #128c7e;

  /* type */
  --f-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono:    'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  /* motion */
  --e-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --e-in:   cubic-bezier(0.7, 0, 0.84, 0);

  /* layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --radius-lg: 28px;
}

/* ========== reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ========== utility: eyebrow (labeling device) ========== */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}
.eyebrow--light { color: rgba(255,255,255,0.5); }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--optical);
  box-shadow: 0 0 0 4px rgba(0, 85, 255, 0.12);
}
.eyebrow__dot--light {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
}

/* ========== section head ========== */
.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 60px;
}
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.section-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

/* ========== buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--e-out), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: #000; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--fog); }

.btn--wa {
  background: var(--wa);
  color: #fff;
}
.btn--wa:hover { background: var(--wa-dark); box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.5); }
.btn--lg { padding: 18px 32px; font-size: 17px; }

.btn--link {
  padding: 0;
  color: var(--optical);
  font-weight: 500;
  border-radius: 0;
}
.btn--link:hover { text-decoration: underline; }
.btn--link--light { color: #6ea8ff; }

/* ========================================================================
   NAV
   ======================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: padding 0.35s var(--e-out), background 0.35s ease, border-color 0.35s ease;
}
.nav.is-scrolled {
  padding: 10px 0;
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 980px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, transform 0.3s var(--e-out);
}
.nav__cta:hover { background: #000; transform: translateY(-1px); }
.nav__cta-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.3);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37,211,102,0.3); }
  50%      { box-shadow: 0 0 0 6px rgba(37,211,102,0.0); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__reticle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
  pointer-events: none;
}
.hero__reticle svg {
  width: min(90vh, 90vw);
  height: min(90vh, 90vw);
}

.hero__content {
  max-width: 720px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero__title em {
  font-style: normal;
  font-weight: 400;
  color: var(--optical);
  /* subtle text-mask feel */
  background: linear-gradient(180deg, var(--optical), #4285f4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--mist);
  margin: 0 0 40px;
  line-height: 1.45;
  font-weight: 400;
}
.hero__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

/* spec strip: signature detail */
.specs {
  display: inline-flex;
  gap: 0;
  padding: 12px 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
}
.specs li {
  padding: 4px 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-right: 1px solid var(--line);
}
.specs li:last-child { border-right: none; }
.specs__label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}
.specs__val {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
@media (max-width: 520px) {
  .specs li { padding: 4px 12px; }
  .specs__val { font-size: 12px; }
}

/* Hero product visual - subtle parallax */
.hero__product {
  position: absolute;
  right: -8vw;
  bottom: -6vw;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  opacity: 0.35;
  filter: grayscale(20%) contrast(1.05);
  will-change: transform;
  transition: opacity 0.6s ease;
  mask-image: radial-gradient(circle at center, #000 55%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, #000 55%, transparent 75%);
}
.hero__product img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (min-width: 1100px) {
  .hero__product { opacity: 0.5; }
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1.5px solid var(--mist);
  border-radius: 12px;
  z-index: 3;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 8px;
  background: var(--mist);
  border-radius: 2px;
  animation: scroll-cue 2s ease infinite;
}
@keyframes scroll-cue {
  0%   { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}

/* ========================================================================
   CATEGORY GRID
   ======================================================================== */
.cats {
  padding: 120px 0;
  background: var(--paper);
}
/* Category rail — scroll affordance (arrows + edge fade + progress) */
.cats__wrap {
  position: relative;
}
.cats__arrow {
  position: absolute;
  top: calc(50% + 12px);
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 12px 32px -8px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s var(--e-out), transform 0.3s var(--e-out), background 0.2s;
  padding: 0;
}
.cats__arrow:hover {
  background: var(--fog);
  transform: translateY(-50%) scale(1.06);
}
.cats__arrow:active { transform: translateY(-50%) scale(0.97); }
.cats__arrow[disabled] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
}
.cats__arrow--prev { left: 20px; }
.cats__arrow--next { right: 20px; }

.cats__wrap::before,
.cats__wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 30px;
  width: 80px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.cats__wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper) 15%, transparent);
}
.cats__wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--paper) 15%, transparent);
}
.cats__wrap.has-prev::before { opacity: 1; }
.cats__wrap.has-next::after { opacity: 1; }

.cats__progress {
  position: relative;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin: 20px var(--gutter) 0;
  overflow: hidden;
}
.cats__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
  width: 25%;
  transition: left 0.15s ease, width 0.15s ease;
}

@media (max-width: 720px) {
  .cats__arrow { display: none; }
  .cats__progress { margin-top: 16px; }
}

.cats__rail {
  display: flex;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cats__rail::-webkit-scrollbar { display: none; }

.cat {
  flex: 0 0 320px;
  scroll-snap-align: start;
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--fog);
  transition: transform 0.5s var(--e-out);
  will-change: transform;
}
@media (max-width: 560px) {
  .cat { flex-basis: 78vw; height: 380px; }
}
.cat:hover { transform: translateY(-6px); }

.cat__img {
  position: absolute;
  inset: 0;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center 36%;
  background-size: 72%;
  transition: transform 1.2s var(--e-out), filter 0.5s ease;
}
.cat:hover .cat__img { transform: scale(1.05); }

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}

.cat__meta {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 28px;
  color: #fff;
  z-index: 2;
}
.cat__num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 8px;
}
.cat__meta h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.cat__meta p {
  font-size: 13px;
  margin: 0;
  color: rgba(255,255,255,0.7);
}

/* ========================================================================
   FEATURED (dark)
   ======================================================================== */
.featured {
  background: var(--ink);
  color: #fff;
  padding: 140px var(--gutter);
  position: relative;
  overflow: hidden;
}
.featured::before {
  /* subtle reticle motif in bg */
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.15), transparent 60%);
  pointer-events: none;
}
.featured__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .featured__grid { grid-template-columns: 1fr; }
}

.featured__title {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 24px;
}
.featured__title em {
  font-style: normal;
  color: #4285f4;
  background: linear-gradient(180deg, #6ea8ff, #4285f4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.featured__desc {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0 0 32px;
  max-width: 500px;
}
.featured__specs {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 40px;
}
.featured__specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
}
.featured__specs span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.featured__specs b {
  font-weight: 500;
  color: #fff;
  text-align: right;
}
.featured__actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.featured__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 4/5;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.featured__visual img {
  width: 100%; height: 100%; object-fit: cover;
  animation: featured- ken 18s ease-in-out infinite alternate;
  transform-origin: center center;
}
.featured__visual:hover img { animation-play-state: paused; }
@keyframes featured-ken {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-2%, 1%); }
}

.featured__badge {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--f-mono);
}
.featured__badge span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.featured__badge b {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

/* ========================================================================
   PRODUCTS GRID
   ======================================================================== */
.products {
  padding: 140px 0;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--fog);
  border-radius: 980px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mist);
  white-space: nowrap;
  transition: all 0.25s var(--e-out);
}
.tab:hover { color: var(--ink); }
.tab.is-active {
  background: var(--ink);
  color: #fff;
}

.grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  background: var(--fog);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--e-out), box-shadow 0.4s ease;
  will-change: transform;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  min-height: 0;
}
.card__img {
  aspect-ratio: 1 / 1;
  width: 100%;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  position: relative;
}
.card__img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.7s var(--e-out);
}
.card:hover .card__img img { transform: scale(1.05); }

.card__tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}

.card__body {
  padding: 22px 22px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
.card__desc {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.card__model {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.05em;
}
.card__more {
  font-size: 13px;
  font-weight: 500;
  color: var(--optical);
}
.card__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 22px 22px;
  padding: 10px 14px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.25s, transform 0.3s var(--e-out);
}
.card__wa:hover { background: var(--wa); transform: translateY(-1px); }

/* ========================================================================
   BRANDS marquee
   ======================================================================== */
.brands {
  padding: 100px 0;
  background: var(--fog);
  overflow: hidden;
}
.brands__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.brands__track {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: marquee 40s linear infinite;
  width: max-content;
  padding: 20px 0;
}
.brands__track span {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.5;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.brands__track span:hover { opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========================================================================
   CONTACT
   ======================================================================== */
.contact {
  background: var(--ink);
  color: #fff;
  padding: 160px var(--gutter);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(37, 211, 102, 0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 85, 255, 0.1), transparent 40%);
  pointer-events: none;
}
.contact__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.contact__title {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 20px;
}
.contact__title em {
  font-style: normal;
  color: var(--wa);
  background: linear-gradient(180deg, #4ade80, var(--wa));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 40px;
}
.contact__meta {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .contact__meta { grid-template-columns: 1fr; gap: 24px; text-align: center; }
}
.contact__meta span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 8px;
}
.contact__meta p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.5;
}
.contact__meta a {
  color: inherit;
  text-decoration: none;
}
.contact__meta a:hover {
  color: #fff;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  background: #000;
  color: rgba(255,255,255,0.4);
  padding: 32px 0;
  font-size: 12px;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.footer p { margin: 0; }

/* ========================================================================
   FLOATING WA BUBBLE
   ======================================================================== */
.wa-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px -6px rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: transform 0.35s var(--e-out), box-shadow 0.3s ease;
}
.wa-fab::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wa);
  opacity: 0.4;
  animation: wa-ripple 2.4s ease-out infinite;
}
@keyframes wa-ripple {
  0%   { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-fab:hover { transform: scale(1.08); }

/* ========================================================================
   PRODUCT DETAIL PAGE
   ======================================================================== */
.pd {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter) 100px;
  isolation: isolate;
}
.pd::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(0, 85, 255, 0.10), transparent 55%),
    radial-gradient(560px circle at 85% 15%, rgba(37, 211, 102, 0.10), transparent 55%),
    radial-gradient(700px circle at 70% 90%, rgba(0, 85, 255, 0.07), transparent 60%);
  background-color: var(--paper);
  animation: pd-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes pd-drift {
  from { background-position: 0% 0%, 100% 0%, 100% 100%; }
  to   { background-position: 6% 10%, 92% 8%, 82% 88%; }
}
.pd__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--mist);
  margin-bottom: 40px;
}
.pd__crumb a:hover { color: var(--ink); }
.pd__hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
}
@media (max-width: 900px) {
  .pd__hero { grid-template-columns: 1fr; gap: 32px; }
}
.pd__gallery { display: flex; flex-direction: column; gap: 12px; }
.pd__main {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.25);
  transition: transform 0.5s var(--e-out), box-shadow 0.5s ease;
}
.pd__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.pd__main:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -28px rgba(0, 85, 255, 0.35);
}
.pd__main:hover::after { opacity: 1; }
.pd__main img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.6s var(--e-out);
}
.pd__main:hover img { transform: scale(1.04); }
.pd__main--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd__noimg {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.pd__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 600px;
}
.pd__thumb {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.25s var(--e-out);
}
.pd__thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.pd__thumb:hover { transform: translateY(-2px); }
.pd__thumb.is-active { border-color: var(--optical); }

@media (max-width: 768px) {
  .pd__main {
    padding: 20px;
    max-width: 100%;
  }
  .pd__thumbs { max-width: 100%; }
}

.pd__tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--fog);
  margin-bottom: 12px;
}
.pd__model {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--mist);
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}
.pd__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.pd__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mist);
  margin: 0 0 28px;
}
.pd__spec-list {
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}
.pd__spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.pd__spec-list span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.pd__spec-list b { font-weight: 500; text-align: right; }
.pd__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pd__section {
  margin-bottom: 64px;
  max-width: 860px;
}
.pd__section h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.pd__features {
  display: grid;
  gap: 12px;
}
.pd__features li {
  position: relative;
  padding: 14px 16px 14px 40px;
  background: var(--fog);
  border-radius: 12px;
  font-size: 15px;
}
.pd__features li::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--optical);
  transform: translateY(-50%);
}
.pd__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.pd__table th,
.pd__table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.pd__table th {
  width: 40%;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mist);
}
.pd__reviews {
  display: grid;
  gap: 16px;
}
.pd__review {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--fog);
}
.pd__review-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.pd__review-top strong { display: block; font-size: 15px; }
.pd__review-top span { font-size: 12px; color: var(--mist); }
.pd__stars {
  color: var(--optical);
  letter-spacing: 1px;
  font-size: 14px;
  white-space: nowrap;
}
.pd__review p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #3a3a3c;
}

/* ========================================================================
   REVEAL animation (JS toggles .is-in)
   ======================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ══════════════ SHOWCASE (Vitrindekiler carousel) ══════════════ */
.showcase { padding: 100px 0; background: var(--paper); }
.showcase__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  padding: 0 var(--gutter);
}
.showcase__head .eyebrow { justify-content: center; }
.showcase__head .section-title { margin: 0 0 16px; }
.showcase__sub { color: var(--mist); font-size: 16px; margin: 0; }

.showcase__wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.showcase__arrow {
  position: absolute; top: 45%; transform: translateY(-50%);
  z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 12px 32px -8px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s var(--e-out), transform 0.3s var(--e-out);
}
.showcase__arrow:hover { transform: translateY(-50%) scale(1.06); }
.showcase__arrow--prev { left: -4px; }
.showcase__arrow--next { right: -4px; }
.showcase__arrow[disabled] { opacity: 0.25; pointer-events: none; }

.showcase__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 20px) / 5);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0;
}
.showcase__rail::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) { .showcase__rail { grid-auto-columns: calc((100% - 3*20px)/4); } }
@media (max-width: 900px)  { .showcase__rail { grid-auto-columns: calc((100% - 2*20px)/3); } }
@media (max-width: 720px)  {
  .showcase__rail { grid-auto-columns: calc((100% - 20px)/2); }
  .showcase__arrow { display: none; }
}
@media (max-width: 480px)  { .showcase__rail { grid-auto-columns: 80%; } }

.showcase-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--e-out), box-shadow 0.3s ease, border-color 0.3s;
}
.showcase-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.showcase-card__img {
  aspect-ratio: 1;
  padding: 28px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.showcase-card__img img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  transition: transform 0.5s var(--e-out);
}
.showcase-card:hover .showcase-card__img img { transform: scale(1.04); }
.showcase-card__body { padding: 0 20px 20px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.showcase-card__title {
  font-size: 13px; font-weight: 500; color: var(--ink);
  margin: 0; line-height: 1.4; min-height: 36px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.showcase-card__wa {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--ink); color: #fff;
  border-radius: 100px; font-size: 12px; font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.showcase-card__wa:hover { background: var(--wa); transform: translateY(-1px); }

.showcase__dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 32px;
}
.showcase__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: none; padding: 0; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.showcase__dot.is-active { background: var(--ink); transform: scale(1.25); }
