/* Kasvukumppanuus 4/7: palvelutasojen hinnat ja yksittäisten kehitystöiden hinnoittelu */
/* =========================================================
   PRICING (mixed: vaalea KEVYT + tumma TÄYSI)
   ========================================================= */
.pricing-mixed { background: var(--bg); position: relative; overflow: hidden; }
.pricing-mixed::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at -4% 50%, rgba(245,128,36,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 104% 50%, rgba(216,35,205,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(230,70,68,0.05) 0%, transparent 55%);
}
.pricing-mixed .container { position: relative; z-index: 1; text-align: center; }
.pricing-mixed > .container > .section-title {
  max-width: 760px; margin-left: auto; margin-right: auto; text-wrap: balance;
}
.pricing-mixed > .container > .section-lead {
  max-width: 680px; margin-left: auto; margin-right: auto; text-wrap: balance;
}
.pricing-mixed .pricing,
.pricing-mixed .pricing-common,
.pricing-mixed .pricing-common-list { text-align: left; }
.pricing-mixed .pricing-common-title { text-align: center; }

.pricing {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px; margin-top: 48px; max-width: 880px;
  margin-left: auto; margin-right: auto;
}
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; } }

.tier {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 26px 24px 24px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.tier .pop {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-tilt); color: #fff;
  padding: 5px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  box-shadow: 0 6px 14px -4px rgba(230, 70, 68, 0.5);
}
.tier .tier-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier .tier-name { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tier .tier-brand { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-muted); }
.tier .tier-variant { font-size: 28px; font-weight: 900; letter-spacing: -0.035em; line-height: 1; color: var(--text); }
.tier .stamp {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--grad-tilt); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; transform: rotate(-4deg);
  box-shadow: 0 10px 28px rgba(233, 30, 133, 0.28), 0 2px 6px rgba(35, 46, 102, 0.08);
  flex-shrink: 0;
}
.tier .stamp .num { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.tier .stamp .unit {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.95;
}
.tier ul {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--border);
}
.tier li { font-size: 15px; color: var(--text); padding-left: 26px; position: relative; line-height: 1.5; }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 10px 10px;
}
.tier li.feat-yes::before {
  background-color: rgba(34, 197, 94, 0.13);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5 L6.5 12 L13 5' stroke='%2316a34a' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.tier li.feat-no { color: var(--text-muted); opacity: 0.5; }
.tier li.feat-no::before {
  background-color: rgba(150, 150, 150, 0.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M5 5 L11 11 M11 5 L5 11' stroke='%23999' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.tier li.feat-val::before {
  background-color: var(--orange-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5 L6.5 11.5 L12.5 5' stroke='%23f58024' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.tier .tier-cta {
  margin-top: auto; padding: 12px 20px; border-radius: 999px;
  background: var(--surface-2); color: var(--text);
  font-size: 13px; font-weight: 700; text-align: center;
  transition: background 0.2s, color 0.2s;
}
.tier .tier-cta:hover { background: var(--navy-dark); color: #fff; }

/* FEATURED: TÄYSI tummana */
.pricing-mixed .tier.featured {
  background: #090e24;
  border: 1px solid rgba(252,181,73,0.45);
  box-shadow: 0 0 0 1px rgba(252,181,73,0.15), 0 20px 56px -12px rgba(10,14,36,0.7), 0 0 60px -16px rgba(245,128,36,0.3);
}
.pricing-mixed .tier.featured::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,128,36,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(216,35,205,0.12) 0%, transparent 55%);
}
/* Merkki jatetaan ulos, jotta se pysyy absoluuttisena kortin ylareunassa. */
.pricing-mixed .tier.featured > *:not(.pop) { position: relative; z-index: 1; }
.pricing-mixed .tier.featured:hover {
  transform: translateY(-6px);
  border-color: rgba(252,181,73,0.7);
  box-shadow: 0 0 0 1px rgba(252,181,73,0.3), 0 28px 64px -12px rgba(10,14,36,0.8), 0 0 80px -16px rgba(245,128,36,0.4);
}
.pricing-mixed .tier.featured .tier-brand   { color: rgba(255,255,255,0.42); }
.pricing-mixed .tier.featured .tier-variant { color: #fff; }
.pricing-mixed .tier.featured li { color: rgba(255,255,255,0.78); }
.pricing-mixed .tier.featured ul { border-top-color: rgba(255,255,255,0.1); }
.pricing-mixed .tier.featured li::before {
  background-color: rgba(245,128,36,0.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5 L6.5 11.5 L12.5 5' stroke='%23fcb549' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.pricing-mixed .tier.featured li.feat-val::before { background-color: rgba(245,128,36,0.28); }
.pricing-mixed .tier.featured .tier-cta {
  background: var(--grad-tilt); color: #fff; border: none;
  box-shadow: 0 6px 22px -4px rgba(230,70,68,0.55);
}
.pricing-mixed .tier.featured .tier-cta:hover { filter: brightness(1.1); box-shadow: 0 10px 30px -4px rgba(230,70,68,0.7); }
.pricing-mixed .tier.featured .pop { box-shadow: 0 6px 16px -4px rgba(230,70,68,0.6), 0 0 20px rgba(252,181,73,0.25); }

.pricing-vat-note {
  margin-top: 24px; text-align: center;
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
  max-width: 620px; margin-left: auto; margin-right: auto;
}
.pricing-common {
  margin-top: 56px; padding: 32px 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px; text-align: center;
}
.pricing-common-title {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 18px;
}
.pricing-common-list {
  list-style: none; display: grid; grid-template-columns: repeat(5, auto);
  justify-content: center; gap: 14px 40px; padding: 0; margin: 0;
}
@media (max-width: 900px) {
  .pricing-common-list { grid-template-columns: repeat(2, auto); }
  .pricing-common-list > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pricing-common { padding: 24px 20px; }
  .pricing-common-list { grid-template-columns: 1fr; }
}
.pricing-common-list li {
  font-size: 16px; font-weight: 600; color: var(--text);
  padding-left: 24px; position: relative; line-height: 1.4;
}
.pricing-common-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5 L6.5 11.5 L12.5 5' stroke='%23f58024' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}

.pricing-next { margin-top: 12px; text-align: center; font-size: 15px; color: var(--text-muted); }
.pricing-next a { color: var(--pink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.jk-work-head { margin-top: 72px; }
.jk-work-head .section-title { font-size: clamp(26px, 3vw, 40px); }

  /* ============================================================
     KEHITYSMALLIT
     ============================================================ */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
    align-items: stretch;
  }
  .price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 32px 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
  }
  .price-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--navy-100); }
  .price-ico {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--navy-50);
    color: var(--navy);
  }
  .price-ico svg { width: 22px; height: 22px; }
  .price-type {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
  }
  .price-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--navy-dark);
    margin-bottom: 14px;
  }
  .price-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }
  .price-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 30px;
    flex: 1;
  }
  .price-list li {
    position: relative;
    padding-left: 28px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text);
  }
  .price-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--grad);
  }
  .price-list li::after {
    content: '';
    position: absolute;
    left: 6.5px;
    top: 6px;
    width: 4px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
  }
  .price-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  }
  .price-cta.outline { border: 1.5px solid var(--navy-100); color: var(--navy-dark); }
  .price-cta.outline:hover { background: var(--navy-50); border-color: var(--navy); transform: translateY(-2px); }
  .price-note {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
    color: var(--text-muted);
  }
  .price-amount {
    margin: -4px 0 14px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--navy-dark);
  }
  .price-amount span { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--text-muted); }
