/* ============================================================
   workbook-cta.css  |  Movina Values
   Add <link rel="stylesheet" href="workbook-cta.css"> in
   index.html <head> AFTER escripts.css & index-animations.css
   ============================================================ */


/* ── Section shell ── */
.wk-cta-section {
  padding: clamp(60px,10vw,120px) 20px;
  background: #f8fafc;
}


/* ── Card ── */
.wk-cta-card {
  position: relative;
  background: #1e293b;
  border-radius: 32px;
  overflow: hidden;
  padding: clamp(48px,7vw,80px) clamp(32px,6vw,72px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px,6vw,80px);
  align-items: center;
}


/* ── Decorative rings ── */
.wk-rings {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.wk-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  top: 50%; left: 40%;
}
.wk-ring:nth-child(1) { width:300px; height:300px; transform:translate(-50%,-50%); }
.wk-ring:nth-child(2) { width:560px; height:560px; transform:translate(-50%,-50%); }
.wk-ring:nth-child(3) { width:820px; height:820px; transform:translate(-50%,-50%); }


/* ── Copy ── */
.wk-copy { position: relative; z-index: 1; }

.wk-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #FAC60A;
  background: rgba(250,198,10,0.14);
  border: 1px solid rgba(250,198,10,0.30);
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 20px;
  opacity: 0;
  animation: wk-up 0.7s 0.1s cubic-bezier(0.22,1,0.36,1) forwards;
}
.wk-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FAC60A; flex-shrink: 0;
  animation: wk-dot 2s ease-in-out infinite;
}
@keyframes wk-dot { 0%,100%{transform:scale(1)}50%{transform:scale(1.6);opacity:.6} }

.wk-title {
  font-size: clamp(1.9rem,3.8vw,2.9rem);
  font-weight: 800; color: #ffffff;
  line-height: 1.15; letter-spacing: -0.03em;
  margin-bottom: 16px;
  opacity: 0;
  animation: wk-up 0.7s 0.25s cubic-bezier(0.22,1,0.36,1) forwards;
}
.wk-title-accent {
  color: #FAC60A;
  position: relative; display: inline-block;
}
.wk-title-accent::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 3px;
  background: rgba(250,198,10,0.4);
  border-radius: 999px;
  transform: scaleX(0); transform-origin: left;
  animation: wk-sweep 0.9s 1s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes wk-sweep { to { transform: scaleX(1); } }

.wk-desc {
  font-size: clamp(0.95rem,1.6vw,1.02rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.78; margin-bottom: 26px; max-width: 520px;
  opacity: 0;
  animation: wk-up 0.7s 0.38s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes wk-up {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:none; }
}

/* Perks list */
.wk-perks {
  list-style: none; padding: 0; margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 11px;
  opacity: 0;
  animation: wk-up 0.7s 0.50s cubic-bezier(0.22,1,0.36,1) forwards;
}
.wk-perks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem; color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.wk-perk-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(250,198,10,0.15);
  border: 1px solid rgba(250,198,10,0.30);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Action buttons */
.wk-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px;
  opacity: 0;
  animation: wk-up 0.7s 0.62s cubic-bezier(0.22,1,0.36,1) forwards;
}

.wk-btn-download {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  background: #FAC60A; color: #1e293b;
  font-size: 1rem; font-weight: 800;
  text-decoration: none; border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wk-btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(250,198,10,0.38);
}
.wk-btn-download svg { flex-shrink: 0; transition: transform 0.25s ease; }
.wk-btn-download:hover svg { transform: translateY(3px); }

.wk-btn-wa {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; border-radius: 999px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  color: #86efac;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: background 0.22s ease, transform 0.22s ease;
}
.wk-btn-wa:hover {
  background: rgba(37,211,102,0.22);
  transform: translateY(-2px);
}

/* Trust line */
.wk-trust {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: rgba(255,255,255,0.35);
  opacity: 0;
  animation: wk-up 0.7s 0.74s cubic-bezier(0.22,1,0.36,1) forwards;
}


/* ── Workbook visual (right side) ── */
.wk-visual {
  position: relative; z-index: 1;
  width: 260px; flex-shrink: 0;
  opacity: 0;
  animation: wk-drop 0.8s 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes wk-drop {
  from { opacity:0; transform:scale(0.8) translateY(20px); }
  to   { opacity:1; transform:none; }
}

/* Floating animation */
.wk-mockup {
  position: relative;
  animation: wk-float 5s ease-in-out infinite;
}
@keyframes wk-float {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-16px) rotate(-2deg); }
}

/* Cover */
.wk-cover {
  width: 200px;
  height: 265px;
  border-radius: 6px 16px 16px 6px;
  background: linear-gradient(150deg,#FAC60A 0%,#f59e0b 100%);
  box-shadow:
    -6px 6px 0 #BA7517,
    -12px 12px 0 rgba(186,117,23,0.35),
    0 28px 56px rgba(30,41,59,0.45);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 22px 20px;
  gap: 8px;
  position: relative; overflow: hidden;
}
.wk-cover::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(180deg,rgba(30,41,59,0.55) 0%,transparent 100%);
}
.wk-cover-logo {
  position: absolute; top: 18px; left: 18px;
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.wk-cover-rule {
  position: absolute; top: 36px; left: 18px;
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.5); border-radius: 999px;
}
.wk-cover-label {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(30,41,59,0.65);
  position: relative; z-index: 1;
}
.wk-cover-title {
  font-size: 2rem; font-weight: 900;
  color: #1e293b; line-height: 1;
  letter-spacing: -0.03em;
  position: relative; z-index: 1;
}
.wk-cover-sub {
  font-size: 0.65rem; color: rgba(30,41,59,0.6);
  line-height: 1.45;
  position: relative; z-index: 1;
}
.wk-cover-author {
  font-size: 0.62rem; font-weight: 700;
  color: rgba(30,41,59,0.55);
  margin-top: 6px; letter-spacing: 0.04em;
  position: relative; z-index: 1;
}

/* Page stack */
.wk-page {
  position: absolute;
  border-radius: 4px 14px 14px 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.wk-page-1 {
  width: 196px; height: 261px;
  top: 4px; left: -4px; z-index: -1;
}
.wk-page-2 {
  width: 192px; height: 257px;
  top: 8px; left: -8px; z-index: -2;
  background: #f1f5f9;
}

/* Free badge */
.wk-float-badge {
  position: absolute;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-weight: 800; color: #1e293b;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.wk-float-free {
  width: 62px; height: 62px;
  top: -16px; right: -10px;
  background: #ffffff;
  animation: wk-badge-pop 0.6s 1s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes wk-badge-pop {
  from { transform:scale(0) rotate(-20deg); opacity:0; }
  to   { transform:scale(1) rotate(0deg);  opacity:1; }
}
.wk-float-free span:first-child { font-size: 0.58rem; line-height:1; }
.wk-float-free span:last-child  { font-size: 1rem;    line-height:1; color:#FAC60A; }

/* File info pill */
.wk-float-info {
  position: absolute;
  bottom: 30px; right: -20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.74rem; font-weight: 600;
  color: #4A5E7A;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 8px 20px rgba(74,94,122,0.12);
  animation: wk-float 5s 1s ease-in-out infinite;
  white-space: nowrap;
}

/* Social proof pill */
.wk-float-proof {
  position: absolute;
  bottom: -20px; left: -10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 20px rgba(74,94,122,0.10);
  animation: wk-float 5s 2.5s ease-in-out infinite;
}
.wk-proof-avs { display: flex; }
.wk-pav {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -8px;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.wk-proof-avs .wk-pav:first-child { margin-left: 0; }
.wk-float-proof p { font-size: 0.72rem; color: #475569; font-weight: 600; white-space: nowrap; }


/* ── Ripple ── */
.ripple-btn  { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%;
  transform: scale(0);
  animation: wk-ripple 0.55s linear;
  background: rgba(255,255,255,0.28);
  pointer-events: none;
}
@keyframes wk-ripple { to { transform:scale(4); opacity:0; } }


/* ── Responsive ── */
@media(max-width:900px){
  .wk-cta-card  { grid-template-columns: 1fr; }
  .wk-visual    { display: none; }
  .wk-title     { font-size: clamp(1.7rem,5vw,2.2rem); }
}
@media(max-width:480px){
  .wk-actions   { flex-direction: column; }
  .wk-btn-download,
  .wk-btn-wa    { justify-content: center; }
}

/* ── Reduced motion ── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:0.01ms!important;
    transition-duration:0.01ms!important;
  }
  .wk-badge,.wk-title,.wk-desc,.wk-perks,
  .wk-actions,.wk-trust,.wk-visual{
    opacity:1!important; transform:none!important;
  }
}
