/* ============================================================
   Clay UI — soft-3D claymorphic design system
   Matte white surfaces, inflated icon objects, floating cards,
   one electric accent. Depth comes from shadows, not color.
   ============================================================ */

:root {
  --clay-bg: #f4f4f2;
  --clay-surface: #ffffff;
  --clay-ink: #101014;
  --clay-body: #6e6e76;
  --clay-faint: #b9b9c0;
  --clay-accent: #4d6bfe;
  --clay-line: #ececea;

  /* three-layer shadow system: contact + elevation + ambient */
  --clay-shadow-card:
    0 2px 6px rgba(16, 16, 20, 0.06),
    0 24px 48px -12px rgba(16, 16, 20, 0.14);
  --clay-shadow-card-hover:
    0 3px 8px rgba(16, 16, 20, 0.07),
    0 32px 64px -12px rgba(16, 16, 20, 0.18);
  --clay-shadow-coin:
    0 2px 4px rgba(16, 16, 20, 0.08),
    0 20px 36px -8px rgba(16, 16, 20, 0.18);
  --clay-inner-raised:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -6px 12px rgba(16, 16, 20, 0.05);
  --clay-inner-accent:
    inset 0 2px 4px rgba(255, 255, 255, 0.35),
    inset 0 -4px 8px rgba(0, 0, 0, 0.18);

  --clay-font: "Inter", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --clay-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.clay-body {
  background: var(--clay-bg);
  color: var(--clay-ink);
  font-family: var(--clay-font);
  -webkit-font-smoothing: antialiased;
}

/* ---------- clay coins (3D icon objects on stems) ---------- */

.clay-stage {
  position: relative;
  perspective: 800px;
}

/* the baseline the coins stand on */
.clay-baseline {
  position: relative;
  border-top: 1px solid var(--clay-ink);
}

.clay-coin-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.clay-coin {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--clay-surface);
  box-shadow: var(--clay-inner-raised), var(--clay-shadow-coin);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateX(8deg);
  position: relative;
}

.clay-coin--squircle { border-radius: 28%; }

/* accent inlay face inside the coin */
.clay-coin-inlay {
  width: 52%;
  height: 52%;
  border-radius: 26%;
  background: var(--clay-accent);
  box-shadow: var(--clay-inner-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.clay-coin-glyph {
  color: var(--clay-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* the stem: thin black line down to the baseline */
.clay-stem {
  width: 2px;
  background: var(--clay-ink);
  height: 64px;
}

.clay-coin-name {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--clay-ink);
  letter-spacing: -0.01em;
}

/* gentle levitation */
@media (prefers-reduced-motion: no-preference) {
  .clay-float { animation: clayFloat 6s ease-in-out infinite; }
  .clay-float--delay { animation-delay: -3s; }
  @keyframes clayFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
}

/* ---------- floating cards ---------- */

.clay-card {
  background: var(--clay-surface);
  border-radius: 22px;
  box-shadow: var(--clay-shadow-card);
  padding: 30px;
  position: relative;
  transition: transform 0.4s var(--clay-ease), box-shadow 0.4s var(--clay-ease);
}

@media (prefers-reduced-motion: no-preference) {
  .clay-card--hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--clay-shadow-card-hover);
  }
}

/* the deck: stacked cards behind the front one */
.clay-deck { position: relative; }
.clay-deck .clay-card { position: relative; z-index: 3; }
.clay-deck::before,
.clay-deck::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clay-surface);
  border-radius: 22px;
  box-shadow: var(--clay-shadow-card);
}
.clay-deck::before {
  transform: translate(14px, 10px) scale(0.97);
  z-index: 2;
}
.clay-deck::after {
  transform: translate(28px, 20px) scale(0.94);
  z-index: 1;
  filter: blur(1.5px);
  opacity: 0.85;
}

/* ---------- card content primitives ---------- */

.clay-plan { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.clay-desc { font-size: 15px; color: var(--clay-body); line-height: 1.55; margin-top: 6px; }

.clay-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.clay-price-from { font-size: 13px; color: var(--clay-faint); display: block; margin-bottom: 2px; }
.clay-price-num { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; }
.clay-price-suffix { font-size: 14px; color: var(--clay-faint); }

.clay-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  background: var(--clay-ink);
  color: #fff;
  font-family: var(--clay-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s var(--clay-ease), background 0.3s var(--clay-ease);
}
.clay-cta:hover { background: #000; transform: translateY(-1px); }
.clay-cta--accent { background: var(--clay-accent); }
.clay-cta--accent:hover { background: #3d5bef; }

.clay-divider {
  border: none;
  border-top: 1px solid var(--clay-line);
  margin: 22px 0 16px;
}

.clay-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.clay-features li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--clay-body);
}
.clay-features li strong { color: var(--clay-ink); font-weight: 600; }
.clay-check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--clay-accent);
}

.clay-meta { font-size: 12.5px; color: var(--clay-faint); line-height: 1.5; }
.clay-meta a { color: var(--clay-body); }

.clay-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  border-radius: 32%;
  background: var(--clay-accent);
  box-shadow: var(--clay-inner-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ---------- watermark wordmark ---------- */

.clay-watermark {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--clay-faint);
  opacity: 0.35;
  filter: blur(2px);
  user-select: none;
  text-align: center;
  line-height: 1;
}

/* ---------- scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .clay-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--clay-ease), transform 0.5s var(--clay-ease);
  }
  .clay-reveal.is-in { opacity: 1; transform: none; }
}
