/* Hakukoneoptimointi 2/6: hero, hintarivi ja SEO-korttikuvitus */
  /* ============================================================
     HERO
     ============================================================ */
  .hero-page {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #fef9f0 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
  }
  .hero-page::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 520px;
    height: 520px;
    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: -100px;
    left: -100px;
    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: 24px;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  .hero-page-inner { max-width: 640px; }
  .hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }
  .hero-page .kicker {
    color: var(--orange);
    margin-bottom: 20px;
  }
  .hero-page h1 {
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
  }
  .hero-page h1 .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-page p {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 36px;
  }
  .hero-page p + p { margin-top: -16px; margin-bottom: 36px; }
  .hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  .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;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -8px rgba(230, 70, 68, 0.7);
  }
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: transparent;
    color: var(--navy-dark);
    border: 1.5px solid var(--navy);
    font-weight: 800;
    font-size: 15px;
    border-radius: 999px;
    transition: transform 0.2s, background 0.2s, color 0.2s;
  }
  .btn-secondary:hover { transform: translateY(-2px); background: var(--navy); color: #fff; }

  /* Hintarivi ja oikotie maksuttomaan katsaukseen heron kehotteiden alla. */
  .hero-page .hero-price-note {
    margin: 22px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.5;
    max-width: none;
  }
  .hero-page .hero-switch {
    margin: 10px 0 0;
    font-size: 15px;
    color: var(--text-muted);
    max-width: none;
  }
  .hero-switch a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--orange-soft);
    text-underline-offset: 4px;
  }
  .hero-switch a:hover { text-decoration-color: var(--orange); }
  .hero-switch a svg { width: 14px; height: 14px; }

  /* Widgetin avautuminen ei saa siirtää CTA-riviä työpöytäleveydellä */
  @media (min-width: 861px) {
    .hero-cta-row:has(.ai-hi) { flex-wrap: nowrap; }
    .hero-cta-row:has(.ai-hi) > * { min-width: 0; }
    .hero-cta-row .ai-hi-label { flex-shrink: 0; }
    .hero-cta-row .ai-hi-input { min-width: 0; }
    .hero-cta-row .btn-primary { flex-shrink: 0; white-space: nowrap; }
  }

  /* ============================================================
     HERO VISUAL - SEO-stack
     ============================================================ */
  .seo-visual {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    position: relative;
    margin: 0 auto;
  }
  .seo-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--sh-lg);
    padding: 18px 22px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
  }
  .seo-card .sc-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .seo-card .sc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
  }
  .seo-card .sc-dot.green { background: var(--green); }
  .seo-card .sc-dot.pink { background: var(--pink); }
  .seo-card .sc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
  }
  .seo-card .sc-row + .sc-row {
    border-top: 1px dashed var(--border);
  }
  .seo-card .sc-kw {
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 13px;
  }
  .seo-card .sc-pos {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .seo-card .sc-pos.top { background: var(--green-soft); color: var(--green); }
  .seo-card .sc-pos.mid { background: var(--orange-50); color: var(--orange); }
  .seo-card .sc-pos.low { background: var(--navy-50); color: var(--navy); }
  .seo-card .sc-arrow {
    font-size: 11px;
    font-weight: 800;
    color: var(--green);
  }
  .seo-card .sc-foot {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
  }
  .seo-card .sc-foot .sc-total {
    color: var(--green);
    font-size: 18px;
  }
  .seo-card .sc-bar-wrap {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .seo-card .sc-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
  }
  .seo-card .sc-bar-label {
    width: 62px;
    font-weight: 600;
    color: var(--navy-dark);
    flex-shrink: 0;
    font-size: 11px;
  }
  .seo-card .sc-bar-bg {
    flex: 1;
    height: 7px;
    background: var(--surface-2);
    border-radius: 99px;
    overflow: hidden;
  }
  .seo-card .sc-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: var(--grad);
  }
  .seo-card .sc-bar-val {
    font-size: 11px;
    font-weight: 800;
    color: var(--navy-dark);
    width: 28px;
    text-align: right;
    flex-shrink: 0;
  }
  .seo-card .sc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .seo-card .sc-pill.ok { background: var(--green-soft); color: var(--green); }
  .seo-card .sc-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
  }

  /* Card positions and animations */
  .sc-rankings {
    top: 2%;
    left: 2%;
    width: 64%;
    transform: rotate(-4deg);
    z-index: 2;
    animation: scFloatA 7s ease-in-out infinite;
  }
  .sc-traffic {
    bottom: 22%;
    right: 0;
    width: 60%;
    transform: rotate(3deg);
    z-index: 3;
    animation: scFloatB 6s ease-in-out infinite;
  }
  .sc-cwv {
    bottom: 0;
    left: 12%;
    width: 66%;
    transform: rotate(-2deg);
    z-index: 1;
    animation: scFloatC 8s ease-in-out infinite;
  }
  @keyframes scFloatA {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-10px); }
  }
  @keyframes scFloatB {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-12px); }
  }
  @keyframes scFloatC {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-2deg) translateY(-8px); }
  }
