/* ====================================================
   KELEK · Product Detail Pages — Apple-style
   ==================================================== */

@font-face {
  font-family: 'Etelka Wide';
  src: url('../fonts/EtelkaWideMediumPro.otf') format('opentype');
  font-weight: 400 600; font-display: swap;
}
@font-face {
  font-family: 'Etelka Wide';
  src: url('../fonts/EtelkaWideMediumPro-Bold.otf') format('opentype');
  font-weight: 700 900; font-display: swap;
}
@font-face {
  font-family: 'Etelka';
  src: url('../fonts/EtelkaLightPro.otf') format('opentype');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Etelka';
  src: url('../fonts/EtelkaMediumProBold.otf') format('opentype');
  font-weight: 700; font-display: swap;
}

:root {
  --black: #000;
  --ink: #0a0a0a;
  --graphite: #1d1d1f;
  --carbon: #2a2a2d;
  --steel: #424245;
  --silver: #86868b;
  --mist: #BBC1C4;
  --cloud: #f5f5f7;
  --paper: #fbfbfd;
  --white: #fff;
  --kelek-blue: #0082CA;
  --kelek-blue-deep: #005a8f;
  --pn-green: #7CB342;
  --pn-deep: #558B2F;
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 48px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.accent-blue { --accent: var(--kelek-blue); --accent-deep: var(--kelek-blue-deep); }
body.accent-pn   { --accent: var(--pn-green);   --accent-deep: var(--pn-deep); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Etelka', 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ===== UTIL BAR + NAV ===== */
.utilbar {
  background: var(--graphite);
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.utilbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utilbar a:hover { color: var(--accent); }
.utilbar-right { display: flex; gap: 24px; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 251, 253, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 32px; }
.nav-menu { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
  border-radius: 8px;
  transition: all 0.2s var(--ease);
  position: relative;
}
.nav-link:hover { color: var(--black); background: rgba(0,0,0,0.04); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 16px; right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.cta-mini {
  padding: 10px 22px;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.cta-mini:hover { background: var(--carbon); }

/* ===== BREADCRUMB ===== */
.dp-crumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--silver);
}
.dp-crumb a:hover { color: var(--accent); }
.dp-crumb .sep { padding: 0 8px; opacity: 0.5; }

/* ===== HERO ===== */
.dp-hero {
  position: relative;
  min-height: 80vh;
  background: linear-gradient(180deg, #0a0a0a 0%, #1d1d1f 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 60px 0;
  overflow: hidden;
}
.dp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.dp-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}
.dp-eyebrow {
  display: inline-block;
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 6px 14px;
  background: rgba(0, 130, 202, 0.12);
  border: 1px solid rgba(0, 130, 202, 0.28);
  border-radius: 999px;
}
body.accent-pn .dp-eyebrow {
  background: rgba(124, 179, 66, 0.12);
  border-color: rgba(124, 179, 66, 0.28);
}
.dp-title {
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  /* Prevent ugly single-character wrapping (e.g. "USB-C" splitting "C" alone) */
  hyphens: manual;
  overflow-wrap: break-word;
  word-break: normal;
}
.dp-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
.dp-sub {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 300;
}
.dp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.dp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease);
}
.dp-btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 8px 24px rgba(0, 130, 202, 0.3);
}
body.accent-pn .dp-btn-primary { color: var(--white); box-shadow: 0 8px 24px rgba(124, 179, 66, 0.4); }
.dp-btn-primary:hover { transform: translateY(-2px); }
.dp-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.dp-btn-ghost:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

.dp-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}
.dp-hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 130, 202, 0.4) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 0;
  animation: dp-float 6s ease-in-out infinite;
}
body.accent-pn .dp-hero-glow {
  background: radial-gradient(circle, rgba(124, 179, 66, 0.4) 0%, transparent 60%);
}
@keyframes dp-float {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
.dp-hero-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 560px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6));
  animation: dp-bob 6s ease-in-out infinite;
}
@keyframes dp-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== SECTIONS ===== */
.dp-eyebrow-light {
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 16px;
}
.dp-headline {
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ===== SPECS ===== */
.dp-specs {
  padding: 100px 0 80px;
  background: var(--paper);
}
.dp-specs-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.dp-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dp-spec {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s var(--ease);
}
.dp-spec:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.dp-spec-num {
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.dp-spec-num span {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-left: 2px;
}
.dp-spec-lbl {
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ===== FEATURES ===== */
.dp-features {
  padding: 80px 0 100px;
  background: var(--cloud);
}
.dp-feat-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.dp-feat-list {
  display: grid;
  gap: 18px;
}
.dp-feat-list li {
  position: relative;
  padding: 18px 22px 18px 56px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.04);
  font-size: 15px;
  line-height: 1.5;
  color: var(--graphite);
  transition: all 0.2s var(--ease);
}
.dp-feat-list li::before {
  content: '✓';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
body.accent-pn .dp-feat-list li::before { background: var(--pn-green); }
.dp-feat-list li:hover { border-color: var(--accent); transform: translateX(4px); }

/* ===== DEMO VIDEO ===== */
.dp-demo {
  padding: 120px 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #1d1d1f 100%);
  color: var(--white);
}
.dp-demo .dp-eyebrow-light { color: var(--accent); }
.dp-demo .dp-headline { color: var(--white); }
.dp-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.dp-demo-video-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #000;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.06) inset;
}
.dp-demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dp-demo-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin: 20px 0 40px;
  max-width: 520px;
}
.dp-demo-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dp-demo-steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  transition: all 0.3s var(--ease);
}
.dp-demo-steps li:hover {
  background: rgba(0,130,202,0.08);
  border-color: rgba(0,130,202,0.4);
  transform: translateX(4px);
}
.dp-step-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--white);
  display: grid; place-items: center;
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(0,130,202,0.35);
}
.dp-demo-steps li > div {
  display: flex; flex-direction: column; gap: 4px;
}
.dp-demo-steps strong {
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.dp-demo-steps span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .dp-demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .dp-demo-video-wrap { max-width: 480px; margin: 0 auto; }
}

/* ===== RELATED ===== */
.dp-related {
  padding: 100px 0;
  background: var(--paper);
}
.dp-related-head { text-align: center; margin-bottom: 60px; }
.dp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dp-related-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dp-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.dp-related-img {
  aspect-ratio: 1/1;
  background: var(--cloud);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 18px;
}
.dp-related-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dp-related-cat {
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}
.dp-related-name {
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.dp-related-tagline {
  font-size: 13px;
  color: var(--steel);
  margin-top: 4px;
}

/* ===== FINAL ===== */
.dp-final {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 130, 202, 0.15) 0%, transparent 70%),
    linear-gradient(180deg, var(--graphite) 0%, var(--ink) 100%);
  color: var(--white);
  text-align: center;
}
body.accent-pn .dp-final {
  background:
    radial-gradient(ellipse at center, rgba(124, 179, 66, 0.15) 0%, transparent 70%),
    linear-gradient(180deg, var(--graphite) 0%, var(--ink) 100%);
}
.dp-final .dp-eyebrow-light { color: var(--accent); }
.dp-final-title {
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.dp-final-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ===== FOOTER ===== */
.dp-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 60px 0 24px;
}
.dp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.dp-footer-brand img { filter: brightness(0) invert(1); height: 32px; margin-bottom: 14px; }
.dp-footer-brand p { font-size: 13px; line-height: 1.6; color: var(--silver); max-width: 320px; }
.dp-footer-col h4 {
  font-family: 'Etelka Wide', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--white);
}
.dp-footer-col ul li { margin-bottom: 8px; }
.dp-footer-col a { font-size: 14px; color: var(--silver); }
.dp-footer-col a:hover { color: var(--accent); }
.dp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 12px;
  color: var(--silver);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dp-hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 24px; }
  .dp-hero-visual { min-height: 400px; }
  .dp-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-feat-grid { grid-template-columns: 1fr; gap: 32px; }
  .dp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
}
@media (max-width: 640px) {
  .dp-specs-grid { grid-template-columns: 1fr; }
  .dp-related-grid { grid-template-columns: 1fr; }
  .dp-footer-grid { grid-template-columns: 1fr; }
}
