/* ===========================
   finalcta.css — UlapPayroll
   Brand: #ff7704 · #161616 · #fafbfd
   Fonts: Fira Sans · Inter
   =========================== */

:root {
  /* UlapBiz Design System */
  --clr-primary: #ff7704;
  --clr-primary-light: #ff9933;
  --clr-primary-pale: #fff5eb;
  --clr-primary-dark: #e66000;
  --clr-black: #161616;
  --clr-white: #ffffff;
  --clr-bg: #fafbfd;

  --ff-display: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-primary: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-content: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-alt: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --fs-hero: 3rem;
  --fs-section: 2rem;
  --fs-content: 1rem;
  --fs-small: 0.875rem;

  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Updated Section Design ── */
.cta-section--button-only {
  width: 100%;
  margin: 0 auto;
  padding: 80px 0;
  box-sizing: border-box;
  background: var(--clr-bg);
}

.cta-inner--button-only {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.cta-btn--pop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, #ff7704 0%, #ff8c29 50%, #ff7704 100%);
  color: var(--clr-white);
  padding: 32px 40px;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 
    0 12px 40px rgba(255, 119, 4, 0.35),
    0 4px 12px rgba(255, 119, 4, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  max-width: 1092px;
  width: 100%;
}

.cta-btn--pop--pricing {
  max-width: 1092px;
  margin: 12px auto 0;
  background: #FF7704;
  box-shadow: 
    0 8px 32px rgba(255, 119, 4, 0.25),
    0 2px 8px rgba(255, 119, 4, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-btn--pop--pricing:hover {
  background: #e66b00;
  transform: translateY(-4px);
  box-shadow: 
    0 16px 48px rgba(255, 119, 4, 0.35),
    0 4px 12px rgba(255, 119, 4, 0.2);
}

.cta-btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
}

.cta-btn--pop::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: 0.6s;
  z-index: 1;
}

.cta-btn--pop:hover::before {
  left: 100%;
}

.cta-btn--pop .btn-eyebrow {
  font-family: var(--ff-alt);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 8px;
}

.cta-btn--pop .btn-label {
  font-family: var(--ff-primary);
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.cta-btn--pop .btn-subtext {
  font-family: var(--ff-content);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.5;
}

.cta-btn--pop:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 20px 60px rgba(255, 119, 4, 0.45),
    0 8px 24px rgba(255, 119, 4, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #ff8c29 0%, #ffa34d 50%, #ff8c29 100%);
}

.cta-btn--pop .btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
}

.cta-btn--pop:hover .btn-arrow {
  background: var(--clr-white);
  color: var(--clr-primary);
  transform: translateX(8px);
}

@media (max-width: 768px) {
  .cta-btn--pop {
    padding: 24px 28px;
    gap: 20px;
  }
  .cta-btn-content {
    align-items: flex-start;
    text-align: left;
  }
  .cta-btn--pop .btn-label {
    font-size: 1.4rem;
  }
  .cta-btn--pop .btn-arrow {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .cta-btn--pop {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-btn-content {
    align-items: flex-start;
    text-align: left;
  }
  .cta-btn--pop .btn-arrow {
    align-self: flex-end;
  }
}

.cta-section {
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
  box-sizing: border-box;
  background: var(--clr-bg);
}

.cta-card {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(135deg, #ff7704 0%, #161616 100%);
  border-radius: 16px;
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  border: 1px solid rgba(255, 119, 4, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Subtle background glow */
.cta-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 119, 4, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-content {
  flex: 1;
  text-align: left;
}

.cta-heading {
  font-family: var(--ff-primary);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-subtext {
  font-family: var(--ff-content);
  font-size: var(--fs-content);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0;
}

.cta-action {
  flex-shrink: 0;
}

.cta-btn {
  padding: 16px 32px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  border-radius: 3px;
  font-family: var(--ff-content);
  font-size: var(--fs-content);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
}

.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.cta-btn:hover {
  background: var(--clr-primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 119, 4, 0.3);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.cta-btn:hover .btn-arrow {
  transform: translateX(5px);
}

@media (max-width: 960px) {
  .cta-section {
    padding: 40px 24px;
  }
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }
  .cta-content {
    text-align: center;
  }
  .cta-subtext {
    margin: 0 auto;
  }
}
