:root {
  --paper: #f5f1e9;
  --paper-deep: #ebe4d8;
  --ink: #171a19;
  --muted: #656a66;
  --line: rgba(23, 26, 25, .14);
  --teal: #175c58;
  --orange: #d97745;
  --white: #fffdfa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.product-page {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.surface-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.surface-skip {
  position: fixed;
  z-index: 100;
  left: 18px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.surface-skip:focus { transform: translateY(0); }

.surface-header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 233, .94);
}

.surface-header--transparent { background: transparent; }

.surface-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.surface-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.03em;
  text-decoration: none;
}

.surface-brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 3px 8px 3px 8px;
  background: var(--orange);
  transform: rotate(-10deg);
}

.surface-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.surface-nav a,
.surface-back { text-decoration: none; }

.surface-nav a:hover,
.surface-nav a:focus-visible,
.surface-back:hover,
.surface-back:focus-visible { color: var(--teal); }

.surface-nav__accent {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 9px;
}

.surface-eyebrow {
  margin: 0 0 20px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hub-hero { padding: 100px 0 80px; }

.hub-hero__inner { text-align: center; }

.hub-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -.065em;
}

.hub-hero h1 span { color: var(--teal); }

.hub-hero__lead {
  max-width: 680px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.family-line {
  width: min(390px, 70%);
  height: 26px;
  margin: 58px auto 0;
  display: flex;
  align-items: center;
}

.family-line span { height: 1px; flex: 1; background: var(--line); }

.family-line i {
  width: 9px;
  height: 9px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 96px;
}

.product-card {
  min-height: 540px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
  overflow: hidden;
}

.product-card--design {
  border: 1px solid rgba(23, 26, 25, .12);
  background:
    linear-gradient(135deg, transparent 62%, rgba(23, 26, 25, .04) 62% 63%, transparent 63%),
    var(--white);
}

.product-card--audit { color: var(--white); background: var(--teal); }

.product-card__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.product-monogram {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 15px;
  font-size: 19px;
  font-weight: 800;
}

.product-state {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-state--live { color: var(--white); border-color: rgba(255, 255, 255, .25); }

.product-state--live i {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #a8d4b7;
}

.product-card__family {
  margin: 0 0 10px;
  color: inherit;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  opacity: .65;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 0 0 22px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.06em;
}

.product-card h2 span { color: var(--orange); }

.product-card p:not(.product-card__family) {
  max-width: 520px;
  margin: 0;
  font-size: 17px;
  line-height: 1.68;
  opacity: .76;
}

.surface-button {
  width: fit-content;
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease;
}

.surface-button:hover { transform: translateY(-2px); }

.surface-button:focus-visible,
.surface-brand:focus-visible,
.surface-nav a:focus-visible,
.surface-back:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.surface-button--light { color: var(--ink); background: var(--paper); }
.surface-button--dark { color: var(--white); background: var(--ink); }
.surface-button--outline { color: var(--ink); border-color: var(--ink); }
.surface-button--text { padding-inline: 4px; color: var(--ink); }

.tools-band {
  margin-bottom: 96px;
  padding: clamp(28px, 5vw, 52px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.tools-band h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.045em; }
.tools-band p:not(.surface-eyebrow) { max-width: 690px; margin: 0; color: var(--muted); line-height: 1.65; }

.surface-footer { border-top: 1px solid var(--line); }

.surface-footer__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

/* TasarımX geçiş yüzü */
.product-page--design {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 74% 48%, rgba(217, 119, 69, .12), transparent 24%),
    var(--paper-deep);
}

.surface-back { font-size: 14px; font-weight: 700; }

.design-main { flex: 1; display: flex; align-items: center; }

.design-hero {
  min-height: 650px;
  padding-block: 72px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
}

.design-hero__copy h1 {
  margin: 0;
  font-size: clamp(66px, 9vw, 118px);
  line-height: .9;
  letter-spacing: -.075em;
}

.design-hero__copy h1 span { color: var(--orange); }

.design-hero__copy h2 {
  max-width: 560px;
  margin: 32px 0 20px;
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.design-hero__copy > p:not(.surface-eyebrow) {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.design-actions { margin-top: 34px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.design-composition {
  position: relative;
  min-height: 520px;
}

.design-plane {
  position: absolute;
  border: 1px solid rgba(23, 26, 25, .28);
  background: rgba(255, 253, 250, .42);
  box-shadow: 0 24px 70px rgba(55, 44, 30, .08);
}

.design-plane--one { inset: 8% 3% 22% 17%; transform: rotate(-8deg); }
.design-plane--two { inset: 20% 16% 8% 7%; transform: rotate(6deg); }
.design-plane--three { inset: 29% 8% 14% 24%; border-color: var(--orange); transform: rotate(-1deg); }

.design-axis { position: absolute; background: rgba(23, 26, 25, .24); }
.design-axis--x { left: 0; right: 0; top: 51%; height: 1px; }
.design-axis--y { top: 2%; bottom: 2%; left: 52%; width: 1px; }

.design-label {
  position: absolute;
  left: 2%;
  top: 46%;
  padding: 5px 7px;
  color: var(--muted);
  background: var(--paper-deep);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.design-label--end { left: auto; right: 2%; top: auto; bottom: 47%; }
.surface-footer--design { background: rgba(245, 241, 233, .35); }

@media (max-width: 820px) {
  .surface-container { width: min(100% - 32px, 680px); }
  .hub-hero { padding: 72px 0 60px; }
  .product-grid { grid-template-columns: 1fr; padding-bottom: 68px; }
  .product-card { min-height: 460px; }
  .tools-band { align-items: flex-start; flex-direction: column; margin-bottom: 68px; }
  .design-hero { min-height: auto; grid-template-columns: 1fr; padding-block: 64px; gap: 42px; }
  .design-composition { min-height: 360px; }
}

@media (max-width: 560px) {
  .surface-header__inner { min-height: 68px; }
  .surface-nav { gap: 14px; }
  .surface-nav > a:first-child { display: none; }
  .surface-nav__accent { padding: 9px 12px; }
  .hub-hero h1 { font-size: clamp(44px, 14vw, 62px); }
  .hub-hero__lead { font-size: 16px; }
  .product-card { min-height: 430px; border-radius: 18px; }
  .surface-footer__inner { padding-block: 24px; align-items: flex-start; flex-direction: column; }
  .surface-back { font-size: 13px; }
  .design-hero__copy h1 { font-size: clamp(64px, 22vw, 90px); }
  .design-composition { min-height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .surface-button { transition: none; }
}
