/**
 * Homepage Styles — WattKarma
 *
 * This file contains all homepage-specific styles, organized by section.
 * Loaded AFTER /css/styles.css so these take precedence.
 *
 * Table of Contents:
 * 1. CSS Custom Properties (Colors, Fonts)
 * 2. How It Works Section
 * 3. Tools Section
 * 4. CTA Section (v3)
 * 5. Hero Section (wkHero)
 * 6. Credentials Section
 * 7. Plan Types Section
 * 8. Live Rates Showcase
 * 9. Utility Classes
 */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Brand Colors */
  --wk-blue-primary: #2563eb;
  --wk-blue-dark: #1d4ed8;
  --wk-blue-electric: #1756e8;
  --wk-blue-navy: #0d35b0;
  --wk-blue-deep: #0a1628;
  --wk-blue-slate: #263d88;

  /* Text Colors */
  --wk-text-dark: #0f1f3d;
  --wk-text-body: #4b5a74;
  --wk-text-muted: #6b7a99;
  --wk-text-light: #8a9ab8;

  /* Background Colors */
  --wk-bg-cream: #faf8f4;
  --wk-bg-light: #f0f4f8;
  --wk-bg-white: #ffffff;
  --wk-bg-dark: #0e2340;

  /* Accent Colors */
  --wk-green: #22c55e;
  --wk-green-dark: #16a34a;
  --wk-green-badge: #44b75e;

  /* Border Colors */
  --wk-border-light: #d1dae8;
  --wk-border-blue: #d6e0ff;
  --wk-border-subtle: #eef0f5;

  /* Shadows */
  --wk-shadow-card: 0 4px 20px rgba(37, 99, 235, 0.10);
  --wk-shadow-hover: 0 20px 56px rgba(23, 86, 232, 0.28), 0 4px 12px rgba(0, 0, 0, 0.12);

  /* Typography */
  --wk-font-display: 'Outfit', system-ui, sans-serif;
  --wk-font-body: 'Inter', system-ui, sans-serif;
}

/* ==========================================================================
   2. HOW IT WORKS — Video Step Visuals
   ========================================================================== */

.wk-step-visual {
  height: 220px;
  overflow: hidden;
  background: #e8f0fb;
}

.wk-step-visual--video {
  cursor: pointer;
}

.wk-step-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   3. TOOLS SECTION — Interactive Hover Effect
   ========================================================================== */

.wk-tools {
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease;
}

.wk-tools.tools-hover-active {
  background: var(--wk-blue-navy);
}

/* Per-tool background image stage */
.wk-tools-bg-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wk-tools-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.wk-tools-bg.is-active {
  opacity: 1;
}

.wk-tools-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.22;
}

/* Per-tool blue-branded tint overlays */
.wk-tools-bg[data-bg="rate-tracker"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 53, 176, 0.80);
}

.wk-tools-bg[data-bg="compare-bill"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 45, 160, 0.80);
}

.wk-tools-bg[data-bg="market-analysis"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 60, 192, 0.80);
}

/* Section inner must sit above background stage */
.wk-tools .wk-section-inner {
  position: relative;
  z-index: 1;
}

/* Labels/headings fade to white on hover */
.wk-tools.tools-hover-active .wk-label,
.wk-tools.tools-hover-active .wk-section-heading,
.wk-tools.tools-hover-active .wk-section-sub {
  color: rgba(255, 255, 255, 0.90);
  transition: color 0.4s ease;
}

/* Hovered card: float up + blue glow */
.wk-tool-card:hover {
  border-color: var(--wk-blue-electric);
  box-shadow: var(--wk-shadow-hover);
  transform: translateY(-8px) scale(1.02);
  background: var(--wk-bg-white);
}

/* Non-hovered cards recede */
.wk-tools-grid.has-hover .wk-tool-card:not(:hover) {
  opacity: 0.45;
  transform: scale(0.97);
}

/* Icon fills blue on card hover */
.wk-tool-card:hover .wk-tool-icon {
  background: var(--wk-blue-electric);
  color: var(--wk-bg-white);
}

/* ==========================================================================
   4. CTA SECTION (v3) — Full-Bleed Video + Timed Reveal
   ========================================================================== */

.wk-cta-v3 {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060e1d;
}

/* Neutralise any old ::before content from styles.css */
.wk-cta-v3::before {
  content: none !important;
}

/* Full-bleed background video */
.wk-cta-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

/* Dark overlay — hidden at first, fades in after animation */
.wk-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(4, 10, 26, 0.72) 0%,
    rgba(4, 10, 26, 0.82) 100%
  );
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

/* Content — hidden until overlay appears */
.wk-cta-v3-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  max-width: 600px;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* JS adds .cta-revealed after video plays to ~4s */
.wk-cta-v3.cta-revealed .wk-cta-overlay {
  opacity: 1;
}

.wk-cta-v3.cta-revealed .wk-cta-v3-inner {
  opacity: 1;
  transform: translateY(0);
}

/* CTA typography */
.wk-cta-label {
  color: rgba(255, 255, 255, 0.55) !important;
}

.wk-cta-v3-heading {
  font-family: var(--wk-font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  color: var(--wk-bg-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.wk-cta-v3-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 32px;
  line-height: 1.6;
}

.wk-cta-trust {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.03em;
}

/* ZIP form in CTA — frosted glass wrapper */
.wk-cta-v3 .zip-form {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 22px 22px 18px;
  max-width: 360px;
  margin: 0 auto;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wk-cta-v3 .zip-form .zip-input {
  background: var(--wk-bg-white);
  border: 1.5px solid var(--wk-border-light);
  color: #101827;
  -webkit-text-fill-color: #101827;
}

.wk-cta-v3 .zip-form .zip-input::placeholder {
  color: var(--wk-text-light);
}

.wk-cta-v3 .zip-form .zip-radios label {
  color: rgba(255, 255, 255, 0.90);
}

.wk-cta-v3 .zip-form input[type="radio"] {
  accent-color: var(--wk-blue-primary);
}

@media (max-width: 768px) {
  .wk-cta-v3 {
    min-height: 460px;
  }

  .wk-cta-v3-inner {
    padding: 64px 20px;
  }

  .wk-cta-v3 .zip-form {
    max-width: 360px;
    width: fit-content;
  }
}

/* ==========================================================================
   5. HERO SECTION (wkHero) — PRIO-Style Scroll-Scrub
   ========================================================================== */

/* Scroll track */
#wkHero {
  position: relative;
  height: 240vh;
}

/* Sticky stage */
.wkh-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--wk-bg-cream);
  z-index: 2;
}

/* Subtle gradient background */
.wkh-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 18% 55%, #e8f0ff 0%, var(--wk-bg-cream) 70%);
  z-index: 0;
  pointer-events: none;
}

/* Left content panel */
.wkh-content {
  position: absolute;
  top: 50%;
  left: max(24px, calc(50% - 600px));
  transform: translateY(-50%);
  z-index: 3;
  width: 44%;
  max-width: 520px;
  will-change: opacity;
}

.wkh-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--wk-blue-primary);
  margin: 0 0 16px;
}

.wkh-headline {
  font-size: clamp(38px, 4.6vw, 70px);
  font-weight: 400;
  line-height: 1.04;
  color: var(--wk-text-dark);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.wkh-sub {
  font-size: 17px;
  color: var(--wk-text-body);
  line-height: 1.65;
  margin: 0 0 28px;
}

/* Hero ZIP form — light-theme overrides */
.zip-form--hero .zip-input {
  background: var(--wk-bg-light);
  border: 1.5px solid var(--wk-border-light);
  color: var(--wk-text-dark);
}

.zip-form--hero .zip-input.zip-pulse {
  animation: zipPulse 0.6s ease-in-out 3;
}

@keyframes zipPulse {
  0%, 100% {
    border-color: var(--wk-border-light);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
  50% {
    border-color: var(--wk-blue-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
  }
}

.zip-form--hero .zip-input::placeholder {
  color: var(--wk-text-light);
}

.zip-form--hero label {
  color: var(--wk-text-body);
}

.zip-form--hero input[type="radio"] {
  accent-color: var(--wk-blue-primary);
}

/* Right card — Wattson video, expands on scroll */
.wkh-card {
  position: absolute;
  top: 10vh;
  right: max(24px, calc(50% - 600px));
  width: min(42vw, 600px);
  height: 74vh;
  border-radius: 20px;
  overflow: hidden;
  z-index: 2;
  background: radial-gradient(ellipse at 30% 85%, #d4e9f7 0%, #eaf3fb 45%, #f5f8ff 100%);
  will-change: top, left, width, height, border-radius, clip-path;
}

.wkh-card img,
.wkh-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Phase 2 overlay — fades in when card is full-screen */
.wkh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 5;
  padding: 40px;
  text-align: center;
  pointer-events: none;
}

.wkh-overlay-h {
  font-size: clamp(30px, 3.5vw, 58px);
  font-weight: 800;
  color: var(--wk-bg-white);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.wkh-overlay-p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.wkh-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wk-blue-primary);
  color: var(--wk-bg-white);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  pointer-events: auto;
  transition: background 0.2s, transform 0.15s;
}

.wkh-overlay-cta:hover {
  background: var(--wk-blue-dark);
  transform: translateY(-2px);
}

/* Scroll hint (animated mouse icon) */
.wkh-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--wk-text-body);
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.wkh-scroll-dot {
  animation: wkhScrollBounce 1.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes wkhScrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(7px);
    opacity: 0.2;
  }
}

/* Mobile (≤767px) — stacked layout */
@media (max-width: 767px) {
  #wkHero {
    height: auto;
    min-height: 0;
  }

  .wkh-stage {
    position: relative;
    height: auto;
    background: var(--wk-bg-light);
    display: flex;
    flex-direction: column;
  }

  .wkh-scroll-hint {
    display: none;
  }

  .wkh-bg {
    display: none;
  }

  .wkh-card {
    order: 1;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 62vw;
    min-height: 220px;
    max-height: 320px;
    border-radius: 0;
    will-change: unset;
  }

  .wkh-card::after {
    display: none;
  }

  .wkh-content {
    order: 2;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    z-index: auto;
    padding: 28px 24px 36px;
    background: var(--wk-bg-white);
    text-align: center;
    opacity: 1 !important;
  }

  .wkh-content .zip-form--hero {
    margin: 0 auto;
    max-width: 300px;
  }

  .wkh-content .zip-radios {
    justify-content: center;
  }

  .wkh-eyebrow {
    color: var(--wk-blue-primary);
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }

  .wkh-headline {
    font-size: clamp(28px, 8vw, 38px);
    font-weight: 400;
    color: var(--wk-text-dark);
    text-shadow: none;
  }

  .wkh-sub {
    color: var(--wk-text-body);
    font-size: 15px;
  }

  .zip-form--hero .zip-input {
    background: var(--wk-bg-light);
    border: 1.5px solid var(--wk-border-light);
    color: var(--wk-text-dark);
  }

  .zip-form--hero label {
    color: var(--wk-text-body);
  }

  .zip-form--hero input[type="radio"] {
    accent-color: var(--wk-blue-primary);
  }

  .wkh-overlay {
    display: none;
  }
}

/* ==========================================================================
   6. CREDENTIALS SECTION
   ========================================================================== */

.wk-credentials {
  background: var(--wk-bg-white);
  padding: 56px 0 64px;
  border-top: 1px solid var(--wk-border-subtle);
}

/* Credential badge strip */
.wk-cred-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.wk-cred-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a6e;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: #f0f4ff;
  border: 1px solid var(--wk-border-blue);
  border-radius: 100px;
}

.wk-cred-item svg {
  color: var(--wk-blue-primary);
  flex-shrink: 0;
}

.wk-cred-divider {
  display: none;
}

/* Transparency statement block */
.wk-trust-statement {
  display: grid;
  grid-template-columns: 160px 1px 1fr 1px 160px;
  align-items: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.wk-ts-stat {
  text-align: center;
}

.wk-ts-number {
  display: block;
  font-family: var(--wk-font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--wk-blue-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.wk-ts-label {
  font-size: 13px;
  color: var(--wk-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wk-ts-vdivider {
  width: 1px;
  height: 80px;
  background: #dce5f9;
  align-self: center;
}

.wk-ts-body {
  padding: 0 8px;
}

.wk-ts-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--wk-text-dark);
  margin: 0 0 10px;
  line-height: 1.35;
}

.wk-ts-copy {
  font-size: 14.5px;
  color: var(--wk-text-body);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .wk-credentials {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wk-cred-strip {
    gap: 8px;
    justify-content: center;
  }

  .wk-cred-item {
    padding: 7px 14px;
    font-size: 12px;
  }

  .wk-trust-statement {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wk-ts-stat {
    text-align: center;
    display: block;
  }

  .wk-ts-vdivider {
    width: 100%;
    height: 1px;
  }
}

/* ==========================================================================
   7. PLAN TYPES SECTION
   ========================================================================== */

.wk-plan-types {
  background: #f9fafb;
  padding: 72px 0 80px;
  border-top: 1px solid var(--wk-border-subtle);
}

.wk-pt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0;
}

.wk-pt-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: var(--wk-bg-white);
  border: 1px solid #e5eaf4;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.wk-pt-card:hover {
  box-shadow: var(--wk-shadow-card);
  border-color: #b8d0ff;
}

.wk-pt-card:hover .wk-pt-arrow {
  color: var(--wk-blue-primary);
  transform: translateX(3px);
}

.wk-pt-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef3ff;
  color: var(--wk-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.wk-pt-card:hover .wk-pt-icon {
  background: var(--wk-blue-primary);
  color: var(--wk-bg-white);
}

.wk-pt-text {
  flex: 1;
}

.wk-pt-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--wk-text-dark);
  margin: 0 0 6px;
  line-height: 1.3;
}

.wk-pt-desc {
  font-size: 13px;
  color: var(--wk-text-muted);
  line-height: 1.55;
  margin: 0;
}

.wk-pt-arrow {
  font-size: 18px;
  color: #b0bdd4;
  align-self: center;
  flex-shrink: 0;
  transition: color 0.18s, transform 0.18s;
  line-height: 1;
}

@media (max-width: 767px) {
  .wk-plan-types {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wk-pt-grid {
    grid-template-columns: 1fr;
  }

  .wk-pt-card {
    padding: 18px 20px;
  }
}

/* Two-column split layout (HP-Business.html) */
.wk-pt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.wk-pt-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wk-pt-col-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wk-text-muted);
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5eaf4;
}

.wk-pt-col--business .wk-pt-col-heading {
  border-bottom-color: #16a34a;
}

.wk-pt-col--business .wk-pt-icon {
  background: #f0fdf4;
  color: #16a34a;
}

.wk-pt-col--business .wk-pt-card:hover .wk-pt-icon {
  background: #16a34a;
  color: #ffffff;
}

@media (max-width: 767px) {
  .wk-pt-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   8. LIVE RATES SHOWCASE
   ========================================================================== */

.wk-live-rates {
  background: var(--wk-blue-deep);
  padding: 72px 0 80px;
}

.wk-live-rates .wk-label {
  color: #60a5fa;
}

.wk-live-rates .wk-section-heading {
  color: var(--wk-bg-white);
}

.wk-live-rates .wk-section-sub {
  color: rgba(255, 255, 255, 0.60);
  max-width: 600px;
}

.wk-lr-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.wk-lr-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.wk-lr-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wk-lr-panel-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.40);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.wk-lr-usage-tabs {
  display: flex;
  gap: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 3px;
}

.wk-lr-usage-tab {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.wk-lr-usage-tab.active {
  background: var(--wk-blue-primary);
  color: var(--wk-bg-white);
}

.wk-lr-usage-tab:hover:not(.active) {
  color: rgba(255, 255, 255, 0.75);
}

.wk-lr-bars {
  padding: 20px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wk-lr-bar-row {
  display: grid;
  grid-template-columns: 118px 1fr 62px;
  align-items: center;
  gap: 10px;
}

.wk-lr-bar-logo {
  width: 82px;
  height: 24px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  flex-shrink: 0;
}

.wk-lr-bar-track {
  height: 26px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

.wk-lr-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wk-lr-bar-fill.best {
  background: linear-gradient(90deg, var(--wk-blue-dark) 0%, #3b82f6 100%);
}

.wk-lr-bar-fill.other {
  background: rgba(255, 255, 255, 0.15);
}

.wk-lr-bar-rate {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
  transition: opacity 0.35s;
  white-space: nowrap;
}

.wk-lr-bars-footer {
  padding: 10px 22px 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wk-lr-live-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--wk-green);
  display: flex;
  align-items: center;
  gap: 5px;
}

.wk-lr-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wk-green);
  animation: lrPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes lrPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.65);
  }
}

.wk-lr-card-wrap {
  padding: 16px 16px 4px;
  max-width: 360px;
  margin: 0 auto;
}

.wk-lr-card {
  background: var(--wk-bg-white);
  border: 1px solid rgba(16, 24, 39, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px 0 rgba(16, 24, 39, 0.15);
  transition: opacity 0.35s ease;
  position: relative;
}

.wk-lr-card.fading {
  opacity: 0;
}

/* GREEN badge */
.wk-lr-card-green-badge {
  position: absolute;
  top: 0;
  right: 16px;
  background: var(--wk-green-dark);
  color: var(--wk-bg-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0 0 7px 7px;
  z-index: 1;
}

/* Two-tone header */
.wk-lr-card-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 35px;
}

.wk-lr-card-plan-name {
  background: #dbeafe;
  color: #101827;
  font-size: 14px;
  font-weight: 600;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.5;
}

.wk-lr-card-term-pill {
  background: #3b82f6;
  color: var(--wk-bg-white);
  font-size: 14px;
  font-weight: 600;
  padding: 0 16px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Middle section */
.wk-lr-card-middle {
  display: flex;
  align-items: stretch;
  min-height: 140px;
  background: linear-gradient(180deg, rgba(68, 183, 94, 0.10) 0%, rgba(68, 183, 94, 0.01) 88%, rgba(255, 255, 255, 0.10) 100%);
  padding-bottom: 8px;
}

.wk-lr-card-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--wk-bg-white);
  align-items: center;
  padding: 12px 4px 0;
  gap: 8px;
  min-width: 0;
}

.wk-lr-card-logo-wrap {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px 8px;
  box-sizing: border-box;
}

.wk-lr-card-logo {
  max-width: 87px;
  max-height: 40px;
  object-fit: contain;
}

.wk-lr-card-desc {
  font-size: 11px;
  line-height: 1.18;
  color: #101827;
  margin: 0;
  padding: 0 4px 8px;
  letter-spacing: 0.06px;
}

.wk-lr-card-desc a {
  color: #3b82f6;
  font-weight: 700;
  text-decoration: none;
}

.wk-lr-card-sep {
  width: 1px;
  background: #d9d9d9;
  align-self: center;
  height: 75px;
  flex-shrink: 0;
}

.wk-lr-card-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 0 16px;
}

.wk-lr-card-stat-label {
  font-size: 10.3px;
  font-weight: 700;
  color: var(--wk-blue-slate);
  margin: 0;
  line-height: 1.33;
  white-space: nowrap;
  text-align: center;
}

.wk-lr-card-stat-sub {
  font-size: 10.3px;
  font-weight: 400;
  color: var(--wk-blue-slate);
  margin: 0;
  line-height: 1.33;
  white-space: nowrap;
  text-align: center;
}

.wk-lr-card-rate {
  font-family: var(--wk-font-display);
  font-size: 31px;
  font-weight: 700;
  color: var(--wk-blue-slate);
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  letter-spacing: -0.6px;
}

.wk-lr-card-rate-unit {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.22;
}

/* Tags */
.wk-lr-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 4px 12px;
  justify-content: center;
}

.wk-lr-card-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 4px;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.05);
  color: #3b82f6;
  border: 1px solid #3b82f6;
  white-space: nowrap;
}

.wk-lr-card-tag.green {
  background: rgba(68, 183, 94, 0.05);
  color: var(--wk-green-badge);
  border-color: var(--wk-green-badge);
}

.wk-lr-card-tag.indigo {
  background: rgba(38, 61, 136, 0.05);
  color: var(--wk-blue-slate);
  border-color: var(--wk-blue-slate);
}

/* CTA */
.wk-lr-card-btn {
  display: block;
  margin: 19px 20px 0;
  background: #3b82f6;
  color: var(--wk-bg-white);
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s;
}

.wk-lr-card-btn:hover {
  background: var(--wk-blue-primary);
}

.wk-lr-card-phone {
  text-align: center;
  font-size: 16px;
  color: var(--wk-blue-slate);
  padding: 12px 20px;
  margin: 0;
  line-height: 1.25;
}

.wk-lr-card-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #3b82f6;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.wk-lr-card-details-arrow {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #3b82f6;
  border-bottom: 1.5px solid #3b82f6;
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.wk-lr-card-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px 6px;
}

.wk-lr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}

.wk-lr-dot.active {
  background: var(--wk-blue-primary);
  width: 22px;
  border-radius: 3px;
}

.wk-lr-cta {
  display: block;
  text-align: center;
  padding: 6px 22px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.15s;
}

.wk-lr-cta:hover {
  color: #93c5fd;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .wk-live-rates {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wk-lr-grid {
    grid-template-columns: 1fr;
  }

  .wk-lr-bar-row {
    grid-template-columns: 68px 1fr 50px;
  }

  .wk-lr-bar-logo {
    width: 62px;
    height: 20px;
  }
}

/* Tablet (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .wkh-content {
    left: 4%;
    max-width: 380px;
  }

  .wkh-card {
    width: 54vw;
    height: 86vh;
  }
}

/* ==========================================================================
   9. UTILITY CLASSES & MISC
   ========================================================================== */

/* Logo cloud gap fix */
.wk-logo-cloud {
  margin-top: -2px;
}

/* Heading weight — regular for modern feel */
h2 {
  font-weight: 400;
}

h3 {
  font-weight: 400;
}

.wk-section-heading {
  font-weight: 400;
}

/* Value Props: center icons & polish cards */
.wk-vp-card {
  text-align: center;
  border-top: 3px solid var(--wk-blue-electric);
}

.wk-vp-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Home featured card (product-page style in panel) */
.wk-lr-card-wrap .home-featured-card {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: none !important;
  min-height: auto !important;
  transition: opacity 0.35s ease;
  background: var(--wk-bg-white) !important;
}

.wk-lr-card-wrap .home-featured-card .safari-card-body {
  flex-direction: row !important;
  padding: 0 !important;
  min-height: auto !important;
  gap: 0 !important;
}

.wk-lr-card-wrap .home-featured-card .logo-and-description-section {
  flex: 0 0 58% !important;
  padding: 10px 8px !important;
  gap: 0 !important;
}

.wk-lr-card-wrap .home-featured-card .logo-and-description-section img {
  max-height: 44px !important;
  margin-bottom: 0 !important;
}

.wk-lr-card-wrap .home-featured-card .rate-and-cta-section {
  flex: 0 0 42% !important;
  padding: 8px 4px !important;
  gap: 2px !important;
  border-left: 1px solid #e5e7eb !important;
  background: linear-gradient(to bottom, rgba(34, 197, 94, 0.1), rgba(255, 255, 255, 0)) !important;
}

.wk-lr-card-wrap .home-featured-card .price-label {
  font-size: 11px !important;
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
  color: #6b7280 !important;
}

.wk-lr-card-wrap .home-featured-card .text-3xl {
  font-size: 1.75rem !important;
  line-height: 1 !important;
  color: #1e40af !important;
}

.wk-lr-card-wrap .home-featured-card .business-header {
  min-height: 28px !important;
  height: 28px !important;
}

.wk-lr-card-wrap .home-featured-card .business-header .name-section {
  flex: 0 0 58% !important;
  padding: 4px 8px !important;
}

.wk-lr-card-wrap .home-featured-card .business-header .name {
  font-size: 0.7rem !important;
}

.wk-lr-card-wrap .home-featured-card .business-header .term-section {
  flex: 0 0 42% !important;
  padding: 4px 8px !important;
}

.wk-lr-card-wrap .home-featured-card .business-header .term {
  font-size: 0.85rem !important;
}

.wk-lr-card-wrap .home-featured-card .desktop-only-btn,
.wk-lr-card-wrap .home-featured-card .desktop-only-phone,
.wk-lr-card-wrap .home-featured-card .desktop-description {
  display: none !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-cta-section {
  display: block !important;
  padding: 4px 12px 2px !important;
  text-align: center !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-cta-section .card-badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 4px !important;
  margin-top: 4px !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  max-height: 20px !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-cta-section .card-badge {
  font-size: 8px !important;
  padding: 2px 6px !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-cta-section .start-saving-btn {
  padding: 10px 24px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  max-width: 240px !important;
  width: 100% !important;
  background-color: #000 !important;
  color: var(--wk-bg-white) !important;
  border-radius: 8px !important;
  margin-bottom: 6px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: none !important;
  cursor: pointer !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-description {
  display: none !important;
}
