/* ============================================================
   CUIK SHARED STYLES
   Common patterns used across all Cuik sections.
   Import this ONCE in the layout.
   ============================================================ */

/* ── Section Layout ── */
.cuik-section {
  padding: 80px 24px;
  background: var(--color-surface-light, #f5f4f2);
}

.cuik-section-white {
  background: #ffffff;
}

.cuik-inner {
  max-width: 1176px;
  margin: 0 auto;
}

.cuik-inner-wide {
  max-width: 1280px;
  margin: 0 auto;
}

.cuik-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ── Icon Box (section header icons) ── */
.cuik-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-carbone, #1D1D23);
}

.cuik-icon-box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ── Typography ── */
.cuik-title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 48px;
  line-height: 56px;
  color: var(--color-carbone, #1D1D23);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.cuik-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.cuik-subtitle {
  font-family: var(--font-brand);
  font-size: 17px;
  color: var(--color-text-body, #6b7280);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── CTA Button (dark with shimmer) ── */
.cuik-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cuik-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.12);
}

.cuik-cta-label {
  position: relative;
  z-index: 2;
}

.cuik-cta-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.12) 45%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.12) 55%, transparent 70%);
  background-size: 250% 100%;
  background-position: 200% 0;
  pointer-events: none;
  z-index: 1;
}

.cuik-cta:hover .cuik-cta-shimmer {
  animation: cuik-shimmer 0.8s ease forwards;
}

@keyframes cuik-shimmer {
  to { background-position: -50% 0; }
}

.cuik-cta svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cuik-cta:hover svg {
  transform: translateX(3px);
}

/* ── Secondary Link ── */
.cuik-link {
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-body, #6b7280);
  text-decoration: none;
  padding: 14px 24px;
  transition: color 0.2s ease;
}

.cuik-link:hover {
  color: var(--color-carbone, #1D1D23);
}

/* ── Glass Card ── */
.cuik-glass-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: transparent;
  border: 5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cuik-glass-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.cuik-glass-card :is(img) {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Feature Image ── */
.cuik-feature-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
  background: #fff;
  position: relative;
}

.cuik-feature-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.cuik-feature-img :is(img) {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cuik-title {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (max-width: 768px) {
  .cuik-section {
    padding: 56px 16px;
  }

  .cuik-title {
    font-size: 24px;
    line-height: 32px;
  }

  .cuik-subtitle {
    font-size: 15px;
  }

  .cuik-header {
    margin-bottom: 32px;
  }
}
