.page-referanslar {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 46%, #eef5ff 100%);
}

.page-referanslar main {
  padding-top: 72px;
}

.ref-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 13vw, 150px) 0 clamp(56px, 8vw, 92px);
}

.ref-hero-bg,
.ref-hero-grid,
.ref-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ref-hero-bg {
  background:
    radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.14), transparent 26%),
    radial-gradient(circle at 92% 18%, rgba(20, 184, 166, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.94));
}

.ref-hero-grid {
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.6;
}

.ref-hero-glow {
  background:
    radial-gradient(circle at 82% 35%, rgba(14, 165, 233, 0.18), transparent 22%),
    radial-gradient(circle at 18% 78%, rgba(99, 102, 241, 0.14), transparent 24%);
}

.ref-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ref-hero-label,
.ref-section-title,
.ref-cta-title {
  font-family: var(--font-head);
}

.ref-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 165, 233, 0.18);
}

.ref-hero-title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
  margin-bottom: 18px;
}

.ref-hero-sub,
.ref-section-lead,
.ref-cta-sub {
  max-width: 66ch;
  color: var(--text-muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.ref-hero-sub {
  margin-bottom: 24px;
}

.ref-stats-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.ref-stat-value {
  font-weight: 800;
  color: var(--accent-text);
}

.ref-stat-label,
.ref-stat-cities {
  color: var(--text-muted);
}

.ref-stat-sep {
  color: rgba(71, 85, 105, 0.55);
}

.ref-products-visual,
.ref-list,
.ref-cta {
  position: relative;
}

.ref-products-visual {
  padding: 18px 0 22px;
}

.ref-list {
  padding: 24px 0 72px;
}

.ref-section-title {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 12px;
}

.ref-section-lead {
  margin-bottom: 28px;
}

.ref-products-grid,
.ref-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.ref-product-visual,
.ref-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 255, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ref-product-visual {
  padding: 22px;
}

.ref-product-visual:hover,
.ref-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.24);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
}

.ref-product-visual-img {
  display: grid;
  align-content: space-between;
  justify-items: start;
  min-height: 172px;
  padding: 20px;
  margin-bottom: 16px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.ref-product-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.84);
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.ref-product-index svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ref-product-kicker {
  color: rgba(15, 23, 42, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ref-product-visual h3,
.ref-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 10px;
}

.ref-product-visual p,
.ref-card-summary {
  color: var(--text-muted);
  line-height: 1.65;
}

.ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.ref-filters select {
  min-height: 48px;
  min-width: 220px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
}

.ref-city-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ref-city-badge {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ref-city-badge:hover {
  transform: translateY(-1px);
  color: var(--accent-text);
  border-color: rgba(14, 165, 233, 0.24);
}

.ref-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  text-decoration: none;
  text-align: left;
}

.ref-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #dfe7ef;
}

.ref-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 22px;
}

.ref-card-city {
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.ref-card-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.ref-card-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.10);
  color: var(--accent-text);
  font-size: 0.78rem;
  font-weight: 700;
}

.card-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.card-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ref-cta {
  padding: 0 0 88px;
}

.ref-cta .container {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 255, 0.90)),
    radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.18), transparent 30%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.10);
}

.ref-cta-sub {
  margin: 12px 0 22px;
}

.ref-cta .btn-cta {
  min-width: 180px;
}

@media (max-width: 900px) {
  .page-referanslar main {
    padding-top: 64px;
  }

  .ref-hero {
    padding: 88px 0 44px;
  }

  .ref-products-grid,
  .ref-cards {
    grid-template-columns: 1fr;
  }

  .ref-filters select {
    width: 100%;
    min-width: 0;
  }
}

/* Clear-text override */
.page-referanslar,
.page-referanslar h1,
.page-referanslar h2,
.page-referanslar h3,
.page-referanslar h4,
.page-referanslar h5,
.page-referanslar h6,
.page-referanslar p,
.page-referanslar li,
.page-referanslar span,
.page-referanslar strong,
.page-referanslar a,
.page-referanslar label {
  color: #000 !important;
}
