*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0d0d0d;
  --surface:      #161616;
  --surface-2:    #1e1e1e;
  --border:       #282828;
  --primary:      #ff4e00;
  --primary-dark: #d94200;
  --text:         #eeeeee;
  --text-muted:   #888888;
  --nav-h:        60px;
  --radius:       10px;
}

html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  height: var(--nav-h);
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav-logo span { color: var(--primary); }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s;
}

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

/* ─── Spotlight layout ─── */
.spotlight {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
}

/* ─── Left: image panel ─── */
.image-panel {
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
}

.main-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 48px;
  transition: opacity 0.22s ease;
}

.main-image.fade { opacity: 0; }

.thumbnails {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.thumb {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  background: var(--surface-2);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover { transform: scale(1.04); }

.thumb.active,
.thumb:hover { border-color: var(--primary); }

/* ─── Right: info panel ─── */
.info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  overflow-y: auto;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 78, 0, 0.1);
  border: 1px solid rgba(255, 78, 0, 0.25);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  width: fit-content;
}

.price-sale {
  text-decoration: line-through;
  opacity: 0.5;
}

.product-name {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.product-name em {
  color: var(--primary);
  font-style: normal;
}

.product-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 440px;
}

.features {
  list-style: none;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

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

.feat-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: rgba(255, 78, 0, 0.12);
  border: 1px solid rgba(255, 78, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-check svg { display: block; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  align-self: flex-start;
  letter-spacing: -0.01em;
}

.cta-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 78, 0, 0.28);
}

/* ─── Alennuskoodi-boksi ─── */
.discount-box {
  background: rgba(255, 78, 0, 0.05);
  border: 1px solid rgba(255, 78, 0, 0.28);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discount-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.discount-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
}

.discount-pct {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.discount-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.discount-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 6px;
  flex: 1;
}

.discount-copy {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.discount-copy:hover {
  background: rgba(255, 78, 0, 0.1);
  border-color: rgba(255, 78, 0, 0.3);
  color: var(--primary);
}

.discount-copy.copied {
  color: #5cb85c;
  border-color: rgba(92, 184, 92, 0.35);
  background: rgba(92, 184, 92, 0.07);
}

.discount-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cta-note {
  margin-top: 16px;
  font-size: 0.76rem;
  color: #4a4a4a;
  line-height: 1.6;
}

.cta-note a {
  color: #5a5a5a;
  transition: color 0.15s;
}

.cta-note a:hover { color: var(--text-muted); }

/* ─── Tietosuoja page ─── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
}

.page-hero {
  padding: 80px 0 52px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.prose { max-width: 720px; padding-bottom: 80px; }

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 44px 0 12px;
  letter-spacing: -0.02em;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.prose ul {
  color: var(--text-muted);
  padding-left: 20px;
  list-style: disc;
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.prose li { margin-bottom: 5px; }

.prose a { color: var(--primary); }
.prose a:hover { color: var(--primary-dark); }

.page-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.page-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.page-footer a { color: var(--text-muted); transition: color 0.15s; }
.page-footer a:hover { color: var(--text); }

/* ─── Mobile ─── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }

  .spotlight {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .image-panel {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .main-image-wrap { height: 300px; flex: none; }
  .main-image { padding: 24px; }

  .info-panel {
    padding: 40px 24px 52px;
    justify-content: flex-start;
  }

  .product-name { font-size: 2rem; }

  .cta-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .main-image-wrap { height: 240px; }
}
