/* ============================================================
   HINNASTO: sivukohtaiset tyylit
   Tokenit tulevat tokens.css:stä, reset ja .container base.css:stä.
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.hero-page {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, #fff6ef 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero-page::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(245, 128, 36, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-page::after {
  content: '';
  position: absolute;
  bottom: -90px;
  left: -90px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 30, 133, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-page-inner { max-width: 640px; }
.hero-page h1 {
  font-size: clamp(36px, 5.2vw, 66px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}
.hero-page h1 .gr,
.section-title .gr,
.cta-band h2 .gr {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-page p.hero-lead {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 36px;
}

.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 18px;
}
.kicker.orange { color: var(--orange); }
.kicker.pink   { color: var(--pink); }
.kicker.navy   { color: var(--navy); }
.kicker.red    { color: var(--red); }

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   NAPIT
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(230, 70, 68, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -8px rgba(230, 70, 68, 0.7);
}

/* ============================================================
   AI-HI WIDGET (vaalea tausta)
   ============================================================ */
.ai-hi {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 16px 28px;
  background: #fff;
  color: var(--navy-dark);
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 15px;
  border-radius: 999px;
  font-family: var(--font);
  box-shadow: var(--sh-sm);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ai-hi:hover, .ai-hi:focus-within {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.ai-hi-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
  cursor: default;
}
.ai-hi-wave {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transform-origin: 70% 70%;
  animation: aiWave 3.4s ease-in-out 2s infinite;
}
@keyframes aiWave {
  0%, 78%, 100% { transform: rotate(0deg); }
  82% { transform: rotate(14deg); }
  86% { transform: rotate(-8deg); }
  90% { transform: rotate(14deg); }
  94% { transform: rotate(-4deg); }
  98% { transform: rotate(10deg); }
}
.ai-hi-input {
  width: 0;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--navy-dark);
  font: 500 14px/1 var(--font);
  opacity: 0;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease 0.05s, padding 0.3s ease, margin 0.3s ease;
}
.ai-hi-input::placeholder { color: var(--text-muted); font-weight: 400; }
.ai-hi:hover .ai-hi-input,
.ai-hi:focus-within .ai-hi-input {
  width: 200px;
  opacity: 1;
  padding: 0 12px;
  margin-left: 10px;
  border-left: 1px solid var(--border);
}
.ai-hi-send {
  width: 0;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.65);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease 0.1s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.ai-hi-send svg { width: 14px; height: 14px; stroke-width: 2.6; }
.ai-hi:hover .ai-hi-send,
.ai-hi:focus-within .ai-hi-send {
  width: 32px;
  opacity: 1;
  transform: scale(1);
}
.ai-hi-send:hover, .ai-hi-send:focus-visible { color: var(--pink); }

/* Tumma variantti CTA-bandiin */
.ai-hi.dark {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: none;
}
.ai-hi.dark:hover, .ai-hi.dark:focus-within {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.40);
  color: #fff;
}
.ai-hi.dark .ai-hi-input { color: #fff; }
.ai-hi.dark .ai-hi-input::placeholder { color: rgba(255, 255, 255, 0.55); }
.ai-hi.dark:hover .ai-hi-input,
.ai-hi.dark:focus-within .ai-hi-input { border-left-color: rgba(255, 255, 255, 0.22); }

/* ============================================================
   HERO-VISUAALI: hintakortti
   ============================================================ */
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.price-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: var(--sh-lg);
}
.pv-card-main { position: relative; overflow: hidden; }
.pv-card-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
}
.pv-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.pv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.pv-dot.pink { background: var(--pink); }
.pv-dot.red  { background: var(--red); }
.pv-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.pv-row:last-of-type { border-bottom: 0; }
.pv-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-dark);
}
.pv-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-dark);
  white-space: nowrap;
}
.pv-value.big {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pv-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.pv-card-note {
  background: var(--navy-deeper);
  border-color: transparent;
  color: #fff;
  margin-left: 36px;
  padding: 20px 24px;
}
.pv-card-note .pv-label { color: rgba(255, 255, 255, 0.55); }
.pv-card-note .pv-name  { color: rgba(255, 255, 255, 0.80); }
.pv-card-note .pv-value { color: #fff; }
.pv-card-note .pv-row   { border-bottom-color: rgba(255, 255, 255, 0.14); }

/* ============================================================
   OSIOT
   ============================================================ */
.block { padding: 100px 0; }
.block.alt { background: var(--surface); }
.section-head {
  margin-bottom: 56px;
  max-width: 860px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.018em;
}
.section-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   HINNASTOTAULUKKO
   ============================================================ */
.price-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 940px;
}
.price-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.price-item:hover {
  border-color: rgba(245, 128, 36, 0.35);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.price-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.price-ico.navy   { background: var(--navy-50);   color: var(--navy); }
.price-ico.orange { background: var(--orange-50); color: var(--orange); }
.price-ico.pink   { background: var(--pink-50);   color: var(--pink); }
.price-ico.red    { background: rgba(230, 70, 68, 0.10); color: var(--red); }
.price-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.012em;
  line-height: 1.25;
  margin-bottom: 6px;
}
.price-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.price-tag {
  text-align: right;
  white-space: nowrap;
}
.price-tag .amount {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy-dark);
  line-height: 1.1;
}
.price-tag .unit {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.price-item.accent .price-tag .amount {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 940px;
  margin-top: 26px;
  padding: 20px 24px;
  background: var(--navy-50);
  border-radius: 16px;
  font-size: 15px;
  color: var(--navy-dark);
  line-height: 1.65;
}
.price-note svg { flex-shrink: 0; margin-top: 2px; color: var(--navy); }

/* ============================================================
   KIIRE JA PÄIVYSTYS
   ============================================================ */
.rush-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rush-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
}
.rush-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(232, 30, 133, 0.20);
}
.rush-ico {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}
.rush-ico.orange { background: var(--orange-50); color: var(--orange); }
.rush-ico.red    { background: rgba(230, 70, 68, 0.10); color: var(--red); }
.rush-ico.navy   { background: var(--navy-50); color: var(--navy); }
.rush-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.rush-card p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.rush-price {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-dark);
}
.rush-price span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   MIKÄ EI OLE TUNTITYÖTÄ
   ============================================================ */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.scope-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
}
.scope-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.scope-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(245, 128, 36, 0.28);
}
.scope-card:hover::before { opacity: 1; }
.scope-card h3 {
  font-size: 23px;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.scope-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.scope-list {
  list-style: none;
  margin-bottom: 26px;
  flex: 1;
}
.scope-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.scope-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}
.scope-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 800;
  color: var(--pink);
  transition: gap 0.2s;
}
.scope-link:hover { gap: 12px; }

/* ============================================================
   UKK
   ============================================================ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
  border-color: var(--pink-soft);
  box-shadow: var(--sh-md);
}
.faq-item summary {
  cursor: pointer;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 300;
  color: var(--pink);
  transition: transform 0.25s;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.72;
}
.faq-item p a {
  color: var(--pink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-item p a:hover { opacity: 0.8; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--navy-deeper);
  padding: 110px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245, 128, 36, 0.20) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 30, 133, 0.20) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta-lead {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
  margin-bottom: 18px;
}
.cta-band h2 {
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: #fff;
}
.cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  margin-bottom: 40px;
}
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal-stagger].in > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].in > *:nth-child(1) { transition-delay: 0.04s; }
[data-reveal-stagger].in > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-stagger].in > *:nth-child(3) { transition-delay: 0.12s; }
[data-reveal-stagger].in > *:nth-child(4) { transition-delay: 0.16s; }
[data-reveal-stagger].in > *:nth-child(5) { transition-delay: 0.20s; }
[data-reveal-stagger].in > *:nth-child(6) { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIIVISUUS
   ============================================================ */
@media (max-width: 1040px) {
  .hero-page-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-image { justify-content: flex-start; }
  .price-visual { max-width: 460px; }
  .rush-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .scope-grid { grid-template-columns: 1fr; }
  .price-item {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      'ico body'
      'tag tag';
    gap: 16px 18px;
  }
  .price-ico  { grid-area: ico; }
  .price-body { grid-area: body; }
  .price-tag  { grid-area: tag; text-align: left; }
  .price-tag .amount { font-size: 24px; }
}
@media (max-width: 700px) {
  .hero-page { padding: 120px 0 72px; }
  .block { padding: 70px 0; }
  .cta-band { padding: 80px 0; }
  .section-head { margin-bottom: 42px; }
  .hero-cta-row, .cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary { justify-content: center; }
  .ai-hi { justify-content: center; }
  .ai-hi:hover .ai-hi-input,
  .ai-hi:focus-within .ai-hi-input { width: 140px; }
  .pv-card-note { margin-left: 0; }
  .scope-card { padding: 30px 26px; }
  .rush-card { padding: 28px 26px; }
  .price-item { padding: 22px 22px; }
  .faq-item { padding: 20px 22px; }
  .faq-item summary { font-size: 16.5px; }
}
@media (max-width: 480px) {
  .price-note { flex-direction: column; gap: 10px; }
}
